Spanish
Idiomas
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.quantum_info.Operator.power

Operator.power(n)[fuente]

Return the matrix power of the operator.

Parámetros

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

Devuelve

the resulting operator O ** n.

Tipo del valor devuelto

Operator

Muestra

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