From 684ee6fd701e8fee47fe3b194dd0aa2d94837f87 Mon Sep 17 00:00:00 2001 From: Renato Mello Date: Thu, 24 Oct 2024 13:07:34 +0400 Subject: [PATCH] precision tol --- tests/test_quantum_info_entropies.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_quantum_info_entropies.py b/tests/test_quantum_info_entropies.py index 5f85ed7e37..7c289009f9 100644 --- a/tests/test_quantum_info_entropies.py +++ b/tests/test_quantum_info_entropies.py @@ -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])