Qiskit Practice
EXAM C1000-179 21 questions

Qiskit v2.x mock exam

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

Question 07 / 21
How do you replace the symbolic angle with 0.5 and keep qc itself parameterized?
theta = Parameter('theta')
qc = QuantumCircuit(1)
qc.ry(theta, 0)