Qiskit Practice
EXAM C1000-3000 (Impossible) 68 questions

Qiskit v2.x mock exam

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

Question 15 / 68
Qiskit 2.4 introduced barrier_label_len for long barrier labels. In the Qiskit 2.6 text drawer a barrier has a nonempty label and barrier_label_len=0. What should a snapshot test expect?
qc = QuantumCircuit(1)
qc.barrier(0, label='calibration checkpoint')
qc.draw(output='text', barrier_label_len=0)