Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Strilanc committed Dec 4, 2024
1 parent cc022f7 commit c7c0ccd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion glue/cirq/stimcirq/_cirq_to_stim.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ def gate_to_stim_append_func() -> Dict[cirq.Gate, Callable[[stim.Circuit, List[i
ny = (cirq.Y, True)
nz = (cirq.Z, True)

def do_nothing(_gates, _targets, _tag):
def do_nothing(_gates, _targets, tag):
pass

def use(
Expand Down
2 changes: 1 addition & 1 deletion glue/cirq/stimcirq/_stim_to_cirq.py
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ def __call__(
stim_sweep_bit_index=a.value,
cirq_sweep_symbol=f'sweep[{a.value}]',
pauli=self.pauli_gate,
).on(cirq.LineQubit(b.value).with_tags(*tags))
).on(cirq.LineQubit(b.value)).with_tags(*tags)
)
else:
if not a.is_qubit_target or not b.is_qubit_target:
Expand Down

0 comments on commit c7c0ccd

Please sign in to comment.