FA-91000 / Quantum circuit simulation / Member archive
Tableau CNOT sign rule drops the constant term · case 05
The CNOT sign update fires for generators such as X_c Z_t that should keep their sign, and misses X_c Y_t style cases.
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 41 | ["+ZZI", "+IZY", "+XYX"] | ["+ZZI", "+IZY", "-XYX"] | 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 ↗