// A measurement in the middle and a reset, with no branch: written to jeff // with measureNd and reset, and to QIR under the adaptive profile. OPENQASM 3.0; include "stdgates.inc"; qubit[2] q; bit[3] c; h q[0]; cx q[0], q[1]; c[0] = measure q[0]; reset q[0]; x q[0]; c[1] = measure q[0]; c[2] = measure q[1];