A reusable magic-state factory can consume a constant number of fresh noisy inputs per output. Improving its accuracy still requires a growing stock of magic in persistent quantum memory. This project proves a logarithmic lower bound on that stored resource and derives matching CCZ memory scaling from established distillation constructions.
For a fixed depolarized CCZ source with sufficiently low nonzero noise and a sufficiently large fixed input budget, the minimum quantum catalyst width satisfies
Here
| Result | Scope | Scientific account |
|---|---|---|
| Finite-error bounds on stored magic | Relative entropy, stabilizer fidelity and max-relative entropy; arbitrary mixed catalyst | Converse |
| Logarithmic quantum-memory necessity | T and CCZ targets; every fixed finite noisy-input budget, with unrestricted finite free classical storage | Model and converse |
| Nonzero error floors | Finite stored-resource budgets, without an input–target resource ordering assumption | Converse |
| Matching logarithmic CCZ memory | Fixed below-threshold depolarized source and a sufficient constant input budget | Construction |
| Source-only initialization and ongoing costs | Logarithmic startup cost; preparation, retained memory and per-call inputs charged separately | Resources |
The lower bound is the contribution developed here. The upper construction combines Wills–Hsieh–Yamasaki batch distillation with Fang–Liu catalytic conversion. The target-overlap identities are due to Bravyi and collaborators.
Let the fresh input satisfy
The same circuit with all fresh inputs replaced by
where
The closest-work comparison explains the distinction from earlier correlated-catalysis bounds: no assumption that the fresh input contains less resource than the target is required.
The scientific route connects the model, converse, attaining construction and resource interpretation, with direct links to the main results. The related-work account identifies inherited ingredients, exact theorem pointers and the scope of the contribution; structured citations are in the bibliography.
The LLM reading guide maps reading goals to authoritative pages. Historical sources and restoration records are in project provenance.
The 30-milestone understanding map moves from 13 background/preliminaries milestones to 17 narrative/innovation milestones. Each phase connects local ideas into the complete model or result, with prerequisites and direct scientific source pointers.
The single educational anchor is John Watrous's The Theory of Quantum Information. The Watrous bridge identifies focused readings, translates fidelity and trace-distance conventions, and develops a two-phase catalyst example before connecting the textbook tools to the converse and construction.
From the repository root, with Python 3.10 or newer:
python3 verification/run_all.pyThe standard-library checks enumerate all 6 one-qubit, 60 two-qubit and 1,080 three-qubit stabilizer projectors for the stated T and CCZ overlaps, verify correlated catalyst marginal identities with exact rational matrices, reproduce the resource-gap and free-weight examples, and check explicit code-family parameters. See verification and expected outputs for what each calculation establishes. The general theorem and all-accuracy scaling are analytical results.
The sharp scaling concerns persistent logical quantum memory. One explicit sufficient construction uses 1,680 noisy CCZ inputs per output, with a conservative source-infidelity threshold about
Resource accounting keeps preparation, classical storage, transient workspace, and periodically executed batch circuits explicit. The claim does not optimize physical fault-tolerant qubits, circuit depth or elapsed time. Exact nominal catalyst return and deterministic processing are the operational assumptions; return only on heralded success needs a different analysis.
This repository serves as a record of the work and a guide for the author’s self-directed learning. For discussion or potential collaboration, please contact Ruge Lin at gogoko699@gmail.com.