diff --git a/test/test_measure_error_mitigation.py b/test/test_measure_error_mitigation.py index 18393b35..6bc18b64 100644 --- a/test/test_measure_error_mitigation.py +++ b/test/test_measure_error_mitigation.py @@ -121,7 +121,7 @@ def test_measurement_error_mitigation_with_vqe(self): result = vqe.compute_minimum_eigenvalue(operator=h2_hamiltonian) self.assertGreater(quantum_instance.time_taken, 0.) quantum_instance.reset_execution_results() - self.assertAlmostEqual(result.eigenvalue.real, -1.86, places=2) + self.assertAlmostEqual(result.eigenvalue.real, -1.86, delta=0.05) if __name__ == '__main__':