Skip to content

Commit

Permalink
Minor unit test fix
Browse files Browse the repository at this point in the history
Minor fix to a unit test to account for changes to qutrit construction code.
  • Loading branch information
Corey Ostrove committed Feb 21, 2024
1 parent 606b9c5 commit 8af46a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit/construction/test_qutrit.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def test_ideal_qutrit(self):
def test_noisy_qutrit(self):
mdl_sim = qutrit.create_qutrit_model(error_scale=0.1, similarity=True, seed=1234, basis='qt')
mdl_ideal = qutrit.create_qutrit_model(error_scale=0.1, similarity=True, seed=1234, basis='qt')
self.assertArraysAlmostEqual(mdl_sim['Gi'], mdl_ideal['Gi'])
self.assertArraysAlmostEqual(mdl_sim['Gi', 'QT'], mdl_ideal['Gi', 'QT'])

#just test building a gate in the qutrit basis
# Can't do this b/c need a 'T*' triplet space designator for "triplet space" and it doesn't seem
Expand Down

0 comments on commit 8af46a1

Please sign in to comment.