PermutationMatrix.shape

property PermutationMatrix.shape: tuple[int, ...]

The two-dimensional square shape of the unitary.