Tamil
மொழிகள்
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.

Parameters

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

Returns

the resulting operator O ** n.

Return type

Operator

Raises

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