SuperOp.power

SuperOp.power(n)[source]

Return the compose of a QuantumChannel with itself n times.

Parameters

n (int) – compute the matrix power of the superoperator matrix.

Returns

the n-times composition channel as a SuperOp object.

Return type

SuperOp

Raises

QiskitError – if the input and output dimensions of the QuantumChannel are not equal, or the power is not an integer.