Skip to content

Commit

Permalink
precision tol
Browse files Browse the repository at this point in the history
  • Loading branch information
renatomello committed Oct 24, 2024
1 parent 6ef3144 commit 684ee6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_quantum_info_entropies.py
Original file line number Diff line number Diff line change
Expand Up @@ -817,7 +817,7 @@ def test_relative_tsallis_entropy(
target_value = target_value @ matrix_power(target, 1 - alpha, backend=backend)
target_value = (1 - backend.np.trace(target_value)) / (1 - alpha)

backend.assert_allclose(value, target_value)
backend.assert_allclose(value, target_value, atol=1e-10)


@pytest.mark.parametrize("check_hermitian", [False, True])
Expand Down

0 comments on commit 684ee6f

Please sign in to comment.