from qiskit import QuantumCircuit

# OpAfterMeas: a gate acts on a qubit after that qubit was measured,
# with no reset between along the CFG path.
qc = QuantumCircuit(2, 2)
qc.reset(0)
qc.reset(1)
qc.h(0)
qc.cx(0, 1)
qc.measure(0, 0)
qc.h(0)          # BUG: gate on q0 after measure(0) -> OpAfterMeas
