from qiskit import QuantumCircuit

# MissingReset where the very first op is a measurement (no reset before it).
# Also exercises Engine A: with no reset present, the later h(0) after
# measure(0) is a genuine OpAfterMeas too -- different engines, same qubit.
qc = QuantumCircuit(2, 2)
qc.measure(0, 0)   # BUG (Engine B): measuring q0 before any reset
qc.h(0)            # BUG (Engine A): gate on q0 after measure -> OpAfterMeas
