(self, other, **hints)
return self._eval_commutator_ZGate(other, **hints)
[CNOT(i, j), S(i)] == 0.
[CNOT(i, j), S(i)] == 0.
[ CNOT ( i j ) S ( i ) ] == 0 .
def _eval_commutator_PhaseGate(self, other, **hints):
        """[CNOT(i, j), S(i)] == 0."""
        return self._eval_commutator_ZGate(other, **hints)
def _eval_commutator_PhaseGate ( self , other , * * hints ) : return self . _eval_commutator_ZGate ( other , * * hints )