mcpbeat Sign in

Qdk Programming Agent Skill

QDK programming guide for Q#, OpenQASM, and the qsharp/qdk Python API. Use when: writing or editing Q# or OpenQASM code, running quantum programs, resource estimation, circuit generation, noisy simulation, Azure Quantum submission, Qiskit/Cirq/PennyLane interop, or Q# testing and standard library usage.

9k tokens
context cost
the whole folder, loaded on every use
4
files
instructions only
0
copies elsewhere
how many repositories repackaged it
980
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/microsoft/qdk --skill qdk-programming

What comes with it

33 921 bytes besides the instruction
openqasm.md
python.md
qsharp.md

The instruction itself

5 sections, as written by the author

QDK Programming

Quantum programming with the Microsoft Quantum Development Kit (QDK).

Two Modes

Most QDK features work in two modes:

  • Tool mode — use provided tools to work with standalone .qs / .qasm files directly. No Python required.
  • Python mode — the user writes Python scripts or Jupyter notebooks, using the qsharp/qdk Python packages as a driver for Q#/OpenQASM programs.

Default to tool mode unless the user is already working in Python or the feature is Python-only.

Reference Files

| File | Content |

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

| qsharp.md | Q# language syntax, types, quantum operations, standard library, project structure |

| openqasm.md | OpenQASM 2.0/3.0 syntax, standard gates, version differences |

| python.md | qsharp/qdk Python API for execution, estimation, circuits, noise, Azure, Qiskit/Cirq, setup |

Features

| Feature | Tool mode | Python mode |

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

| Writing Q# code | Read qsharp.md | Read qsharp.md |

| Writing OpenQASM code | Read openqasm.md | Read openqasm.md |

| Running a program | qdkRunProgram | python.md — Running Q# Code |

| Resource estimation | qdkRunResourceEstimator | python.md — Resource Estimation |

| Circuit diagrams | qdkGenerateCircuit | python.md — Circuit Generation |

| Azure Quantum | Use the azureQuantum* tools | python.md — Azure Quantum |

| Noisy simulation | — (Python only) | python.md — Noisy Simulation |

| Q#/OpenQASM in Python and/or Jupyter | — (inherently Python) | python.md |

| Qiskit / Cirq / PennyLane interop | — (inherently Python) | python.md — Framework Interop |

Quantum Katas

Quantum Katas are a collection of self-paced tutorials built into the QDK that teach quantum computing from the ground up. If the user wants to learn through the Quantum Katas, encourage them to use the /qdk-learning prompt to chat with the QDK Learning agent, which provides a guided, chat-embedded experience.

Deprecations

  • The QDK was rewritten in 2024. It no longer uses the IQ# Jupyter kernel or dotnet CLI tools.

Other skills for the same job

different authors, same section of the catalogue
Changelog Generator
by frostant
×9

Automatically creates user-facing changelogs from git commits by analyzing commit history, categorizing changes, and transforming technical commits into clear, customer-friendly release notes. Turns hours of manual changelog writing into minutes of automated generation.

774 tokens
Codex
by softaworks
×2

Use when the user asks to run Codex CLI (codex exec, codex resume) or references OpenAI Codex for code analysis, refactoring, or automated editing. Uses GPT-5.2 by default for state-of-the-art software engineering.

2k tokens
Memory Safety Patterns
by ComeOnOliver
×2

Implement memory-safe programming with RAII, ownership, smart pointers, and resource management across Rust, C++, and C. Use when writing safe systems code, managing resources, or preventing memory bugs.

6k tokens
Pysam
by K-Dense-AI
×1

Python/HTSlib workflows for genomic files. Use when reading, querying, filtering, or writing SAM/BAM/CRAM, VCF/BCF, FASTA/FASTQ, or tabix data with pysam, including pileup, coverage, indexing, and CRAM references.

34k tokens scripts
Scientific Critical Thinking
by K-Dense-AI
×1

Evaluate scientific claims and evidence quality. Use for assessing experimental design validity, identifying biases and confounders, applying evidence grading frameworks (GRADE, Cochrane Risk of Bias), or teaching critical analysis. Best for understanding evidence quality, identifying flaws. For formal peer review writing use peer-review.

26k tokens
Gh Fix CI
by openai
vendor ×1

Use when a user asks to debug or fix failing GitHub PR checks that run in GitHub Actions; use `gh` to inspect checks and logs, summarize failure context, draft a fix plan, and implement only after explicit approval. Treat external providers (for example Buildkite) as out of scope and report only the details URL.

8k tokens scripts
Documentation
by lingxling
×1

Documentation generation workflow covering API docs, architecture docs, README files, code comments, and technical writing.

1k tokens
Readme I18n
by ComeOnOliver
×1

Use when the user wants to translate a repository README, make a repo multilingual, localize docs, add a language switcher, internationalize the README, or update localized README variants in a GitHub-style repository.

5k tokens

How to use it

Copy the folder

Take microsoft/qdk-programming from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.