qdk-programming
Skill1k starsChanged 4 months agoMITView on GitHub
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.
Trending
Quiet since September.thin dataabout the whole repository
Who's talking about microsoft/qdk
- Azure/azure-sdk-for-js“Minor version bump introduced a brand new dependency breaking our build”GitHub · Aug 20, 2026 · 1 reactions
- wgsl-analyzer/wgsl-analyzer“shift operator seems to infer incorrect type”GitHub · Jul 17, 2026 · 1 reactions
- Lucent-Financial-Group/Zeta“deps: Bump the uv-minor-patch group in /src/Core.Python with 3 updates”GitHub · Sep 12, 2026
- Lucent-Financial-Group/Zeta“deps: Bump the uv-minor-patch group in /src/Core.Python with 4 updates”GitHub · Sep 12, 2026
- jupyter/nbformat“CI broke with 5.11.0 release”GitHub · Aug 7, 2026
The biggest 5 of 7 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 7
Talked about on GitHub (7 times).
On GitHub · 7
- Aug 20, 2026Minor version bump introduced a brand new dependency breaking our build — Azure/azure-sdk-for-js1 reaction · 4 comments
- Jul 17, 2026shift operator seems to infer incorrect type — wgsl-analyzer/wgsl-analyzer1 reaction
- Sep 12, 2026deps: Bump the uv-minor-patch group in /src/Core.Python with 3 updates — Lucent-Financial-Group/Zeta0 reactions · 1 comment
- Sep 12, 2026deps: Bump the uv-minor-patch group in /src/Core.Python with 4 updates — Lucent-Financial-Group/Zeta0 reactions · 2 comments
- Aug 7, 2026CI broke with 5.11.0 release — jupyter/nbformat0 reactions · 5 comments
2 more on GitHub
- Jul 25, 2026comments should be recognized in (almost) every context, keywords should be recognized inside expression contexts too — qsharp-community/qsharp-tmLanguage0 reactions
- Jun 10, 2026Update qsharp requirement from <2.0,>=1.0.33 to >=1.29.1,<2.0 in /azure-quantum — microsoft/azure-quantum-python0 reactions · 2 comments
In this repositoryOne other file it gives its agents.
- .github/copilot-instructions.mdCopilot instructions
The file
Files
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/.qasmfiles directly. No Python required. - Python mode — the user writes Python scripts or Jupyter notebooks, using the
qsharp/qdkPython 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, OpenQASM parsing and semantic analysis, 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 |
| OpenQASM parsing and analysis | — (Python only) | python.md — Parse, analyze, and navigate source |
| Python environment setup | qdkCreateNotebookVenv | qdkCreateNotebookVenv |
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
dotnetCLI tools.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

