
Real-time quantum error correction decoding with the OPX1000 and NVIDIA CUDA-Q QEC decoders over NVQLink
Quantum computers make errors constantly, and a classical decoder has to process the error signals and send corrections back fast enough to keep up with the error signal generation. We have connected the OPX1000 to NVIDIA CUDA-Q QEC decoders over NVIDIA NVQLink, so a single CUDA-Q program can now call a decoder while it runs on real quantum hardware. We present here first test decoding and communication latency results using pre-sampled error data.
One of the aspects I enjoy most about working in quantum error correction (QEC) is watching pieces that used to exist only on architecture diagrams gradually become working systems. Today’s integration between Quantum Machines (QM) OPX1000 quantum control system and NVIDIA accelerated computing is an example of exactly that at ultra-low latency.
NVIDIA CUDA-Q is the open platform for programming quantum and classical processors together. A CUDA-Q user can already write a quantum program without thinking about the underlying quantum hardware. In earlier work, we showed how the OPX1000 can automatically translate high-level CUDA-Q quantum operations into calibrated pulse sequences on physical qubits. Today, we show the next step: the same CUDA-Q program can initiate in real-time any decoder from the CUDA-Q QEC solution, as well as fill it up with QEC data and receive decoding results, with the OPX1000 exchanging low-latency messages with an NVIDIA GH200 Grace Hopper Superchip during each shot.
The CUDA-Q circuit includes calls for CUDA-Q QEC decoders (classical software that reads a quantum computer’s error checks and computes their logical effect) as part of its execution flow: sending check data, triggering decoding, receiving corrections, and using those results to determine what happens next (technical details about the decoding server here). We verified the workflow over surface code memory experiments for distances 7, 11, and 15, with 25, 50, and 75 rounds. The results show communication robustness with a steady two-way latency of below 2.5μs across all configurations and a full alignment between the real-time decoding and offline decoding, indicating that all packets were transferred without a flaw. These results verify that NVIDIA’s QEC decoding solutions are seamlessly integrated in the real-time CUDA-Q program, executed by the OPX1000.
This demonstration is where the blueprints of NVQLink and QM’s hybrid quantum-classical supercomputer vision start to feel tangible. The goal has never been merely to connect a quantum computer to a powerful classical processor. The goal is to make the quantum and classical components behave as parts of a single, integrated computational system.
Figure 1 shows how these ideas come together in practice, combining a hardware-agnostic programming model, automated compilation, low-latency communication, and real-time decoding into a single workflow. This is particularly important for QEC, because errors keep arriving: if the decoder falls behind, they pile up faster than they can be fixed and the computation fails. By allowing QEC workloads to be processed on an NVIDIA GH200 while remaining tightly integrated with the OPX1000 runtime, we move one step closer to that vision.
From the user’s perspective, quantum operations, measurements, and classical decoding can now be expressed within a single program, while the underlying hardware and software stack coordinate the real-time execution needed for fault-tolerant quantum computing.
How a CUDA-Q program calls the decoder
In practice, a quantum program written in CUDA-Q calls NVIDIA’s CUDA-Q QEC decoder directly, through three device calls: reset_decoder, which initializes the decoder for a new shot; enqueue_syndromes, which streams the error-check (syndrome) measurements to the decoder once per round of error correction; and get_corrections, which returns the decoder’s correction. The program is compiled once and runs as a single job on the OPX1000, which makes these calls in real time during every shot. The calls reach the NVIDIA GH200 over NVQLink, where CUDA-Q Realtime hands them to the CUDA-Q QEC decoder (here PyMatching, running on the Grace CPU), and the correction returns to the OPX1000 within the same shot (Figure 1).

Testing real-time QEC decoding end to end
This first test used pre-sampled syndromes rather than live qubits, so it measured the integration pipeline between control and decoding. To show the flow end to end, we ran a set of CUDA-Q programs on the OPX1000 that performed surface-code memory experiments (storing a logical qubit over many rounds of error correction, without running logic operations) with real-time QEC decoding, which ran on the GH200’s Grace CPU, with the syndrome data passing through the host CPU.
The program was compiled once and executed 10,000 shots for each of nine configurations: code distances 7, 11 and 15 (larger distances protect information better but give the decoder more work), each at 25, 50 and 75 rounds of error correction, using pre-sampled syndromes at a 0.1% physical error rate.
In every shot, the controller sent its syndromes to the NVIDIA GH200 over NVQLink, where the PyMatching decoder running on the Grace CPU decoded them and returned the correction. We measured the decoding latency, the latency of the link between controller and decoder, and the time taken by each full shot. The round trip to the decoder and back took a steady 2.4 microseconds (μs) across all checked distances, and decoding stayed below 1 μs per round at distances 7 and 11.
A closer look at latency, stability and shot timing
It is clear from Figure 2 below that decoding latency behaved as expected. The figure shows all nine configurations, with 10,000 shots each at a 0.1% physical error rate. There are three views of the same data: (a) the decoding latency alone, (b) the decoding latency plus the two-way communication with the controller, and (c) the decoding latency divided by the number of rounds. In each panel, the lines show the median and the bands span the 5th to 95th percentile.
As expected from a PyMatching decoder, the time from the decoding server receiving the final syndrome round to sending its response grew with both code distance and the number of rounds, because a larger code and a longer experiment gave the decoder more to match. Including the link to the controller (Figure 2b), the median ran from 7.2 μs (distance 7, 25 rounds) to 118.1 μs (distance 15, 75 rounds), of which the decode itself was 4.7 μs in the smallest case.
Normalized per round (Figure 2c), the median was 0.19–0.22 μs at distance 7 and 0.56–0.67 μs at distance 11, comfortably below 1 μs, the figure we treat as the mark for keeping pace with a QEC cycle in superconducting platforms.
At distance 15 it was 1.2–1.5 μs, which is where further optimization, such as the planned GPU dispatch path, or using other decoding algorithms, will matter most. PyMatching is just one handler registered with the CUDA-Q decoding server. Users can switch to another NVIDIA decoder by changing one line of configuration, or develop a decoder of their own and measure it in exactly the same way.

The two-way latency with the OPX1000 was steady. Figure 3 shows one full round trip between the controller and the decoding server, including request handling, for each configuration, with whiskers spanning the 1st to 99th percentile of 10,000 shots. Across all nine configurations the median round trip over the link was 2.34–2.50 μs, and 99% of shots took no more than 2.88 μs.
Importantly, the communication latency barely changed with code distance or the number of rounds. The gap between panels (a) and (b) of Figure 2 was therefore a small, constant offset of roughly 2.4 μs, and nearly all of the growth in total latency came from the decoder itself. This makes the communication cost ‘easy to budget’ for whatever decoder is used.

When digging further into the decoding behavior, we found that latencies at a single distance were distributed as expected. Figure 4 shows the decoding latency at distance 11 for 10,000 shots each at 25, 50 and 75 rounds, as (a) a histogram, (b) a cumulative distribution and (c) the latency of every shot over the run (dots), with a 100-shot moving average (lines). At distance 11, the decoding latency for 25, 50 and 75 rounds formed a narrow, single-peaked distribution centered at about 14, 33 and 50 μs respectively, with a steep cumulative curve and little overlap between the shortest and longest experiments.
The longest latencies occurred during warm-up. Over the first few hundred shots the latency was higher, most visibly at 75 rounds, and then settled to a steady level that held, with no drift, for the rest of the 10,000-shot run.

The warm-up latencies become negligible because a single compilation was enough to execute all shots for every configuration. The full shot period (Figure 5), measured between consecutive shots at the decoding server, had a median of 75 μs at distance 7 with 25 rounds and 365 μs at distance 15 with 75 rounds. It grew linearly with the number of rounds, by about 2.8, 3.6 and 4.9 μs per round at distances 7, 11 and 15. In Figure 5, the bars show the median for each code distance and number of rounds, and the whiskers span the minimum to the 99th percentile. Because every shot in a configuration ran from one compiled program in one job, the 10,000 shots of a configuration took roughly 0.75 to 3.7 seconds to execute.
The experimental time was short, and each shot passed its syndromes to the decoder and received the correction back with no further compilation in between. This is what makes the integration seamless: a quantum program written in CUDA-Q, compiled once for the OPX1000, can call thousands of CUDA-Q Realtime kernels over NVQLink directly within a single experiment.

As a final reflection, the path to large-scale fault-tolerant quantum computing is not yet complete. Real hardware deployments will likely reveal unforeseen challenges, and important milestones still remain before all the requirements for benchmarking controller-decoder integration in non-Clifford QEC workloads are fully met.
Nevertheless, capabilities such as those demonstrated here continue to close the remaining gaps and provide new integration opportunities for the QEC community. A single runtime program can now combine quantum control with real-time decoding on a classical supercomputer, and the next step is to run it on live qubits.
Perhaps most importantly, the approach is highly general, supporting different quantum hardware modalities, QEC codes, and decoding algorithms, whether executed on CPUs or accelerated with GPUs through CUDA-Q QEC, while preserving the low-latency feedback required for fault-tolerant operation. By automating both the quantum and classical components within a unified workflow, the framework enables the joint development and optimization of QEC codes, decoders, and their corresponding hardware implementations, helping accelerate the transition toward practical fault-tolerant quantum computing.
Want to explore real-time decoding in your own QEC experiments? Get in touch with our team to see how the OPX1000 and CUDA-Q QEC work together over NVQLink. To go deeper into what fault-tolerant workloads demand of the control system, read our paper on benchmarking controllers for error-corrected non-Clifford circuits.