Cudaq guide

From NVIDIA/skills · View interactive version

Cudaq guide is an AI agent skill from the GitHub repository NVIDIA/skills. Use for CUDA-Q setup, simulation targets, QPU access, and @cudaq.kernel authoring guidance.

How to use this skill

Skill file

CUDA-Q Guide

Purpose

Guide users through CUDA-Q installation, basic kernels, GPU simulation targets,

QPU access, built-in applications, multi-GPU execution, and Python

@cudaq.kernel authoring. For Qiskit-to-CUDA-Q ports, route to the

cudaq-importing skill instead.

Prerequisites

Instructions

user wants.

CUDA-Q version or backend behavior.

cudaq-importing.

Routing by Argument

| Argument | Action | Reference |

|---|---|---|

| install | Walk through Python or C++ installation and validation. | references/onboarding.md |

| test-program | Build and run a Bell-state kernel. | references/onboarding.md |

| gpu-sim | Select GPU, multi-GPU, tensor-network, or CPU targets. | references/onboarding.md |

| qpu | Guide provider selection and credential-safe QPU setup. | references/onboarding.md |

| applications | Summarize CUDA-Q application areas and notebooks. | references/onboarding.md |

| parallelize | Choose mgpu, mqpu, async dispatch, or distributed observe. | references/onboarding.md |

| author | Author CUDA-Q Python kernels, select execution APIs, and debug compiler issues. | references/authoring.md |

| _(none)_ | Print the menu below and ask which topic to explore. | This file |

Menu

CUDA-Q Getting Started

CUDA-Q is NVIDIA's unified quantum-classical programming model for CPUs, GPUs, and QPUs.
Supports Python and C++. Docs: https://nvidia.github.io/cuda-quantum/latest/

Choose a topic:
  /cudaq-guide install         Install CUDA-Q
  /cudaq-guide test-program    Write and run a Bell-state kernel
  /cudaq-guide gpu-sim         Accelerate simulation on NVIDIA GPUs
  /cudaq-guide qpu             Connect to real QPU hardware
  /cudaq-guide applications    Explore what you can build
  /cudaq-guide parallelize     Run across GPUs or QPUs
  /cudaq-guide author          Author @cudaq.kernel Python code

Reference Files

program, GPU targets, QPU providers, application areas, parallelization

modes, examples, and platform troubleshooting.

kernel-language constraints, silent-failure pitfalls, recurring coding

patterns, resource metrics, debugging, and validation.

Limitations

on decorator-mode Python APIs used in CUDA-Q 0.14 and 0.15.

and hardware availability.

against local docs before giving operational steps.

Troubleshooting

OS.

qpp-cpu.

and check the restricted kernel-language subset.

latest documentation, then review relevant documentation or source changes

when debugging an installed version that is not the latest release.

variables or through a secrets manager, never hardcoded.

then fall back to local docs or official CUDA-Q documentation.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.