Quantum Key Distribution (QKD) is a promising technology that allows two nodes to privately agree on a key through a quantum channel. Unfortunately, QKD is still in experimental phase and researchers must rely on simulators to replicate the behaviour of a quantum network. One of the most widespread is QKDNetSim, a module for the C++ network simulator NS-3. However, this module is very limited in its behaviour, so it does not faithfully represent a real quantum network. In this work we analyse the structure and components of QKDNetSim, as well as its shortcomings and how they affect the quality of the simulation
Quantum Key Distribution (QKD) is a promising technology that allows two nodes to privately agree on a key through a quantum channel. Unfortunately, QKD is still in experimental phase and researchers must rely on simulators to replicate the behaviour of a quantum network. One of the most widespread is QKDNetSim, a module for the C++ network simulator NS-3. However, this module is very limited in its behaviour, so it does not faithfully represent a real quantum network. In this work we analyse the structure and components of QKDNetSim, as well as its shortcomings and how they affect the quality of the simulation
Network emulators play an important role in testing network systems, applications, and protocols. Emulators bridge the gap between simulation setups that lack realism in results and real-world trials that are accurate but often expensive, non-reproducible, and uncontrollable. This article presents an extended model of the Quantum Key Distribution Network Simulation Module (QKDNetSim) with a model catalog of QKD components and functionalities. We explore emulations of point-to-point connections in QKD networks and the interaction of essential components within QKD nodes. The presented tool will undoubtedly spur future development and teaching, and it is critical for testing novel applications and protocols applied to QKD networks.
Abstract The aim is to analyze the efficiency of a communication method, Quantum key distribution. This newly popularized method of communication uses the principles of quantum mechanics. The simulation environment allows researchers to create complex network topologies and a high degree of control and repeatable experiments, allowing them to conduct studies and verify their outcomes. It would be costly to implement QKD in reality, which would need optical and Internet connections between network nodes and the verification of a certain network method or protocol. Thus, the performance analysis here is done in open-source software called NS-3 or Network Simulator- 3, which has an in-built module called QKD netsim for creating the quantum channel.
Quantum Key Distribution (QKD), a novel secret key agreement primitive, enables long-awaited practical Information-Theoretical Security (ITS). Over the last two decades, academic and industrial communities have devoted their time and resources to developing QKD- based networks that distribute ITS keys to remote parties. However, because of the limited availability of QKD network testbeds to the larger research community and the difficulty and cost of their deployment, progress in this area has been noticeably slow. To that end, we provide an analysis of selected simulated use-cases from the EU H2020 OPENQKD project using the QKDNetSim network simulator. The tool has been extensively upgraded to test novel network management methodologies applied to large-scale QKD networks.
The rise of quantum computers has accelerated research in quantum networking protocols and architectures. However, real-world experimentation remains challenging because of the limited availability, high cost, and complexity of quantum hardware. As a result, simulation frameworks have become essential for protocol design, theoretical validation, and performance benchmarking. While quantum computation simulators focus on large entangled systems, quantum network simulators model dynamic, probabilistic interactions across distributed nodes with hybrid classical-quantum communication. This paper presents a modular and extensible quantum network simulation module built on ns-3, integrating classical networking with quantum components. The module supports physical and protocol-level models, including entanglement-based schemes under both ideal and noisy conditions, enabling realistic network simulations. It also allows integration and benchmarking of different quantum simulation backends within real network contexts. The proposed module is available in the ns-3 app store to facilitate further research and development in quantum networking.
Quantum Key Distribution (QKD), based on the laws of physics rather than the computational \ncomplexity of mathematical problems, provides a secure way of establishing symmetrical binary \nkeys between two geographically distant users. The keys are secure from eavesdropping during \ntransmission and QKD ensures that any third party’s knowledge of the key is reduced to a \nminimum. In recent years, a noticeable progress in the development of quantum equipment has \nbeen reflected through a number of successful demonstrations of QKD technology. While they \nshow the great achievements of QKD, many practical difficulties still need to be resolved, such as \nto provide better service differentiation. These networks are characterized as being multihop in \nnature where the consumption key rate is often higher than the charging key rate, which means that \nthe links are available for a limited period of time only. Such features impose several challenges \non the effective modeling and evaluation of reliability as well as finding appropriate Quality \nof Service (QoS) solution. This thesis focuses on research in the field of QKD for securing \nreal-time communication by supporting QoS in QKD networks including a novel QoS model \nand novel distributed reactive routing protocol to achieve high-level scalability and minimize the \nconsumption of key material used for securing routing data. \nAs research in QKD networks grows larger and more complex, the need for highly accurate and \nscalable simulation technologies becomes important to assess the practical feasibility and foresee \ndifficulties in the practical implementation of theoretical achievements. Due to the specificity of \nQKD link which requires optical/quantum and Internet connection between the network nodes, it \nis very costly to deploy a complete testbed containing multiple network hosts and links to validate \nand verify a certain network algorithm or protocol. The network simulators in these circumstances \nsave a lot of money and time in accomplishing such task. A simulation environment offers the \ncreation of complex network topologies, a high degree of control and repeatable experiments, \nwhich in turn allows researchers to conduct exactly the same experiments and confirm their results. \nThis thesis describes the design and implementation of QKD network simulation module which \nwas developed in the network simulator of version 3 (NS-3). The module supports simulation \nof QKD network in overlay mode or in a single TCP/IP mode. Therefore, it can be used for \nsimulation of other network technologies regardless of QKD. \nImplemented simulation model was used for verification of proposed QoS solution. A number \nof simulations were performed. The obtained data have confirmed the primary thesis of this study, \nthat it is possible to use real-time applications in QKD networks.
Realistic simulation of quantum key distribution (QKD) networks requires a combination of precise models of quantum channels and network functions. Unfortunately, existing QKD network simulators lack either rigorous quantum physics modeling or network key-management and routing protocols, which limit their practical applicability. To address this limitation, we propose a QKD network simulator with hyperparameter tuning (QKDSim-HT), a NetSquid-based simulator specialized for polarization-based discrete-variable QKD networks. Specifically, QKDSim-HT models properties in quantum physics (photon loss, polarization-dependent depolarization, detector inefficiencies, dark counts, and dead times) as well as advanced functionalities in networking algorithms (multi-hop key relay and adaptive routing). Extensive simulations over diverse topologies reveal that the networking performance varied with respect to the fundamental properties of quantum physics, such as depolarization, fiber length, and channel attenuation. As a representative use case of QKDSim-HT, simulation results from QKDSim-HT over simple examples clearly manifest that a design of QKD networks highly affects performance of the networks. Accordingly, QKDSim-HT can serve as a practical platform for performance evaluation and optimization of quantum secured network.