Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ElePT committed Dec 4, 2023
1 parent 66df439 commit a929011
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1058,7 +1058,7 @@ def test_permute_sparse_pauli_op_estimator_example(self):
job = estimator.run(transpiled_psi, permuted_op, thetas)
res = job.result().values
if optionals.HAS_AER:
np.testing.assert_allclose(res, [5.859375], rtol=0.5, atol=0.2)
np.testing.assert_allclose(res, [1.419922], rtol=0.5, atol=0.2)
else:
np.testing.assert_allclose(res, [1.660156], rtol=0.5, atol=0.2)

Expand Down
2 changes: 1 addition & 1 deletion test/python/transpiler/test_passmanager_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def test_str(self):
routing_method: None
translation_method: None
scheduling_method: None
instruction_durations:
instruction_durations:
backend_properties: None
approximation_degree: None
seed_transpiler: None
Expand Down

0 comments on commit a929011

Please sign in to comment.