Creator · CUDA-Q Team <cuda-quantum@nvidia.com>
Last updated · Sep 2, 2026
CUDA-Q onboarding guide for installation, test programs, GPU simulation, QPU hardware, and quantum applications.
Creator · CUDA-Q Team <cuda-quantum@nvidia.com>
Last updated · Sep 2, 2026
CUDA-Q onboarding guide for installation, test programs, GPU simulation, QPU hardware, and quantum applications.
Creator · CUDA-Q Team <cuda-quantum@nvidia.com>
Last updated · Sep 2, 2026
CUDA-Q onboarding guide for installation, test programs, GPU simulation, QPU hardware, and quantum applications.
Creator · CUDA-Q Team <cuda-quantum@nvidia.com>
Last updated · Sep 2, 2026
CUDA-Q onboarding guide for installation, test programs, GPU simulation, QPU hardware, and quantum applications.
Sandbox only
Install targets
Codex install prompt
Install the "cudaq-guide" agent skill from https://github.com/NVIDIA/skills/tree/main/skills/cudaq-guide. Read its SKILL.md or equivalent instructions first, install only the files needed for this workspace, and summarize any required setup before using it. Skill purpose: CUDA-Q onboarding guide for installation, test programs, GPU simulation, QPU hardware, and quantum applications. After the install attempt, report the result to https://www.openagentskill.com/api/agent/outcome with POST JSON {"event_id":"install_<unique-id>","skill_slug":"nvidia-cudaq-guide","task":"Install cudaq-guide","agent":"codex","outcome":"success","install_used":true}. Replace event_id with a unique value and outcome with success or failed. Report success only after the skill is installed and a minimal verification passes.Supply asset profile
Code review, repo analysis, testing, CI, GitHub, DevOps, and developer workflow skills.
Scenario
Coding agents
I need a coding agent that can understand a repository, edit code, and review pull requests.
Agent fit
Claude Code + CLI + Codex
Codex, Claude Code, Cursor, CLI, or custom agents.
Install
Ready
npx skills add NVIDIA/skills --skill cudaq-guide
Maintenance
fresh
3d since push
Risk
Needs review
Permission surface may require sandboxing
GitHub quality
3.2K
86/100 Quality · 77/100 Trust
Coverage tags
Review notes
Permission surface may require sandboxing · Financial research output is not financial advice; require human review before any live investment decision
Agent adoption scorecard
These scores combine public repository metadata, OpenAgentSkill review signals, maintenance freshness, and install readiness. They are a shortlist signal, not a replacement for human review.
Quality
ExcellentHigh-confidence pick with strong adoption and healthy maintenance signals.
Trust
Sandbox onlyUseful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.
Audit
Needs reviewA machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
OpenAgentSkill Trust Score v5
Run only in a sandbox and compare close alternatives before using it for real work.
Stars
3.2K GitHub stars
Repo activity
3.2K stars, 372 forks
Maintenance
3d since push
License
Apache-2.0
Install
npx skills add NVIDIA/skills --skill cudaq-guide
Install safety
Agent-readable metadata
Use this block or the embedded JSON to decide whether an agent should install this skill, choose an alternative, or ask for human review first.
Suited tasks
Suited agents
Install decision
Trust and risk
Outcome loop
Install command
npx skills add NVIDIA/skills --skill cudaq-guideDo not use when
Alternative
174.2K Stars
npx skills add anthropics/skills --skill frontend-design
Alternative
84.4K Stars
npx skills add Leonxlnx/taste-skill --skill design-taste-frontend
Alternative
174.2K Stars
npx skills add anthropics/skills --skill canvas-design
Alternative
174.2K Stars
npx skills add anthropics/skills --skill brand-guidelines
Agent safety v2
Sparse or mixed signals. Useful for discovery, but not for autonomous installation.
Test manually in an isolated workspace and compare against safer alternatives.
high
Skill metadata references terminal, CLI, shell, subprocess, or command execution workflows.
medium
Skill likely fetches remote pages, APIs, repositories, or external services.
medium
Skill may read or write project files, documents, generated artifacts, or local workspace state.
Agent resolve plan
The Resolve API returns the selected skill, alternatives, safety policy, audit notes, install target, and copy-paste prompt an agent can follow without scraping this page.
Open JSON
/api/agent/resolve?task=Use%20cudaq-guide%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Resolve text
/api/agent/resolve?task=Use%20cudaq-guide%20for%20an%20agent%20workflow&agent=codex&max_risk=medium&format=text
Install handoff
/api/skills/nvidia-cudaq-guide/install
Agent should check
Copy prompt
Task: Use cudaq-guide in this workspace.
Resolve first: https://www.openagentskill.com/api/agent/resolve?task=Use%20cudaq-guide%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Review install handoff: https://www.openagentskill.com/api/skills/nvidia-cudaq-guide/install
Install command: npx skills add NVIDIA/skills --skill cudaq-guide
Before running it, summarize audit warnings, required permissions, and the fallback skill if install is risky.Agent handoff
Use the public install endpoint to fetch the command, safety checklist, target prompts, and canonical links for this skill.
Install handoff
/api/skills/nvidia-cudaq-guide/install
LLM text format
/api/skills/nvidia-cudaq-guide/install?format=text
Find alternatives
/api/skills/search?q=cudaq-guide&limit=3
Agent prompt
Use cudaq-guide for this task. Review https://www.openagentskill.com/api/skills/nvidia-cudaq-guide/install, then install with: npx skills add NVIDIA/skills --skill cudaq-guideRegistry metadata
This page exposes the same decision, trust, audit, use-case, and install signals through the Registry API, so agents can rank this skill without scraping the UI.
Manifest
/api/registry/manifest/nvidia-cudaq-guide
LLM text
/api/registry/manifest/nvidia-cudaq-guide?format=text
Install alias
/api/registry/install/nvidia-cudaq-guide
Recommend
/api/registry/recommend?task=Use%20cudaq-guide%20in%20an%20agent%20workflow&limit=3
Agent fit
Coding agents
Use-case tags
Platforms
Claude Code
Audit report
A machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
Agent decision cockpit
Use this as a leading candidate, then validate the README and install path in your own agent stack.
Role in stack
Primary pick
Primary fit
Coding agents
Trust label
Production-ready
Install path
Command ready
Use when
Evidence
review first
Implementation path
Trust profile
Useful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.
GitHub adoption
PASS3.2K GitHub stars
Stars/forks activity
PASS3.2K stars, 372 forks; issue activity unavailable in current metadata
Recent maintenance
PASS3d since push
License clarity
PASSApache-2.0
Good signals
Review before install
Recommended action
Run only in a sandbox and compare close alternatives before using it for real work.
Quality profile
High-confidence pick with strong adoption and healthy maintenance signals.
Workflow fit
Build and ship code
I need a coding agent that can understand a repository, edit code, and review pull requests.
Verify behavior
I need my agent to test a web app, reproduce bugs, and verify fixes.
Operate local tools
I need my agent to operate local files and desktop apps in a repeatable workflow.
Workflow fit
Inspect, patch, and verify code
A workflow for software agents that inspect repositories, review pull requests, generate tests, and turn findings into shippable patches.
Design, build, test, and ship interfaces
A practical workflow for agents that turn product briefs or Figma designs into polished frontend code, review the result, test it in a browser, and prepare a safe deployment.
Operate and verify web apps
A workflow for agents that navigate products, fill forms, take screenshots, and verify real user flows across web applications.
Alternative shortlist
Similar skills that may fit this task.
Guidance for distinctive, intentional UI design, typography, visual direction, and non-template-like product interfaces.
Design and implementation guidance for distinctive landing pages, portfolios, product demos, and purposeful redesigns.
Create original visual art, posters, PNG assets, and PDF documents through a clear design philosophy.
Apply Anthropic official brand colors, typography, and visual standards to appropriate Anthropic-related artifacts.
--- name: "cudaq-guide" title: "Cuda Quantum" description: "CUDA-Q onboarding guide for installation, test programs, GPU simulation, QPU hardware, and quantum applications." version: "1.0.1" author: "CUDA-Q Team <cuda-quantum@nvidia.com>" tags: [cuda-quantum, quantum-computing, onboarding, getting-started, nvidia] tools: [Read, Glob, Grep] license: "Apache-2.0" compatibility: "Python 3.10+, C++ 20" metadata: author: "CUDA-Q Team <cuda-quantum@nvidia.com>" tags: - cuda-quantum - quantum-computing - onboarding - getting-started - nvidia languages: - python - c++ domain: "quantum" ---
## CUDA-Q Getting Started Guide
You are a CUDA-Q expert assistant. Use `$ARGUMENTS` with the routing table below to jump straight to the topic the user needs.
## Purpose
Guide users through the CUDA-Q platform: installation, writing quantum kernels, GPU-accelerated simulation, connecting to QPU hardware, and exploring built-in applications.
## Prerequisites
- Python 3.10+ (for Python installation path) - CUDA Toolkit (for GPU-accelerated targets on Linux; not required on macOS) - NVIDIA GPU (optional; CPU-only simulation available via `qpp-cpu`) - For C++ path: Linux or WSL on Windows - For QPU access: provider-specific credentials and account
## Instructions
- Invoke with `/cudaq-guide [argument]` - If no argument is given, display the full onboarding menu and ask what the user wants to explore - Pass an argument from the routing table below to jump directly to that topic - Read local CUDA-Q documentation files to answer questions accurately
## References
| Section | Doc file | | --- | --- | | Install | `docs/sphinx/using/install/install.rst`, `docs/sphinx/using/quick_start.rst` | | Test Program | `docs/sphinx/using/basics/kernel_intro.rst`, `docs/sphinx/using/basics/build_kernel.rst` | | GPU Simulation | `docs/sphinx/using/backends/sims/svsims.rst`, `docs/sphinx/using/examples/multi_gpu_workflows.rst` | | QPU | `docs/sphinx/using/backends/hardware.rst`, `docs/sphinx/using/backends/cloud.rst` | | Applications | `docs/sphinx/using/applications.rst` | | Parallelize | `docs/sphinx/using/examples/multi_gpu_workflows.rst` |
## Routing by Argument
| Argument | Action | |---|---| | `install` | Walk through installation (see Install section) | | `test-program` | Build and run a Bell state kernel to verify CUDA-Q is working properly | | `gpu-sim` | Explain GPU-accelerated simulation targets (see GPU Simulation section) | | `qpu` | Explain how to run on real QPU hardware (see QPU section) | | `applications` | Showcase what can be built with CUDA-Q (see Applications section) | | `parallelize` | Show how to run circuits in parallel across multiple QPUs (see Parallelize section) | | _(none)_ | Print the full menu below and ask what they'd like to explore |
---
## Full Menu (no argument)
Present this when invoked with no argument
```text 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/
Choose a topic /cudaq-guide install Install CUDA-Q (Python pip or C++ binary) /cudaq-guide test-program Write and run your quantum 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 circuits in parallel across multiple QPUs ```
---
## Install
Instructions
- Default to Python installation unless the user explicitly mentions C++ or the `nvq++` compiler. - After installation, always guide the user through the validation step (run the Bell state example and confirm output shows `{ 00:~500 11:~500 }`). - Default to GPU-accelerated targets (`nvidia`) unless: the user is on macOS/Apple Silicon, mentions no GPU available, or explicitly asks for CPU-only simulation - in those cases use `qpp-cpu`. - Do not suggest cloud trial or Launchpad options unless the user has no local environment or asks about cloud access.
Platform notes
- Linux (x86_64, ARM64): full GPU support - `pip install cudaq` + CUDA Toolkit - macOS (ARM64/Apple Silicon): CPU simulation only - `pip install cudaq` (no CUDA Toolkit needed) - Windows: use WSL, then follow Linux instructions - C++ (no sudo): `bash install_cuda_quantum*.$(uname -m) --accept -- --installpath $HOME/.cudaq` - Brev (cloud, no local setup): Log in at the NVIDIA Application Hub, open a CUDA-Q workspace, then SSH in with the Brev CLI:
```bash brev open ${WORKSPACE_NAME} ```
CUDA-Q and the CUDA Toolkit are pre-installed.
---
## Test Program
Key concepts to explain
- `@cudaq.kernel` / `__qpu__` marks a quantum kernel - compiled to Quake MLIR - `cudaq.qvector(N)` allocates N qubits in |0⟩ - `cudaq.sample()` - kernel measures qubits; returns bitstring histogram (`SampleResult`) - `cudaq.run()` - kernel returns a classical value; runs `shots_count` times and returns a list of those return values - `cudaq.observe()` - computes expectation value ⟨H⟩ for a spin operator - `cudaq.get_state()` - returns the full statevector (simulator only)
Kernel restrictions
- Only a restricted Python subset is valid inside a kernel - it compiles to Quake MLIR, not regular Python. - NumPy and SciPy cannot be used inside a kernel. Use them outside the kernel for classical pre/post-processing. - Kernels can call other kernels; the callee must also be a `@cudaq.kernel`.
For compiler internals (`inspect` module -> `ast_bridge.py` -> Quake MLIR -> QIR -> JIT), route to `/cudaq-compiler`.
---
## GPU Simulation
To recommend the best simulation backend for the user, consult the full comparison table at <https://nvidia.github.io/cuda-quantum/latest/using/backends/simulators.html>
### Available GPU Targets
| Target | Description | Use when | |---|---|---| | `nvidia` (default) | Single-GPU state vector via cuStateVec (up to ~30 qubits) | Default choice for most simulations on a single GPU | | `nvidia --target-option fp64` | Double-precision single GPU | Higher numerical precision needed (e.g. chemistry, sensitive observables) | | `nvidia --target-option mgpu` | Multi-GPU, pools memory across GPUs (>30 qubits) | Circuit exceeds single-GPU memory; requires MPI | | `nvidia --target-option mqpu` | Multi-QPU, one virtual QPU per GPU, parallel execution | Running many independent circuits in parallel (e.g. parameter sweeps, VQE gradients) | | `tensornet` | Tensor network simulator | Shallow or low-entanglement circuits; qubit count exceeds statevector feasibility | | `qpp-cpu` | CPU-only fallback (OpenMP) | No GPU available; macOS; small circuits for testing |
---
## QPU
When the user invokes this section, do not dump all providers at once. Instead, follow this two-step dialogue:
Step 1 - ask which technology they want
```text Which QPU technology are you targeting? 1. Ion trap (IonQ, Quantinuum) 2. Superconducting (IQM, OQC, Anyon, TII, QCI) 3. Neutral atom (QuEra, Infleqtion, Pasqal) 4. Cloud / multi-platform (AWS Braket, Scaleway) ```
Step 2 - once they pick a technology, ask which provider, then read the corresponding doc file and walk the user through it step by step.
| Technology | Provider | Doc file | |---|---|---| | Ion trap | IonQ | `docs/sphinx/using/backends/hardware/iontrap.rst` (IonQ section) | | Ion trap | Quantinuum | `docs/sphinx/using/backends/hardware/iontrap.rst` (Quantinuum section) | | Superconducting | IQM | `docs/sphinx/using/backends/hardware/superconducting.rst` (IQM section) | | Superconducting | OQC | `docs/sphinx/using/backends/hardware/superconducting.rst` (OQC section) | | Superconducting | Anyon | `docs/sphinx/using/backends/hardware/superconducting.rst` (Anyon section) | | Superconducting | TII | `docs/sphinx/using/backends/hardware/superconducting.rst` (TII section) | | Superconducting | QCI | `docs/sphinx/using/backends/hardware/superconducting.rst` (QCI section) | | Neutral atom | Infleqtion | `docs/sphinx/using/backends/hardware/neutralatom.rst` (Infleqtion section) | | Neutral atom | QuEra | `docs/sphinx/using/backends/hardware/neutralatom.rst` (QuEra section) | | Neutral atom | Pasqal | `docs/sphinx/using/backends/hardware/neutralatom.rst` (Pasqal section) | | Cloud | AWS Braket | `docs/sphinx/using/backends/cloud/braket.rst` | | Cloud | Scaleway | `docs/sphinx/using/backends/cloud/scaleway.rst` |
After walking through the provider steps, always close with
- Test locally first with `emulate=True` before submitting to real hardware. - Use `cudaq.sample_async()` / `cudaq.observe_async()` for non-blocking submission. - Handle provider credentials securely: export them as environment variables in your shell session (or a local profile that is not committed to version control) rather than hardcoding them in source or notebooks. Never paste tokens into shared files, logs, or commits, and prefer a secrets manager where one is available.
---
## Applications
CUDA-Q ships with ready-to-run application notebooks
| Category | Examples | |---|---| | Optimization | QAOA, ADAPT-QAOA, MaxCut | | Chemistry | VQE, UCCSD, ADAPT-VQE | | Error Correction | Surface codes, QEC memory | | Algorithms | Grover's, Shor's, QFT, Deutsch-Jozsa, HHL | | ML | Quantum neural networks, kernel methods | | Simulation | Hamiltonian dynamics, Trotter evolution | | Finance | Portfolio optimization, Monte Carlo |
---
## Parallelize
CUDA-Q supports two distinct multi-GPU parallelization strategies - pick based on what you are trying to scale.
| Goal | Strategy | Target option | |---|---|---| | Single circuit too large for one GPU | Pool GPU memory | `nvidia --target-option mgpu` | | Many independent circuits at once | Run circuits in parallel | `nvidia --target-option mqpu` | | Large Hamiltonian expectation value | Distribute terms across GPUs | `mqpu` + `execution=cudaq.parallel.thread` |
### Circuit batching with mqpu (`sample_async` / `observe_async`)
The `mqpu` option maps one virtual QPU to each GPU. Dispatch circuits asynchronously with `qpu_id` to all GPUs simultaneously.
```python import cudaq
cudaq.set_target("nvidia", option="mqpu") n_qpus = cudaq.get_platform().num_qpus()
futures = [ cudaq.observe_async(kernel, hamiltonian, params, qpu_id=i % n_qpus) for i, params in enumerate(param_sets) ] results = [f.get().expectation() for f in futures] ```
### Hamiltonian batching
For a single kernel with a large Hamiltonian, add `execution=` to `cudaq.observe` — no other code change needed.
```python # Single node, multiple GPUs result = cudaq.observe(kernel, hamiltonian, *args, execution=cudaq.parallel.thread)
# Multi-node via MPI result = cudaq.observe(kernel, hamiltonian, *args, execution=cudaq.parallel.mpi) ```
See the docs above for complete working examples of both patterns.
---
## Examples
- `/cudaq-guide` — print the onboarding menu and ask the user which topic to explore. - `/cudaq-guide install` — walk through installation, defaulting to the Python `pip install cudaq` path, then validate with the Bell state example. - `/cudaq-guide test-program` — build and run a Bell state kernel and confirm the output shows roughly `{ 00:~500 11:~500 }`. - `/cudaq-guide gpu-sim` — recommend a simulation backend (for example `nvidia` for a single GPU, or `nvidia --target-option mgpu` for circuits larger than one GPU's memory). - `/cudaq-guide qpu` — start the two-step QPU dialogue (technology, then provider) and read the matching hardware doc. - `/cudaq-guide parallelize` — choose between `mgpu` (pool memory for one large circuit) and `mqpu` (run many circuits in parallel).
---
## Limitations
- GPU simulation requires Linux (x86_64 or ARM64); macOS is CPU-only - Multi-GPU `mgpu` target requires MPI - Kernel code must use a restricted Python subset; NumPy/SciPy ar
Source provenance
Decision snapshot
3,176 GitHub stars
Audit
Install and adoption review
Agent-proven evidence
Outcome reports after resolve, review, install, and one narrow run.
No agent outcome data yet. The first agent run can report success, setup needs, risk blocks, failure, or not-relevant through /api/agent/outcome.
Install
Free and open source. Review the report before installing into production agents.
Growth loop
Scenario-led draft for cudaq-guide, ready for a manual X post.
cudaq-guide: CUDA-Q onboarding guide for installation, test programs, GPU simulation, QPU hardware, and qu... 3.2K stars https://www.openagentskill.com/skills/nvidia-cudaq-guide?ref=x
Listing + install path for cudaq-guide: https://www.openagentskill.com/skills/nvidia-cudaq-guide?ref=x Install: npx skills add NVIDIA/skills --skill cudaq-guide
Listing source
This listing was indexed from public sources and is not marked official until a maintainer claim is approved.
Attribution links to the public repository or creator profile. Creators can claim the listing to update ownership signals.
Claim this skillOwner claim
This Registry indexed listing is attributed to CUDA-Q Team <cuda-quantum@nvidia.com> but is not marked official yet. Claim it to add a verified owner signal and make future launch, install, and audit updates easier to trust.
Creator backlink kit
Show the canonical listing, current trust and audit signals, and real Agent-Proven evidence where developers evaluate the repository.
[](https://www.openagentskill.com/skills/nvidia-cudaq-guide?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/nvidia-cudaq-guide?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/nvidia-cudaq-guide/audit)
[](https://www.openagentskill.com/skills/nvidia-cudaq-guide?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)CUDA-Q Team <cuda-quantum@nvidia.com>
@cuda-q-team-<cuda-quantum@nvidia.com>
Share whether this skill looks useful for your agent workflow. Aggregated feedback improves rankings over time.
Sandbox only
Frontend Design
Guidance for distinctive, intentional UI design, typography, visual direction, and non-template-like product interfaces.
174.2K StarsTaste Skill: Anti-Slop Frontend
Design and implementation guidance for distinctive landing pages, portfolios, product demos, and purposeful redesigns.
84.4K StarsCanvas Design
Create original visual art, posters, PNG assets, and PDF documents through a clear design philosophy.
174.2K StarsAnthropic Brand Guidelines
Apply Anthropic official brand colors, typography, and visual standards to appropriate Anthropic-related artifacts.
174.2K StarsSandbox only
Install targets
Codex install prompt
Install the "cudaq-guide" agent skill from https://github.com/NVIDIA/skills/tree/main/skills/cudaq-guide. Read its SKILL.md or equivalent instructions first, install only the files needed for this workspace, and summarize any required setup before using it. Skill purpose: CUDA-Q onboarding guide for installation, test programs, GPU simulation, QPU hardware, and quantum applications. After the install attempt, report the result to https://www.openagentskill.com/api/agent/outcome with POST JSON {"event_id":"install_<unique-id>","skill_slug":"nvidia-cudaq-guide","task":"Install cudaq-guide","agent":"codex","outcome":"success","install_used":true}. Replace event_id with a unique value and outcome with success or failed. Report success only after the skill is installed and a minimal verification passes.Supply asset profile
Code review, repo analysis, testing, CI, GitHub, DevOps, and developer workflow skills.
Scenario
Coding agents
I need a coding agent that can understand a repository, edit code, and review pull requests.
Agent fit
Claude Code + CLI + Codex
Codex, Claude Code, Cursor, CLI, or custom agents.
Install
Ready
npx skills add NVIDIA/skills --skill cudaq-guide
Maintenance
fresh
3d since push
Risk
Needs review
Permission surface may require sandboxing
GitHub quality
3.2K
86/100 Quality · 77/100 Trust
Coverage tags
Review notes
Permission surface may require sandboxing · Financial research output is not financial advice; require human review before any live investment decision
Agent adoption scorecard
These scores combine public repository metadata, OpenAgentSkill review signals, maintenance freshness, and install readiness. They are a shortlist signal, not a replacement for human review.
Quality
ExcellentHigh-confidence pick with strong adoption and healthy maintenance signals.
Trust
Sandbox onlyUseful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.
Audit
Needs reviewA machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
OpenAgentSkill Trust Score v5
Run only in a sandbox and compare close alternatives before using it for real work.
Stars
3.2K GitHub stars
Repo activity
3.2K stars, 372 forks
Maintenance
3d since push
License
Apache-2.0
Install
npx skills add NVIDIA/skills --skill cudaq-guide
Install safety
Agent-readable metadata
Use this block or the embedded JSON to decide whether an agent should install this skill, choose an alternative, or ask for human review first.
Suited tasks
Suited agents
Install decision
Trust and risk
Outcome loop
Install command
npx skills add NVIDIA/skills --skill cudaq-guideDo not use when
Alternative
174.2K Stars
npx skills add anthropics/skills --skill frontend-design
Alternative
84.4K Stars
npx skills add Leonxlnx/taste-skill --skill design-taste-frontend
Alternative
174.2K Stars
npx skills add anthropics/skills --skill canvas-design
Alternative
174.2K Stars
npx skills add anthropics/skills --skill brand-guidelines
Agent safety v2
Sparse or mixed signals. Useful for discovery, but not for autonomous installation.
Test manually in an isolated workspace and compare against safer alternatives.
high
Skill metadata references terminal, CLI, shell, subprocess, or command execution workflows.
medium
Skill likely fetches remote pages, APIs, repositories, or external services.
medium
Skill may read or write project files, documents, generated artifacts, or local workspace state.
Agent resolve plan
The Resolve API returns the selected skill, alternatives, safety policy, audit notes, install target, and copy-paste prompt an agent can follow without scraping this page.
Open JSON
/api/agent/resolve?task=Use%20cudaq-guide%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Resolve text
/api/agent/resolve?task=Use%20cudaq-guide%20for%20an%20agent%20workflow&agent=codex&max_risk=medium&format=text
Install handoff
/api/skills/nvidia-cudaq-guide/install
Agent should check
Copy prompt
Task: Use cudaq-guide in this workspace.
Resolve first: https://www.openagentskill.com/api/agent/resolve?task=Use%20cudaq-guide%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Review install handoff: https://www.openagentskill.com/api/skills/nvidia-cudaq-guide/install
Install command: npx skills add NVIDIA/skills --skill cudaq-guide
Before running it, summarize audit warnings, required permissions, and the fallback skill if install is risky.Agent handoff
Use the public install endpoint to fetch the command, safety checklist, target prompts, and canonical links for this skill.
Install handoff
/api/skills/nvidia-cudaq-guide/install
LLM text format
/api/skills/nvidia-cudaq-guide/install?format=text
Find alternatives
/api/skills/search?q=cudaq-guide&limit=3
Agent prompt
Use cudaq-guide for this task. Review https://www.openagentskill.com/api/skills/nvidia-cudaq-guide/install, then install with: npx skills add NVIDIA/skills --skill cudaq-guideRegistry metadata
This page exposes the same decision, trust, audit, use-case, and install signals through the Registry API, so agents can rank this skill without scraping the UI.
Manifest
/api/registry/manifest/nvidia-cudaq-guide
LLM text
/api/registry/manifest/nvidia-cudaq-guide?format=text
Install alias
/api/registry/install/nvidia-cudaq-guide
Recommend
/api/registry/recommend?task=Use%20cudaq-guide%20in%20an%20agent%20workflow&limit=3
Agent fit
Coding agents
Use-case tags
Platforms
Claude Code
Audit report
A machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
Agent decision cockpit
Use this as a leading candidate, then validate the README and install path in your own agent stack.
Role in stack
Primary pick
Primary fit
Coding agents
Trust label
Production-ready
Install path
Command ready
Use when
Evidence
review first
Implementation path
Trust profile
Useful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.
GitHub adoption
PASS3.2K GitHub stars
Stars/forks activity
PASS3.2K stars, 372 forks; issue activity unavailable in current metadata
Recent maintenance
PASS3d since push
License clarity
PASSApache-2.0
Good signals
Review before install
Recommended action
Run only in a sandbox and compare close alternatives before using it for real work.
Quality profile
High-confidence pick with strong adoption and healthy maintenance signals.
Workflow fit
Build and ship code
I need a coding agent that can understand a repository, edit code, and review pull requests.
Verify behavior
I need my agent to test a web app, reproduce bugs, and verify fixes.
Operate local tools
I need my agent to operate local files and desktop apps in a repeatable workflow.
Workflow fit
Inspect, patch, and verify code
A workflow for software agents that inspect repositories, review pull requests, generate tests, and turn findings into shippable patches.
Design, build, test, and ship interfaces
A practical workflow for agents that turn product briefs or Figma designs into polished frontend code, review the result, test it in a browser, and prepare a safe deployment.
Operate and verify web apps
A workflow for agents that navigate products, fill forms, take screenshots, and verify real user flows across web applications.
Alternative shortlist
Similar skills that may fit this task.
Guidance for distinctive, intentional UI design, typography, visual direction, and non-template-like product interfaces.
Design and implementation guidance for distinctive landing pages, portfolios, product demos, and purposeful redesigns.
Create original visual art, posters, PNG assets, and PDF documents through a clear design philosophy.
Apply Anthropic official brand colors, typography, and visual standards to appropriate Anthropic-related artifacts.
--- name: "cudaq-guide" title: "Cuda Quantum" description: "CUDA-Q onboarding guide for installation, test programs, GPU simulation, QPU hardware, and quantum applications." version: "1.0.1" author: "CUDA-Q Team <cuda-quantum@nvidia.com>" tags: [cuda-quantum, quantum-computing, onboarding, getting-started, nvidia] tools: [Read, Glob, Grep] license: "Apache-2.0" compatibility: "Python 3.10+, C++ 20" metadata: author: "CUDA-Q Team <cuda-quantum@nvidia.com>" tags: - cuda-quantum - quantum-computing - onboarding - getting-started - nvidia languages: - python - c++ domain: "quantum" ---
## CUDA-Q Getting Started Guide
You are a CUDA-Q expert assistant. Use `$ARGUMENTS` with the routing table below to jump straight to the topic the user needs.
## Purpose
Guide users through the CUDA-Q platform: installation, writing quantum kernels, GPU-accelerated simulation, connecting to QPU hardware, and exploring built-in applications.
## Prerequisites
- Python 3.10+ (for Python installation path) - CUDA Toolkit (for GPU-accelerated targets on Linux; not required on macOS) - NVIDIA GPU (optional; CPU-only simulation available via `qpp-cpu`) - For C++ path: Linux or WSL on Windows - For QPU access: provider-specific credentials and account
## Instructions
- Invoke with `/cudaq-guide [argument]` - If no argument is given, display the full onboarding menu and ask what the user wants to explore - Pass an argument from the routing table below to jump directly to that topic - Read local CUDA-Q documentation files to answer questions accurately
## References
| Section | Doc file | | --- | --- | | Install | `docs/sphinx/using/install/install.rst`, `docs/sphinx/using/quick_start.rst` | | Test Program | `docs/sphinx/using/basics/kernel_intro.rst`, `docs/sphinx/using/basics/build_kernel.rst` | | GPU Simulation | `docs/sphinx/using/backends/sims/svsims.rst`, `docs/sphinx/using/examples/multi_gpu_workflows.rst` | | QPU | `docs/sphinx/using/backends/hardware.rst`, `docs/sphinx/using/backends/cloud.rst` | | Applications | `docs/sphinx/using/applications.rst` | | Parallelize | `docs/sphinx/using/examples/multi_gpu_workflows.rst` |
## Routing by Argument
| Argument | Action | |---|---| | `install` | Walk through installation (see Install section) | | `test-program` | Build and run a Bell state kernel to verify CUDA-Q is working properly | | `gpu-sim` | Explain GPU-accelerated simulation targets (see GPU Simulation section) | | `qpu` | Explain how to run on real QPU hardware (see QPU section) | | `applications` | Showcase what can be built with CUDA-Q (see Applications section) | | `parallelize` | Show how to run circuits in parallel across multiple QPUs (see Parallelize section) | | _(none)_ | Print the full menu below and ask what they'd like to explore |
---
## Full Menu (no argument)
Present this when invoked with no argument
```text 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/
Choose a topic /cudaq-guide install Install CUDA-Q (Python pip or C++ binary) /cudaq-guide test-program Write and run your quantum 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 circuits in parallel across multiple QPUs ```
---
## Install
Instructions
- Default to Python installation unless the user explicitly mentions C++ or the `nvq++` compiler. - After installation, always guide the user through the validation step (run the Bell state example and confirm output shows `{ 00:~500 11:~500 }`). - Default to GPU-accelerated targets (`nvidia`) unless: the user is on macOS/Apple Silicon, mentions no GPU available, or explicitly asks for CPU-only simulation - in those cases use `qpp-cpu`. - Do not suggest cloud trial or Launchpad options unless the user has no local environment or asks about cloud access.
Platform notes
- Linux (x86_64, ARM64): full GPU support - `pip install cudaq` + CUDA Toolkit - macOS (ARM64/Apple Silicon): CPU simulation only - `pip install cudaq` (no CUDA Toolkit needed) - Windows: use WSL, then follow Linux instructions - C++ (no sudo): `bash install_cuda_quantum*.$(uname -m) --accept -- --installpath $HOME/.cudaq` - Brev (cloud, no local setup): Log in at the NVIDIA Application Hub, open a CUDA-Q workspace, then SSH in with the Brev CLI:
```bash brev open ${WORKSPACE_NAME} ```
CUDA-Q and the CUDA Toolkit are pre-installed.
---
## Test Program
Key concepts to explain
- `@cudaq.kernel` / `__qpu__` marks a quantum kernel - compiled to Quake MLIR - `cudaq.qvector(N)` allocates N qubits in |0⟩ - `cudaq.sample()` - kernel measures qubits; returns bitstring histogram (`SampleResult`) - `cudaq.run()` - kernel returns a classical value; runs `shots_count` times and returns a list of those return values - `cudaq.observe()` - computes expectation value ⟨H⟩ for a spin operator - `cudaq.get_state()` - returns the full statevector (simulator only)
Kernel restrictions
- Only a restricted Python subset is valid inside a kernel - it compiles to Quake MLIR, not regular Python. - NumPy and SciPy cannot be used inside a kernel. Use them outside the kernel for classical pre/post-processing. - Kernels can call other kernels; the callee must also be a `@cudaq.kernel`.
For compiler internals (`inspect` module -> `ast_bridge.py` -> Quake MLIR -> QIR -> JIT), route to `/cudaq-compiler`.
---
## GPU Simulation
To recommend the best simulation backend for the user, consult the full comparison table at <https://nvidia.github.io/cuda-quantum/latest/using/backends/simulators.html>
### Available GPU Targets
| Target | Description | Use when | |---|---|---| | `nvidia` (default) | Single-GPU state vector via cuStateVec (up to ~30 qubits) | Default choice for most simulations on a single GPU | | `nvidia --target-option fp64` | Double-precision single GPU | Higher numerical precision needed (e.g. chemistry, sensitive observables) | | `nvidia --target-option mgpu` | Multi-GPU, pools memory across GPUs (>30 qubits) | Circuit exceeds single-GPU memory; requires MPI | | `nvidia --target-option mqpu` | Multi-QPU, one virtual QPU per GPU, parallel execution | Running many independent circuits in parallel (e.g. parameter sweeps, VQE gradients) | | `tensornet` | Tensor network simulator | Shallow or low-entanglement circuits; qubit count exceeds statevector feasibility | | `qpp-cpu` | CPU-only fallback (OpenMP) | No GPU available; macOS; small circuits for testing |
---
## QPU
When the user invokes this section, do not dump all providers at once. Instead, follow this two-step dialogue:
Step 1 - ask which technology they want
```text Which QPU technology are you targeting? 1. Ion trap (IonQ, Quantinuum) 2. Superconducting (IQM, OQC, Anyon, TII, QCI) 3. Neutral atom (QuEra, Infleqtion, Pasqal) 4. Cloud / multi-platform (AWS Braket, Scaleway) ```
Step 2 - once they pick a technology, ask which provider, then read the corresponding doc file and walk the user through it step by step.
| Technology | Provider | Doc file | |---|---|---| | Ion trap | IonQ | `docs/sphinx/using/backends/hardware/iontrap.rst` (IonQ section) | | Ion trap | Quantinuum | `docs/sphinx/using/backends/hardware/iontrap.rst` (Quantinuum section) | | Superconducting | IQM | `docs/sphinx/using/backends/hardware/superconducting.rst` (IQM section) | | Superconducting | OQC | `docs/sphinx/using/backends/hardware/superconducting.rst` (OQC section) | | Superconducting | Anyon | `docs/sphinx/using/backends/hardware/superconducting.rst` (Anyon section) | | Superconducting | TII | `docs/sphinx/using/backends/hardware/superconducting.rst` (TII section) | | Superconducting | QCI | `docs/sphinx/using/backends/hardware/superconducting.rst` (QCI section) | | Neutral atom | Infleqtion | `docs/sphinx/using/backends/hardware/neutralatom.rst` (Infleqtion section) | | Neutral atom | QuEra | `docs/sphinx/using/backends/hardware/neutralatom.rst` (QuEra section) | | Neutral atom | Pasqal | `docs/sphinx/using/backends/hardware/neutralatom.rst` (Pasqal section) | | Cloud | AWS Braket | `docs/sphinx/using/backends/cloud/braket.rst` | | Cloud | Scaleway | `docs/sphinx/using/backends/cloud/scaleway.rst` |
After walking through the provider steps, always close with
- Test locally first with `emulate=True` before submitting to real hardware. - Use `cudaq.sample_async()` / `cudaq.observe_async()` for non-blocking submission. - Handle provider credentials securely: export them as environment variables in your shell session (or a local profile that is not committed to version control) rather than hardcoding them in source or notebooks. Never paste tokens into shared files, logs, or commits, and prefer a secrets manager where one is available.
---
## Applications
CUDA-Q ships with ready-to-run application notebooks
| Category | Examples | |---|---| | Optimization | QAOA, ADAPT-QAOA, MaxCut | | Chemistry | VQE, UCCSD, ADAPT-VQE | | Error Correction | Surface codes, QEC memory | | Algorithms | Grover's, Shor's, QFT, Deutsch-Jozsa, HHL | | ML | Quantum neural networks, kernel methods | | Simulation | Hamiltonian dynamics, Trotter evolution | | Finance | Portfolio optimization, Monte Carlo |
---
## Parallelize
CUDA-Q supports two distinct multi-GPU parallelization strategies - pick based on what you are trying to scale.
| Goal | Strategy | Target option | |---|---|---| | Single circuit too large for one GPU | Pool GPU memory | `nvidia --target-option mgpu` | | Many independent circuits at once | Run circuits in parallel | `nvidia --target-option mqpu` | | Large Hamiltonian expectation value | Distribute terms across GPUs | `mqpu` + `execution=cudaq.parallel.thread` |
### Circuit batching with mqpu (`sample_async` / `observe_async`)
The `mqpu` option maps one virtual QPU to each GPU. Dispatch circuits asynchronously with `qpu_id` to all GPUs simultaneously.
```python import cudaq
cudaq.set_target("nvidia", option="mqpu") n_qpus = cudaq.get_platform().num_qpus()
futures = [ cudaq.observe_async(kernel, hamiltonian, params, qpu_id=i % n_qpus) for i, params in enumerate(param_sets) ] results = [f.get().expectation() for f in futures] ```
### Hamiltonian batching
For a single kernel with a large Hamiltonian, add `execution=` to `cudaq.observe` — no other code change needed.
```python # Single node, multiple GPUs result = cudaq.observe(kernel, hamiltonian, *args, execution=cudaq.parallel.thread)
# Multi-node via MPI result = cudaq.observe(kernel, hamiltonian, *args, execution=cudaq.parallel.mpi) ```
See the docs above for complete working examples of both patterns.
---
## Examples
- `/cudaq-guide` — print the onboarding menu and ask the user which topic to explore. - `/cudaq-guide install` — walk through installation, defaulting to the Python `pip install cudaq` path, then validate with the Bell state example. - `/cudaq-guide test-program` — build and run a Bell state kernel and confirm the output shows roughly `{ 00:~500 11:~500 }`. - `/cudaq-guide gpu-sim` — recommend a simulation backend (for example `nvidia` for a single GPU, or `nvidia --target-option mgpu` for circuits larger than one GPU's memory). - `/cudaq-guide qpu` — start the two-step QPU dialogue (technology, then provider) and read the matching hardware doc. - `/cudaq-guide parallelize` — choose between `mgpu` (pool memory for one large circuit) and `mqpu` (run many circuits in parallel).
---
## Limitations
- GPU simulation requires Linux (x86_64 or ARM64); macOS is CPU-only - Multi-GPU `mgpu` target requires MPI - Kernel code must use a restricted Python subset; NumPy/SciPy ar
Source provenance
Decision snapshot
3,176 GitHub stars
Audit
Install and adoption review
Agent-proven evidence
Outcome reports after resolve, review, install, and one narrow run.
No agent outcome data yet. The first agent run can report success, setup needs, risk blocks, failure, or not-relevant through /api/agent/outcome.
Install
Free and open source. Review the report before installing into production agents.
Growth loop
Scenario-led draft for cudaq-guide, ready for a manual X post.
cudaq-guide: CUDA-Q onboarding guide for installation, test programs, GPU simulation, QPU hardware, and qu... 3.2K stars https://www.openagentskill.com/skills/nvidia-cudaq-guide?ref=x
Listing + install path for cudaq-guide: https://www.openagentskill.com/skills/nvidia-cudaq-guide?ref=x Install: npx skills add NVIDIA/skills --skill cudaq-guide
Listing source
This listing was indexed from public sources and is not marked official until a maintainer claim is approved.
Attribution links to the public repository or creator profile. Creators can claim the listing to update ownership signals.
Claim this skillOwner claim
This Registry indexed listing is attributed to CUDA-Q Team <cuda-quantum@nvidia.com> but is not marked official yet. Claim it to add a verified owner signal and make future launch, install, and audit updates easier to trust.
Creator backlink kit
Show the canonical listing, current trust and audit signals, and real Agent-Proven evidence where developers evaluate the repository.
[](https://www.openagentskill.com/skills/nvidia-cudaq-guide?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/nvidia-cudaq-guide?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/nvidia-cudaq-guide/audit)
[](https://www.openagentskill.com/skills/nvidia-cudaq-guide?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)CUDA-Q Team <cuda-quantum@nvidia.com>
@cuda-q-team-<cuda-quantum@nvidia.com>
Share whether this skill looks useful for your agent workflow. Aggregated feedback improves rankings over time.
Sandbox only
Frontend Design
Guidance for distinctive, intentional UI design, typography, visual direction, and non-template-like product interfaces.
174.2K StarsTaste Skill: Anti-Slop Frontend
Design and implementation guidance for distinctive landing pages, portfolios, product demos, and purposeful redesigns.
84.4K StarsCanvas Design
Create original visual art, posters, PNG assets, and PDF documents through a clear design philosophy.
174.2K StarsAnthropic Brand Guidelines
Apply Anthropic official brand colors, typography, and visual standards to appropriate Anthropic-related artifacts.
174.2K StarsSandbox only
Install targets
Codex install prompt
Install the "cudaq-guide" agent skill from https://github.com/NVIDIA/skills/tree/main/skills/cudaq-guide. Read its SKILL.md or equivalent instructions first, install only the files needed for this workspace, and summarize any required setup before using it. Skill purpose: CUDA-Q onboarding guide for installation, test programs, GPU simulation, QPU hardware, and quantum applications. After the install attempt, report the result to https://www.openagentskill.com/api/agent/outcome with POST JSON {"event_id":"install_<unique-id>","skill_slug":"nvidia-cudaq-guide","task":"Install cudaq-guide","agent":"codex","outcome":"success","install_used":true}. Replace event_id with a unique value and outcome with success or failed. Report success only after the skill is installed and a minimal verification passes.Supply asset profile
Code review, repo analysis, testing, CI, GitHub, DevOps, and developer workflow skills.
Scenario
Coding agents
I need a coding agent that can understand a repository, edit code, and review pull requests.
Agent fit
Claude Code + CLI + Codex
Codex, Claude Code, Cursor, CLI, or custom agents.
Install
Ready
npx skills add NVIDIA/skills --skill cudaq-guide
Maintenance
fresh
3d since push
Risk
Needs review
Permission surface may require sandboxing
GitHub quality
3.2K
86/100 Quality · 77/100 Trust
Coverage tags
Review notes
Permission surface may require sandboxing · Financial research output is not financial advice; require human review before any live investment decision
Agent adoption scorecard
These scores combine public repository metadata, OpenAgentSkill review signals, maintenance freshness, and install readiness. They are a shortlist signal, not a replacement for human review.
Quality
ExcellentHigh-confidence pick with strong adoption and healthy maintenance signals.
Trust
Sandbox onlyUseful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.
Audit
Needs reviewA machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
OpenAgentSkill Trust Score v5
Run only in a sandbox and compare close alternatives before using it for real work.
Stars
3.2K GitHub stars
Repo activity
3.2K stars, 372 forks
Maintenance
3d since push
License
Apache-2.0
Install
npx skills add NVIDIA/skills --skill cudaq-guide
Install safety
Agent-readable metadata
Use this block or the embedded JSON to decide whether an agent should install this skill, choose an alternative, or ask for human review first.
Suited tasks
Suited agents
Install decision
Trust and risk
Outcome loop
Install command
npx skills add NVIDIA/skills --skill cudaq-guideDo not use when
Alternative
174.2K Stars
npx skills add anthropics/skills --skill frontend-design
Alternative
84.4K Stars
npx skills add Leonxlnx/taste-skill --skill design-taste-frontend
Alternative
174.2K Stars
npx skills add anthropics/skills --skill canvas-design
Alternative
174.2K Stars
npx skills add anthropics/skills --skill brand-guidelines
Agent safety v2
Sparse or mixed signals. Useful for discovery, but not for autonomous installation.
Test manually in an isolated workspace and compare against safer alternatives.
high
Skill metadata references terminal, CLI, shell, subprocess, or command execution workflows.
medium
Skill likely fetches remote pages, APIs, repositories, or external services.
medium
Skill may read or write project files, documents, generated artifacts, or local workspace state.
Agent resolve plan
The Resolve API returns the selected skill, alternatives, safety policy, audit notes, install target, and copy-paste prompt an agent can follow without scraping this page.
Open JSON
/api/agent/resolve?task=Use%20cudaq-guide%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Resolve text
/api/agent/resolve?task=Use%20cudaq-guide%20for%20an%20agent%20workflow&agent=codex&max_risk=medium&format=text
Install handoff
/api/skills/nvidia-cudaq-guide/install
Agent should check
Copy prompt
Task: Use cudaq-guide in this workspace.
Resolve first: https://www.openagentskill.com/api/agent/resolve?task=Use%20cudaq-guide%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Review install handoff: https://www.openagentskill.com/api/skills/nvidia-cudaq-guide/install
Install command: npx skills add NVIDIA/skills --skill cudaq-guide
Before running it, summarize audit warnings, required permissions, and the fallback skill if install is risky.Agent handoff
Use the public install endpoint to fetch the command, safety checklist, target prompts, and canonical links for this skill.
Install handoff
/api/skills/nvidia-cudaq-guide/install
LLM text format
/api/skills/nvidia-cudaq-guide/install?format=text
Find alternatives
/api/skills/search?q=cudaq-guide&limit=3
Agent prompt
Use cudaq-guide for this task. Review https://www.openagentskill.com/api/skills/nvidia-cudaq-guide/install, then install with: npx skills add NVIDIA/skills --skill cudaq-guideRegistry metadata
This page exposes the same decision, trust, audit, use-case, and install signals through the Registry API, so agents can rank this skill without scraping the UI.
Manifest
/api/registry/manifest/nvidia-cudaq-guide
LLM text
/api/registry/manifest/nvidia-cudaq-guide?format=text
Install alias
/api/registry/install/nvidia-cudaq-guide
Recommend
/api/registry/recommend?task=Use%20cudaq-guide%20in%20an%20agent%20workflow&limit=3
Agent fit
Coding agents
Use-case tags
Platforms
Claude Code
Audit report
A machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
Agent decision cockpit
Use this as a leading candidate, then validate the README and install path in your own agent stack.
Role in stack
Primary pick
Primary fit
Coding agents
Trust label
Production-ready
Install path
Command ready
Use when
Evidence
review first
Implementation path
Trust profile
Useful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.
GitHub adoption
PASS3.2K GitHub stars
Stars/forks activity
PASS3.2K stars, 372 forks; issue activity unavailable in current metadata
Recent maintenance
PASS3d since push
License clarity
PASSApache-2.0
Good signals
Review before install
Recommended action
Run only in a sandbox and compare close alternatives before using it for real work.
Quality profile
High-confidence pick with strong adoption and healthy maintenance signals.
Workflow fit
Build and ship code
I need a coding agent that can understand a repository, edit code, and review pull requests.
Verify behavior
I need my agent to test a web app, reproduce bugs, and verify fixes.
Operate local tools
I need my agent to operate local files and desktop apps in a repeatable workflow.
Workflow fit
Inspect, patch, and verify code
A workflow for software agents that inspect repositories, review pull requests, generate tests, and turn findings into shippable patches.
Design, build, test, and ship interfaces
A practical workflow for agents that turn product briefs or Figma designs into polished frontend code, review the result, test it in a browser, and prepare a safe deployment.
Operate and verify web apps
A workflow for agents that navigate products, fill forms, take screenshots, and verify real user flows across web applications.
Alternative shortlist
Similar skills that may fit this task.
Guidance for distinctive, intentional UI design, typography, visual direction, and non-template-like product interfaces.
Design and implementation guidance for distinctive landing pages, portfolios, product demos, and purposeful redesigns.
Create original visual art, posters, PNG assets, and PDF documents through a clear design philosophy.
Apply Anthropic official brand colors, typography, and visual standards to appropriate Anthropic-related artifacts.
--- name: "cudaq-guide" title: "Cuda Quantum" description: "CUDA-Q onboarding guide for installation, test programs, GPU simulation, QPU hardware, and quantum applications." version: "1.0.1" author: "CUDA-Q Team <cuda-quantum@nvidia.com>" tags: [cuda-quantum, quantum-computing, onboarding, getting-started, nvidia] tools: [Read, Glob, Grep] license: "Apache-2.0" compatibility: "Python 3.10+, C++ 20" metadata: author: "CUDA-Q Team <cuda-quantum@nvidia.com>" tags: - cuda-quantum - quantum-computing - onboarding - getting-started - nvidia languages: - python - c++ domain: "quantum" ---
## CUDA-Q Getting Started Guide
You are a CUDA-Q expert assistant. Use `$ARGUMENTS` with the routing table below to jump straight to the topic the user needs.
## Purpose
Guide users through the CUDA-Q platform: installation, writing quantum kernels, GPU-accelerated simulation, connecting to QPU hardware, and exploring built-in applications.
## Prerequisites
- Python 3.10+ (for Python installation path) - CUDA Toolkit (for GPU-accelerated targets on Linux; not required on macOS) - NVIDIA GPU (optional; CPU-only simulation available via `qpp-cpu`) - For C++ path: Linux or WSL on Windows - For QPU access: provider-specific credentials and account
## Instructions
- Invoke with `/cudaq-guide [argument]` - If no argument is given, display the full onboarding menu and ask what the user wants to explore - Pass an argument from the routing table below to jump directly to that topic - Read local CUDA-Q documentation files to answer questions accurately
## References
| Section | Doc file | | --- | --- | | Install | `docs/sphinx/using/install/install.rst`, `docs/sphinx/using/quick_start.rst` | | Test Program | `docs/sphinx/using/basics/kernel_intro.rst`, `docs/sphinx/using/basics/build_kernel.rst` | | GPU Simulation | `docs/sphinx/using/backends/sims/svsims.rst`, `docs/sphinx/using/examples/multi_gpu_workflows.rst` | | QPU | `docs/sphinx/using/backends/hardware.rst`, `docs/sphinx/using/backends/cloud.rst` | | Applications | `docs/sphinx/using/applications.rst` | | Parallelize | `docs/sphinx/using/examples/multi_gpu_workflows.rst` |
## Routing by Argument
| Argument | Action | |---|---| | `install` | Walk through installation (see Install section) | | `test-program` | Build and run a Bell state kernel to verify CUDA-Q is working properly | | `gpu-sim` | Explain GPU-accelerated simulation targets (see GPU Simulation section) | | `qpu` | Explain how to run on real QPU hardware (see QPU section) | | `applications` | Showcase what can be built with CUDA-Q (see Applications section) | | `parallelize` | Show how to run circuits in parallel across multiple QPUs (see Parallelize section) | | _(none)_ | Print the full menu below and ask what they'd like to explore |
---
## Full Menu (no argument)
Present this when invoked with no argument
```text 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/
Choose a topic /cudaq-guide install Install CUDA-Q (Python pip or C++ binary) /cudaq-guide test-program Write and run your quantum 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 circuits in parallel across multiple QPUs ```
---
## Install
Instructions
- Default to Python installation unless the user explicitly mentions C++ or the `nvq++` compiler. - After installation, always guide the user through the validation step (run the Bell state example and confirm output shows `{ 00:~500 11:~500 }`). - Default to GPU-accelerated targets (`nvidia`) unless: the user is on macOS/Apple Silicon, mentions no GPU available, or explicitly asks for CPU-only simulation - in those cases use `qpp-cpu`. - Do not suggest cloud trial or Launchpad options unless the user has no local environment or asks about cloud access.
Platform notes
- Linux (x86_64, ARM64): full GPU support - `pip install cudaq` + CUDA Toolkit - macOS (ARM64/Apple Silicon): CPU simulation only - `pip install cudaq` (no CUDA Toolkit needed) - Windows: use WSL, then follow Linux instructions - C++ (no sudo): `bash install_cuda_quantum*.$(uname -m) --accept -- --installpath $HOME/.cudaq` - Brev (cloud, no local setup): Log in at the NVIDIA Application Hub, open a CUDA-Q workspace, then SSH in with the Brev CLI:
```bash brev open ${WORKSPACE_NAME} ```
CUDA-Q and the CUDA Toolkit are pre-installed.
---
## Test Program
Key concepts to explain
- `@cudaq.kernel` / `__qpu__` marks a quantum kernel - compiled to Quake MLIR - `cudaq.qvector(N)` allocates N qubits in |0⟩ - `cudaq.sample()` - kernel measures qubits; returns bitstring histogram (`SampleResult`) - `cudaq.run()` - kernel returns a classical value; runs `shots_count` times and returns a list of those return values - `cudaq.observe()` - computes expectation value ⟨H⟩ for a spin operator - `cudaq.get_state()` - returns the full statevector (simulator only)
Kernel restrictions
- Only a restricted Python subset is valid inside a kernel - it compiles to Quake MLIR, not regular Python. - NumPy and SciPy cannot be used inside a kernel. Use them outside the kernel for classical pre/post-processing. - Kernels can call other kernels; the callee must also be a `@cudaq.kernel`.
For compiler internals (`inspect` module -> `ast_bridge.py` -> Quake MLIR -> QIR -> JIT), route to `/cudaq-compiler`.
---
## GPU Simulation
To recommend the best simulation backend for the user, consult the full comparison table at <https://nvidia.github.io/cuda-quantum/latest/using/backends/simulators.html>
### Available GPU Targets
| Target | Description | Use when | |---|---|---| | `nvidia` (default) | Single-GPU state vector via cuStateVec (up to ~30 qubits) | Default choice for most simulations on a single GPU | | `nvidia --target-option fp64` | Double-precision single GPU | Higher numerical precision needed (e.g. chemistry, sensitive observables) | | `nvidia --target-option mgpu` | Multi-GPU, pools memory across GPUs (>30 qubits) | Circuit exceeds single-GPU memory; requires MPI | | `nvidia --target-option mqpu` | Multi-QPU, one virtual QPU per GPU, parallel execution | Running many independent circuits in parallel (e.g. parameter sweeps, VQE gradients) | | `tensornet` | Tensor network simulator | Shallow or low-entanglement circuits; qubit count exceeds statevector feasibility | | `qpp-cpu` | CPU-only fallback (OpenMP) | No GPU available; macOS; small circuits for testing |
---
## QPU
When the user invokes this section, do not dump all providers at once. Instead, follow this two-step dialogue:
Step 1 - ask which technology they want
```text Which QPU technology are you targeting? 1. Ion trap (IonQ, Quantinuum) 2. Superconducting (IQM, OQC, Anyon, TII, QCI) 3. Neutral atom (QuEra, Infleqtion, Pasqal) 4. Cloud / multi-platform (AWS Braket, Scaleway) ```
Step 2 - once they pick a technology, ask which provider, then read the corresponding doc file and walk the user through it step by step.
| Technology | Provider | Doc file | |---|---|---| | Ion trap | IonQ | `docs/sphinx/using/backends/hardware/iontrap.rst` (IonQ section) | | Ion trap | Quantinuum | `docs/sphinx/using/backends/hardware/iontrap.rst` (Quantinuum section) | | Superconducting | IQM | `docs/sphinx/using/backends/hardware/superconducting.rst` (IQM section) | | Superconducting | OQC | `docs/sphinx/using/backends/hardware/superconducting.rst` (OQC section) | | Superconducting | Anyon | `docs/sphinx/using/backends/hardware/superconducting.rst` (Anyon section) | | Superconducting | TII | `docs/sphinx/using/backends/hardware/superconducting.rst` (TII section) | | Superconducting | QCI | `docs/sphinx/using/backends/hardware/superconducting.rst` (QCI section) | | Neutral atom | Infleqtion | `docs/sphinx/using/backends/hardware/neutralatom.rst` (Infleqtion section) | | Neutral atom | QuEra | `docs/sphinx/using/backends/hardware/neutralatom.rst` (QuEra section) | | Neutral atom | Pasqal | `docs/sphinx/using/backends/hardware/neutralatom.rst` (Pasqal section) | | Cloud | AWS Braket | `docs/sphinx/using/backends/cloud/braket.rst` | | Cloud | Scaleway | `docs/sphinx/using/backends/cloud/scaleway.rst` |
After walking through the provider steps, always close with
- Test locally first with `emulate=True` before submitting to real hardware. - Use `cudaq.sample_async()` / `cudaq.observe_async()` for non-blocking submission. - Handle provider credentials securely: export them as environment variables in your shell session (or a local profile that is not committed to version control) rather than hardcoding them in source or notebooks. Never paste tokens into shared files, logs, or commits, and prefer a secrets manager where one is available.
---
## Applications
CUDA-Q ships with ready-to-run application notebooks
| Category | Examples | |---|---| | Optimization | QAOA, ADAPT-QAOA, MaxCut | | Chemistry | VQE, UCCSD, ADAPT-VQE | | Error Correction | Surface codes, QEC memory | | Algorithms | Grover's, Shor's, QFT, Deutsch-Jozsa, HHL | | ML | Quantum neural networks, kernel methods | | Simulation | Hamiltonian dynamics, Trotter evolution | | Finance | Portfolio optimization, Monte Carlo |
---
## Parallelize
CUDA-Q supports two distinct multi-GPU parallelization strategies - pick based on what you are trying to scale.
| Goal | Strategy | Target option | |---|---|---| | Single circuit too large for one GPU | Pool GPU memory | `nvidia --target-option mgpu` | | Many independent circuits at once | Run circuits in parallel | `nvidia --target-option mqpu` | | Large Hamiltonian expectation value | Distribute terms across GPUs | `mqpu` + `execution=cudaq.parallel.thread` |
### Circuit batching with mqpu (`sample_async` / `observe_async`)
The `mqpu` option maps one virtual QPU to each GPU. Dispatch circuits asynchronously with `qpu_id` to all GPUs simultaneously.
```python import cudaq
cudaq.set_target("nvidia", option="mqpu") n_qpus = cudaq.get_platform().num_qpus()
futures = [ cudaq.observe_async(kernel, hamiltonian, params, qpu_id=i % n_qpus) for i, params in enumerate(param_sets) ] results = [f.get().expectation() for f in futures] ```
### Hamiltonian batching
For a single kernel with a large Hamiltonian, add `execution=` to `cudaq.observe` — no other code change needed.
```python # Single node, multiple GPUs result = cudaq.observe(kernel, hamiltonian, *args, execution=cudaq.parallel.thread)
# Multi-node via MPI result = cudaq.observe(kernel, hamiltonian, *args, execution=cudaq.parallel.mpi) ```
See the docs above for complete working examples of both patterns.
---
## Examples
- `/cudaq-guide` — print the onboarding menu and ask the user which topic to explore. - `/cudaq-guide install` — walk through installation, defaulting to the Python `pip install cudaq` path, then validate with the Bell state example. - `/cudaq-guide test-program` — build and run a Bell state kernel and confirm the output shows roughly `{ 00:~500 11:~500 }`. - `/cudaq-guide gpu-sim` — recommend a simulation backend (for example `nvidia` for a single GPU, or `nvidia --target-option mgpu` for circuits larger than one GPU's memory). - `/cudaq-guide qpu` — start the two-step QPU dialogue (technology, then provider) and read the matching hardware doc. - `/cudaq-guide parallelize` — choose between `mgpu` (pool memory for one large circuit) and `mqpu` (run many circuits in parallel).
---
## Limitations
- GPU simulation requires Linux (x86_64 or ARM64); macOS is CPU-only - Multi-GPU `mgpu` target requires MPI - Kernel code must use a restricted Python subset; NumPy/SciPy ar
Source provenance
Decision snapshot
3,176 GitHub stars
Audit
Install and adoption review
Agent-proven evidence
Outcome reports after resolve, review, install, and one narrow run.
No agent outcome data yet. The first agent run can report success, setup needs, risk blocks, failure, or not-relevant through /api/agent/outcome.
Install
Free and open source. Review the report before installing into production agents.
Growth loop
Scenario-led draft for cudaq-guide, ready for a manual X post.
cudaq-guide: CUDA-Q onboarding guide for installation, test programs, GPU simulation, QPU hardware, and qu... 3.2K stars https://www.openagentskill.com/skills/nvidia-cudaq-guide?ref=x
Listing + install path for cudaq-guide: https://www.openagentskill.com/skills/nvidia-cudaq-guide?ref=x Install: npx skills add NVIDIA/skills --skill cudaq-guide
Listing source
This listing was indexed from public sources and is not marked official until a maintainer claim is approved.
Attribution links to the public repository or creator profile. Creators can claim the listing to update ownership signals.
Claim this skillOwner claim
This Registry indexed listing is attributed to CUDA-Q Team <cuda-quantum@nvidia.com> but is not marked official yet. Claim it to add a verified owner signal and make future launch, install, and audit updates easier to trust.
Creator backlink kit
Show the canonical listing, current trust and audit signals, and real Agent-Proven evidence where developers evaluate the repository.
[](https://www.openagentskill.com/skills/nvidia-cudaq-guide?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/nvidia-cudaq-guide?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/nvidia-cudaq-guide/audit)
[](https://www.openagentskill.com/skills/nvidia-cudaq-guide?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)CUDA-Q Team <cuda-quantum@nvidia.com>
@cuda-q-team-<cuda-quantum@nvidia.com>
Share whether this skill looks useful for your agent workflow. Aggregated feedback improves rankings over time.
Sandbox only
Frontend Design
Guidance for distinctive, intentional UI design, typography, visual direction, and non-template-like product interfaces.
174.2K StarsTaste Skill: Anti-Slop Frontend
Design and implementation guidance for distinctive landing pages, portfolios, product demos, and purposeful redesigns.
84.4K StarsCanvas Design
Create original visual art, posters, PNG assets, and PDF documents through a clear design philosophy.
174.2K StarsAnthropic Brand Guidelines
Apply Anthropic official brand colors, typography, and visual standards to appropriate Anthropic-related artifacts.
174.2K StarsSandbox only
Install targets
Codex install prompt
Install the "cudaq-guide" agent skill from https://github.com/NVIDIA/skills/tree/main/skills/cudaq-guide. Read its SKILL.md or equivalent instructions first, install only the files needed for this workspace, and summarize any required setup before using it. Skill purpose: CUDA-Q onboarding guide for installation, test programs, GPU simulation, QPU hardware, and quantum applications. After the install attempt, report the result to https://www.openagentskill.com/api/agent/outcome with POST JSON {"event_id":"install_<unique-id>","skill_slug":"nvidia-cudaq-guide","task":"Install cudaq-guide","agent":"codex","outcome":"success","install_used":true}. Replace event_id with a unique value and outcome with success or failed. Report success only after the skill is installed and a minimal verification passes.Supply asset profile
Code review, repo analysis, testing, CI, GitHub, DevOps, and developer workflow skills.
Scenario
Coding agents
I need a coding agent that can understand a repository, edit code, and review pull requests.
Agent fit
Claude Code + CLI + Codex
Codex, Claude Code, Cursor, CLI, or custom agents.
Install
Ready
npx skills add NVIDIA/skills --skill cudaq-guide
Maintenance
fresh
3d since push
Risk
Needs review
Permission surface may require sandboxing
GitHub quality
3.2K
86/100 Quality · 77/100 Trust
Coverage tags
Review notes
Permission surface may require sandboxing · Financial research output is not financial advice; require human review before any live investment decision
Agent adoption scorecard
These scores combine public repository metadata, OpenAgentSkill review signals, maintenance freshness, and install readiness. They are a shortlist signal, not a replacement for human review.
Quality
ExcellentHigh-confidence pick with strong adoption and healthy maintenance signals.
Trust
Sandbox onlyUseful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.
Audit
Needs reviewA machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
OpenAgentSkill Trust Score v5
Run only in a sandbox and compare close alternatives before using it for real work.
Stars
3.2K GitHub stars
Repo activity
3.2K stars, 372 forks
Maintenance
3d since push
License
Apache-2.0
Install
npx skills add NVIDIA/skills --skill cudaq-guide
Install safety
Agent-readable metadata
Use this block or the embedded JSON to decide whether an agent should install this skill, choose an alternative, or ask for human review first.
Suited tasks
Suited agents
Install decision
Trust and risk
Outcome loop
Install command
npx skills add NVIDIA/skills --skill cudaq-guideDo not use when
Alternative
174.2K Stars
npx skills add anthropics/skills --skill frontend-design
Alternative
84.4K Stars
npx skills add Leonxlnx/taste-skill --skill design-taste-frontend
Alternative
174.2K Stars
npx skills add anthropics/skills --skill canvas-design
Alternative
174.2K Stars
npx skills add anthropics/skills --skill brand-guidelines
Agent safety v2
Sparse or mixed signals. Useful for discovery, but not for autonomous installation.
Test manually in an isolated workspace and compare against safer alternatives.
high
Skill metadata references terminal, CLI, shell, subprocess, or command execution workflows.
medium
Skill likely fetches remote pages, APIs, repositories, or external services.
medium
Skill may read or write project files, documents, generated artifacts, or local workspace state.
Agent resolve plan
The Resolve API returns the selected skill, alternatives, safety policy, audit notes, install target, and copy-paste prompt an agent can follow without scraping this page.
Open JSON
/api/agent/resolve?task=Use%20cudaq-guide%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Resolve text
/api/agent/resolve?task=Use%20cudaq-guide%20for%20an%20agent%20workflow&agent=codex&max_risk=medium&format=text
Install handoff
/api/skills/nvidia-cudaq-guide/install
Agent should check
Copy prompt
Task: Use cudaq-guide in this workspace.
Resolve first: https://www.openagentskill.com/api/agent/resolve?task=Use%20cudaq-guide%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Review install handoff: https://www.openagentskill.com/api/skills/nvidia-cudaq-guide/install
Install command: npx skills add NVIDIA/skills --skill cudaq-guide
Before running it, summarize audit warnings, required permissions, and the fallback skill if install is risky.Agent handoff
Use the public install endpoint to fetch the command, safety checklist, target prompts, and canonical links for this skill.
Install handoff
/api/skills/nvidia-cudaq-guide/install
LLM text format
/api/skills/nvidia-cudaq-guide/install?format=text
Find alternatives
/api/skills/search?q=cudaq-guide&limit=3
Agent prompt
Use cudaq-guide for this task. Review https://www.openagentskill.com/api/skills/nvidia-cudaq-guide/install, then install with: npx skills add NVIDIA/skills --skill cudaq-guideRegistry metadata
This page exposes the same decision, trust, audit, use-case, and install signals through the Registry API, so agents can rank this skill without scraping the UI.
Manifest
/api/registry/manifest/nvidia-cudaq-guide
LLM text
/api/registry/manifest/nvidia-cudaq-guide?format=text
Install alias
/api/registry/install/nvidia-cudaq-guide
Recommend
/api/registry/recommend?task=Use%20cudaq-guide%20in%20an%20agent%20workflow&limit=3
Agent fit
Coding agents
Use-case tags
Platforms
Claude Code
Audit report
A machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
Agent decision cockpit
Use this as a leading candidate, then validate the README and install path in your own agent stack.
Role in stack
Primary pick
Primary fit
Coding agents
Trust label
Production-ready
Install path
Command ready
Use when
Evidence
review first
Implementation path
Trust profile
Useful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.
GitHub adoption
PASS3.2K GitHub stars
Stars/forks activity
PASS3.2K stars, 372 forks; issue activity unavailable in current metadata
Recent maintenance
PASS3d since push
License clarity
PASSApache-2.0
Good signals
Review before install
Recommended action
Run only in a sandbox and compare close alternatives before using it for real work.
Quality profile
High-confidence pick with strong adoption and healthy maintenance signals.
Workflow fit
Build and ship code
I need a coding agent that can understand a repository, edit code, and review pull requests.
Verify behavior
I need my agent to test a web app, reproduce bugs, and verify fixes.
Operate local tools
I need my agent to operate local files and desktop apps in a repeatable workflow.
Workflow fit
Inspect, patch, and verify code
A workflow for software agents that inspect repositories, review pull requests, generate tests, and turn findings into shippable patches.
Design, build, test, and ship interfaces
A practical workflow for agents that turn product briefs or Figma designs into polished frontend code, review the result, test it in a browser, and prepare a safe deployment.
Operate and verify web apps
A workflow for agents that navigate products, fill forms, take screenshots, and verify real user flows across web applications.
Alternative shortlist
Similar skills that may fit this task.
Guidance for distinctive, intentional UI design, typography, visual direction, and non-template-like product interfaces.
Design and implementation guidance for distinctive landing pages, portfolios, product demos, and purposeful redesigns.
Create original visual art, posters, PNG assets, and PDF documents through a clear design philosophy.
Apply Anthropic official brand colors, typography, and visual standards to appropriate Anthropic-related artifacts.
--- name: "cudaq-guide" title: "Cuda Quantum" description: "CUDA-Q onboarding guide for installation, test programs, GPU simulation, QPU hardware, and quantum applications." version: "1.0.1" author: "CUDA-Q Team <cuda-quantum@nvidia.com>" tags: [cuda-quantum, quantum-computing, onboarding, getting-started, nvidia] tools: [Read, Glob, Grep] license: "Apache-2.0" compatibility: "Python 3.10+, C++ 20" metadata: author: "CUDA-Q Team <cuda-quantum@nvidia.com>" tags: - cuda-quantum - quantum-computing - onboarding - getting-started - nvidia languages: - python - c++ domain: "quantum" ---
## CUDA-Q Getting Started Guide
You are a CUDA-Q expert assistant. Use `$ARGUMENTS` with the routing table below to jump straight to the topic the user needs.
## Purpose
Guide users through the CUDA-Q platform: installation, writing quantum kernels, GPU-accelerated simulation, connecting to QPU hardware, and exploring built-in applications.
## Prerequisites
- Python 3.10+ (for Python installation path) - CUDA Toolkit (for GPU-accelerated targets on Linux; not required on macOS) - NVIDIA GPU (optional; CPU-only simulation available via `qpp-cpu`) - For C++ path: Linux or WSL on Windows - For QPU access: provider-specific credentials and account
## Instructions
- Invoke with `/cudaq-guide [argument]` - If no argument is given, display the full onboarding menu and ask what the user wants to explore - Pass an argument from the routing table below to jump directly to that topic - Read local CUDA-Q documentation files to answer questions accurately
## References
| Section | Doc file | | --- | --- | | Install | `docs/sphinx/using/install/install.rst`, `docs/sphinx/using/quick_start.rst` | | Test Program | `docs/sphinx/using/basics/kernel_intro.rst`, `docs/sphinx/using/basics/build_kernel.rst` | | GPU Simulation | `docs/sphinx/using/backends/sims/svsims.rst`, `docs/sphinx/using/examples/multi_gpu_workflows.rst` | | QPU | `docs/sphinx/using/backends/hardware.rst`, `docs/sphinx/using/backends/cloud.rst` | | Applications | `docs/sphinx/using/applications.rst` | | Parallelize | `docs/sphinx/using/examples/multi_gpu_workflows.rst` |
## Routing by Argument
| Argument | Action | |---|---| | `install` | Walk through installation (see Install section) | | `test-program` | Build and run a Bell state kernel to verify CUDA-Q is working properly | | `gpu-sim` | Explain GPU-accelerated simulation targets (see GPU Simulation section) | | `qpu` | Explain how to run on real QPU hardware (see QPU section) | | `applications` | Showcase what can be built with CUDA-Q (see Applications section) | | `parallelize` | Show how to run circuits in parallel across multiple QPUs (see Parallelize section) | | _(none)_ | Print the full menu below and ask what they'd like to explore |
---
## Full Menu (no argument)
Present this when invoked with no argument
```text 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/
Choose a topic /cudaq-guide install Install CUDA-Q (Python pip or C++ binary) /cudaq-guide test-program Write and run your quantum 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 circuits in parallel across multiple QPUs ```
---
## Install
Instructions
- Default to Python installation unless the user explicitly mentions C++ or the `nvq++` compiler. - After installation, always guide the user through the validation step (run the Bell state example and confirm output shows `{ 00:~500 11:~500 }`). - Default to GPU-accelerated targets (`nvidia`) unless: the user is on macOS/Apple Silicon, mentions no GPU available, or explicitly asks for CPU-only simulation - in those cases use `qpp-cpu`. - Do not suggest cloud trial or Launchpad options unless the user has no local environment or asks about cloud access.
Platform notes
- Linux (x86_64, ARM64): full GPU support - `pip install cudaq` + CUDA Toolkit - macOS (ARM64/Apple Silicon): CPU simulation only - `pip install cudaq` (no CUDA Toolkit needed) - Windows: use WSL, then follow Linux instructions - C++ (no sudo): `bash install_cuda_quantum*.$(uname -m) --accept -- --installpath $HOME/.cudaq` - Brev (cloud, no local setup): Log in at the NVIDIA Application Hub, open a CUDA-Q workspace, then SSH in with the Brev CLI:
```bash brev open ${WORKSPACE_NAME} ```
CUDA-Q and the CUDA Toolkit are pre-installed.
---
## Test Program
Key concepts to explain
- `@cudaq.kernel` / `__qpu__` marks a quantum kernel - compiled to Quake MLIR - `cudaq.qvector(N)` allocates N qubits in |0⟩ - `cudaq.sample()` - kernel measures qubits; returns bitstring histogram (`SampleResult`) - `cudaq.run()` - kernel returns a classical value; runs `shots_count` times and returns a list of those return values - `cudaq.observe()` - computes expectation value ⟨H⟩ for a spin operator - `cudaq.get_state()` - returns the full statevector (simulator only)
Kernel restrictions
- Only a restricted Python subset is valid inside a kernel - it compiles to Quake MLIR, not regular Python. - NumPy and SciPy cannot be used inside a kernel. Use them outside the kernel for classical pre/post-processing. - Kernels can call other kernels; the callee must also be a `@cudaq.kernel`.
For compiler internals (`inspect` module -> `ast_bridge.py` -> Quake MLIR -> QIR -> JIT), route to `/cudaq-compiler`.
---
## GPU Simulation
To recommend the best simulation backend for the user, consult the full comparison table at <https://nvidia.github.io/cuda-quantum/latest/using/backends/simulators.html>
### Available GPU Targets
| Target | Description | Use when | |---|---|---| | `nvidia` (default) | Single-GPU state vector via cuStateVec (up to ~30 qubits) | Default choice for most simulations on a single GPU | | `nvidia --target-option fp64` | Double-precision single GPU | Higher numerical precision needed (e.g. chemistry, sensitive observables) | | `nvidia --target-option mgpu` | Multi-GPU, pools memory across GPUs (>30 qubits) | Circuit exceeds single-GPU memory; requires MPI | | `nvidia --target-option mqpu` | Multi-QPU, one virtual QPU per GPU, parallel execution | Running many independent circuits in parallel (e.g. parameter sweeps, VQE gradients) | | `tensornet` | Tensor network simulator | Shallow or low-entanglement circuits; qubit count exceeds statevector feasibility | | `qpp-cpu` | CPU-only fallback (OpenMP) | No GPU available; macOS; small circuits for testing |
---
## QPU
When the user invokes this section, do not dump all providers at once. Instead, follow this two-step dialogue:
Step 1 - ask which technology they want
```text Which QPU technology are you targeting? 1. Ion trap (IonQ, Quantinuum) 2. Superconducting (IQM, OQC, Anyon, TII, QCI) 3. Neutral atom (QuEra, Infleqtion, Pasqal) 4. Cloud / multi-platform (AWS Braket, Scaleway) ```
Step 2 - once they pick a technology, ask which provider, then read the corresponding doc file and walk the user through it step by step.
| Technology | Provider | Doc file | |---|---|---| | Ion trap | IonQ | `docs/sphinx/using/backends/hardware/iontrap.rst` (IonQ section) | | Ion trap | Quantinuum | `docs/sphinx/using/backends/hardware/iontrap.rst` (Quantinuum section) | | Superconducting | IQM | `docs/sphinx/using/backends/hardware/superconducting.rst` (IQM section) | | Superconducting | OQC | `docs/sphinx/using/backends/hardware/superconducting.rst` (OQC section) | | Superconducting | Anyon | `docs/sphinx/using/backends/hardware/superconducting.rst` (Anyon section) | | Superconducting | TII | `docs/sphinx/using/backends/hardware/superconducting.rst` (TII section) | | Superconducting | QCI | `docs/sphinx/using/backends/hardware/superconducting.rst` (QCI section) | | Neutral atom | Infleqtion | `docs/sphinx/using/backends/hardware/neutralatom.rst` (Infleqtion section) | | Neutral atom | QuEra | `docs/sphinx/using/backends/hardware/neutralatom.rst` (QuEra section) | | Neutral atom | Pasqal | `docs/sphinx/using/backends/hardware/neutralatom.rst` (Pasqal section) | | Cloud | AWS Braket | `docs/sphinx/using/backends/cloud/braket.rst` | | Cloud | Scaleway | `docs/sphinx/using/backends/cloud/scaleway.rst` |
After walking through the provider steps, always close with
- Test locally first with `emulate=True` before submitting to real hardware. - Use `cudaq.sample_async()` / `cudaq.observe_async()` for non-blocking submission. - Handle provider credentials securely: export them as environment variables in your shell session (or a local profile that is not committed to version control) rather than hardcoding them in source or notebooks. Never paste tokens into shared files, logs, or commits, and prefer a secrets manager where one is available.
---
## Applications
CUDA-Q ships with ready-to-run application notebooks
| Category | Examples | |---|---| | Optimization | QAOA, ADAPT-QAOA, MaxCut | | Chemistry | VQE, UCCSD, ADAPT-VQE | | Error Correction | Surface codes, QEC memory | | Algorithms | Grover's, Shor's, QFT, Deutsch-Jozsa, HHL | | ML | Quantum neural networks, kernel methods | | Simulation | Hamiltonian dynamics, Trotter evolution | | Finance | Portfolio optimization, Monte Carlo |
---
## Parallelize
CUDA-Q supports two distinct multi-GPU parallelization strategies - pick based on what you are trying to scale.
| Goal | Strategy | Target option | |---|---|---| | Single circuit too large for one GPU | Pool GPU memory | `nvidia --target-option mgpu` | | Many independent circuits at once | Run circuits in parallel | `nvidia --target-option mqpu` | | Large Hamiltonian expectation value | Distribute terms across GPUs | `mqpu` + `execution=cudaq.parallel.thread` |
### Circuit batching with mqpu (`sample_async` / `observe_async`)
The `mqpu` option maps one virtual QPU to each GPU. Dispatch circuits asynchronously with `qpu_id` to all GPUs simultaneously.
```python import cudaq
cudaq.set_target("nvidia", option="mqpu") n_qpus = cudaq.get_platform().num_qpus()
futures = [ cudaq.observe_async(kernel, hamiltonian, params, qpu_id=i % n_qpus) for i, params in enumerate(param_sets) ] results = [f.get().expectation() for f in futures] ```
### Hamiltonian batching
For a single kernel with a large Hamiltonian, add `execution=` to `cudaq.observe` — no other code change needed.
```python # Single node, multiple GPUs result = cudaq.observe(kernel, hamiltonian, *args, execution=cudaq.parallel.thread)
# Multi-node via MPI result = cudaq.observe(kernel, hamiltonian, *args, execution=cudaq.parallel.mpi) ```
See the docs above for complete working examples of both patterns.
---
## Examples
- `/cudaq-guide` — print the onboarding menu and ask the user which topic to explore. - `/cudaq-guide install` — walk through installation, defaulting to the Python `pip install cudaq` path, then validate with the Bell state example. - `/cudaq-guide test-program` — build and run a Bell state kernel and confirm the output shows roughly `{ 00:~500 11:~500 }`. - `/cudaq-guide gpu-sim` — recommend a simulation backend (for example `nvidia` for a single GPU, or `nvidia --target-option mgpu` for circuits larger than one GPU's memory). - `/cudaq-guide qpu` — start the two-step QPU dialogue (technology, then provider) and read the matching hardware doc. - `/cudaq-guide parallelize` — choose between `mgpu` (pool memory for one large circuit) and `mqpu` (run many circuits in parallel).
---
## Limitations
- GPU simulation requires Linux (x86_64 or ARM64); macOS is CPU-only - Multi-GPU `mgpu` target requires MPI - Kernel code must use a restricted Python subset; NumPy/SciPy ar
Source provenance
Decision snapshot
3,176 GitHub stars
Audit
Install and adoption review
Agent-proven evidence
Outcome reports after resolve, review, install, and one narrow run.
No agent outcome data yet. The first agent run can report success, setup needs, risk blocks, failure, or not-relevant through /api/agent/outcome.
Install
Free and open source. Review the report before installing into production agents.
Growth loop
Scenario-led draft for cudaq-guide, ready for a manual X post.
cudaq-guide: CUDA-Q onboarding guide for installation, test programs, GPU simulation, QPU hardware, and qu... 3.2K stars https://www.openagentskill.com/skills/nvidia-cudaq-guide?ref=x
Listing + install path for cudaq-guide: https://www.openagentskill.com/skills/nvidia-cudaq-guide?ref=x Install: npx skills add NVIDIA/skills --skill cudaq-guide
Listing source
This listing was indexed from public sources and is not marked official until a maintainer claim is approved.
Attribution links to the public repository or creator profile. Creators can claim the listing to update ownership signals.
Claim this skillOwner claim
This Registry indexed listing is attributed to CUDA-Q Team <cuda-quantum@nvidia.com> but is not marked official yet. Claim it to add a verified owner signal and make future launch, install, and audit updates easier to trust.
Creator backlink kit
Show the canonical listing, current trust and audit signals, and real Agent-Proven evidence where developers evaluate the repository.
[](https://www.openagentskill.com/skills/nvidia-cudaq-guide?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/nvidia-cudaq-guide?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/nvidia-cudaq-guide/audit)
[](https://www.openagentskill.com/skills/nvidia-cudaq-guide?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)CUDA-Q Team <cuda-quantum@nvidia.com>
@cuda-q-team-<cuda-quantum@nvidia.com>
Share whether this skill looks useful for your agent workflow. Aggregated feedback improves rankings over time.
Sandbox only
Frontend Design
Guidance for distinctive, intentional UI design, typography, visual direction, and non-template-like product interfaces.
174.2K StarsTaste Skill: Anti-Slop Frontend
Design and implementation guidance for distinctive landing pages, portfolios, product demos, and purposeful redesigns.
84.4K StarsCanvas Design
Create original visual art, posters, PNG assets, and PDF documents through a clear design philosophy.
174.2K StarsAnthropic Brand Guidelines
Apply Anthropic official brand colors, typography, and visual standards to appropriate Anthropic-related artifacts.
174.2K StarsPermission surface
shell or command execution, filesystem or document access
Agent outcomes
No agent outcome data yet
Docs
Strong README/SKILL.md context
Risk summary
Install readiness
Permission surface
shell or command execution, filesystem or document access
Agent outcomes
No agent outcome data yet
Docs
Strong README/SKILL.md context
Risk summary
Install readiness
Permission surface
shell or command execution, filesystem or document access
Agent outcomes
No agent outcome data yet
Docs
Strong README/SKILL.md context
Risk summary
Install readiness
Permission surface
shell or command execution, filesystem or document access
Agent outcomes
No agent outcome data yet
Docs
Strong README/SKILL.md context
Risk summary
Install readiness