Facilitating the spread of knowledge and innovation in professional software development



Choose your language

InfoQ Homepage News Microsoft Quantum Development Kit Goes Open Source

Microsoft Quantum Development Kit Goes Open Source

This item in japanese


Microsoft has recently made its Quantum Development Kit (QDK) open source in an effort to make “quantum computing and algorithm development easier and more transparent for developers”, Microsoft says. Microsoft QDK includes the Q# compiler, quantum libraries, and the quantum simulator.

Microsoft announced its Quantum Development Kit at its Ignite conference at the end of 2017 and later made it available to developers as a preview. As a previous step to releasing the whole SDK, Microsoft published on GitHub a collection of samples and katas with the aim of helping developers get acquainted with its quantum language, Q#, and how to integrate it with “classical” F# and C# code using Visual Studio.

Q#, whose compiler is part of the open-source QDK along with command line tools and the Q# language server, is a domain-specific language tailored to work with qubits, quantum operators, and other useful quantum abstractions. When using it with Visual Studio, you can set breakpoints and step into code as well as seamlessly integrate with Microsoft quantum simulator.

Both the Q# compiler and language server are based on .NET Core and their build environment is dependent on PowerShell, which is also available on GitHub. Q# libraries contained in the open source QDK include Canon, which is part of Q# standard library, and Chemistry, used to implement quantum chemistry and Hamiltonian simulation.

The quantum simulator is part of the Q# Runtime Components repository, which along with the sources for several simulators —such as Q#, code generation, and full-state simulators— also includes project templates and unit testing support.

Microsoft is also at work on its own quantum processor, which has not been announced yet, though. With its quantum processor, Microsoft is pursuing a novel approach, exploring the idea of topological qubits. Topological qubits do not store information in a specific place. Instead, information is stored globally, within the qubit topological structure, like it happens with a string. The main advantage of this approach, according to Microsoft, is more efficient error correction, which is a limiting factor to scaling current quantum processors.

For a quick start with Microsoft QDK, you can follow the official installation guide.

We need your feedback

How might we improve InfoQ for you

Thank you for being an InfoQ reader.

Each year, we seek feedback from our readers to help us improve InfoQ. Would you mind spending 2 minutes to share your feedback in our short survey? Your feedback will directly help us continually evolve how we support you.

Take the Survey

Rate this Article


Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Community comments

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p


Is your profile up-to-date? Please take a moment to review and update.

Note: If updating/changing your email, a validation request will be sent

Company name:
Company role:
Company size:
You will be sent an email to validate the new email address. This pop-up will close itself in a few moments.