German
Sprachen
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

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

Operator

Verursacht

QiskitError – if the input and output dimensions of the operator are not equal.