Skip to content

qiskit implementation of a hybrid authentication quantum key distribution protocol.

Notifications You must be signed in to change notification settings

gufett0/hybrid-QKD

Repository files navigation

To use this Qiskit codebase, create a new Python virtual environment based on the requirements.txt file, follow these steps:

  1. Create a New Virtual Environment:

    • Use a virtual environment tool such as virtualenv or venv to create a new virtual environment.

    Example:

    virtualenv venv_name
    # or
    python -m venv venv_name
  2. Activate the Virtual Environment:

    • Activate the newly created virtual environment.

    Example:

    # Windows
    venv_name\Scripts\activate
    
    # Mac/Linux
    source venv_name/bin/activate
  3. Install Packages from requirements.txt:

    • Install all the required packages listed in the requirements.txt file using pip.

    Example:

    pip install -r requirements.txt

Run the authenticate QKD protocols:

Follow the instruction in the notebook protocol.ipynb

To test different authenticated protocols (AQKD, ASQKD1, ASQKD2), you can change the relevant imported functions here

from hybridoperations import Bases_preparation_AQKD, measure_message_AQKD
Bases_preparation = Bases_preparation_AQKD
measure_message = measure_message_AQKD

About

qiskit implementation of a hybrid authentication quantum key distribution protocol.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published