Skip to content

Commit

Permalink
fix broken test
Browse files Browse the repository at this point in the history
  • Loading branch information
ajavadia committed Aug 16, 2019
1 parent d709102 commit 527339e
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions test/python/transpiler/test_unroller.py
Original file line number Diff line number Diff line change
Expand Up @@ -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])
Expand Down

0 comments on commit 527339e

Please sign in to comment.