Courses · Our review
Quantum Katas
Microsoft
Last reviewed November 2026
The original Quantum Katas repository may have been moved or archived as Microsoft's quantum tools evolved. Check the current Azure Quantum Development Kit documentation to see where the katas live today.A collection of programming exercises ('katas') for learning quantum computing concepts hands-on using Microsoft's Q# language, ranging from basic gate operations to more advanced algorithm implementations.
Math
Light math
Coding
Q# (Microsoft's quantum language)
Time (our estimate)
about 4 h/week for 8 weeks
Credential
None
Format
Hands-on code, Interactive lessons
Provider type
vendor
Best for
career
Cost
free
What it covers
- Q# language basics
- Single and multi-qubit gate exercises
- Implementing Deutsch-Jozsa and Grover's algorithm
- Quantum error correction exercises
Format: Open-source, self-paced programming exercises using Q#
Prerequisites listed: Basic programming experience in any language is helpful; Q# itself is taught through the exercises, so no prior Q# knowledge is needed.
Our verdict
A solid practice resource once you know the basics, if you can find the current version. If you prefer Python, do the equivalent exercises in Qiskit using IBM Quantum Learning.
Who it is for
- Programmers who learn by solving short coding exercises.
- Learners who want practice implementing gates and algorithms from scratch.
Who should skip it
- Beginners with no quantum background, since the exercises assume you know what the gates do.
- Learners who only want to use Python and Qiskit.
Pros and cons
Pros
- Free, exercise-based practice with automatic checking.
- A good way to move from reading about algorithms to implementing them.
Cons
- Uses Q# and Microsoft's toolchain, which differs from Qiskit.
- The location and format may have changed, so setup instructions can be out of date.
After this course you should be able to
- Implement basic gates, Bell states, and standard algorithms yourself.
Are you ready for it?
Seven quick questions, about two minutes. We compare your answers with what Quantum Katas expects and point you to lessons for any gaps. Nothing is stored.
1. What is (1 + i)(1 − i)?
2. Multiplying the matrix [[0, 1], [1, 0]] by the column vector (1, 0) gives:
3. A qubit has amplitudes 0.6 for outcome 0 and 0.8 for outcome 1. The probability of measuring 1 is:
4. In Python, what does [x * x for x in range(4)] produce?
5. def f(n): return 1 if n < 2 else n * f(n - 1). What is f(4)?
6. A qubit is in an equal superposition of 0 and 1. When you measure it once, you get:
7. Which gate turns |0⟩ into an equal superposition of |0⟩ and |1⟩?
Practice alongside it on QuantumAtlas
Frequently asked questions
Do the katas teach quantum mechanics?
They are practice exercises. You should learn the concepts first from a lesson or course.
Can I use Python instead of Q#?
Not for the katas themselves, but you can do equivalent exercises in Qiskit or Cirq.
External site. Prices, dates, and availability are set by the provider and can change. We do not receive payment for these links.
Similar courses
- Introduction to Quantum Computing: Quantum Algorithms and Qiskit (NPTEL, IIT Madras with IBM) (NPTEL / IIT Madras, free)
- Quantum Computer Science (Stanford University, free)
- Fundamentals of Quantum Algorithms (IBM Quantum Learning, free)