This thesis investigates the use of statistical tests to evaluate randomness in data produced by different sources, with particular attention to quantum computing systems. The study evaluates established test suites (NIST SP 800-22, BoolTest, StringENT, and SAC) on both classical and quantum-generated sequences, assessing their performance and limitations.Results on classical algorithms show a clear dichotomy: modern generators like MT19937 consistently pass all test batteries (p − values > 0.01), whereas PCG32, despite its reputation, exhibited specific failures in the NIST Spectral and Universal tests. Low-quality generators (e.g., cong) exhibit systemic failures, yielding p-values < 10−5 in strict tests such as the NIST tests and BoolTest, while the standard rand() implementation demonstrated unexpected resilience by passing all applied suites. In addition, the thesis examines the sensitivity of these suites using artificially biased sources. The analysis demonstrates that modern testing frameworks can detect deviations as small as 0.003 from the ideal probability of 0.5, rejecting such sequences with overwhelming statistical confidence (p − values < 10−5 across all suites). Regarding quantum random number generators (QRNGs), the work analyses raw data from single-qubit and GHZ-state circuits executed on the ‘Quantum Blue” superconducting processor. While the single-qubit circuit passed the SAC test, it exhibited statistically significant deviations in the BoolTest (p − value ≈ 0.0004) and StringENT. The GHZ-based implementation, heavily influenced by hardware noise and decoherence, failed all applied test suites (p − values < 10−5), highlighting the critical necessity of randomness extraction in raw quantum streams. The results provide quantitative insight into how statistical methods can be applied to quantum data and support the development of validation tools relevant to applications such as quantum cryptography and secure communications.
This thesis investigates the use of statistical tests to evaluate randomness in data produced by different sources, with particular attention to quantum computing systems. The study evaluates established test suites (NIST SP 800-22, BoolTest, StringENT, and SAC) on both classical and quantum-generated sequences, assessing their performance and limitations.Results on classical algorithms show a clear dichotomy: modern generators like MT19937 consistently pass all test batteries (p − values > 0.01), whereas PCG32, despite its reputation, exhibited specific failures in the NIST Spectral and Universal tests. Low-quality generators (e.g., cong) exhibit systemic failures, yielding p-values < 10−5 in strict tests such as the NIST tests and BoolTest, while the standard rand() implementation demonstrated unexpected resilience by passing all applied suites. In addition, the thesis examines the sensitivity of these suites using artificially biased sources. The analysis demonstrates that modern testing frameworks can detect deviations as small as 0.003 from the ideal probability of 0.5, rejecting such sequences with overwhelming statistical confidence (p − values < 10−5 across all suites). Regarding quantum random number generators (QRNGs), the work analyses raw data from single-qubit and GHZ-state circuits executed on the ‘Quantum Blue” superconducting processor. While the single-qubit circuit passed the SAC test, it exhibited statistically significant deviations in the BoolTest (p − value ≈ 0.0004) and StringENT. The GHZ-based implementation, heavily influenced by hardware noise and decoherence, failed all applied test suites (p − values < 10−5), highlighting the critical necessity of randomness extraction in raw quantum streams. The results provide quantitative insight into how statistical methods can be applied to quantum data and support the development of validation tools relevant to applications such as quantum cryptography and secure communications.
From Classical to Quantum: Statistical Testing of Randomness
MATARAZZO, SEBASTIANO
2024/2025
Abstract
This thesis investigates the use of statistical tests to evaluate randomness in data produced by different sources, with particular attention to quantum computing systems. The study evaluates established test suites (NIST SP 800-22, BoolTest, StringENT, and SAC) on both classical and quantum-generated sequences, assessing their performance and limitations.Results on classical algorithms show a clear dichotomy: modern generators like MT19937 consistently pass all test batteries (p − values > 0.01), whereas PCG32, despite its reputation, exhibited specific failures in the NIST Spectral and Universal tests. Low-quality generators (e.g., cong) exhibit systemic failures, yielding p-values < 10−5 in strict tests such as the NIST tests and BoolTest, while the standard rand() implementation demonstrated unexpected resilience by passing all applied suites. In addition, the thesis examines the sensitivity of these suites using artificially biased sources. The analysis demonstrates that modern testing frameworks can detect deviations as small as 0.003 from the ideal probability of 0.5, rejecting such sequences with overwhelming statistical confidence (p − values < 10−5 across all suites). Regarding quantum random number generators (QRNGs), the work analyses raw data from single-qubit and GHZ-state circuits executed on the ‘Quantum Blue” superconducting processor. While the single-qubit circuit passed the SAC test, it exhibited statistically significant deviations in the BoolTest (p − value ≈ 0.0004) and StringENT. The GHZ-based implementation, heavily influenced by hardware noise and decoherence, failed all applied test suites (p − values < 10−5), highlighting the critical necessity of randomness extraction in raw quantum streams. The results provide quantitative insight into how statistical methods can be applied to quantum data and support the development of validation tools relevant to applications such as quantum cryptography and secure communications.| File | Dimensione | Formato | |
|---|---|---|---|
|
Matarazzo_Sebastiano_Master_Thesis.pdf
accesso aperto
Dimensione
1.09 MB
Formato
Adobe PDF
|
1.09 MB | Adobe PDF | Visualizza/Apri |
The text of this website © Università degli studi di Padova. Full Text are published under a non-exclusive license. Metadata are under a CC0 License
https://hdl.handle.net/20.500.12608/102149