Skip to content

Optical-Quantum-Communication-Theory/Improved-finite-size-effects-in-QKD-protocols-with-applications-to-decoy-state-QKD

Repository files navigation

Improved finite-size effects in QKD protocols with applications to decoy-state QKD

This is a public version of the code used in Improved finite-size effects in QKD protocols with applications to decoy-state QKD [ArXiv]. This was built for v2.0.2 of the Open QKD Security package.

The data in Figures 2 - 6 is created by running the following files:

Figure Files
Fig. 2 mainFiniteLossyQubitBB84ExpecRate.m
Fig. 3 mainFiniteLossyQubitBB84.m
Fig. 4 Key rates using 1-norm constraints run mainFiniteLossyQubit1Norm.m,
Key rates using entrywise constraints run mainFiniteLossyQubitBB84.m
Fig. 5 mainFiniteDecoyBB84.m
Fig. 6 FourSixAdaptiveMain_DifInt.m,
Switch between iid and ps needs to be done in preset FourSixWCPDifInt_AdaptivePreset.m

The folder '4-6Protocol' contains the fixed-length version of the variable-length 4-6 protocol, presented in section IX.A.

Installation instructions

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.

As zip

  1. Download the linked version of the code from above and follow all installation instructions.
  2. Also follow the additional Mosek install instructions if you want an exact match.
  3. Download the latest release on the side bar and unzip in your preferred directory and add this folder to the Matlab path.
  4. <Install directions for this repository. For example, add this folder to the Matlab path and save. Run this test function. Etc.>

with git

  1. 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/Improved-finite-size-effects-in-QKD-protocols-with-applications-to-decoy-state-QKD
  1. Follow all further installation instructions.
  2. Also follow the additional Mosek install instructions if you want an exact match.
  3. <Install directions for this repository. For example, add this folder to the Matlab path and save. Run this test function. Etc.>

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages