Skip to content

Commit 2f16d35

Browse files
author
Corey Ostrove
committed
Minor test change
Minor change to test tolerance.
1 parent 2b97517 commit 2f16d35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: test/unit/tools/test_errgenproptools.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ def _assert_correct_tableau_fidelity(u, v):
251251
ut = stim.Tableau.from_state_vector(u, endian='little')
252252
vt = stim.Tableau.from_state_vector(v, endian='little')
253253
actual = _eprop.tableau_fidelity(ut, vt)
254-
np.testing.assert_allclose(actual, expected, rtol=1e-5)
254+
np.testing.assert_allclose(actual, expected, atol=1e-14, rtol=1e-5)
255255

256256
s = 0.5**0.5
257257
_assert_correct_tableau_fidelity([1, 0], [0, 1])

0 commit comments

Comments
 (0)