pygsti.tools.symplectic.unitary_is_clifford

pygsti.tools.symplectic.unitary_is_clifford#

unitary_is_clifford(unitary)#

Returns True if the unitary is a Clifford gate (w.r.t the standard basis), and False otherwise.

Parameters:

unitary (numpy.ndarray) – A unitary matrix to test.

Return type:

bool