Learn Quantum Computing by Building a Real Quantum Teleportation Protocol
This open-source project demonstrates one of the most iconic and foundational protocols in quantum computing: Quantum Teleportation.
Using Microsoft's Quantum Development Kit (QDK), this educational project walks you through the mechanics of:
- Creating Bell states (entangled qubits)
- Applying quantum gates (like
H
,CNOT
,X
, andZ
) - Using quantum measurement and classical communication
- Transferring a quantum state from one qubit to another — without sending the qubit
- Basic Q# syntax and project structure
- How to entangle qubits and measure quantum states
- The real-world mechanics behind quantum teleportation
- How classical and quantum information interact
- Prepare an unknown quantum state (e.g.
|+⟩
) - Entangle two qubits (Alice’s and Bob’s) using a Bell state
- Alice performs operations and measurements on her qubits
- Alice sends two classical bits to Bob
- Bob applies correction gates to recover the original state
- .NET 6.0 SDK or later
- Visual Studio Code or your preferred editor
- Microsoft Quantum Development Kit extension
# Clone the repo
git clone https://github.com/RubyCloud225/Learning_QuantumML.git
cd quantumwrapper.qsharp
# Restore packages and run the simulator
dotnet run