Back to News
quantum-computing

qstack: Compositional End-to-End Compilation for Fault-Tolerant Quantum Programs

arXiv Quantum Physics
Loading...
3 min read
0 likes
⚡ Quantum Brief
Researchers Andres Paz and Dan Grossman introduced a novel compiler framework for fault-tolerant quantum programs, addressing the challenge of integrating quantum and classical components during compilation. The framework, called qstack, uses a purely quantum intermediate representation where classical logic is isolated in opaque callbacks, enabling seamless compilation without manual adaptation at each stage. Its core innovation, callback wrapping, allows automatic adaptation of both quantum operations and classical logic, ensuring compositional compilation where dynamically generated kernels pass through the full pipeline. The system demonstrates end-to-end compilation from high-level gates to trapped-ion native operations, supporting error-correcting codes like Steane and Shor via composable compiler passes. This approach eliminates manual intervention in error correction concatenation, streamlining the transition from logical gates to hardware-native instructions for fault-tolerant quantum computing.
qstack: Compositional End-to-End Compilation for Fault-Tolerant Quantum Programs

Summarize this article with:

Quantum Physics arXiv:2605.16595 (quant-ph) [Submitted on 15 May 2026] Title:qstack: Compositional End-to-End Compilation for Fault-Tolerant Quantum Programs Authors:Andres Paz, Dan Grossman View a PDF of the paper titled qstack: Compositional End-to-End Compilation for Fault-Tolerant Quantum Programs, by Andres Paz and 1 other authors View PDF HTML (experimental) Abstract:Compiling quantum programs for fault-tolerant execution requires transforming high-level operations through multiple abstraction layers: from logical gates to error-corrected encodings to hardware-native instructions. A key challenge is that quantum error correction turns purely quantum programs into hybrid quantum-classical programs, where classical feedback from syndrome measurements drives quantum corrections at runtime. Existing compilation frameworks handle these quantum and classical components separately, requiring manual adaptation of classical logic at each compilation stage, all while preserving program semantics. We present qstack, a compiler framework built around a purely quantum intermediate representation in which classical logic is accessed only through opaque callbacks, written in any classical language. The framework's central mechanism, callback wrapping, enables compositional compilation: each compiler pass automatically adapts both quantum operations and their associated classical callbacks, and any kernel dynamically generated by a callback is compiled through the full pipeline. This allows ISA translation and quantum error correction to be expressed as composable compiler passes, including concatenation of error-correcting codes, without manual intervention. We demonstrate end-to-end compilation from a high-level gate set through Clifford gates to trapped-ion native operations, with bit-flip and phase-flip repetition codes, the Steane code, and the Shor code obtained by composing two repetition passes. Subjects: Quantum Physics (quant-ph) Cite as: arXiv:2605.16595 [quant-ph] (or arXiv:2605.16595v1 [quant-ph] for this version) https://doi.org/10.48550/arXiv.2605.16595 Focus to learn more arXiv-issued DOI via DataCite (pending registration) Submission history From: Andres Paz [view email] [v1] Fri, 15 May 2026 19:57:31 UTC (71 KB) Full-text links: Access Paper: View a PDF of the paper titled qstack: Compositional End-to-End Compilation for Fault-Tolerant Quantum Programs, by Andres Paz and 1 other authorsView PDFHTML (experimental)TeX Source view license Current browse context: quant-ph new | recent | 2026-05 References & Citations INSPIRE HEP NASA ADSGoogle Scholar Semantic Scholar export BibTeX citation Loading... BibTeX formatted citation × loading... Data provided by: Bookmark Bibliographic Tools Bibliographic and Citation Tools Bibliographic Explorer Toggle Bibliographic Explorer (What is the Explorer?) Connected Papers Toggle Connected Papers (What is Connected Papers?) Litmaps Toggle Litmaps (What is Litmaps?) scite.ai Toggle scite Smart Citations (What are Smart Citations?) Code, Data, Media Code, Data and Media Associated with this Article alphaXiv Toggle alphaXiv (What is alphaXiv?) Links to Code Toggle CatalyzeX Code Finder for Papers (What is CatalyzeX?) DagsHub Toggle DagsHub (What is DagsHub?) GotitPub Toggle Gotit.pub (What is GotitPub?) Huggingface Toggle Hugging Face (What is Huggingface?) ScienceCast Toggle ScienceCast (What is ScienceCast?) Demos Demos Replicate Toggle Replicate (What is Replicate?) Spaces Toggle Hugging Face Spaces (What is Spaces?) Spaces Toggle TXYZ.AI (What is TXYZ.AI?) Related Papers Recommenders and Search Tools Link to Influence Flower Influence Flower (What are Influence Flowers?) Core recommender toggle CORE Recommender (What is CORE?) Author Venue Institution Topic About arXivLabs arXivLabs: experimental projects with community collaborators arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website. Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them. Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs. Which authors of this paper are endorsers? | Disable MathJax (What is MathJax?)

Read Original

Tags

government-funding
quantum-algorithms
quantum-error-correction

Source Information

Source: arXiv Quantum Physics