cirq.SingleQubitCliffordGate.commutes_with_single_qubit_gate

SingleQubitCliffordGate.commutes_with_single_qubit_gate(gate: cirq.ops.clifford_gate.SingleQubitCliffordGate) → bool[source]
Tests if the two circuits would be equivalent up to global phase:
–self–gate– and –gate–self–