diff --git a/pyproject.toml b/pyproject.toml index 01b42e6c56..c32e5f3662 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -22,7 +22,7 @@ test-command = "python {project}/tools/verify_wheels.py" # tendency to crash if they're installed from source by `pip install`, and since # Numpy 1.22 there are no i686 wheels, so we force pip to use older ones without # restricting any dependencies that Numpy and Scipy might have. -before-test = "pip install --only-binary=numpy,scipy numpy scipy" +before-test = "pip install --only-binary=numpy,scipy,qiskit-terra numpy scipy qiskit-terra" [tool.cibuildwheel.linux] before-all = "yum install -y openblas-devel" diff --git a/test/terra/noise/test_standard_errors.py b/test/terra/noise/test_standard_errors.py index eaba494eed..816a58d0a6 100644 --- a/test/terra/noise/test_standard_errors.py +++ b/test/terra/noise/test_standard_errors.py @@ -520,7 +520,7 @@ def test_pauli_error_2q_gate_from_string_1qonly(self): for i in range(actual.size): circ, prob = actual.error_term(i) expected_circ, expected_prob = expected.error_term(i) - self.assertEqual(circ, expected_circ) + self.assertTrue(qi.Operator(circ).equiv(qi.Operator(expected_circ))) self.assertAlmostEqual(prob, expected_prob) def test_pauli_error_2q_gate_from_pauli(self):