arXiv:2610.28867cs.DCOct 2026

Manuscript Offprint

arXiv:2610.28867

Engineering Low-Latency, High-Throughput Quantum Decoders on NVIDIA GPUs

Stefano Markidis, Luca Pennati, Ivy Peng

Stefano Markidis, Luca Pennati, Ivy Peng

KTH Royal Institute of Technology

Abstract—We design and optimize a quantum error correction (QEC) decoder for NVIDIA GPUs, combining Relay belief propagation, a state-of-the-art message-passing algorithm, with order-zero ordered statistics post-processing. Our implementation uses CUDA Graphs to control GPU execution, stops updates for converged samples, and collects unresolved samples in queues for post-processing. We optimize sparse traversal through coalesced message accesses, prefetching, and register reuse, and accelerate binary post-processing with warp-level collectives. In addition, mixed FP16–FP32 arithmetic and INT8 quantization reduce message storage and traffic while retaining accuracy using accumulators at higher precision. We evaluate surface, hypergraph product, and bivariate bicycle code workloads on NVIDIA A100 and GH200 data-center GPUs and a commodity RTX 5080. On the bivariate bicycle code at error probability 0.003, INT8 halves amortized decoding time relative to independently tuned FP32 with a negligible logical error rate increase on RTX 5080. With independent syndrome batches submitted back-to-back to concurrent decoder instances, RTX 5080 delivers 91% of GH200's highest measured throughput with an 8.9×8.9\times shorter median submission-to-correction latency. The combination of performance optimization, mixed precision, INT8 quantization, and concurrent decoder instances opens a path toward QEC decoder clusters built from commodity GPUs.

Index Terms—NVIDIA GPUs, quantum error correction

I. INTRODUCTION

Fault-tolerant quantum computing requires classical decoders that process measurement data at least as fast as it is generated [1]. Quantum error correction (QEC) encodes one or more logical qubits in a code block of physical qubits. Repeated parity measurements, called stabilizer checks, produce a syndrome: a binary vector recording deviations from expected correct outcomes. The decoder infers a correction from this vector. As the number of logical qubits (each encoded across multiple physical qubits) grows, each measurement round generates more syndrome data, increasing the required aggregate decoding throughput. Independent decoding requests provide parallel work that the classical system can exploit to sustain this higher data rate.

From an HPC perspective, the QEC computational workload is akin to sparse graph processing. QEC graphs have nodes with different numbers of neighbors. Each edge update requires few arithmetic operations, and iteration counts depend on the measured syndrome. Reconfigurable FPGAs and custom ASICs can tailor their logic and memory organization to these operations [2]. GPUs combine high memory bandwidth with thread parallelism across graph updates and independent syndrome samples, allowing memory accesses to overlap. In addition, CUDA provides the programming model, libraries,

Figure

Fig. 1. GPU decoding workflow in a QEC system.

and profiling tools for specializing kernels and controlling concurrent execution. In this work, we evaluate the latency, throughput, and logical accuracy of optimized GPU decoding to assess whether GPUs can serve as credible, programmable devices for QEC workloads.

QEC decoding exposes GPU parallelism within each syndrome sample and across independent decoding requests. Each sample requires repeated sparse graph traversal, followed by a binary linear solver if the iterative decoder reaches its iteration limit without converging. GPU threads distribute graph updates and cooperate on local reductions and binary operations. Samples share the same graph connectivity but maintain independent messages and convergence state, allowing many samples to be processed together. Fig. 1 shows how this computation fits into the overall workflow: independent syndrome batches execute in separate CUDA streams and return corrections to the controller. The controller updates a Pauli frame, a classical record of accumulated bit and phase corrections. Our work develops this mapping for Relay belief propagation (Relay-BP) with order-zero ordered statistics post-processing (OSD-0), combining parallelism within each decoder instance with concurrency across batches.

We design and optimize a Relay-BP/OSD-0 decoder for NVIDIA GPUs, targeting high throughput and short correction latency while quantifying the effects of numerical precision on accuracy. The main contributions are:

• A GPU decoder with convergence control on the GPU, sample retirement, compacted fallback queues, and ordered multi-warp binary elimination.

• Specialized sparse kernels using mixed FP16-FP32 arithmetic, FP16 arithmetic, and INT8 quantization, with an analysis of their effects on memory footprint, convergence, and complete-decoder performance.

• An evaluation across three circuit-level code families and three NVIDIA GPU architectures, combining kernel profiling and latency-throughput measurements to identify precision, batch size, and stream configurations suited to different response-time requirements.