Skip to content

Commit

Permalink
Fix backend estimator test
Browse files Browse the repository at this point in the history
  • Loading branch information
ElePT committed Nov 24, 2023
1 parent c27b7b8 commit b4c4e24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/python/primitives/test_backend_estimator.py
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ def test_layout(self, backend):
value = estimator.run(qc, op, shots=10000).result().values[0]

if optionals.HAS_AER and not isinstance(backend, FakeBackendSimple):
self.assertEqual(value, -0.9154)
self.assertEqual(value, -0.916)
else:
self.assertEqual(value, -1)

Expand Down

0 comments on commit b4c4e24

Please sign in to comment.