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

Applied Sciences

Statistical Validation of a Physical Prime Random Number Generator Based on Quantum Noise

Maurício Jonas Ferreira, Nuno A. Silva, Armando N. Pinto, Nelson Jesus Muga

Published Nov 23, 2023• 5 citations
Publisher

Abstract

Random prime numbers are an essential resource for many asymmetric cryptographic protocols. However, despite the emerging popularity of quantum random number generators (QRNGs) as sources of secure randomness, physical prime number generators have not yet been explored. In this work, we experimentally implement and characterize a vacuum-based probabilistic prime number generation scheme with an error probability of 3.5×10−15. By removing the quantum source (QS), an additional scheme based on electronic noise is derived, and a comparative analysis for increasing prime lengths is made. We observed that the QS significantly outperforms the classical scheme for small prime generation, where increases up to 585.0% in the diversity of unique primes obtained are seen. Moreover, we propose a length-agnostic statistical test for prime number sequences and apply it to the output of the uniformized randomness source, which was successful in revealing underlying biases in the output prime distributions. The resultant sequences were subsequently submitted to the NIST statistical test suite, where the quantum and classical sources passed, respectively, 86.96% and 45.34% of the total test set applied.

DOI
10.3390/app132312619

Related papers

Machine Learning Validation of a Physical Prime Random Number Generator

Maurício Jonas Ferreira, Nuno A. Silva, Armando N. Pinto +1 more

Random prime number generation is crucial for the implementation of several encryption and signature protocols in cryptographic applications. Recently, Quantum Random Number Generators (QRNGs) have emerged as a solution to obtain information-theoretically secure randomness, setting them apart from algorithmic generators. Nonetheless, their output is still prone to deterioration under a flawed implementation and thus requires continuous statistical validation. This process is uniquely challenging for prime number generators since they cannot be submitted to the traditional testing suites, which are primarily designed to test uniform pseudorandom sources. Here, we enable direct statistical testing of prime Random Number Generators (RNGs) by extending a validation framework based on an equiprobable binning of the prime distribution with a predictive machine learning model, which can independently learn correlations in the prime output. The validity of this framework is then verified through extensive cryptanalysis of a prime QRNG based on quadrature measurements of the vacuum state. The developed model successfully identifies flawed configurations of the prime QRNG for output lengths up to 128 bits. This assessment was additionally extended to a purely classical scheme derived from electronic noise measurements. Although no increase in the model’s predictive capacity is seen, our testing framework can nonetheless demonstrate that this classical source produces a conclusively biased prime distribution. In turn, the implemented QRNG remains resilient against this type of cryptanalysis.

IEEE Transactions on Information Forensics and Security•Jan 1, 2026•1 citation

Probable Prime Generation from a Quantum Randomness Source

Maurício Jonas Ferreira, André Carvalho, Nuno A. Silva +2 more

Quantum random number generators (QRNGs) are an increasingly popular method to obtain information-theoretically provable random keys for cryptographic applications. Here, we experimentally demonstrate a probable prime generation protocol using a vacuum-based QRNG and compare its output with the one yielded by an electronic noise source. The quantum source significantly outperformed the classical scheme for lengths smaller than 128 bits, with increases of up to 837.1% in the number of unique primes being reported. By mapping the input noise to a uniform distribution, this figure was additionally increased by up to 844.3% and the output statistical distribution for small primes significantly improved.

International Conference on Transparent Optical Networks•Jul 2, 2023•1 citation

Experimental implementation of vacuum-based quantum random number generator for quantum communication and cryptography protocols

Mohamed Faouzi Melalkia, Idris Anis Benkhedda, Bachir Madani

Quantum random number generators represent one of the most promising techniques for producing truly and unique random numbers, essential in many applications such as quantum communication and cryptography protocols. In this work, we report an experimental implementation of vacuum-based quantum random number generator. By measuring the quantum fluctuations of the radiation ground state, a mixture of a perfectly Gaussian distributed random signal—originating from the intrinsic randomness in the quantum measurement— and an undesired classical electronic noise is obtained. Using an adequate post-processing, the undesired classical contribution of the electronic noise is removed to produce final, quasi-uniformly distributed random bit sequences. The high-quality character of the generated random bits is confirmed by applying the statistical tests of the NIST SP 800-22 test battery.

International Conference on Electronics, Energy and Measurement (IC2EM)•May 6, 2025•0 citations

Vacuum fluctuation quantum random number generator assessed by AIS 20/31-compliant health tests

Mehrzad Firoozi, Bhuvnesh Narayanan, Evangelos Gkoumas +3 more

Quantum random number generators (QRNGs) utilize indeterministic quantum phenomena to produce true randomness, which is essential for cryptographic and scientific applications. Homodyne measurement of the vacuum state is a promising technique for generating quantum randomness. We present a QRNG based on this method and implement AIS 20/31-compliant health tests, applying them to the physical noise source during QRNG operation and to the post-processed random numbers offline. These tests provide stricter oversight compared to the noise source health tests specified in NIST SP 800-90B, which can only be applied to unbiased and statistically independent random numbers. Our implementation includes a conservative security analysis that considers quantum and classical side information, measurement correlations, and digitization imperfections, resulting in a reliable min-entropy of 9.5 bits. Following extensive evaluation, we demonstrate a real-time random number generation rate of 8,84 Gbit/s after algorithmic postprocessing and 4.14 Gbit/s after cryptographic postprocessing , confirming the practical viability of this high-speed quantum randomness generation approach.

SPIE Quantum Technologies•May 28, 2026•0 citations

Characterization of a Quantum Random Number Generator Based on Vacuum Fluctuations

Maurício Jonas Ferreira, Nuno A. Silva, Armando N. Pinto +1 more

Quantum random number generators (QRNGs) are currently in high demand across a large number of cryptographic applications as secure sources of true randomness. In this work, we characterize the conditions from which randomness can be extracted in a QRNG based on homodyne measurements of vacuum fluctuations by assessing the impact of experimental limitations, such as the digitizer resolution or the presence of excess local oscillator (LO) noise due to an unbalanced detection. Moreover, we propose an estimation method to quantify the excess entropy contribution introduced by an unbalanced detection and analyze the implementation of the post-processing algorithm. Finally, we submitted the generated numbers to a set of statistical tests to assess the quality of its output randomness and verified that it passes the standard libraries.

Applied Sciences•Aug 12, 2021•18 citations

Long-Term Test of a Fast and Compact Quantum Random Number Generator

Davide Giacomo Marangon, Alan Plews, Marco Lucamarini +4 more

Random numbers are an essential resource to many applications, including cryptography and Monte Carlo simulations. Quantum random number generators (QRNGs) represent the ultimate source of randomness, as the numbers are obtained by sampling a physical quantum process that is intrinsically probabilistic. However, they are yet to be widely employed to replace deterministic pseudo random number generators (PRNG) for practical applications. QRNGs are regarded as interesting devices. However, they are slower than PRNGs for simulations and are typically seen as clumsy laboratory prototypes, prone to failures, and unreliable for cryptographic applications. Here, we overcome these limitations and demonstrate a compact and self-contained QRNG capable of generating random numbers at a pace of 8 Gbit/s uninterruptedly for 71 days. During this period, the physical parameters of the quantum process were monitored in real time by self-checking functions implemented in the generator itself. At the same time, the output random numbers were analyzed with the most stringent suites of statistical tests. The analysis shows that the QRNG under test sustained the continuous operation without physical instabilities or hardware failures. At the same time, the output random numbers were analyzed with the most stringent suites of statistical tests, which were passed during the whole operation time. This extensive trial demonstrates the reliability of a robustly designed QRNG and paves the way to its use in practical applications based on randomness.

arXiv:1807.03989•Journal of Lightwave Technology•May 30, 2018•42 citations
Random prime numbers are an essential resource for many asymmetric cryptographic protocols. However, despite the emerging popularity of quantum random number generators (QRNGs) as sources of secure randomness, physical prime number generators have not yet been explored. In this work, we experimentally implement and characterize a vacuum-based probabilistic prime number generation scheme with an error probability of 3.5×10−15. By removing the quantum source (QS), an additional scheme based on electronic noise is derived, and a comparative analysis for increasing prime lengths is made. We observed that the QS significantly outperforms the classical scheme for small prime generation, where increases up to 585.0% in the diversity of unique primes obtained are seen. Moreover, we propose a length-agnostic statistical test for prime number sequences and apply it to the output of the uniformized randomness source, which was successful in revealing underlying biases in the output prime distributions. The resultant sequences were subsequently submitted to the NIST statistical test suite, where the quantum and classical sources passed, respectively, 86.96% and 45.34% of the total test set applied.
Random prime number generation is crucial for the implementation of several encryption and signature protocols in cryptographic applications. Recently, Quantum Random Number Generators (QRNGs) have emerged as a solution to obtain information-theoretically secure randomness, setting them apart from algorithmic generators. Nonetheless, their output is still prone to deterioration under a flawed implementation and thus requires continuous statistical validation. This process is uniquely challenging for prime number generators since they cannot be submitted to the traditional testing suites, which are primarily designed to test uniform pseudorandom sources. Here, we enable direct statistical testing of prime Random Number Generators (RNGs) by extending a validation framework based on an equiprobable binning of the prime distribution with a predictive machine learning model, which can independently learn correlations in the prime output. The validity of this framework is then verified through extensive cryptanalysis of a prime QRNG based on quadrature measurements of the vacuum state. The developed model successfully identifies flawed configurations of the prime QRNG for output lengths up to 128 bits. This assessment was additionally extended to a purely classical scheme derived from electronic noise measurements. Although no increase in the model’s predictive capacity is seen, our testing framework can nonetheless demonstrate that this classical source produces a conclusively biased prime distribution. In turn, the implemented QRNG remains resilient against this type of cryptanalysis.
Quantum random number generators (QRNGs) are an increasingly popular method to obtain information-theoretically provable random keys for cryptographic applications. Here, we experimentally demonstrate a probable prime generation protocol using a vacuum-based QRNG and compare its output with the one yielded by an electronic noise source. The quantum source significantly outperformed the classical scheme for lengths smaller than 128 bits, with increases of up to 837.1% in the number of unique primes being reported. By mapping the input noise to a uniform distribution, this figure was additionally increased by up to 844.3% and the output statistical distribution for small primes significantly improved.
Quantum random number generators represent one of the most promising techniques for producing truly and unique random numbers, essential in many applications such as quantum communication and cryptography protocols. In this work, we report an experimental implementation of vacuum-based quantum random number generator. By measuring the quantum fluctuations of the radiation ground state, a mixture of a perfectly Gaussian distributed random signal—originating from the intrinsic randomness in the quantum measurement— and an undesired classical electronic noise is obtained. Using an adequate post-processing, the undesired classical contribution of the electronic noise is removed to produce final, quasi-uniformly distributed random bit sequences. The high-quality character of the generated random bits is confirmed by applying the statistical tests of the NIST SP 800-22 test battery.
Quantum random number generators (QRNGs) utilize indeterministic quantum phenomena to produce true randomness, which is essential for cryptographic and scientific applications. Homodyne measurement of the vacuum state is a promising technique for generating quantum randomness. We present a QRNG based on this method and implement AIS 20/31-compliant health tests, applying them to the physical noise source during QRNG operation and to the post-processed random numbers offline. These tests provide stricter oversight compared to the noise source health tests specified in NIST SP 800-90B, which can only be applied to unbiased and statistically independent random numbers. Our implementation includes a conservative security analysis that considers quantum and classical side information, measurement correlations, and digitization imperfections, resulting in a reliable min-entropy of 9.5 bits. Following extensive evaluation, we demonstrate a real-time random number generation rate of 8,84 Gbit/s after algorithmic postprocessing and 4.14 Gbit/s after cryptographic postprocessing , confirming the practical viability of this high-speed quantum randomness generation approach.
Quantum random number generators (QRNGs) are currently in high demand across a large number of cryptographic applications as secure sources of true randomness. In this work, we characterize the conditions from which randomness can be extracted in a QRNG based on homodyne measurements of vacuum fluctuations by assessing the impact of experimental limitations, such as the digitizer resolution or the presence of excess local oscillator (LO) noise due to an unbalanced detection. Moreover, we propose an estimation method to quantify the excess entropy contribution introduced by an unbalanced detection and analyze the implementation of the post-processing algorithm. Finally, we submitted the generated numbers to a set of statistical tests to assess the quality of its output randomness and verified that it passes the standard libraries.
Random numbers are an essential resource to many applications, including cryptography and Monte Carlo simulations. Quantum random number generators (QRNGs) represent the ultimate source of randomness, as the numbers are obtained by sampling a physical quantum process that is intrinsically probabilistic. However, they are yet to be widely employed to replace deterministic pseudo random number generators (PRNG) for practical applications. QRNGs are regarded as interesting devices. However, they are slower than PRNGs for simulations and are typically seen as clumsy laboratory prototypes, prone to failures, and unreliable for cryptographic applications. Here, we overcome these limitations and demonstrate a compact and self-contained QRNG capable of generating random numbers at a pace of 8 Gbit/s uninterruptedly for 71 days. During this period, the physical parameters of the quantum process were monitored in real time by self-checking functions implemented in the generator itself. At the same time, the output random numbers were analyzed with the most stringent suites of statistical tests. The analysis shows that the QRNG under test sustained the continuous operation without physical instabilities or hardware failures. At the same time, the output random numbers were analyzed with the most stringent suites of statistical tests, which were passed during the whole operation time. This extensive trial demonstrates the reliability of a robustly designed QRNG and paves the way to its use in practical applications based on randomness.