Skip to content

Commit

Permalink
change: Replace FreeParameter("b") with FreeParameter("d") in uni…
Browse files Browse the repository at this point in the history
…ttests (#268)
  • Loading branch information
Tarun-Kumar07 authored Jun 13, 2024
1 parent 7cfecb8 commit ad9237c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/unit_tests/test_translation.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,14 +248,14 @@ def _aws_device(
(CPhaseShift10, gates.CPhaseShift10, [0, 1], [np.pi], ["pi"], [FreeParameter("pi")]),
(GPi, gates.GPi, [0], [2], ["a"], [FreeParameter("a")]),
(GPi2, gates.GPi2, [0], [2], ["a"], [FreeParameter("a")]),
(MS, gates.MS, [0, 1], [2, 3], ["a", "b"], [FreeParameter("a"), FreeParameter("b")]),
(MS, gates.MS, [0, 1], [2, 3], ["a", "c"], [FreeParameter("a"), FreeParameter("c")]),
(
AAMS,
gates.MS,
[0, 1],
[2, 3, 0.5],
["a", "b", "c"],
[FreeParameter("a"), FreeParameter("b"), FreeParameter("c")],
["a", "c", "d"],
[FreeParameter("a"), FreeParameter("c"), FreeParameter("d")],
),
(PSWAP, gates.PSwap, [0, 1], [np.pi], ["pi"], [FreeParameter("pi")]),
(qml.ECR, gates.ECR, [0, 1], [], [], []),
Expand Down

0 comments on commit ad9237c

Please sign in to comment.