Skip to content

Commit ae55af9

Browse files
add test for r-gate in test_qiskit2tc
1 parent ab9521f commit ae55af9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/test_circuit.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1122,6 +1122,7 @@ def test_qiskit2tc():
11221122
qisc.crz(np.random.uniform(), 2, 3, ctrl_state=0)
11231123
qisc.crz(np.random.uniform(), 2, 3, ctrl_state=0)
11241124
qisc.crz(np.random.uniform(), 2, 3, ctrl_state=0)
1125+
qisc.r(np.random.uniform(), np.random.uniform(), 1)
11251126
qisc.unitary(exp_op, [1, 3])
11261127
mcx_g = MCXGate(3, ctrl_state="010")
11271128
qisc.append(mcx_g, [0, 1, 2, 3])

0 commit comments

Comments
 (0)