https://github.com/sevdanurgenc/quantum-programming-with-qsharp
Introduction to Quantum Programming with Q #
https://github.com/sevdanurgenc/quantum-programming-with-qsharp
qsharp quantum-algorithms quantum-computing quantum-machine-learning quantum-programming-language
Last synced: 30 days ago
JSON representation
Introduction to Quantum Programming with Q #
- Host: GitHub
- URL: https://github.com/sevdanurgenc/quantum-programming-with-qsharp
- Owner: SevdanurGENC
- License: mit
- Created: 2021-04-17T01:49:13.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2021-04-17T12:42:58.000Z (about 4 years ago)
- Last Synced: 2025-01-29T03:47:02.847Z (3 months ago)
- Topics: qsharp, quantum-algorithms, quantum-computing, quantum-machine-learning, quantum-programming-language
- Language: Jupyter Notebook
- Homepage:
- Size: 215 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Quantum-Programming-With-QSharp
Introduction to Quantum Programming with Q #
## Day 1 :
- Complex Arithmetic
- Linear Algebra
- The-Qubit
- Single Qubit Gates## Day 2 :
- Multi-Qubit Systems
- Multi-Qubit Gates
- Superposition
- Measurements## Day 3 :
- Random Number Generation
- Teleportation
- Superdense Coding## Day 4 :
- Introduction to Oracles
- Introduction to Grover's Algorithm## Develop with Q# Jupyter Notebooks
```
conda create -n qsharp-env -c quantum-engineering qsharp notebook
conda activate qsharp-env
pip install pytest
jupyter notebook
``````qsharp
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
```