pygsti.tools.symplectic.inverse_symplectic

pygsti.tools.symplectic.inverse_symplectic#

inverse_symplectic(s)#

Returns the inverse of a symplectic matrix over the integers mod 2.

Parameters:

s (numpy array) – The matrix to invert

Returns:

The inverse of s, over the field of the integers mod 2.

Return type:

numpy array