TRANSMISSION // 2612.04259v1

Testing quantum magic without throwing away the data

Source published

A small quantum error-correcting code can reveal evidence of a logical CCZ gate’s “magic” without post-selection, while comparisons with zero-noise extrapolation depend on how noise is scaled.

AI-generated conceptual illustration for Testing quantum magic without throwing away the data
AI-generated conceptual illustration; not documentary evidence.

Quantum computers need more than error correction: they also need non-Clifford operations, a resource often called magic. A new preprint tests ways to detect that resource in a CCZ gate encoded with an eight-qubit color code—and finds that the answer depends on the measurement and the assumptions behind it.

What counts as evidence of quantum magic?

Quantum error correction aims to protect information by encoding it across several physical qubits. But a useful quantum computer also needs operations beyond the relatively easy-to-simulate Clifford gates. A CCZ gate is one such non-Clifford operation, and its “magic” is a measure of this computational resource.

The authors examine a compact error-correcting code, written [[8,3,2]], and ask two related questions: can measurements certify that an encoded CCZ operation produced a state with magic, and how does error detection compare with zero-noise extrapolation (ZNE), a method that estimates ideal results by measuring circuits at amplified noise levels?

Two different kinds of measurement

The study combines mathematical analysis, simulations and experiments on IBM Heron r2 superconducting processors and IonQ Forte Enterprise trapped-ion hardware. The paper reports twelve hardware jobs across the devices. On IBM, the authors ran several campaigns, including a dedicated test in which the same transpiled state-preparation circuit was used across four measurement contexts. Each context had 4,096 shots, or repeated circuit executions.

One route uses a single encoded block and Pauli measurements—measurements of qubit observables such as X and Z. The researchers define a win-rate test and calculate the maximum it could achieve for any stabilizer state, which lacks magic. Their analysis extends this ceiling across all 32 possible error-syndrome sectors of the eight-qubit decoder. The resulting limit is 5/6, or about 83.3%.

In the frozen-preparation IBM campaign, the un-post-selected eight-qubit results exceeded that limit: 87.92% on ibm_fez and 87.66% on ibm_kingston. “Un-post-selected” means the analysis kept every shot rather than discarding outcomes that failed an error check. The authors also report positive margins against a stabilizer-state benchmark, using an expanded calculation that includes all syndrome sectors.

A second approach uses two copies of the state and a Bell-measurement-based statistic, W₂, to estimate magic quantitatively. The mathematical analysis identifies an important caveat: a Bell histogram alone can be reproduced by a particular mixture of separable stabilizer-state pairs. Therefore, the authors’ certification bound applies when the two copies are factorized—that is, when their joint state is a product rather than containing correlations between copies. Under that condition, they derive an upper bound of less than 0.4422 bits for stabilizer mixtures.

Error detection versus extrapolation

The comparison with ZNE is more qualified than a simple winner-takes-all result. In a fixed-layout IBM benchmark, the encoded, post-selected two-copy protocol produced W₂ estimates of 1.534 bits on ibm_fez and 1.474 bits on ibm_kingston. For the specific ZNE setting tested—threefold gate folding without readout mitigation—the encoded protocol’s estimate was significantly closer to the ideal target on ibm_fez. On ibm_kingston, the difference was not statistically significant.

The conclusion also changed under a calibration-based sensitivity analysis that treated the effective noise scale as lower than the nominal threefold gate scale, because gate folding does not amplify readout errors. In that analysis, the gap on ibm_fez closed, and ZNE’s point estimate was closer to the ideal value on ibm_kingston. Thus, the reported comparison depends on how noise scaling is defined and on the chosen cost measure: the encoded method used fewer shots, but involved a similar or greater total number of two-qubit gate executions.

On IonQ, the two-copy protocol used 32 CNOT gates and accepted 63.3% of shots after syndrome checks. Its W₂ estimate was 1.678 bits, with a wide 95% confidence interval of 1.387 to 1.969 bits. This is consistent with the ideal target, but the authors did not run a matched ZNE comparison on the trapped-ion processor. The different hardware and circuit layouts also mean the cross-platform results do not isolate connectivity as the cause of any performance difference.

What the results do—and do not—show

The single-block result is evidence for encoded magic under stated assumptions: a common state preparation across measurement contexts and trusted Pauli measurements. The authors’ interleaved, frozen-preparation campaign addresses an earlier concern about using separately compiled preparations, but hardware measurements cannot eliminate every possible source of bias. The study also notes that unencoded three-qubit measurements performed better than the encoded readout in the reported IBM test; the code’s value here is error-detection structure, not a demonstrated advantage in every metric.

The authors identify further limits, including a small number of layouts and measurement days, finite IonQ shot counts, and the absence of a trapped-ion ZNE head-to-head test. The work is an arXiv preprint. The paper reports that scripts, circuits and hardware count data are included in a reproducibility bundle, and says a Zenodo deposit is planned before publication.

Reviewed cross-references

These connections were reviewed by a model, not independently fact-checked by a human. Similarity does not imply agreement; consult the original papers and the evidence below.

  • Why quantum measurements need more than readout correction

    Shared method: Both papers use zero-noise extrapolation to estimate quantum-circuit outcomes under noise. The origin paper benchmarks gate-folded CZ noise scaling for a CCZ magic diagnostic on IBM hardware; Jang et al. study stochastic noise amplification for mid-circuit measurement instruments and a phase-estimation experiment. This is a shared mitigation approach, not a directly comparable benchmark: the operations, noise models, and measured outcomes differ.

    Model review: · openai-codex/gpt-6-luna

    Evidence and provenance

    Selected excerpts, not complete papers. PDF extraction can omit figures or damage equations, tables and reading order; sources may be preprints.

    • 2612.04259v1 — Original paper

      Excerpt reference: static/papers/2612.04259v1.md:1636-1687
      Basis: Paper text
      Source file SHA-256: 624afbed0b2e06b867177c75279a6dda5e718bc62154b73d291736cf767ce98e

    • 2611.41265v1 — Original paper

      Excerpt reference: static/papers/2611.41265v1.md:1857-1917
      Basis: Paper text
      Source file SHA-256: cda0e2a6751fd1135480199f6b34596fa88a0f4302b901bcedc41943c9ee6d46

Automatically matched by shared topic keywords. These links do not imply that the sources agree or establish a consensus.