Manuscript Offprint

arXiv:2609.07035

Capability-Gated Conformance Testing of Quantum Error-Correction Decoder Libraries

Jiachen Shen, Hui Zhong

JIACHEN SHEN, University of Houston, USA

HUI ZHONG*, Miami University, USA

A quantum error correction decoder is a library other people's results depend on, judged in one dominant way. Sample errors, decode, and count wrong logical observables. We ask what else can be checked there. Our conformance contract needs no oracle. One check asks that a returned correction explain the syndrome in the caller's index space. The other hands a decoder one instance under two presentations differing only in bookkeeping, where two feasible corrections of different weight prove the heavier is not minimum-weight. Verdicts are gated on what each library declares, so a firing contradicts a published guarantee. Nine configurations from five public libraries give three results. Documentation answers 4 of 54 capability questions. Bounded-distance correctness, the property callers most depend on, has a direct declaration yield of 0.0%, though its hypotheses hold in 62.1% of cases. Presentation sensitivity is real but shallow. One solver moved to a 26% heavier correction under a different numbering, which reaches the logical class at most once in twenty thousand shots. Established evaluation misses corruptions that preserve logical parity, while one summation over the caller's weights catches every one we injected. All 639 certificates ship as bundles a standalone verifier re-derives from first principles.

CCS Concepts: • Theory of computation → Quantum computation theory; • Software and its engineering → Software testing and debugging; Software verification and validation.

Additional Key Words and Phrases: quantum error correction, decoder, conformance testing, metamorphic testing, minimum-weight perfect matching, capability declaration, software measurement

ACM Reference Format:

Jiachen Shen and Hui Zhong. 2026. Capability-Gated Conformance Testing of Quantum Error-Correction Decoder Libraries. ACM Trans. Quantum Comput. 0, 0, Article 0 (2026), 60 pages.

1 Introduction

A fault-tolerant quantum computer runs a decoder in its inner loop. Every round of syndrome extraction hands a classical program a parity pattern, and that program returns a correction the machine then applies. The decoder runs inside the experiment, not after it. It ships as a library, and other people's results depend on it being right.

The field has one established way of asking whether a decoder is right. Sample errors, decode them, and count how often the logical observable ends up wrong. That measurement is the basis of threshold estimates [114, 120], of resource projections [17, 49], and of the experiments that define progress [53, 54]. It is a good measurement of what it measures. What it measures is a decoder's predicted logical outcome, averaged over a noise distribution at whatever fixed numbering the model happened to be built with.

*Corresponding author.

Authors' Contact Information: Jiachen Shen, University of Houston, Houston, Texas, USA, jshen28@cougarnet.uh.edu; Hui Zhong, Miami University, Oxford, Ohio, USA, zhongh7@miamioh.edu.

Figure

This work is licensed under a Creative Commons Attribution 4.0 International License.

© 2026 Copyright held by the owner/author(s).

Jiachen Shen and Hui Zhong

Two things fall outside it. The first is the correction itself. A caller applies it, and an error rate reads it only through the logical parity it induces, which leaves its feasibility, its edge content within a logical class and its weight unread. The second is the choice of presentation: which order the error mechanisms are listed in, and which integers the detectors are numbered with. Neither is physics. Both are decisions made by whoever assembled the model, and a benchmark run at one fixed presentation holds them constant instead of varying them.

This paper asks what can be checked at that interface without knowing the right answer, measures what a checker built that way can reach across an audited panel of public decoder libraries, and reports what it found.

References (100)

Couldn't load all references. Reload the page to try again.