Symmetry and AI-assisted discovery of magic-state factories

Shubham P. Jain, Adam Wills, Shraddha Singh
10/5/2026
quant-phcs.AIcs.MA

No official code found. Best implementation: shubhamj810/magic-state-factory-repo (2 stars, last commit 2026-10-06).

Abstract

Magic-state distillation is a major resource cost in fault-tolerant quantum computing. The cost of a magic-state factory depends strongly on its failure rate, which grows with the number of input magic states. Although symmetry-restricted methods have recently made distance two searches tractable, distance three and above have remained elusive at moderate input counts. We develop symmetry- and AI-assisted methods to search this regime. We present a unified binary-matrix formulation encompassing both triorthogonal-code and direct circuit searches. We show that distance at least three is equivalent to nonzero, pairwise distinct syndromes, separating the choice of syndromes from the search for compatible output gates. We restrict the syndrome search using group symmetry and language-model agents, followed by deterministic solving and independent verification. Our searches yield 699 factory classes, including 564 new ones. These include factories for pure-T states and factories with entangled outputs comprising combinations of T, CS, and CCZ magic states. The pure-T factories [[63, 11, 3]] and [[850, 128, 6]] achieve the lowest overhead exponents we know among protocols with at most 100 and 1000 inputs, respectively, with $γ= 1.589$ and $γ= 1.057$. Our [[1715, 287, 6]] factory, with $γ= 0.998$, is the smallest known pure-T factory with $γ< 1$. We also provide a context directory of search briefs and campaign notes with which readers can train their own agents and tailor the search to their requirements. With these results, we begin constructing an active, open-source repository of magic-state distillation protocols for the quantum community, supplemented by our methods and data, for the practical fault-tolerant quantum computing regime.

View on arXivView PDF

Code Implementations(1)

Magic state factories repository associated with "Symmetry and AI-assisted discovery of magic state facotories"

20Sep 21, 20262 weeks ago

Similar Papers

Cite this paper

@article{jain2026symmetry,
  title  = {Symmetry and AI-assisted discovery of magic-state factories},
  author = {Shubham P. Jain and Adam Wills and Shraddha Singh},
  year   = {2026},
  eprint = {2610.06535},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2610.06535v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2610.06535.svg)](https://codeofpaper.com/paper/2610.06535)

Discussion