Skip to content

Commit

Permalink
depreciated U3 gate(qc.U3) changed to qc.U (#12514)
Browse files Browse the repository at this point in the history
  • Loading branch information
Procatv committed Jun 6, 2024
1 parent 1798c3f commit f214554
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/benchmarks/random_circuit_hex.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def make_circuit_ring(nq, depth, seed):
for i in range(nq): # round of single-qubit unitaries
u = random_unitary(2, seed).data
angles = decomposer.angles(u)
qc.u3(angles[0], angles[1], angles[2], q[i])
qc.u(angles[0], angles[1], angles[2], q[i])

# insert the final measurements
qcm = copy.deepcopy(qc)
Expand Down

0 comments on commit f214554

Please sign in to comment.