Stinespring.power

Stinespring.power(n)[source]

The matrix power of the channel.

Parameters

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

Returns

the matrix power of the SuperOp converted to a Stinespring channel.

Return type

Stinespring

Raises

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