Use para configuração do CUDA-Q, alvos de simulação, acesso a QPU e orientação sobre como escrever @cudaq.kernel.
Compatibilidade
Pelo seu gateway Versatile, qualquer cliente MCP carrega as instruções desta skill. Se ele também consegue fazer o trabalho depende do que a skill precisa e do que o cliente executa.
Requer
- python
- Rede
| Cliente | Funciona | Por quê | Lê SKILL.md nativamente |
|---|---|---|---|
| Claude Code | Completo | Tem tudo o que esta skill precisa | Sim |
| Codex CLI | Completo | Tem tudo o que esta skill precisa | Sim |
| Cursor | Completo | Tem tudo o que esta skill precisa | Sim |
| Gemini CLI | Completo | Tem tudo o que esta skill precisa | Sim |
| VS Code Copilot | Completo | Tem tudo o que esta skill precisa | Sim |
| opencode / oh-my-pi | Completo | Tem tudo o que esta skill precisa | Sim |
| Claude Desktop | Só as instruções | Não executa comandos, Não acessa a web | Sim |
| ChatGPT and other chat-only MCP clients | Só as instruções | Não executa comandos, Não acessa a web | Não |
Como determinamos isso
Nada aqui foi executado ou testado. Cada veredito é derivado dos arquivos da própria skill e de uma tabela fixa de regras, então leia como uma previsão, não uma garantia.
Da skill lemos as ferramentas que o frontmatter permite, as linguagens dos scripts que ela traz, os comandos que cita no código, o uso de rede e os servidores MCP que espera.
De cada cliente usamos três coisas que ele faz na sua máquina sem servidores extras: executar comandos, ler e gravar arquivos e acessar a web. A busca embutida de um app de chat não conta, porque uma skill não consegue acioná-la.
Completo significa que o cliente faz tudo o que a skill precisa. Só as instruções significa que ele carrega e segue o texto, mas não tem uma capacidade que a skill usa. Não significa que a skill traz código e o cliente não consegue executá-lo.
--- name: "cudaq-guide" title: "CUDA-Q Guide" description: "Use for CUDA-Q setup, simulation targets, QPU access, and @cudaq.kernel authoring guidance." version: "1.1.2" author: "CUDA-Q Team <[email protected]>" tags: [cuda-quantum, quantum-computing, onboarding, getting-started, authoring, kernels, nvidia] tools: [Read, Glob, Grep] license: "Apache-2.0" compatibility: "Python 3.10+, C++ 20" metadata: author: "CUDA-Q Team <[email protected]>" tags: - cuda-quantum - quantum-computing - onboarding - getting-started - nvidia languages: - python - c++ domain: "quantum" --- # 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 - Python 3.10+ for Python CUDA-Q workflows. - CUDA Toolkit and an NVIDIA GPU for GPU-accelerated targets on Linux. - CPU-only simulation is available through `qpp-cpu`; macOS is CPU-only. - C++ workflows require Linux or WSL and C++20. - QPU workflows require provider-specific credentials and accounts. ## Instructions - Invoke with `/cudaq-guide [argument]`. - If no argument is given, display the onboarding menu and ask which topic the user wants. - Use the routing table below to choose the relevant reference file. - Read local CUDA-Q documentation files when the answer depends on a specific CUDA-Q version or backend behavior. - Do not answer Qiskit porting questions from this skill; use `cudaq-importing`. ## Routing by Argument | Argument | Action | Reference | |---|---|---| | `install` | Walk through Python or C++ installation and validation. | [references/onboarding.md](references/onboarding.md) | | `test-program` | Build and run a Bell-state kernel. | [references/onboarding.md](references/onboarding.md) | | `gpu-sim` | Select GPU, multi-GPU, tensor-network, or CPU targets. | [references/onboarding.md](references/onboarding.md) | | `qpu` | Guide provider selection and credential-safe QPU setup. | [references/onboarding.md](references/onboarding.md) | | `applications` | Summarize CUDA-Q application areas and notebooks. | [references/onboarding.md](references/onboarding.md) | | `parallelize` | Choose `mgpu`, `mqpu`, async dispatch, or distributed observe. | [references/onboarding.md](references/onboarding.md) | | `author` | Author CUDA-Q Python kernels, select execution APIs, and debug compiler issues. | [references/authoring.md](references/authoring.md) | | _(none)_ | Print the menu below and ask which topic to explore. | This file | ## Menu ```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/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 - [references/onboarding.md](references/onboarding.md): installation, test program, GPU targets, QPU providers, application areas, parallelization modes, examples, and platform troubleshooting. - [references/authoring.md](references/authoring.md): execution APIs, kernel-language constraints, silent-failure pitfalls, recurring coding patterns, resource metrics, debugging, and validation. ## Limitations - Guidance targets CUDA-Q Python/C++ workflows, with authoring details focused on decorator-mode Python APIs used in CUDA-Q 0.14 and 0.15. - GPU and multi-GPU support depends on local CUDA-Q, CUDA Toolkit, driver, MPI, and hardware availability. - QPU access and target options are provider-specific and may change; verify against local docs before giving operational steps. ## Troubleshooting - **Import error after `pip install cudaq`:** check Python 3.10+ and supported OS. - **No GPU detected:** verify CUDA Toolkit and `nvidia-smi`; fall back to `qpp-cpu`. - **Kernel compile error:** read [references/authoring.md](references/authoring.md) and check the restricted kernel-language subset. - **Version-specific behavior differs:** compare `cudaq.__version__` with the latest documentation, then review relevant documentation or source changes when debugging an installed version that is not the latest release. - **QPU submission fails:** verify provider credentials are set as environment variables or through a secrets manager, never hardcoded. - **Documentation lookup fails:** retry transient MCP or repository lookup once, then fall back to local docs or official CUDA-Q documentation.
9 arquivos, 68,8 KB
- BENCHMARK.md12,1 KB
- SKILL.md4,9 KB
- evals/EVAL.md1,9 KB
- evals/config.yml962 B
- evals/evals.json9,2 KB
- references/authoring.md19,6 KB
- references/onboarding.md8 KB
- skill-card.md6,8 KB
- skill.oms.sig5,4 KB
- Licença
- Apache-2.0encontrada em SKILL.md frontmatter
- Listagem
- Baixar o YAML
Gateway na porta 7465 alterar
Fica salvo só neste navegador.
Ainda não tem o gateway? Cole isto no seu terminal e clique em Importar de novo.
git clone https://github.com/versatile-sh/connector-engine && cd connector-engine && make upImportar abre o seu próprio gateway em uma nova aba; esta página nunca se conecta a ele. Como funciona