Qiskit Practice
EXAM C1000-500 68 questions

Qiskit v2.x mock exam

Select one answer per question. Submit to see the explanation.

Question 18 / 68
The two elements of angles are used by qc. What does the following binding do?
angles = ParameterVector('a', 2)
qc = QuantumCircuit(1)
qc.rx(angles[0], 0)
qc.ry(angles[1], 0)
bound = qc.assign_parameters({angles: [0.1, 0.7]})