Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
renatomello committed Feb 28, 2024
1 parent cc3a33a commit 122a8df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_models_circuit_features.py
Original file line number Diff line number Diff line change
Expand Up @@ -324,9 +324,9 @@ def test_repeated_execute_probs_and_freqs(backend, nqubits):
# Tensorflow seems to yield different results with same seed
if backend.__class__.__name__ == "TensorflowBackend":
test_frequencies = (
Counter({"1": 801, "0": 223})
Counter({"1": 844, "0": 180})
if nqubits == 1
else Counter({"11": 662, "10": 163, "01": 160, "00": 39})
else Counter({"11": 674, "10": 155, "01": 154, "00": 41})
)
else:
test_frequencies = (
Expand Down

0 comments on commit 122a8df

Please sign in to comment.