This code is linked to the research work [Fainsin et al. (2025)] for numerical simulation of entanglement routing in real world cluster states.
- Clone the repository:
git clone https://github.com/DavidLKB/entanglement-routing
- Navigate to the project directory:
cd entanglement_routing - Build the environment
python -m venv env_routing
- Activate the environment
.\env_routing\Scripts\activate - Install the required packages (works with Python 3.13.1, add Python to PATH)
pip install setuptools pip install -r requirements.txt pip freeze - Open main.py and execute the file.
- cluster_manager: Build the cluster, and perform the analytical work.
- basis.py: Build the Gell-Mann matrices for efficient space parameter exploration
- optimizer.py: Optimizes parameters using a CMA-ES search algorithm.
- main.py: Entry script to run the project.
- Python 3.x
- NumPy
- SciPy
- Matplotlib
- NetworkX
This project is licensed under the MIT License. Copyright (c) 2025 Fainsin David
Permission is hereby granted, free of charge, to any person obtaining a copy of this software...
Additional Requirement: Any use or derivative work of this code must cite the following article: D. Fainsin et al., Entanglement routing with passive optics in real-world CV-networks, ArXiV(2025).
This work was supported by the European Research Council under the Consolidator Grant COQCOoN (Grant No. 820079).
Contributions are welcome! Please submit a pull request or open an issue to suggest improvements.