Skip to main content

The Q# Programming Language

Follow instructions from The Q# Programming Language.

Install IQSharp

PS D:\projects\lthwqsharp> dotnet tool install -g Microsoft.Quantum.IQSharp
You can invoke the tool using the following command: dotnet-iqsharp
Tool 'microsoft.quantum.iqsharp' (version '0.6.1905.301') was successfully installed.

Check IQSharp Version

PS D:\projects\lthwqsharp> dotnet iqsharp --version
Language kernel: 0.6.1905.301
Jupyter core: 1.1.13141.0
PS D:\projects\lthwqsharp>

Install C# Template

PS D:\projects\lthwqsharp> dotnet new -i Microsoft.Quantum.ProjectTemplates
Install IQSharp

The First Hello Quantum World Program

PS D:\projects\lthwqsharp> dotnet new console -lang Q# -o helloQSharp
The template "Console Application" was created successfully.
PS D:\projects\lthwqsharp> cd .\helloQSharp\
PS D:\projects\lthwqsharp\ex1> dotnet run
Hello quantum world!
PS D:\projects\lthwqsharp\helloQSharp>
The First Hello Quantum World Program

Popular posts from this blog

SoloLearn: Learn to Code for Free!

Got a minute? You can learn to code anywhere, anytime you can with your smartphone using Sololearn.

Data Recovery Softwares

Follow 3-2-1 backup rule so you do not need these data recovery softwares.

Tiếng Nhật: 7 ngày trong tuần

Tìm thấy món quà xinh xắn mà một đồng nghiệp đã tặng trong dịp đi Nhật tham gia khóa học quản lý dự án. Desk Calendar in Japanese Thử một mục tiêu nhỏ để luyện tập não và cách gõ tiếng Nhật trên máy tính. Dưới đây là bảy ngày trong tuần, bắt đầu từ Chủ Nhật, đến thứ hai,... và cuối cùng là thứ bảy (Nhựt, Nguyệt, Hỏa, Thủy, Mộc, Kim, Thổ). 日曜日 にちようび 月曜日 げつようび 火曜日 かようび 水曜日 すいようび 木曜日 もくようび 金曜日 きんようび 土曜日 どようび  [Nguồn tham khảo] http://www.cjvlang.com/Dow/dowjpn.html Cám ơn bạn đã đọc!