NuQKD: A Modular Quantum Key Distribution Simulation Framework for Engineering Applications

Konstantinos Gkouliaras,Vasileios Theos,Phil Evans,Stylianos Chatzidakis
2023-10-19
Abstract:An experimental Quantum Key Distribution (QKD) implementation requires advanced costly hardware, unavailable in most research environments, making protocol testing and performance evaluation complicated. Historically, this has been a major motivation for the development of QKD simulation frameworks, to allow researchers to obtain insight before proceeding into practical implementations. Several simulators have been introduced over the recent years. However, only four are publicly available, only one of which models equipment imperfections. Currently, no open-source simulator includes all following capabilities: channel attenuation modelling, equipment imperfections and effect on key rates, estimation of elapsed time during quantum channel processes, use of truly random binary sequences for qubits and measurement bases, shared-bit fraction customization. In this paper, we present NuQKD, an open-source modular, intuitive simulator, featuring all the above capabilities. NuQKD establishes communication between two computer terminals, accepts custom inputs (iterations, raw key size, interception rate etc.) and evaluates the sifted key length, Quantum Bit Error Rate (QBER), elapsed communication time and more). NuQKD capabilities include optical fiber and free-space simulation, modeling of equipment/channel imperfections, bitstrings from True Random Number Generator, modular design and automated evaluation of performance metrics. We expect NuQKD to enable convenient and accurate representation of actual experimental conditions.
Quantum Physics,Cryptography and Security
What problem does this paper attempt to address?
The problem that this paper attempts to solve is the high cost and hardware requirements in the experimental implementation of quantum key distribution (QKD). Specifically, the paper points out that traditional QKD experiments require advanced and expensive hardware devices, which are not easily accessible in most university and research laboratory environments. Therefore, it is difficult for researchers to test QKD protocols and their performance under specific settings, especially in the absence of actual devices. To address this challenge, in recent years, a variety of simulation frameworks have been developed, aiming to effectively model QKD communication schemes without experimental setups, enabling researchers to gain preliminary insights before actual implementation. However, most of the existing QKD simulators focus on the BB84 protocol, and only a few of them are publicly available, and even fewer are frameworks that can simulate device imperfections. Currently, there is no simulation framework that simultaneously has the following capabilities: (i) channel attenuation modeling, (ii) device imperfections and their impact on the key rate, (iii) computation time and time estimation of quantum - channel - involved processes, (iv) selection of qubits and measurement bases using truly random binary sequences, (v) customization of the shared - bit fraction, and (vi) open - source availability. For this reason, the paper introduces NuQKD, which is an open - source, modular, and easy - to - use QKD simulation framework that integrates all of the above functions. NuQKD is a Python script package that simulates the BB84 protocol through a communication scheme between two computer terminals. This framework accepts custom input values (such as the number of key iterations, the original key size, the attacker interception rate, etc.) and provides evaluation metrics such as the filtered key length, the quantum bit error rate (QBER), and the communication time. In addition, NuQKD's capabilities also include simulating the performance of BB84 in fiber - optic and free - space quantum channels, modeling device imperfections (light sources, channels, detectors), using bit strings generated by a true random number generator, supporting implementation between two terminals in a local area network or single - device execution, adopting a modular design method, highly customizing multiple input parameters, and automatically evaluating and exporting various performance metrics. Through these features, NuQKD aims to conveniently and accurately represent actual experimental conditions, thereby promoting the research and development of QKD technology.