Challenges
Datasets
Workspaces
Papers
Discussions
Leaderboard
Log inSign up
Challenges
Datasets
Workspaces
Papers
Discussions
Leaderboard
Blog
Job Board
Q3AS

© 2026 Aqora Quantum S.A.S.

TermsPrivacyLegal Notice

Physica Scripta

Final-XGBoost: a Bayesian-tuned machine learning model for quantum key distribution optimization

Qihao Xu, Cheng Wu, Fuqiang Wang, Peng Zhang, Xinchao Ruan, Jinjing Shi, Wei Zhao

Published Jun 12, 2025• 1 citation
Publisher

Abstract

As the number of users in quantum key distribution (QKD) networks continues to grow, parameter selection (e.g., probability of X-bases, signal state strength, and decoy state levels) has become increasingly complex. Traditional methods such as local search algorithms (LSA) are commonly employed for parameter optimization but suffer from significant computational overhead, slow execution on low-power platforms, and resultant system delays. These limitations hinder the scalability and real-time requirements of large-scale QKD networks. To address these challenges, this paper proposes an innovative approach that combines Bayesian optimization with XGBoost model to optimize QKD system parameters. The proposed model is evaluated against random forest (RF) and back-propagation neural network (BPNN) models based on three critical metrics: prediction accuracy, model fitting, and training efficiency. Simulation results demonstrate that the proposed model significantly outperforms both RF and BPNN in terms of accuracy and computational efficiency. Notably, while achieving predictive performance comparable to LSA, the proposed method reduces computation time by three orders of magnitude. This research introduces a novel and efficient framework for QKD parameter optimization, providing new insights and directions for enhancing the performance, scalability, and real-time adaptability of QKD systems.

DOI
10.1088/1402-4896/addfb4

Related papers

Parameter optimization for mode-pairing quantum key distribution based on LightGBM

Duo Ma, yue li, haoyang wang +5 more

The mode-pairing quantum key distribution (MP-QKD) achieves high key generation rates and high security over long-distance, low-loss optical fibers through its mode-pairing technique. In practical applications, when considering finite data sets, MP-QKD requires optimization of parameters such as channel optical bit error rate ( e opt ), detector’s dark count( P d ), the total number of signals( N ), and the number of phase slices( M ). However, traditional exhaustive traversal or local search algorithms do not meet the time and resource requirements of real-time communication systems. Combined with machine learning, the quantum key distribution for parameter optimization prediction has become the mainstream approach. XGBoost, a gradient boosting decision tree (GBDT) algorithm, random forest (RF) representing a classic bagging-based ensemble learning method, and back-propagation neural networks (BPNN) are important algorithms in neural networks. This study employs the LightGBM (light gradient boosting machine) algorithm to predict optimized parameters for MP-QKD. The results demonstrate that LightGBM efficiently and accurately predicts optimal parameters, slightly outperforming XGBoost, RF, and BPNN in parameter prediction, and can serve as a reference for future real-time QKD networks.

Optics Continuum•Feb 2, 2026•1 citation

Machine learning for optimal parameter prediction in quantum key distribution

Wenyuan Wang, Hoi‐Kwong Lo

For a practical quantum key distribution (QKD) system, parameter optimization, the choice of intensities and the probabilities of sending them, is a crucial step in gaining optimal performance, especially when one realistically considers a finite communication time. With the increasing interest in the field to implement QKD over free space on moving platforms, such as drones, handheld systems, and even satellites, one needs to perform parameter optimization with low latency and with very limited computing power. Moreover, with the advent of the internet of things, a highly attractive direction of QKD could be a quantum network with multiple devices and numerous connections, which provides a huge computational challenge for the controller that optimizes parameters for a large-scale network. Traditionally, such an optimization relies on brute-force search or local search algorithms, which are computationally intensive, and will be slow on low-power platforms (which increases latency in the system) or infeasible for even moderately large networks. In this work we present a method that uses a neural network to directly predict the optimal parameters for QKD systems. We test our machine learning algorithm on hardware devices including a Raspberry Pi 3 single-board computer (similar devices are commonly used on drones) and a mobile phone, both of which have a power consumption of less than 5 W, and we find a speedup of up to two to four orders of magnitude when compared to standard local search algorithms. The predicted parameters are highly accurate and can preserve, e.g., over 95%--99% of the optimal secure key rate for a given protocol. Moreover, our approach is highly general and can be applied effectively to various kinds of common QKD protocols.

arXiv:1812.07724•Physical Review A•Dec 27, 2019•90 citations

An Enhanced Algorithm Framework for Optimizing Quantum Key Distribution Parameters

Haonan Ying, Jihao Fan

Quantum key distribution (QKD) parameter optimization is crucial for maximizing secure key rates. However, the commonly used Local Search Algorithm (LSA) exhibits significant limitations in certain protocols due to non-convexity or excessively narrow parameter spaces. To address this, neural network-based approaches have been proposed to shift the computational burden offline, enabling rapid parameter prediction at runtime without repeated optimization. This paper proposes a neural network framework incorporating genetic algorithms (GA) for QKD parameter optimization. We develop a customized GA to generate high-quality training data and employ a multi-head residual neural network. To rigorously evaluate the impact of the optimization algorithm on learning performance, we train separate models using datasets generated by GA and LSA, respectively. Experimental validation demonstrates that GA-based models achieve substantial performance gains, yielding higher$R^{2}$and significantly reducing prediction errors (RMSE and MAE) compared to LSA-based models for both symmetric and asymmetric BB84 protocols.

Information Communication Technologies Conference (ICTC)•May 1, 2026•2 citations

Enhancing Quantum Key Distribution Efficiency and Security

Naim Ajlouni, Abdelrahman Almassri, Rasha Ragheb Atallah

Quantum Key Distribution (QKD) is a cornerstone of next-generation cryptographic technologies, offering unparalleled security by utilizing the principles of quantum mechanics. However, practical implementations of QKD face significant challenges, including inefficiencies in key generation, susceptibility to noise, and vulnerabilities to eavesdropping. This work addresses these challenges by proposing a machine learning (ML)-driven approach to optimize QKD protocols, focusing on enhancing both efficiency and security. In this work it is intended to evaluate three advanced protocols Adaptive, Entanglement-Based, and Hybrid under varying conditions such as key length, noise levels, and channel stability. The ML models will include ensemble learning models namely Random Forest and XGBoost, the models will analyze the impact of key parameters on protocol performance and predict efficiency with high accuracy. The results reveal that the Adaptive protocol significantly outperforms the Entanglement-Based and Hybrid protocols, achieving an efficiency of up to 0.80 for a key length of 2500 bits, compared to 0.24 for the Entanglement-Based protocol and 0.26 for the Hybrid protocol. The Adaptive protocol also demonstrates superior detection probability (ranging from 0.84 to 0.85) and a higher probability of detecting eavesdropping (ranging from 0.43 to 0.45). Furthermore, correlation analysis shows a strong positive relationship (r = 0.9985) between key length and efficiency for the Adaptive protocol, highlighting its scalability. In contrast, the Entanglement-Based protocol shows consistent but lower performance across all metrics, while the Hybrid protocol offers a compromise but remains less efficient than the Adaptive protocol. By integrating ML with quantum cryptography, this work bridges the gap between theoretical advancements and practical implementations, providing a scalable framework for optimizing QKD systems in real-world applications. The findings underscore the importance of protocol design and optimization in achieving secure and efficient quantum communication, paving the way for the quantum internet of the future.

•Jan 10, 2025•1 citation

A machine learning and particle swarm optimization-based method for dynamic parameter optimization in mode-pairing quantum key distribution

Yu dong Zhang, Lu Wang, Yu fang Zhao +1 more

Quantum key distribution (QKD) is a pivotal quantum communication technology but faces practical challenges such as transmission loss and measurement device vulnerabilities. Mode-pairing QKD (MP-QKD) addresses these limitations by dynamically pairing single-photon detection events, enabling secure long-distance communication with simplified experimental requirements. However, optimizing key parameters like pulse intensity remains computationally demanding for traditional numerical methods. To overcome this, this paper shows a machine learning framework that combines Particle swarm optimization (PSO) and three neural networks—Backpropagation neural network (BPNN), XGBoost, and Long short-term memory (LSTM)—to predict optimal pulse intensity under varying environmental conditions. Using PSO-generated datasets, the models map channel loss, error rates, transmission distance, and other parameters to pulse intensity. Simulations demonstrate that BPNN achieves 99.87% prediction accuracy (RMSE: 0.0026) with an average runtime of 13 milliseconds per prediction, outperforming XGBoost and LSTM in both speed and precision. This work establishes a scalable solution for real-time parameter optimization in large-scale QKD networks and highlights the transformative role of machine learning in advancing quantum communication technologies.

Physica Scripta•Jul 1, 2025•0 citations

Parameter optimization and real-time calibration of a measurement-device-independent quantum key distribution network based on a back propagation artificial neural network

Feng-Yu Lu, Zhen−Qiang Yin, Chao Wang +8 more

Selection of parameters (e.g., the probability of choosing an X-basis or Z-basis, the intensity of signal state and decoy state, etc.) and system calibrating are more challenging when the number of users of a measurement-device-independent quantum key distribution (MDI-QKD) network increases. At present, optimization algorithms are usually employed when searching for the best parameters. This method can find the optimized parameters accurately, but it may take a lot of time and hardware resources. This is a big problem in a large-scale MDI-QKD network. Here, we present, to the best of our knowledge, a new method, using a back propagation artificial neural network (BPNN) to predict, rather than search, the optimized parameters. Compared to optimization algorithms, our BPNN is faster and more lightweight, and it can save system resources. Another big problem brought by large-scale MDI-QKD networks is system recalibration. BPNN can support this work in real time, and it only needs to use some discarded data generated from the communication process, rather than adding additional devices or scanning the system.

arXiv:1812.08388•Journal of the Optical Society of America B•Feb 12, 2019•44 citations
As the number of users in quantum key distribution (QKD) networks continues to grow, parameter selection (e.g., probability of X-bases, signal state strength, and decoy state levels) has become increasingly complex. Traditional methods such as local search algorithms (LSA) are commonly employed for parameter optimization but suffer from significant computational overhead, slow execution on low-power platforms, and resultant system delays. These limitations hinder the scalability and real-time requirements of large-scale QKD networks. To address these challenges, this paper proposes an innovative approach that combines Bayesian optimization with XGBoost model to optimize QKD system parameters. The proposed model is evaluated against random forest (RF) and back-propagation neural network (BPNN) models based on three critical metrics: prediction accuracy, model fitting, and training efficiency. Simulation results demonstrate that the proposed model significantly outperforms both RF and BPNN in terms of accuracy and computational efficiency. Notably, while achieving predictive performance comparable to LSA, the proposed method reduces computation time by three orders of magnitude. This research introduces a novel and efficient framework for QKD parameter optimization, providing new insights and directions for enhancing the performance, scalability, and real-time adaptability of QKD systems.
The mode-pairing quantum key distribution (MP-QKD) achieves high key generation rates and high security over long-distance, low-loss optical fibers through its mode-pairing technique. In practical applications, when considering finite data sets, MP-QKD requires optimization of parameters such as channel optical bit error rate ( e opt ), detector’s dark count( P d ), the total number of signals( N ), and the number of phase slices( M ). However, traditional exhaustive traversal or local search algorithms do not meet the time and resource requirements of real-time communication systems. Combined with machine learning, the quantum key distribution for parameter optimization prediction has become the mainstream approach. XGBoost, a gradient boosting decision tree (GBDT) algorithm, random forest (RF) representing a classic bagging-based ensemble learning method, and back-propagation neural networks (BPNN) are important algorithms in neural networks. This study employs the LightGBM (light gradient boosting machine) algorithm to predict optimized parameters for MP-QKD. The results demonstrate that LightGBM efficiently and accurately predicts optimal parameters, slightly outperforming XGBoost, RF, and BPNN in parameter prediction, and can serve as a reference for future real-time QKD networks.
For a practical quantum key distribution (QKD) system, parameter optimization, the choice of intensities and the probabilities of sending them, is a crucial step in gaining optimal performance, especially when one realistically considers a finite communication time. With the increasing interest in the field to implement QKD over free space on moving platforms, such as drones, handheld systems, and even satellites, one needs to perform parameter optimization with low latency and with very limited computing power. Moreover, with the advent of the internet of things, a highly attractive direction of QKD could be a quantum network with multiple devices and numerous connections, which provides a huge computational challenge for the controller that optimizes parameters for a large-scale network. Traditionally, such an optimization relies on brute-force search or local search algorithms, which are computationally intensive, and will be slow on low-power platforms (which increases latency in the system) or infeasible for even moderately large networks. In this work we present a method that uses a neural network to directly predict the optimal parameters for QKD systems. We test our machine learning algorithm on hardware devices including a Raspberry Pi 3 single-board computer (similar devices are commonly used on drones) and a mobile phone, both of which have a power consumption of less than 5 W, and we find a speedup of up to two to four orders of magnitude when compared to standard local search algorithms. The predicted parameters are highly accurate and can preserve, e.g., over 95%--99% of the optimal secure key rate for a given protocol. Moreover, our approach is highly general and can be applied effectively to various kinds of common QKD protocols.
Quantum key distribution (QKD) parameter optimization is crucial for maximizing secure key rates. However, the commonly used Local Search Algorithm (LSA) exhibits significant limitations in certain protocols due to non-convexity or excessively narrow parameter spaces. To address this, neural network-based approaches have been proposed to shift the computational burden offline, enabling rapid parameter prediction at runtime without repeated optimization. This paper proposes a neural network framework incorporating genetic algorithms (GA) for QKD parameter optimization. We develop a customized GA to generate high-quality training data and employ a multi-head residual neural network. To rigorously evaluate the impact of the optimization algorithm on learning performance, we train separate models using datasets generated by GA and LSA, respectively. Experimental validation demonstrates that GA-based models achieve substantial performance gains, yielding higherR2R^{2}R2and significantly reducing prediction errors (RMSE and MAE) compared to LSA-based models for both symmetric and asymmetric BB84 protocols.
Quantum Key Distribution (QKD) is a cornerstone of next-generation cryptographic technologies, offering unparalleled security by utilizing the principles of quantum mechanics. However, practical implementations of QKD face significant challenges, including inefficiencies in key generation, susceptibility to noise, and vulnerabilities to eavesdropping. This work addresses these challenges by proposing a machine learning (ML)-driven approach to optimize QKD protocols, focusing on enhancing both efficiency and security. In this work it is intended to evaluate three advanced protocols Adaptive, Entanglement-Based, and Hybrid under varying conditions such as key length, noise levels, and channel stability. The ML models will include ensemble learning models namely Random Forest and XGBoost, the models will analyze the impact of key parameters on protocol performance and predict efficiency with high accuracy. The results reveal that the Adaptive protocol significantly outperforms the Entanglement-Based and Hybrid protocols, achieving an efficiency of up to 0.80 for a key length of 2500 bits, compared to 0.24 for the Entanglement-Based protocol and 0.26 for the Hybrid protocol. The Adaptive protocol also demonstrates superior detection probability (ranging from 0.84 to 0.85) and a higher probability of detecting eavesdropping (ranging from 0.43 to 0.45). Furthermore, correlation analysis shows a strong positive relationship (r = 0.9985) between key length and efficiency for the Adaptive protocol, highlighting its scalability. In contrast, the Entanglement-Based protocol shows consistent but lower performance across all metrics, while the Hybrid protocol offers a compromise but remains less efficient than the Adaptive protocol. By integrating ML with quantum cryptography, this work bridges the gap between theoretical advancements and practical implementations, providing a scalable framework for optimizing QKD systems in real-world applications. The findings underscore the importance of protocol design and optimization in achieving secure and efficient quantum communication, paving the way for the quantum internet of the future.
Quantum key distribution (QKD) is a pivotal quantum communication technology but faces practical challenges such as transmission loss and measurement device vulnerabilities. Mode-pairing QKD (MP-QKD) addresses these limitations by dynamically pairing single-photon detection events, enabling secure long-distance communication with simplified experimental requirements. However, optimizing key parameters like pulse intensity remains computationally demanding for traditional numerical methods. To overcome this, this paper shows a machine learning framework that combines Particle swarm optimization (PSO) and three neural networks—Backpropagation neural network (BPNN), XGBoost, and Long short-term memory (LSTM)—to predict optimal pulse intensity under varying environmental conditions. Using PSO-generated datasets, the models map channel loss, error rates, transmission distance, and other parameters to pulse intensity. Simulations demonstrate that BPNN achieves 99.87% prediction accuracy (RMSE: 0.0026) with an average runtime of 13 milliseconds per prediction, outperforming XGBoost and LSTM in both speed and precision. This work establishes a scalable solution for real-time parameter optimization in large-scale QKD networks and highlights the transformative role of machine learning in advancing quantum communication technologies.
Selection of parameters (e.g., the probability of choosing an X-basis or Z-basis, the intensity of signal state and decoy state, etc.) and system calibrating are more challenging when the number of users of a measurement-device-independent quantum key distribution (MDI-QKD) network increases. At present, optimization algorithms are usually employed when searching for the best parameters. This method can find the optimized parameters accurately, but it may take a lot of time and hardware resources. This is a big problem in a large-scale MDI-QKD network. Here, we present, to the best of our knowledge, a new method, using a back propagation artificial neural network (BPNN) to predict, rather than search, the optimized parameters. Compared to optimization algorithms, our BPNN is faster and more lightweight, and it can save system resources. Another big problem brought by large-scale MDI-QKD networks is system recalibration. BPNN can support this work in real time, and it only needs to use some discarded data generated from the communication process, rather than adding additional devices or scanning the system.