arXiv:2610.41528
FaultScope: A software package for fast error attribution in quantum error correction
Yuguo Shao, Zhenyu Chen, Ningfeng Wang, Song Cheng, Zhaohui Wei, Zi-Wen Liu, Zhengwei Liu
Abstract
We introduce FaultScope, a classical simulator for quantum error correction circuits, implemented in Rust with a Python interface. FaultScope estimates logical error rates and their derivatives with respect to component error rates from the same sampled and decoded shots, without modifying or differentiating through the decoder. These derivatives enable error attribution to individual noisy components, helping identify noise hotspots for targeted noise reduction. FaultScope supports forward simulation of error propagation through circuits and direct sampling of detector and logical observable outcomes from detector error models. In our noiseless and noisy benchmarks, FaultScope has the lowest runtime among the tested simulators at every size. Computing all derivatives adds only 0.33--0.97\% to the runtime of logical error rate estimation across five repetition code sizes with 7--2047 error locations. FaultScope can be used to benchmark large-scale quantum error correction schemes and guide targeted noise reduction efficiently, thereby facilitating the design and optimization of fault-tolerant quantum computing architectures.
AI Summary
FaultScope addresses how to identify which noisy components most affect logical failure rates while performing routine QEC simulation. The Rust package, with a Python interface, implements an existing attribution approach: estimate derivatives $S_j=\partial P_{\mathrm L}/\partial p_j$ from the same sampled error events and decoded outcomes used to estimate the logical error rate, without modifying or differentiating through the decoder. The package supports forward Clifford simulation and detector-error-model sampling under independent Bernoulli error events. Packed shot masks enable bit-parallel propagation and sensitivity estimation using population counts. After compilation, attribution adds $O(M\lceil N/64\rceil)$ work and event-record storage for $M$ events and $N$ shots. Sensitivities can be grouped by physical component, gate, or round. CPU benchmarks compare six simulators using one million shots per circuit, including preparation, compilation, sampling, and output processing. FaultScope reports the lowest median runtime at every size with completed comparisons: a median $1.70\times$ speedup over Stim for 1024-qubit, depth-64 noiseless random Clifford circuits, and $1.93$–$3.31\times$ speedups for noisy surface-code memories. It alone completes distance 100 within the specified resource limits, taking 2043 seconds. Attribution overhead is 0.33–0.97% in repetition-code tests with 7–2047 error locations and 100,000 shots, using error probability $p=0.5$. The stated statistical limitation is that scarce logical failures can prevent reliable sensitivity comparisons at fixed shot count; rare-event extensions remain future work. DEM sampling requires independent-event representations, with restricted support for general Pauli mixtures.
Generative AI was used to assist with manuscript writing and code development.
Written by gpt-6.1-sol from the paper's full text. Automated: it can be wrong.