From 0d3dd94b5a6ff9e2b4fe90161c2dba26e6f05276 Mon Sep 17 00:00:00 2001 From: Catherine Lozano Date: Wed, 5 Jun 2024 14:31:41 -0400 Subject: [PATCH] depreciated U3 gate(qc.U3) changed to qc.U --- test/benchmarks/random_circuit_hex.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/benchmarks/random_circuit_hex.py b/test/benchmarks/random_circuit_hex.py index 952c651df9f1..92f1cb5843bf 100644 --- a/test/benchmarks/random_circuit_hex.py +++ b/test/benchmarks/random_circuit_hex.py @@ -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)