qiskit.quantum_info.Operator.power¶
- Operator.power(n)[Quellcode]¶
Return the matrix power of the operator.
- Parameter
n (float) – the power to raise the matrix to.
- Rückgabe
the resulting operator
O ** n
.- Rückgabetyp
- Verursacht
QiskitError – if the input and output dimensions of the operator are not equal.