Portuguese
Idiomas
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

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

Operator

Levanta

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