pygsti.tools.matrixmod2.proper_permutation#
- proper_permutation(a)#
Computes the permutation matrix P such that all [n:t,n:t] submatrices of P a P are invertible.
- Parameters:
a (numpy.ndarray) – A symmetric binary matrix with ones along the diagonal.
- Return type:
numpy.ndarray