from qiskit import QuantumCircuit

# MissingReset on multiple qubits: q1 and q2 are used before any reset,
# while q0 is properly reset first. Engine B must flag q1 and q2 only.
qc = QuantumCircuit(3, 3)
qc.reset(0)
qc.h(1)            # BUG: q1 used before reset (MissingReset q1)
qc.h(2)            # BUG: q2 used before reset (MissingReset q2)
qc.h(0)
qc.measure(1, 1)
