The state a first pass left uncommitted, recorded as it was so that the review
and its fixes read as changes against it:
- qasm::read_whole keeps a gate whose standard form doubles with its
controls as one op; Program::lowered writes it in standard gates, one
lowering (qasm/controls.rs) behind both forms.
- StateVector::run_ops applies such a gate as one; the bit-exact simulator
walks only the indices its controls leave on.
- The bit-exact method reports the global phase its lowering drops and the
angles below its table; a named mps job runs metered on the bond it
reaches; the error-correction reader takes C_XYZ, E and PAULI_CHANNEL_1.
Not yet built or tested as a whole; later commits review it.
Co-Authored-By: Claude Opus 5.5 <[email protected]>