Skip to content

loretoparisi/quantum-development-kit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Quantum Computing Examples

How to install on macOS

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/Console

How to Run the Examples

To run the examples, enter the examples folder and run

dotnet run

How to Create a New Q# Project

To create a new Quantum Develpoment Kit project, enter the projects root folder and enter

dotnet new console -lang Q# --output Bell

This will create the project folder Bell in the current folder and the Quantum Simulator for Q#.

.NET Tips & Tricks

.NET CLI Language

To set the .NET cli messages to english please specify this env

export DOTNET_CLI_UI_LANGUAGE=en

Quantum Development Kit

Quantum Theory