You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Assume PhasedXPowGate is different from XPowGate and YPowGate (#7070)
* Assume PhasedXPowGate is different from XPowGate and YPowGate for value_equality protocol.
A similar change was done for PhasedISwapPowGate. This addresses issue #6528.
* Remove _value_equality_values_cls_ and update tests.
* Explicitly test that Pauli gates differ from equal-effect PhasedXPowGate
* Change engine tests to compare circuit unitaries
Adjust for unequality between X and equal-effect PhasedXPowGate.
* Fix unintentionally empty Moment in the test
* eject_phased_paulis - replace PhasedXPowGate with equivalent X or Y
This mostly restores the eject_phased_paulis unit tests to their
initial form with a few `cirq.Y` replacements sparkled around.
* phase_by for X and Y - replace PhasedXPowGate with equivalent X or Y
This mostly restores `eject_z_test.py` to its initial form.
---------
Co-authored-by: Michael Hucka <[email protected]>
Co-authored-by: Pavol Juhas <[email protected]>
0 commit comments