From 29c2e2b1f2b0cc6ac998e8c9e68ea850d004d8dd Mon Sep 17 00:00:00 2001 From: Kyle Date: Tue, 23 Jul 2019 18:15:51 -0400 Subject: [PATCH] Make test more tolerant. --- forest/benchmarking/tests/test_state_tomography.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/forest/benchmarking/tests/test_state_tomography.py b/forest/benchmarking/tests/test_state_tomography.py index 1478555a..3e856b7c 100644 --- a/forest/benchmarking/tests/test_state_tomography.py +++ b/forest/benchmarking/tests/test_state_tomography.py @@ -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)