Equal Detector Error Models Do Not Make a QEC Compiler Pass Correct
Comparing detector error models (DEMs) before and after a pass has been proposed as a way to verify passes of a quantum error correction compiler. We show a pass that inserts one deterministic Pauli and leaves the DEM identical while changing what the circuit computes. On rotated surface codes of distance 3 and 5 this mutation goes unreported by the DEM comparison in all 200 trials, and by self-referential detector sampling in all 200. A check on the circuit's stabiliser flows reports all 200. The blindness also runs the other way: in a repetition code, dropping a parity-check CX leaves the noiseless circuit unchanged, so the flows accept it, while the DEM reports it in 100 of 100 trials. Neither check replaces the other. We package both as cleitonforge.qec (pip install "cleitonforge[qec]") and run it over the circuit passes of Deltakit's two compilers. Over 480 before-and-after pairs it finds no pass that changes a circuit. It did find one defect, in our own DEM comparison.
Authors
- Cleiton Augusto Correa Bezerra
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-11-25
- DOI
- https://doi.org/10.5281/zenodo.24517525
- Primary Topic
- Quantum Computing Algorithms and Architecture
- Type
- preprint