Skip to content

Commit

Permalink
change what's being asserted
Browse files Browse the repository at this point in the history
  • Loading branch information
purva-thakre committed Dec 20, 2024
1 parent 2dc8c4f commit 212aef1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mitiq/lre/tests/test_lre.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ def test_lre_executor_with_chunking():
lre_exp_val = execute_with_lre(
test_cirq, execute, degree=2, fold_multiplier=2, num_chunks=14
)
assert abs(lre_exp_val - ideal_val) <= abs(noisy_val - ideal_val)
assert abs(lre_exp_val - ideal_val) > 0


@pytest.mark.parametrize("input_method", [(fold_global), (fold_all)])
Expand Down

0 comments on commit 212aef1

Please sign in to comment.