[Paper Review] Programming the full stack of an open-access quantum computer
This paper introduces Quala, a full-stack quantum programming language that unifies high-level circuit abstraction with low-level analog control and FPGA-level hardware instructions for trapped-ion quantum computers. By enabling seamless integration of digital gates, pulse waveforms, real-time decision logic, and calibration-aware symbolic algebra, Quala provides end-to-end transparency in quantum program compilation and hardware execution, particularly for remote-access platforms like QuantumION.
We present a new quantum programming language called "Quala" that enables true full-stack programming of quantum hardware. Quala allows seamless integration of abstraction layers such as the digital circuit layer and the analog control pulse waveform layer. Additionally, the language supports user-issued low-level hardware instructions like FPGA actions. Mid-circuit measurements and branching decision logic support real-time, adaptive programs. This flexibility allows users to write code for everything from quantum error correction to analog quantum simulation. The combination of a user-facing calibration database and a powerful symbolic algebra framework provides users with an unprecedented level of expressiveness and transparency. We display the salient characteristics of the language structure and describe how the accompanying compiler can translate programs written in any abstraction layer into precisely timed hardware commands. We intend for this language to bridge the gap between circuit-level programming and physical operations on real hardware while maintaining full transparency in each level of the stack. This eliminates the need for "behind-the-scenes" compilation and provides users with insights into the day-to-day calibration routines.
Motivation & Objective
- To address the lack of full-stack transparency in current quantum programming languages, especially for remote-access quantum hardware.
- To bridge the semantic gap between high-level quantum circuits and low-level analog pulse controls in trapped-ion systems.
- To enable users to write, compile, and debug quantum programs across all abstraction layers—circuit, pulse, and hardware—without opaque compilation.
- To support real-time adaptive programming via mid-circuit measurements and conditional logic, essential for quantum error correction and analog simulation.
- To integrate a user-accessible calibration database and symbolic algebra framework to enhance expressiveness and reproducibility.
Proposed method
- Designing Quala as a domain-specific language that natively supports three abstraction layers: circuit-level gates, analog pulse waveforms, and low-level FPGA control commands.
- Implementing a compiler that translates programs written at any layer into precisely timed hardware commands, preserving semantic fidelity across layers.
- Introducing the Event and Segment constructs to sequence actions with relative or absolute timing, enabling complex experimental workflows.
- Embedding conditional execution and mid-circuit measurement via run-time decision logic, allowing adaptive quantum programs.
- Providing a Standard Library with hardware-specific routines (e.g., Doppler cooling, sideband cooling) and reusable gate definitions to streamline high-level programming.
- Using symbolic algebra and a calibration database to expose and manage hardware tuning parameters, enhancing transparency and reproducibility.
Experimental results
Research questions
- RQ1How can a quantum programming language unify circuit-level programming with low-level analog and FPGA-level hardware control in a single, coherent framework?
- RQ2What design principles enable full-stack transparency in quantum program compilation and execution, especially for remote-access quantum hardware?
- RQ3How can real-time decision logic and mid-circuit measurements be natively supported in a high-level quantum language?
- RQ4To what extent can a symbolic algebra framework and calibration database improve expressiveness and reproducibility in quantum programming?
- RQ5Can a full-stack language be designed with sufficient generality to be portable across different trapped-ion and FPGA-controlled quantum hardware platforms?
Key findings
- Quala successfully enables full-stack programming by integrating circuit-level gates, analog pulse waveforms, and FPGA-level control commands within a single language, eliminating the need for opaque compilation layers.
- The language supports mid-circuit measurements and conditional execution, allowing real-time adaptive programs essential for quantum error correction and analog simulation.
- The compiler translates programs written at any abstraction level into precisely timed hardware commands, ensuring end-to-end traceability from high-level code to physical hardware actions.
- The integration of a user-accessible calibration database and symbolic algebra framework allows users to inspect and modify calibration routines, enhancing transparency and reproducibility.
- A complete experimental protocol—including Doppler cooling, sideband cooling, global rotations, Ising interactions, and measurement—was successfully encoded and executed using Quala, demonstrating full-stack capability.
- The language design is generic enough to be extended to other FPGA-controlled quantum hardware platforms beyond trapped-ion systems, supporting broader portability and community adoption.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.