Qiskit Practice
kibrahim757 66 questions

Qiskit v2.x mock exam

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

Question 35 / 66
What's the most efficient way to execute this code?
# Create 100 variations of the same circuit
circuits = []
for i in range(100):
    qc = QuantumCircuit(2)
    qc.h(0)
    qc.cx(0, 1)
    qc.rz(i * 0.01, 1)  # Small variation
    qc.measure_all()
    circuits.append(qc)

# Need to run all circuits