Skip to content
This repository has been archived by the owner on Jul 5, 2023. It is now read-only.

azure-octo/demo-Quantum-HelloWorld

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Demo: Quantum Development Kit Hello World

Two programs to demonstrate the QDK integration with Visual Studio code, as well as the fundamentals of Q# and quantum development.

Create Dev Environment

Demo 1: Quantum Gates

  1. Open QSharpHelloWorld\Driver.cs to show C# code
  2. Open QSharpHelloWorld\Operations.qs to show Q# code
  3. Select the VSCode debug menu
  4. Drop down the debug profiles and select QSharpHelloWorld and select play
  5. See the output of the simulation
  6. Open QSharpHelloWorld\Operations.qs and comment out H Gate + Assert and uncomment Ry Gate + Assert
  7. Repeat debug run and show output of simulation

Demo 2: Quantum Simulation

  1. Open QubitMemory\Driver.cs to show simulation code
  2. Select the VSCode debug menu
  3. Drop down the debug profiles and select QubitMemory and select play
  4. See the memory use exponentially grow as number of qubits increases

About

Hello World program for Q# and QDK

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages