Skip to content

Hardware

Where CUDA-Q fits in a quantum experiment

CUDA-Q combines quantum kernels with classical code. Learn which parts belong to a circuit, which belong to the host, and what an export preserves.

Hardware2026-05-302 min readReviewed 2026-10-28

Three precision connector modules seated in a shared ceramic docking rail.
Start locally. Connect deliberately.
Server racks in a provider data center
In contextClassical infrastructure supports the cloud services around a quantum experiment. Brett Sayles / Pexels

The quantum operation may be short while the application around it is substantial. CUDA-Q gives those two parts a shared programming model.

Key takeaways

  1. Locate the host–kernel boundary.
  2. Record the chosen target.
  3. Do not mistake a circuit export for a complete application.

Chapter 01

Find the quantum kernel

A CUDA-Q kernel describes work for a quantum target or its simulator. The host program supplies inputs and uses the outputs. When reading an example, locate that boundary first. It helps distinguish the operations on qubits from file loading, optimization and other ordinary application logic.

Chapter 02

Choose the target deliberately

A kernel can be developed against a simulator before an appropriate hardware target is used. The selected target and its configuration belong in your experiment notes. The same source text does not guarantee identical availability, noise behavior or performance across targets.

Chapter 03

Inspect what a conversion contains

QFlow can offer supported circuit representations without claiming to import an entire heterogeneous application. If a source file contains unsupported control flow or host-side logic, preserve that source and its requirements. Turning it into a few editable gates would otherwise hide part of the program.

Sources

  1. NVIDIAWhat is a CUDA-Q kernel?Reference; checked 2026-10-28
  2. QFlow StudioQFlow user guide: the current workspaceReference; checked 2026-10-28

Next step

Try one small experiment.

Choose a supported example, make a prediction and see what changes when you edit the circuit.

Explore the Hub