arXiv:2610.33843cs.AROct 2026

Manuscript Offprint

arXiv:2610.33843

Real-Time Recurrent Qubit-State Discrimination on a Heterogeneous AI-Engine-FPGA Accelerator

Vu Le, Yilun Xu, Neel Vora, Gang Huang, Deepak Ganesan, Phuc Nguyen

Vu Le ∗^{*}

University of Massachusetts Amherst

Amherst, MA, USA

vdle@umass.edu

Gang Huang

Lawrence Berkeley National

Laboratory

Berkeley, CA, USA

ghuang@lbl.gov

Yilun Xu

Lawrence Berkeley National

Laboratory

Berkeley, CA, USA

yilunxu@lbl.gov

Deepak Ganesan

University of Massachusetts Amherst

Amherst, MA, USA

dganesan@umass.edu

Neel Vora

Lawrence Berkeley National

Laboratory

Berkeley, CA, USA

nrvora@lbl.gov

Phuc Nguyen

University of Massachusetts Amherst

Amherst, MA, USA

vp.nguyen@cs.umass.edu

Abstract

Qubit readout, or qubit state discrimination, remains one of the slowest and most error-prone operations in superconducting quantum processors, making fast, accurate, and hardware-efficient classification essential for scalable quantum computing. Conventional discriminators integrate the I/Q record into a single point, discarding evidence a relaxing qubit leaves behind; full-resolution feed-forward classifiers recover it but are too costly to deploy under this constraint. Recurrent classifiers retain full resolution far more cheaply, but their loop-carried hidden state cannot fit a single AI Engine (AIE) tile's register capacity and spills to data memory, adding latency that grows with sequence length.

We present a hardware-aware LSTM accelerator for an AMD Versal device that resolves this by partitioning at the dependency boundary—independent input projections on the AIE array, the loop-carried update in programmable logic (PL)—keeping pace with a 64 ns input cadence under a 1,000 ns budget. On the qubit affected by mid-readout state transitions, our design matches a full-resolution feedforward network's accuracy (96.59% vs. 96.37%) using 403× fewer parameters and roughly 103× fewer DSPs while cutting relative error by 68.2% over GMM, 43.6% over QubiCML, and 16.82% over MF-NN. Using 4 out of 400 AIE tiles and 17 DSP58, it needs 2.2–8.2× fewer DSP58 blocks than QubiCML and MF-NN, and the AIE–PL partition cuts exposed tail latency by 60.3% versus a pure-AIE mapping and DSP58 usage 31.1× versus an all-PL implementation. Across eight qubits, a compact variant reaches 96.78% mean accuracy, the strongest hardware-deployed operating point. Temporal resolution and recurrent-state placement must then be treated jointly when designing low-latency quantum readout accelerators.

1 Introduction

Qubit readout faces a basic timing trade-off: a longer window collects more signal but increases exposure to relaxation and can improve separation between quantum states. However, it also increases the probability that an excited qubit relaxes during measurement. When this occurs, early samples reflect the prepared ∣1⟩|1\rangle state, while later samples increasingly resemble ∣0⟩|0\rangle. Conventional classifiers integrate these samples into a single I/Q point, discarding when the transition occurred and potentially moving the readout toward the wrong decision region [13, 17, 21].

This creates a fundamental challenge for low-latency readout. A shorter window reduces exposure to relaxation but collects less signal. A longer window collects more signal, but integration can combine evidence from different states and make the resulting representation less reliable. Retaining the full temporal sequence avoids this information loss, but increases the classifier input from two integrated values to thousands of samples. Since signal acquisition and classification must fit within the same real-time feedback deadline, a longer readout window simultaneously produces more data and leaves less time to process it.

We observe this behavior in readout traces from eight superconducting qubits. For seven qubits, classifiers operating on an integrated I/Q point perform nearly as well as classifiers that retain the complete time series. One qubit behaves differently. On this qubit, which we refer to as Q3, a population of prepared ∣1⟩|1\rangle shots transitions toward ∣0⟩|0\rangle during readout. As the window grows, GMM accuracy decreases because integration increasingly mixes the early ∣1⟩|1\rangle evidence with the later ∣0⟩|0\rangle signal. A full-resolution classifier preserves this temporal evidence and improves accuracy from 89.27% with GMM and 93.95% with QubiCML to 96.37%.

Existing classifiers occupy opposite ends of the resulting accuracy-cost tradeoff. GMM [15] and QubiCML [32] are inexpensive because they consume only one integrated I/Q point, but they discard temporal information that matters on Q3. A full-resolution FCN [20] recovers this information by consuming all 2,816 real values in a 704 ns trace, but requires millions of parameters and a significant fraction

∗^{*}Also with Lawrence Berkeley National Laboratory.

of the FPGA’s resources, making it impractical to deploy (Figure 1). The central question is therefore: how can we retain temporal information when it matters while meeting both a sub-microsecond latency target and a practical per-channel hardware budget?

Recurrent inference. Recurrent models offer a promising middle ground. An LSTM processes the readout incrementally and summarizes the samples observed so far in a fixed-size hidden state [14, 17]. It can therefore retain temporal structure without requiring a feed-forward network whose parameter count grows with the complete input record. In our case, the resulting full-resolution LSTM has 403×403\times fewer parameters than the FCN while matching its accuracy on Q3. Recurrence also lets classification overlap with acquisition instead of waiting for the complete readout record to arrive.

However, a compact model is not necessarily a fast or inexpensive hardware implementation. Every LSTM timestep depends on the state produced by the previous timestep, and the state update must complete before the next segment of the readout arrives. At our operating point, the 2 GSPS converter produces one 256-value input segment every 64 ns. A pure-AIE implementation cannot sustain this rate because the loop-carried state exceeds the available register capacity and spills to local memory. An all-PL implementation avoids this scheduling problem, but consumes 26.9% of the device's DSP58 budget. Thus, the model is compact, but it cannot be implemented efficiently on either AIE or PL alone.

Our approach. Our key insight is that both temporal resolution and hardware placement should be chosen where they provide value. At the algorithm level, we use a full-resolution recurrent model for a qubit such as Q3, where readout timing affects the decision. For qubits that do not benefit from the complete trace, we use a compact recurrent model that preserves coarse temporal structure while reducing each timestep to one mean I/Q pair. This avoids imposing the cost of Q3's classifier on every channel.

At the hardware level, we partition the LSTM according to its data dependencies. The four input projections are independent and execute in parallel on AIE tiles, while the loop-carried recurrent update and classifier remain in PL. This keeps the hidden state local and allows each state update to complete within the 64 ns input cadence. The AIE computation and PL recurrent update overlap as samples arrive, leaving only the final pipeline tail exposed after acquisition.

Technical challenges. Realizing this approach requires addressing two challenges. First, selecting a recurrent model cannot be based on accuracy alone. Hidden size, temporal resolution, and depth jointly determine the AIE computation, recurrent update rate, resource use, and end-to-end latency. We develop analytical feasibility bounds that capture these constraints and eliminate configurations unable to keep pace with the input stream or meet the 1,000 ns latency target. This search identifies two H=8H = 8 operating points: LSTM-heavy, which retains the complete readout record, and LSTM-compact, which uses one mean I/Q pair per timestep.

Second, AIE offload is beneficial only when the input projection is large enough to justify the AIE–PL crossing. For LSTM-heavy, moving the wide input projection to the AIE array substantially reduces PL resource use and produces a deployable design. For LSTM-compact, the input projection is small, and PL-only execution is faster. Hardware placement must therefore be selected together with the temporal representation rather than applied uniformly across models.

Results. On Q3, LSTM-heavy achieves 96.59% accuracy at a 704 ns readout duration, corresponding to a 68.2% relative reduction in error over GMM and 43.6% over QubiCML, and 16.82% over MF-NN [23]. It matches the full-resolution FCN's accuracy with 403× fewer parameters and uses 2.2×, 3.9×, and 8.2× fewer DSP58 blocks than QubiCML, a prior LSTM, and MF-NN, respectively. The AIE–PL implementation completes in 854 ns, compared with 1,082 ns for the pure-AIE mapping, and reduces the exposed inference tail by 60.3%. Relative to an all-PL implementation of the same model, it reduces DSP58 use by 31.1× and eliminates BRAM use.

The same mapping is not optimal for every model. The PL-only LSTM-compact implementation completes in 814 ns, compared with 864 ns for its AIE–PL implementation, and achieves the highest mean accuracy across the eight qubits at 96.78%. A per-channel deployment uses LSTM-heavy for Q3 and LSTM-compact for the other seven qubits, outperforming the FCN in readout fidelity on every qubit. These results show that temporal resolution and hardware placement are both per-model design decisions.

Contributions. The main contributions of this paper are:

  • We characterize readout traces from eight superconducting qubits and show that the value of temporal resolution is channel-dependent. In particular, we identify a qubit for which mid-readout relaxation causes integration to discard evidence that remains recoverable in the time-resolved record.

  • We develop a hardware-aware recurrent design-space exploration that jointly considers temporal resolution, hidden size, model depth, input-stream cadence, and end-to-end latency. The resulting compact and full-resolution operating points allow classifier complexity to follow the needs of each qubit.

  • We develop a heterogeneous recurrent implementation that maps independent LSTM input projections to AIE tiles and keeps the loop-carried state update in PL. This dependency-aware partition sustains the input cadence while substantially reducing PL resource use.

  • We implement and evaluate the design on an AMD Versal VCK190, achieving FCN-level accuracy on the qubit most affected by relaxation within an 854 ns

Figure

(a)

(b)

(c)

Figure 1. Comparison of single-qubit classifiers. (a) Accuracy on Q3, the qubit most affected by mid-readout relaxation. (b) DSP58 utilization. (c) Latency, including the 704 ns acquisition window, against the 1,000 ns accelerator target. No existing classifier is simultaneously accurate, efficient, and fast enough. FCN values are estimates.

accelerator latency, while a per-channel deployment provides high readout fidelity across all eight qubits. We confirm this latency on physical VCK190 hardware for the deployed LSTM-heavy AIE-PL mapping, measuring 860 ns end-to-end.

References (28)