Explorerโ€บQuantum Computingโ€บQuantum Physics
Research PaperResearchia:202610.16078

Magna: simulating magic state factories as cheaply as Clifford circuits

Yifei Wang

Abstract

Classical simulation of magic state factories, including distillation, cultivation, and code switching, is challenging because of their substantial non-Clifford content. We introduce $\texttt{magna}$ (magic-state-factory assessment via global network algebra), a classical simulator that simulates such protocols as cheaply as Clifford circuits. $\texttt{magna}$ expresses the figures of merit of a protocol, namely the acceptance rate and the fidelity of the accepted states, as tensor networks, whi...

Submitted: October 16, 2026Subjects: Quantum Physics; Quantum Computing

Description / Details

Classical simulation of magic state factories, including distillation, cultivation, and code switching, is challenging because of their substantial non-Clifford content. We introduce magna\texttt{magna} (magic-state-factory assessment via global network algebra), a classical simulator that simulates such protocols as cheaply as Clifford circuits. magna\texttt{magna} expresses the figures of merit of a protocol, namely the acceptance rate and the fidelity of the accepted states, as tensor networks, which it reduces globally by exploiting a structural correspondence with transversal gates on quantum codes. magna\texttt{magna} further supports feedforward conditioned on arbitrary functions of mid-circuit measurement outcomes, including decoder outputs. We simulate Bravyi--Haah distillation with up to 100 output magic states at a cost that does not grow exponentially in the number of outputs, and achieve state-of-the-art sampling times for distance-5 magic state cultivation on both color codes and RP2^2 surface codes. Finally, we validate nonlinear feedforward on a logical-level distillation protocol with 15 rounds of decoder-dependent feedforward. magna\texttt{magna} aims to contribute to the key infrastructure for the large-scale evaluation and optimization of magic state factories.


Source: arXiv:2610.22315v1 - http://arxiv.org/abs/2610.22315v1 PDF: https://arxiv.org/pdf/2610.22315v1 Original Link: http://arxiv.org/abs/2610.22315v1

Please sign in to join the discussion.

No comments yet. Be the first to share your thoughts!

Access Paper
View Source PDF
Submission Info
Date:
Oct 16, 2026
Topic:
Quantum Computing
Area:
Quantum Physics
Comments:
0
Bookmark
Magna: simulating magic state factories as cheaply as Clifford circuits | Researchia