qiskit.quantum_info.Operator.power¶
- Operator.power(n)[código fonte]¶
Return the matrix power of the operator.
- Parâmetros
n (float) – the power to raise the matrix to.
- Retorno
the resulting operator
O ** n
.- Tipo de retorno
- Levanta
QiskitError – if the input and output dimensions of the operator are not equal.