Quantum Computing (Microsoft QDK)

Preparing a Quantum State you own this product

This project is part of the liveProject series Quantum Computing with Microsoft QDK
basics of Python or C#, linear algebra, probability theory, and quantum computing concepts
skills learned
developing quantum algorithms to match specified tasks • simplifying code development with the Microsoft Quantum Development Kit • running quantum code simulations
Mariia Mykhailova
1 week · 6-8 hours per week · BEGINNER

pro $24.99 per month

  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose one free eBook per month to keep
  • exclusive 50% discount on all purchases

lite $19.99 per month

  • access to all Manning books, including MEAPs!


5, 10 or 20 seats+ for your team - learn more

Look inside

In this liveProject, you’ll step into the shoes of a quantum software engineer and develop a library for state preparation routines. Preparing quantum systems in arbitrary superposition states is a vital step of quantum algorithms. Luckily, the Microsoft Quantum Development Kit libraries offer multiple state preparation routines. You’ll implement a single-qubit state preparation routine and a recursive multi-qubit state preparation routine, before implementing the complete multi-qubit state preparation routine. Finally, you’ll write unit tests for your implementation.

This project is designed for learning purposes and is not a complete, production-ready application or solution.

book resources

When you start your liveProject, you get full access to the following books for 90 days.

project author

Mariia Mykhailova
Mariia Mykhailova is a senior software engineer at Microsoft Quantum, where she focuses on education and developer outreach. Mariia is the author and maintainer of the Quantum Katas project, an open-source collection of hands-on tutorials and exercises for learning quantum computing using the Microsoft Quantum Development Kit. She is the lead organizer of the Q# Coding Contests series, and is also a part-time lecturer at Northeastern University Seattle, teaching the class "Introduction to Quantum Computing." She hosted quantum computing workshops and presented her work in quantum computing education at multiple events and conferences.


This liveProject is for software engineers interested in exploring hands-on quantum computing. To begin this liveProject you will need to be familiar with the following:

  • Basics of Python or C#
  • Basics of linear algebra
  • Basics of probability theory
  • Basics of quantum computing concepts

you will learn

In this liveProject, you’ll start developing working quantum applications using Q#, and the Microsoft Quantum SDK.

  • Designing and writing simple Q# code
  • Developing quantum algorithms to match specified tasks
  • Simplifying code development with the Microsoft Quantum Development Kit
  • Running quantum code simulations
  • Writing unit tests in Q#


You choose the schedule and decide how much time to invest as you build your project.
Project roadmap
Each project is divided into several achievable steps.
Get Help
While within the liveProject platform, get help from other participants and our expert mentors.
Compare with others
For each step, compare your deliverable to the solutions by the author and other participants.
book resources
Get full access to select books for 90 days. Permanent access to excerpts from Manning products are also included, as well as references to other resources.

choose your plan


only $41.67 per month
  • five seats for your team
  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose another free product every time you renew
  • choose twelve free products per year
  • exclusive 50% discount on all purchases
  • Preparing a Quantum State project for free