diff --git a/test/python/transpiler/test_unroller.py b/test/python/transpiler/test_unroller.py index 68ce015a4b1c..2f90ab6b08ba 100644 --- a/test/python/transpiler/test_unroller.py +++ b/test/python/transpiler/test_unroller.py @@ -162,17 +162,13 @@ def test_unroll_all_instructions(self): ref_circuit.cx(qr[0], qr[1]) ref_circuit.u3(0, 0, pi/4, qr[2]) ref_circuit.u3(pi/2, 0, pi, qr[2]) - ref_circuit.u3(pi/2, 0, pi, qr[2]) - ref_circuit.u3(0, 0, -pi/2, qr[2]) - ref_circuit.cx(qr[0], qr[2]) + ref_circuit.u3(0, 0, pi/2, qr[2]) ref_circuit.u3(pi/2, 0, pi, qr[2]) ref_circuit.u3(0, 0, pi/4, qr[2]) ref_circuit.cx(qr[0], qr[2]) - ref_circuit.u3(0, 0, pi/2, qr[0]) - ref_circuit.u3(0, 0, pi/4, qr[2]) + ref_circuit.u3(0, 0, -pi/4, qr[2]) ref_circuit.u3(pi/2, 0, pi, qr[2]) - ref_circuit.u3(0, 0, pi/2, qr[2]) - ref_circuit.u3(pi, 0, pi, qr[2]) + ref_circuit.u3(0, 0, -pi/2, qr[2]) ref_circuit.u3(0, 0, 0.25, qr[2]) ref_circuit.cx(qr[1], qr[2]) ref_circuit.u3(0, 0, -0.25, qr[2])