Skip to content

Shane Caldwell

Introducing CUDA-Q Pulse: Python-native pulse programming with GPUs in the loop

Gates are the currency of quantum applications. But every quantum gate is a convenient abstraction, representing a shaped microwave or laser pulse executing across a control line with nanosecond precision. Calibration, quantum error correction (QEC), and device bring-up all happen at that deeper layer, and very often crafting and operating with those pulses requires GPU calculations to make fast decisions during quantum runtime.

Today we're releasing CUDA-Q Pulse (cudaq-pulse), an open-source pulse-level programming model and MLIR compiler. This new addition to the NVIDIA quantum platform allows users to write pulse programs in ordinary Python and call classical functions on a GPU, host, or FPGA in the middle of the experiment. It can work within explicit latency budgets, and simulate the whole loop involved in pulse programming with NVIDIA cuDensityMat before running it on quantum hardware.

CUDA-Q Pulse: a Python kernel calls a GPU decoder during quantum runtime and uses the answer to condition the next pulse

QEC decoding comes online with the CUDA-Q QEC Decoding Server

Most quantum error correction (QEC) decoding today happens offline: sample a memory experiment, decode the shots, plot a logical error rate. A fault-tolerant QPU needs decoding as an online service instead. That service runs next to the controller for the life of the machine, takes syndromes as they arrive, and answers before the next round needs the result.

Today we're releasing CUDA-Q QEC 0.9 with the CUDA-Q QEC Decoding Server: an open-source reference application for online decoding. The Decoding Server ships in the cudaq-decoding container that anyone can download, experiment with, and deploy to a realtime host connected to a real or emulated QPU controller. Describe your decoders in one YAML file, start the server, and get corrections back over NVQLink RoCE or plain UDP. You can try it today with no hardware at all, by replaying recorded or simulated shots through the same server you'll later connect to your QPU.

A quantum controller or the playback emulator streams syndromes to the CUDA-Q QEC Decoding Server, which routes them through a task graph to GPU and CPU decoders and returns corrections
Figure 1. The CUDA-Q QEC Decoding Server takes syndromes from a controller or the playback emulator, routes them through a decoding task graph, and returns corrections and logical results over the same link.