FA-91003 / Quantum circuit simulation / Member archive
Tableau CNOT propagates Z forward instead of backward · case 03
A Z stabilizer on the target is not copied onto the control, so a Bell state reports +XX, +ZI instead of +XX, +ZZ.
Case contract
Input [n, gates] with gates h, s, x, z (["g", q]) and cx (["cx", c, t]). Track the n stabilizer generators of |0...0> (initially Z on each qubit) under the Aaronson-Gottesman update rules and return them as signed strings such as "+XX", character q describing qubit q.
Why this case matters
Stabilizer simulators verify Clifford circuits and error-correction encoders; a phase-bit rule error yields wrong syndromes.
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| regression: random clifford 7 | ["+ZXI", "+IXI", "+IIZ"] | ["+ZII", "+ZXI", "+IIZ"] | Failed |
MEMBER ARCHIVE
The complete case is available to members.
This record includes three runnable implementations, regression fixtures, execution results, and source hashes.
Member access is invitation-based. Sign in with your invited account to inspect the sources.
Sign in to the archive ↗