Skip to content

Commit

Permalink
Make test more tolerant.
Browse files Browse the repository at this point in the history
  • Loading branch information
kylegulshen committed Jul 23, 2019
1 parent 1c0f86a commit 29c2e2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion forest/benchmarking/tests/test_state_tomography.py
Original file line number Diff line number Diff line change
Expand Up @@ -285,5 +285,5 @@ def test_do_tomography(qvm):
state_prep = Program(H(qubit))
state_est, _, _ = do_tomography(qvm, state_prep, qubits=[qubit], kind='state')

np.testing.assert_allclose(state_est, PROJ_PLUS, atol=.01)
np.testing.assert_allclose(state_est, PROJ_PLUS, atol=.1)

0 comments on commit 29c2e2b

Please sign in to comment.