This repository contains a series of quantum entanglement simulations using Markov processes for tracking errors. Each folder corresponds to an article in our tutorial series on simulating quantum entanglements for beginners.
We currently have two articles. See below.
The simulations model entanglement distribution between two quantum nodes using noisy quantum memories and a lossy quantum channel. Key features include:
- Bell State Generation: Simulation of photon emissions, channel losses, memory errors, and Bell state measurement.
- Distance Variation: Investigation of how increasing channel distances affect the fidelity of the generated (Phi+) state.
- Performance Metrics: Analysis and plotting of fidelity, full Bell state ratios, entanglement generation rate, and entanglement generation probability.
- Entanglement Purification: Various circuits and schedules for purification.
Each folder corresponds to an article in the tutorial series:
-
article1
Contains a simulation demonstrating how increasing channel distances impact the fidelity of generated Bell states, as well as the entanglement generation rate and probability. -
article2
Contains a simulation demonstrating how various purification circuits impact the fidelity of generated Bell states over increasing channel distances.
(Additional articles will be added in separate folders as the series progresses.)
-
Clone the Repository:
git clone https://github.com/yourusername/quantum-entanglement-simulation.git cd quantum-entanglement-simulation -
Install Dependencies:
The simulation requires Python 3 and the following packages:
numpymatplotlib
Install the required packages using pip:
pip install numpy matplotlib
To run the simulation and generate the plots for the desired article (e.g., article1):
-
Navigate to the Article Folder:
cd article1 -
Run the Simulation Script:
python simulations.py
For a detailed explanation of the simulation methodology, including the underlying quantum communication principles and a step-by-step code walkthrough, check out the full tutorial series:
- Simulating Quantum Communications: A Beginner's Tutorial – Part I
- Simulating Quantum Communications: A Beginner’s Tutorial — Part II (Entanglement Purification)
Contributions are welcome! Please open an issue or submit a pull request if you have suggestions, improvements, or bug fixes.
