BT

Microsoft Quantum Development Kit Available to Developers

| by Sergio De Simone Follow 7 Followers on Dec 13, 2017. Estimated reading time: 2 minutes |

A note to our readers: As per your request we have developed a set of features that allow you to reduce the noise, while not losing sight of anything that is important. Get email and web notifications by choosing the topics you are interested in.

As InfoQ reported, Microsoft announced its plans to build a quantum computer at its Ignite conference and promised a development kit for it. Now, the Microsoft Quantum Development Kit has become available as a free preview.

Sporting integration with Visual Studio, the Quantum Development Kit includes the Q# programming language and a quantum simulator which Microsoft says is able to simulate up to 30 logical qubits on a typical laptop. 30 logical qubits require about 16GB to simulate. To get from there to a 40 logical qubit simulator, a 2^10 increase in memory is required, and Microsoft is offering an Azure-based simulator providing as much. Developers can use the Quantum Development Kit to learn how to program quantum computers while waiting for Microsoft topological quantum computer, according to Microsoft, which also claims that programs written using the simulator will run unmodified on the real quantum computer as well.

The main idea behind Microsoft quantum processor is the topological qubit, which does not store its information in a specific place. Instead, it is stored globally, within its topological structure, like it happens with a string, which you can say whether it is knotted or not only by looking at the whole picture and not to any of its local properties. The main advantage of this approach to quantum information representation is requiring a minor amount of error correction, which becomes a limiting factor when it comes to scaling quantum processors.

On the programming side, Microsoft describes Q# as a domain-specific programming language with a native type system for qubits, operators, and other abstractions. It includes support for both classical language control and quantum algebra.

The following is an example of a Q# program that is able to set a qubit in a given state by looking at it and, if it is not in the required state, by flipping it:

namespace Quantum.Bell {
    open Microsoft.Quantum.Primitive;

    operation Set (desired: Result, q1: Qubit) : () {
        body {
            let current = M(q1);
            if (desired != current) {
                X(q1);
            }
        }
    }
}

Q# integration with the Visual Studio debugger allows to set breakpoints and step into code, as well as to estimate the resources required to execute a quantum program through the trace simulator.

Along with the Kit, Microsoft is also releasing comprehensive documentation which covers from the basics of quantum computing to more advanced concepts such as managing quantum machines and drivers, and specific development techniques.

You can download the Microsoft Quantum Development Kit to start using it. It requires Visual Studio 2017, which is also available as a Community Edition for free.

Rate this Article

Adoption Stage
Style

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.

Tell us what you think

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

Email me replies to any of my messages in this thread

is it open source? by Hung Nguyen

Is the language open source?
And I wonder why don't just simply take C# or F# and optimize it for Quantum computing?

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

Email me replies to any of my messages in this thread

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

Email me replies to any of my messages in this thread

1 Discuss

Login to InfoQ to interact with what matters most to you.


Recover your password...

Follow

Follow your favorite topics and editors

Quick overview of most important highlights in the industry and on the site.

Like

More signal, less noise

Build your own feed by choosing topics you want to read about and editors you want to hear from.

Notifications

Stay up-to-date

Set up your notifications and don't miss out on content that matters to you

BT