- Install .NET 2, https://www.microsoft.com/net/
- Install VisualStudioCode, https://code.visualstudio.com/
- Open VisualStudioCode and install the extension Microsoft Quantum Development Kit
- Install the Quantum Template
dotnet new -i "Microsoft.Quantum.ProjectTemplates::0.3.1810.2508-preview"You should now see the installed templates for Q# like
Console Application console [C#], F#, Q#, VB Common/ConsoleTo run the examples, enter the examples folder and run
dotnet runTo create a new Quantum Develpoment Kit project, enter the projects root folder and enter
dotnet new console -lang Q# --output BellThis will create the project folder Bell in the current folder and the Quantum Simulator for Q#.
To set the .NET cli messages to english please specify this env
export DOTNET_CLI_UI_LANGUAGE=en- Quantum Basic Logic Gates
- A convenient tool for visualizing the effect of gates on qubit states, Quirk