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

Quantum Information and Measurement (QIM)

Benchmarking a Quantum Random Number Generator with Machine Learning

Jing Yan Haw, Nhan Duy Truong, Hong Jie Ng, Raymond Ho, Syed M. Assad, Chao Wang, Ping Koy Lam, Omid Kavehei

Published Jan 1, 2021• 0 citations
Publisher

Abstract

We develop a predictive machine learning (ML) analysis to examine the uniformity and unpredictability aspects of a random number generator. We show that our tool is capable of uncovering hidden correlations and experimental imperfections.
DOI
10.1364/qim.2021.w3b.5

Related papers

Machine Learning Cryptanalysis of a Quantum Random Number Generator

Nhan Duy Truong, Jing Yan Haw, Syed M. Assad +2 more

Random number generators (RNGs) that are crucial for cryptographic applications have been the subject of adversarial attacks. These attacks exploit environmental information to predict generated random numbers that are supposed to be truly random and unpredictable. Though quantum random number generators (QRNGs) are based on the intrinsic indeterministic nature of quantum properties, the presence of classical noise in the measurement process compromises the integrity of a QRNG. In this paper, we develop a predictive machine learning (ML) analysis to investigate the impact of deterministic classical noise in different stages of an optical continuous variable QRNG. Our ML model successfully detects inherent correlations when the deterministic noise sources are prominent. After appropriate filtering and randomness extraction processes are introduced, our QRNG system, in turn, demonstrates its robustness against ML. We further demonstrate the robustness of our ML approach by applying it to uniformly distributed random numbers from the QRNG and a congruential RNG. Hence, our result shows that ML has potentials in benchmarking the quality of RNG devices.

arXiv:1905.02342•IEEE Transactions on Information Forensics and Security•Jun 26, 2018•66 citations

Quantum random number characterization via quantum inspired machine learning

Tommaso Faorlin

The generation of good random numbers impacts basic research and applications beyond pure academic interests: random numbers are required for countless applications, such as cryptography and simulations. For most applications, it is of outmost importance to know if a set of numbers is truly random, pseudo-random or contains some residual correlations. Tensor networks are powerful data structures that spring from quantum many-body physics and are now increasingly applied to machine learning applications. This thesis plans to explore the intersection between these two fields, applying quantum-inspired machine learning to random number generation. We aim to perform and characterise novel statistical checks comparing and characterising the statistical quality of different number sets: correlated, pseudo-random, and quantum-random.

•Oct 1, 2020•0 citations

Leveraging Machine Learning for Quantum Random Number Prediction

宇 韩

Artificial Intelligence and Robotics Research•Jan 1, 2026•0 citations

Software Platform for Hybrid Pseudo-Random Sequence Generation and Predictability Analysis Based on LFSR and Mersenne Twister

Ali Abdolrahimi Zarnagh, Ali Motazedifard

Generating reliable random and pseudo-random sequences is important in many electronic and signal processing systems, such as secure communications, radar, spread-spectrum methods, and autonomous platforms. Although true and quantum random number generators provide stronger unpredictability, classical pseudo-random number generators, including Linear Feedback Shift Registers (LFSRs) and the Mersenne Twister (MT), are still widely used because they are efficient and easy to implement. This work introduces a user-friendly software platform for generating, analyzing, and evaluating the predictability of pseudo-random bit sequences. The software supports two main functions: generating sequences using classical PRNGs and hybrid combinations, and analyzing input sequences through statistical measures and data-driven methods. In particular, hybrid LFSR-MT structures are studied to examine how they affect sequence complexity and resistance to prediction. The platform also includes machine-learning and deep-learning tools to investigate when deterministic PRNGs may remain partially predictable, even when their structure becomes more complex. The results show that algorithmic random sequence generators have inherent limitations in terms of unpredictability, which supports the use of quantum random sequences in security-critical applications. A comparative study between classical LFSR-MT sequences and quantum random sequences shows that quantum randomness offers higher unpredictability due to its non-deterministic physical origin. The potential use of quantum random sequences in jamming applications is also discussed, highlighting their improved robustness against prediction-based attacks. Overall, the proposed software provides a practical tool for analyzing, comparing, and benchmarking random sequence generators in modern electronic, sensing, and quantum-enabled communication systems.

quant-pharXiv:2605.30977•Jun 1, 2026

Machine Learning-Based Randomness Analysis For a Auantum Random Number Generator

Wanlin Du, Ling Wang, Yuanzhe Zhu +1 more

Abstract Random numbers are critical to information security. Quantum random numbers are theoretically truly random and unpredictable. However, the measurement process of a quantum random number generator (QRNG) can be affected by environmental disturbances that compromise the integrity of the generated random numbers. A machine learning model is proposed to assess the stochasticity of the continuous variable QRNG under the influence of vacuum noise. The model is designed to detect the correlation between the randomness of the QRNG being corrupted under the influence of classical noise (electrical noise). In addition, our model detects a decrease in the randomness of the QRNG random numbers when the electrical noise intensity increases to a certain correlation. The results show that machine learning (ML) can be used as a measure of the quality of QRNG.

Journal of Physics Conference Series•Sep 1, 2024•0 citations

Quantum Random Number Generator with Programmable Probability Distributions

Lac Nguyen, Patrick Rehain, Yong Meng Sua +1 more

We present a method of generating quantum random numbers with arbitrarily defined probability distributions featuring high dimensionality and post-processing free, for significantly improved Monte-Carlo simulations and data analyses.

Frontiers in Optics•Jan 1, 2018•0 citations
Random number generators (RNGs) that are crucial for cryptographic applications have been the subject of adversarial attacks. These attacks exploit environmental information to predict generated random numbers that are supposed to be truly random and unpredictable. Though quantum random number generators (QRNGs) are based on the intrinsic indeterministic nature of quantum properties, the presence of classical noise in the measurement process compromises the integrity of a QRNG. In this paper, we develop a predictive machine learning (ML) analysis to investigate the impact of deterministic classical noise in different stages of an optical continuous variable QRNG. Our ML model successfully detects inherent correlations when the deterministic noise sources are prominent. After appropriate filtering and randomness extraction processes are introduced, our QRNG system, in turn, demonstrates its robustness against ML. We further demonstrate the robustness of our ML approach by applying it to uniformly distributed random numbers from the QRNG and a congruential RNG. Hence, our result shows that ML has potentials in benchmarking the quality of RNG devices.
The generation of good random numbers impacts basic research and applications beyond pure academic interests: random numbers are required for countless applications, such as cryptography and simulations. For most applications, it is of outmost importance to know if a set of numbers is truly random, pseudo-random or contains some residual correlations. Tensor networks are powerful data structures that spring from quantum many-body physics and are now increasingly applied to machine learning applications. This thesis plans to explore the intersection between these two fields, applying quantum-inspired machine learning to random number generation. We aim to perform and characterise novel statistical checks comparing and characterising the statistical quality of different number sets: correlated, pseudo-random, and quantum-random.
Generating reliable random and pseudo-random sequences is important in many electronic and signal processing systems, such as secure communications, radar, spread-spectrum methods, and autonomous platforms. Although true and quantum random number generators provide stronger unpredictability, classical pseudo-random number generators, including Linear Feedback Shift Registers (LFSRs) and the Mersenne Twister (MT), are still widely used because they are efficient and easy to implement. This work introduces a user-friendly software platform for generating, analyzing, and evaluating the predictability of pseudo-random bit sequences. The software supports two main functions: generating sequences using classical PRNGs and hybrid combinations, and analyzing input sequences through statistical measures and data-driven methods. In particular, hybrid LFSR-MT structures are studied to examine how they affect sequence complexity and resistance to prediction. The platform also includes machine-learning and deep-learning tools to investigate when deterministic PRNGs may remain partially predictable, even when their structure becomes more complex. The results show that algorithmic random sequence generators have inherent limitations in terms of unpredictability, which supports the use of quantum random sequences in security-critical applications. A comparative study between classical LFSR-MT sequences and quantum random sequences shows that quantum randomness offers higher unpredictability due to its non-deterministic physical origin. The potential use of quantum random sequences in jamming applications is also discussed, highlighting their improved robustness against prediction-based attacks. Overall, the proposed software provides a practical tool for analyzing, comparing, and benchmarking random sequence generators in modern electronic, sensing, and quantum-enabled communication systems.
Abstract Random numbers are critical to information security. Quantum random numbers are theoretically truly random and unpredictable. However, the measurement process of a quantum random number generator (QRNG) can be affected by environmental disturbances that compromise the integrity of the generated random numbers. A machine learning model is proposed to assess the stochasticity of the continuous variable QRNG under the influence of vacuum noise. The model is designed to detect the correlation between the randomness of the QRNG being corrupted under the influence of classical noise (electrical noise). In addition, our model detects a decrease in the randomness of the QRNG random numbers when the electrical noise intensity increases to a certain correlation. The results show that machine learning (ML) can be used as a measure of the quality of QRNG.