Introduction to Quantum Programming with Q #
- Complex Arithmetic
- Linear Algebra
- The-Qubit
- Single Qubit Gates
- Multi-Qubit Systems
- Multi-Qubit Gates
- Superposition
- Measurements
- Random Number Generation
- Teleportation
- Superdense Coding
- Introduction to Oracles
- Introduction to Grover's Algorithm
conda create -n qsharp-env -c quantum-engineering qsharp notebook
conda activate qsharp-env
pip install pytest
jupyter notebook
open Microsoft.Quantum.Intrinsic;
operation SampleQuantumRandomNumberGenerator() : Result {
use q = Qubit(); // Allocate a qubit.
H(q); // Put the qubit to superposition. It now has a 50% chance of being 0 or 1.
let r = M(q); // Measure the qubit value.
Reset(q);
return r;
}
%simulate SampleQuantumRandomNumberGenerator