Skip to content

Commit

Permalink
types and lint
Browse files Browse the repository at this point in the history
  • Loading branch information
eliottrosenberg committed Mar 2, 2025
1 parent cc79604 commit 3f0b72e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cirq-core/cirq/transformers/gauge_compiling/cphase_gauge.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
from cirq.transformers.gauge_compiling.gauge_compiling import (
GaugeTransformer,
GaugeSelector,
SameGateGauge,
ConstantGauge,
Gauge,
)
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit 3f0b72e

Please sign in to comment.