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

Latest commit

 

History

History
22 lines (17 loc) · 1023 Bytes

README.md

File metadata and controls

22 lines (17 loc) · 1023 Bytes

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