PermutationMatrix.ipower

PermutationMatrix.ipower(power)

Calculate the integer power of this unitary.

Parameters:

power (int) – The integer power to raise the unitary to.

Returns:

The resulting unitary matrix.

Return type:

UnitaryMatrix