pygsti.tools.matrixmod2.dot_mod2

Contents

pygsti.tools.matrixmod2.dot_mod2#

dot_mod2(m1, m2)#

Returns the product over the integers modulo 2 of two matrices.

Parameters:
  • m1 (numpy.ndarray) – First matrix

  • m2 (numpy.ndarray) – Second matrix

Return type:

numpy.ndarray