Skip to content

Commit

Permalink
Increase tolerance in n_qubit_tomography_test' (#2774)
Browse files Browse the repository at this point in the history
I just got CI failure with this test failing with message 
```
assert np.linalg.norm(error_rho) < 0.05
AssertionError: assert 0.055035732500366044 < 0.05
```
  • Loading branch information
fedimser committed Feb 19, 2020
1 parent 82d4fb3 commit a1d2fb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cirq/experiments/n_qubit_tomography_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,5 +126,5 @@ def test_agrees_with_two_qubit_state_tomography(circuit):

error_rho = actual_rho - expected_rho

assert np.linalg.norm(error_rho) < 0.05
assert np.linalg.norm(error_rho) < 0.06
assert np.max(np.abs(error_rho)) < 0.05

0 comments on commit a1d2fb1

Please sign in to comment.