pygsti.tools.matrixmod2.det_mod2

Contents

pygsti.tools.matrixmod2.det_mod2#

det_mod2(m)#

Returns the determinant of a matrix over the integers modulo 2 (GL(n,2)).

Parameters:

m (numpy.ndarray) – Matrix to take determinant of.

Return type:

numpy.ndarray