Submitted:
28 May 2025
Posted:
30 May 2025
You are already at the latest version
Abstract
Keywords:
1. Introduction
2. Quantum Random Bit Generation
3. Experimental Design
3.1. Batch Structure and Bitstream Management
3.2. Streak Continuity Across Batches
- -
- If the streak continued, the counting continued seamlessly.
- -
- If the streak was broken at the boundary, the current batch’s bits were discarded, and the prior batch was invalidated as well.
- -
- Only when a streak was deterministically evaluated across the transition was the batch accepted for statistical processing.
3.3. State Saving and Resumability
- -
- The batch index
- -
- The final bit of the previous batch
- -
- The SHA-256 hash of the bitstream
- -
- Whether the batch passed continuity validation
3.4. Data Integrity and Hash Proofs
4. NIST STS Implementation
5. Results
- Frequency (Monobit) Test: 99 out of 100 sequences passed, with a p-value of 0.595, indicating excellent balance between 0s and 1s.
- Block Frequency Test: Achieved a perfect 100/100 pass rate with a p-value of 0.055.
- Runs Test: Also 99/100, with a p-value of 0.055, confirming natural fluctuation in bit transitions.
- FFT (Discrete Fourier Transform): 100/100 with a p-value of 0.971, suggesting no detectable periodic structures.
- Linear Complexity Test: 99/100 passed with a strong p-value of 0.897.
- Maurer’s Universal Statistical Test: 99/100 sequences passed (p = 0.616), confirming high algorithmic entropy.
- Serial Test (two variants): Both variants passed 98 out of 100 sequences, with p-values of 0.834 and 0.350, respectively.
- Random Excursions (Standard): All subtests passed with at least 52/56 sequences, meeting NIST's minimum of 53.
- Random Excursions Variant: All subtests passed with at least 54 out of 56 sequences.




6. Discussion
7. Future Work
Supplementary Materials
Appendix A. Example Data and Integrity Records
References
- Herrero-Collantes, M., & Garcia-Escartin, J. C. (2017). Quantum random number generators. Reviews of Modern Physics, 89(1), 015004. [CrossRef]
- Killoran, N., et al. (2021). Certified quantum randomness from a quantum computer. arXiv. arXiv:2103.07900.
- Rukhin, A., et al. (2010). A Statistical Test Suite for Random and Pseudorandom Number Generators for Cryptographic Applications. NIST Special Publication 800-22 Revision 1a.
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).