End-to-end workflow for machine learning-based qubit readout with QICK and hls4ml
Giuseppe Di Guglielmo, Botao Du, Javier Campos, Alexandra Boltasseva, Akash V. Dixit, Farah Fahim, Zhaxylyk Kudyshev, Santiago Lopez, Ruichao Ma, Gabriel N. Perdue, Nhan Tran, Omer Yesilyurt, Daniel Bowring · 2025
Read End-to-end workflow for machine learning-based qubit readout with QICK and hls4ml by Giuseppe Di Guglielmo, Botao Du, Javier Campos, Alexandra Boltasseva, Akash V. Dixit, Farah Fahim, Zhaxylyk Kudyshev, Santiago Lopez, Ruichao Ma, Gabriel N. Perdue, Nhan Tran, Omer Yesilyurt, Daniel Bowring (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2501-14663.txt.
Introduction
Giuseppe Di Guglielmo and co-authors lay out a full workflow for reading out a quantum bit with machine learning built into the control gear. Fast, accurate readout is a core need as quantum machines grow. Their 2025 flow embeds a small neural network into a kit called QICK, built on radio ready chips.
A tool named hls4ml turns the trained network into chip logic, with training that keeps numbers small for hardware. The team shows the flow on a single transmon qubit. It reached 96 percent single shot fidelity with a delay of 32 nanoseconds. The design used less than 16 percent of the chip's lookup table space. Python tools keep the path open to other labs.
Catalog record
| CREATOR | Giuseppe Di Guglielmo, Botao Du, Javier Campos, Alexandra Boltasseva, Akash V. Dixit, Farah Fahim, Zhaxylyk Kudyshev, Santiago Lopez, Ruichao Ma, Gabriel N. Perdue, Nhan Tran, Omer Yesilyurt, Daniel Bowring |
|---|---|
| YEAR | 2025 |
| COLLECTION | PAPERS |
| FORMAT | TXT |
| FILE SIZE | 45 KB |
| VERSION | 1.0 |
| LICENSE | http://creativecommons.org/licenses/by/4.0/ |
| RIGHTS | CC BY |
| SOURCE | arXiv |
Source: https://arxiv.org/abs/2501-14663
Browse the full library · About the Tower of Babel
Full text
The opening of the work, from the library's hosted text:
End-to-end workflow for machine learning-based qubit readout with QICK and hls4ml Giuseppe Di Guglielmo, Botao Du, Javier Campos, Alexandra Boltasseva, Akash V. Dixit, Farah Fahim, Zhaxylyk Kudyshev, Santiago Lopez, Ruichao Ma, Gabriel N. Perdue, Nhan Tran, Omer Yesilyurt, Daniel Bowring Abstract We present an end-to-end workflow for superconducting qubit readout that embeds co-designed Neural Networks (NNs) into the Quantum Instrumentation Control Kit (QICK). Capitalizing on the custom firmware and software of the QICK platform, which is built on Xilinx RFSoC FPGAs, we aim to leverage machine learning (ML) to address critical challenges in qubit readout accuracy and scalability. The workflow utilizes the hls4ml package and employs quantization-aware training to translate ML models into hardware-efficient FPGA implementations via user-friendly Python APIs. We experimentally demonstrate the design, optimization, and integration of an ML algorithm for single transmon qubit readout, achieving 96% single-shot fidelity with a latency of 32 ns and less than 16% FPGA look-up table resource utilization. Our results offer the community an accessible workflow to advance ML-driven readout and adaptive control in quantum information processing applications. I Introduction Quantum technologies hold the promise to transform a range of applications from computation and communication to sensing. Realizing these quantum advantages, however, requires scaling from current small-scale prototypes to large-scale quantum processors with increasingly complex qubit arrays. As the number of qubits grows, so does the need for a commensurately scalable and efficient classical co-processing infrastructure. The software, firmware, and hardware responsible for controlling and reading out the quantum states must not only support the expanding qubit counts but also maintain the high fidelity and low latency critical for successful quantum operations. Superconducting (SC) qubits have emerged as a leading platform for building large-scale quantum processors [ 1 ] . The rapid progress is thanks to the scalability of the lithographically fabricated superconducting circuits, the instrumentation ecosystem available at the operating frequencies of SC qubits, and advances in cryogenic systems to reach the millikelvin temperatures required for their quantum operation. Noisy Intermediate-Scale Quantum (NISQ) devices with more than a hundred qubits are now in operation, showing significant progress towards computational quantum advantages [ 2 , 3 , 4 ] . As these devices increase in complexity, there is a growing need for integrated control and readout solutions that combine functionality, flexibility, ease of deployment, and cost-effectiveness. Recent developments in Radio Frequency System-on-Chip (RFSoC) technologies are accelerating this effort [ 5 , 6 , 7 , 8 ] . By combining the capabilities of Field-Programmable Gate Arrays (FPGAs) with RF data converters, RFSoC-based systems provide real-time signal generation via direct digital synthesis in the microwave domain, efficient readout via fast analog-to-digital conversion, and low-latency signal processing. In particular, the Quantum Instrumentation Control Kit (QICK) [ 5 , 9 ] has seen growing adoption among laboratories developing superconducting qubits, as well as other experimental platforms. Figure 1: Overview of the QICK and hls4ml workflow. In parallel to this hardware development, there is a crucial need to integrate the classical and quantum hardware with a robust and scalable software stack. Software challenges include device calibration and tune-up, multiplexed readout, and fast adaptive control. These challenges span both classical and quantum control in the presence of noise, crosstalk, and other errors. For future fault-tolerant quantum machines, fast, high-fidelity measurements across large systems and real-time, low-latency adaptive feedback control are essential [ 10 , 11 ] . The rise of machine learning (ML) tools in classic computing provides a powerful toolset to develop adaptive, heuristic algorithms for qubit readout and control. In particular, ML can be used in readout to account for effects that are difficult to compute analytically, such as non-linear behaviors in the time-evolution of signal traces including noise, multi-qubit correlations and crosstalk, and the evolution of the system dynamics over time due to external effects [ 12 , 13 , 14 , 15 , 16 ] . Ultimately, an active learning ML approach can provide a path to high-fidelity autonomous and adaptive qubit readout control systems. Toward this goal, it is important to develop a platform for researchers to study, train, and deploy ML algorithms, bringing together expertise in quantum systems, machine learning, and readout electronics that meet the constraints of state-of-the-art experiments. In this paper, we present an open-source workflow based on QICK and hls4ml to advance ML-based quantum control. The open-source hls4ml package [ 17 , 18 ] enables users to translate ML models into low-level logic descriptions using High-Level Synthesis tools through accessible Python APIs. This allows for algorithm and experiment design without requiring detailed firmware development knowledge for FPGAs. Specifically, hls4ml supports the optimization of neural network designs in hardware with techniques such as quantization-aware training [ 19 ] and pruning [ 20 ] , which minimize hardware resources and latency by tuning high-level parameters. We demonstrate an ML-based qubit readout algorithm on QICK, integrating a neural network designed through hls4ml . This includes developing and deploying an end-to-end workflow for ML-based superconducting qubit readout and providing open-source tools for others to use in their research. Our initial demonstration focuses on the readout of a single superconducting transmon qubit. The ML implementation achieves a single-shot readout fidelity of 96% with a latency of 32 ns and the maximum FPGA resource usage of Look-Up Tables (LUTs) of 16%. The open-source end-to-end workflow for designing and integrating NN models into QICK is illustrated in Figure 1 . The code is made publicly available at Ref. [ 21 ] . This paper is organized as follows. In Section 2, we describe the setup for the superconducting qubit system under study, visualize the readout data, and describe non-ML-based readout methods. In Section 3, we detail the NN model training and optimization with hls4ml for the available resources within the QICK readout system. Section 4 describes the integration of the hls4ml neural network intellectual property (IP) block with the QICK firmware and hardware. We conclude in Section 5, describing the results of this study and what future capabilities this will enable. II Superconducting Qubit Readout II.1 Background In superconducting (SC) qubits, quantum information is encoded as excitations of electromagnetic resonances formed by SC circuit elements. The transmon qubit [ 22 ] , a workhorse in contemporary SC quantum processors, can be described as an anharmonic microwave resonator, where the SC Josephson junction provides the anharmonicity. The computational basis of the transmon consists of its two lowest energy levels, denoted as \ket{0} and \ket{1} , which correspond to zero and one excitation (microwave photon) in the transmon, respectively. The anharmonicity of the transmon ensures unequal level spacing, enabling coherent control within the computational subspace using resonant microwave pulses. The quantum state of a transmon qubit is measured by coupling the transmon to a linear microwave resonator [ 23 , 24 ] . The dispersive interaction between the readout resonator and the qubit induces a frequency shift in the resonator that depends on the qubit state. Consequently, the qubit states can be distinguished by probing the readout resonator at a frequency near its resonance and monitoring the transmitted or reflected quadrature signals. In a typical projective measurement, the quantum state collapses into one of the basis states, and the readout produces a single binary outcome. Scaling SC