Skip to content

Commit

Permalink
Update transform_test.py
Browse files Browse the repository at this point in the history
  • Loading branch information
sjdilkes committed Aug 3, 2023
1 parent ae47758 commit a65eb14
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pytket/tests/transform_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -1298,7 +1298,7 @@ def test_auto_rebase_with_swap_zzmax() -> None:
c_swap = Circuit(2).Sycamore(0, 1)
swap_pass.apply(c_swap)
assert c_swap.n_gates_of_type(OpType.ZZMax) == 2
assert c_swap.n_gates == 12
assert c_swap.n_gates == 11
iqp = c_swap.implicit_qubit_permutation()
assert iqp[Qubit(0)] == Qubit(1)
assert iqp[Qubit(1)] == Qubit(0)
Expand Down Expand Up @@ -1368,7 +1368,7 @@ def test_auto_rebase_with_swap_zzphase() -> None:
c_swap = Circuit(2).Sycamore(0, 1)
swap_pass.apply(c_swap)
assert c_swap.n_gates_of_type(OpType.ZZPhase) == 2
assert c_swap.n_gates == 12
assert c_swap.n_gates == 11
iqp = c_swap.implicit_qubit_permutation()
assert iqp[Qubit(0)] == Qubit(1)
assert iqp[Qubit(1)] == Qubit(0)
Expand Down

0 comments on commit a65eb14

Please sign in to comment.