Skip to content

Commit

Permalink
Update tests for correct specialization enum name
Browse files Browse the repository at this point in the history
  • Loading branch information
mtreinish committed Mar 14, 2024
1 parent fc4a70e commit d9fb03d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/python/synthesis/test_synthesis.py
Original file line number Diff line number Diff line change
Expand Up @@ -903,7 +903,7 @@ def test_weyl_specialize_fsim_aab(self, aaa=0.456, bbb=0.132):
self.check_two_qubit_weyl_specialization(
k1 @ Ud(a + da, b + db, c + dc) @ k2,
0.999,
Specialization.SimaabEquiv,
Specialization.fSimaabEquiv,
{"rz": 7, "ry": 4, "rxx": 1, "ryy": 1, "rzz": 1},
)

Expand All @@ -917,7 +917,7 @@ def test_weyl_specialize_fsim_abb(self, aaa=0.456, bbb=0.132):
self.check_two_qubit_weyl_specialization(
k1 @ Ud(a + da, b + db, c + dc) @ k2,
0.999,
Specialization.SimabbEquiv,
Specialization.fSimabbEquiv,
{"rx": 7, "ry": 4, "rxx": 1, "ryy": 1, "rzz": 1},
)

Expand All @@ -931,7 +931,7 @@ def test_weyl_specialize_fsim_abmb(self, aaa=0.456, bbb=0.132):
self.check_two_qubit_weyl_specialization(
k1 @ Ud(a + da, b + db, c + dc) @ k2,
0.999,
Specialization.SimabmbEquiv,
Specialization.fSimabmbEquiv,
{"rx": 7, "ry": 4, "rxx": 1, "ryy": 1, "rzz": 1},
)

Expand Down

0 comments on commit d9fb03d

Please sign in to comment.