ASDF: A Compiler for Qwerty, a Basis-Oriented Quantum Programming Language
Authors:
- Austin J. AdamsAAAustin J. Adams
- Sharjeel KhanSKSharjeel Khan
- Arjun S. BhamraABArjun S. Bhamra
- Ryan R. AbusaadaRARyan R. Abusaada
- Anthony M. CabreraACAnthony M. Cabrera
- Cameron C. HoechstCHCameron C. Hoechst
- Travis S. HumbleTHTravis S. Humble
- Jeffrey S. YoungJYJeffrey S. Young
- Thomas M. ConteTCThomas M. Conte
Open Access
- 1 March 2025
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 444-458
Abstract
Qwerty is a high-level quantum programming language built on bases and functions rather than circuits. This new paradigm introduces new challenges in compilation, namely synthesizing circuits from basis translations and automatically specializing adjoint or predicated forms of functions. This paper presents ASDF, an open-source compiler for Qwerty that answers these challenges in compiling basis-oriented languages. Enabled with a novel high-level quantum IR implemented in the MLIR framework, our compiler produces OpenQASM 3 or QIR for either simulation or execution on hardware. Our compiler is evaluated by comparing the fault-tolerant resource requirements of generated circuits with other compilers, finding that ASDF produces circuits with comparable cost to prior circuit-oriented compilers.Keywords
All Related Versions
Funding Information
- DOE U.S. Department of Energy (ERKJ332)
- NSF (National Science Foundation) (2016666)
This publication has 42 references indexed in Scilit:
- Introduction to Quantum Computing with Q# and QDK2022
- MLIR: Scaling Compiler Infrastructure for Domain Specific Computation2021
- Relaxed Peephole Optimization: A Novel Compiler Optimization for Quantum Circuits2021
- A Fast Symbolic Transformation Based Algorithm for Reversible Logic Synthesis2016
- Quantum circuits of-depth onePhysical Review A, 2013
- An Introduction to Quantum Programming in QuipperLecture Notes in Computer Science, 2013
- Surface codes: Towards practical large-scale quantum computationPhysical Review A, 2012
- A lambda calculus for quantum computation with classical controlMathematical Structures in Computer Science, 2006
- Quantum Mechanics Helps in Searching for a Needle in a HaystackPhysical Review Letters, 1997
- Rapid solution of problems by quantum computationProceedings of the Royal Society of London. Series A: Mathematical and Physical Sciences, 1992