French
Languages
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.quantum_info.Operator.power

Operator.power(n)[source]

Return the matrix power of the operator.

Paramètres

n (float) – the power to raise the matrix to.

Renvoie

the resulting operator O ** n.

Type renvoyé

Operator

Lève

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