This is a public version of the code used in Using Cascade in Quantum Key Distribution [arxiv]. This was built for v2.0.2 of the Open QKD Security package.
The code computes key rates and plots the figures from the paper. To plot Fig 1 and 2, run Cascade/qubitBB84/main.m
. To plot Fig 3 and 4, run Cascade/DecoyBB84/main.m
. For Fig 1 and Fig 2, set replaceProb=0
and replaceProb=0.2
respectively, for Fig 2 and 4 set perturbProb=0.0
and perturbProb=0.2
respectively..
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.
- 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/Using-Cascade-in-Quantum-Key-Distribution
- Follow all further installation instructions.
- Also follow the additional Mosek install instructions if you want an exact match.