diff --git a/cirq-core/cirq/transformers/gauge_compiling/cphase_gauge.py b/cirq-core/cirq/transformers/gauge_compiling/cphase_gauge.py index 27fc093e3f5..eba535d2ce2 100644 --- a/cirq-core/cirq/transformers/gauge_compiling/cphase_gauge.py +++ b/cirq-core/cirq/transformers/gauge_compiling/cphase_gauge.py @@ -17,7 +17,6 @@ from cirq.transformers.gauge_compiling.gauge_compiling import ( GaugeTransformer, GaugeSelector, - SameGateGauge, ConstantGauge, Gauge, ) @@ -57,7 +56,7 @@ def _get_new_post(self, exponent: float, pre: ops.Gate) -> ops.Gate: raise ValueError("pre should be cirq.X or cirq.Y") def _get_constant_gauge( - self, gate: ops.CZPowGate, pre_q0: ops.Gate, pre_q1: ops.Gate + self, gate: ops.Gate, pre_q0: ops.Gate, pre_q1: ops.Gate ) -> ConstantGauge: """Get the ConstantGauge corresponding to a given pre_q0 and pre_q1.