This is a public version of the code used in Phase error rate estimation in QKD with imperfect detectors [arXiv link]. This was built for v2.0.2 of the Open QKD Security package.
This code plots key rates for the decoy-state BB84 protocol in the presence of detector imperfections such as unequal detection efficiencies and dark count rates.
Caution
This repository is for archival and transparency purposes; we do not guarantee compatibility with other versions of the Open QKD Security package beyond the ones listed above.
- Download the linked version of the code from above and follow all installation instructions.
- Also follow the additional Mosek install instructions if you want an exact match.
- Download the latest release on the side bar and unzip in your preferred directory and add this folder to the Matlab path.
- Run mainFigOne.m, maainFigTwo.m etc for the relevant plots.
- Clone this repository and its exact submodules navigate to your desired directory and run,
git clone --recurse-submodules https://github.com/Optical-Quantum-Communication-Theory/Phase-error-rate-estimation-in-QKD-with-imperfect-detectors
- Follow all further installation instructions.
- Also follow the additional Mosek install instructions if you want an exact match.
- Add this folder to the MATLAB path
- Run mainFigOne.m, maainFigTwo.m etc for the relevant plots.