This is a public version of the code used in Oscillating photonic Bell state from a semiconductor quantum dot for quantum key distribution [arXiv]. This reposotory pre-dates the open QKD security software.
The code in this repository recreates figure 4 from the above paper. Experimental and ideal model data can be found in the experimentalData
folder. For more details on how to generate these files see here.
Caution
This repository is for archival and transparency purposes.
This code was designed and tested with Matlab 2024b, though any other recent edition should work. In addition to Matlab, this code requires the following additional resources:
- CVX v2.2, a library for solving convex optimization problems in MATLAB.
- The following Mathworks's toolboxes that can be installed with Matlab:
- Deep Learning
- Optimization
- Download the latest release on the side bar or clone with git
git clone https://github.com/Optical-Quantum-Communication-Theory/Oscillating-photonic-Bell-state-from-a-semiconductor-quantum-dot-for-QKD
- Unzip in your preferred directory and add the folders to your Matlab path.
- To recreate figure 4 from the paper, run
opt_keyrate
, thensweep_key_rate
.