Reuse & Permissions

It is not necessary to obtain permission to reuse this article or its components as it is available under the terms of the Creative Commons Attribution 4.0 International license. This license permits unrestricted use, distribution, and reproduction in any medium, provided attribution to the author(s) and the published article's title, journal citation, and DOI are maintained. Please note that some figures may have been included with permission from other third parties. It is your responsibility to obtain the proper permission from the rights holder directly for these figures.

Export citation

Export citation

Choose format for download:

Download Citation
  • Open Access

On-Chip Semi-Device-Independent Quantum Random Number Generator Exploiting Contextuality

Maddalena Genzini1, Caterina Vigliar1, Mujtaba Zahidy1, Hamid Tebyanian2, Andrzej Gajda3, Klaus Petermann4, Lars Zimmermann3,5, Davide Bacco6,7, and Francesco Da Ros1

PRX Quantum 7, 033022 – Published 4 August, 2026

DOI: https://doi.org/10.1103/62lv-gmsz

Abstract

We present a semi-device-independent quantum random number generator (QRNG) based on the violation of a contextuality inequality, implemented by the integration of two silicon photonic chips. Our system combines a heralded single-photon source with a reconfigurable interferometric mesh to implement qutrit state preparation, transformations, and measurements suitable for testing a KCBS contextuality inequality. This architecture enables the generation of random numbers from the intrinsic randomness of single-photon interference in a complex optical network, while simultaneously allowing a quantitative certification of their security without requiring entanglement. We observe a contextuality violation exceeding the classical bound by more than 10σ, unambiguously confirming non-classical behavior. From this violation, we certify a conditional min-entropy per experimental round of Hmin=0.077±0.002, derived via a tailored semidefinite-programming-based security analysis. Each measurement outcome therefore contains at least 0.077±0.002  bits of extractable genuine randomness, corresponding to an asymptotic generation rate of 21.7±0.5  bits/s. These results establish a viable route toward semi-device-independent quantum random number generators compatible with practical integrated photonic quantum networks.

View figure in article

Physics Subject Headings (PhySH)

Popular Summary

Article Text

Supplemental Material

References (59)

  1. P. L’Ecuyer, Random numbers for simulation, Commun. ACM 33, 85 (1990).
  2. R. L. Harrison, Introduction to Monte Carlo simulation, AIP Conf. Proc. 1204, 17 (2010).
  3. Y. Makovoz, Random approximants and neural networks, J. Approx. Theory 85, 98 (1996).
  4. N. Gisin, G. Ribordy, W. Tittel, and H. Zbinden, Quantum cryptography, Rev. Mod. Phys. 74, 145 (2002).
  5. P. L’Ecuyer, Random Number Generation (Springer, New York, 2012).
  6. L.-Y. Deng, N. Kumar, H. H.-S. Lu, and C.-C. Yang, Random Number Generators for Computer Simulation and Cyber Security: Design, Search, Theory, and Application (Springer Nature, New York, 2025).
  7. M. M. Jacak, P. Jóźwiak, J. Niemczuk, and J. E. Jacak, Quantum generators of random numbers, Sci. Rep. 11, 16108 (2021).
  8. G. Vallone, D. G. Marangon, M. Tomasin, and P. Villoresi, Quantum randomness certified by the uncertainty principle, Phys. Rev. A 90, 052327 (2014).
  9. J. Aldama, S. Sarmiento, I. H. L. Grande, S. Signorini, L. T. Vidarte, and V. Pruneri, Integrated QKD and QRNG photonic technologies, J. Lightwave Technol. 40, 7498 (2022).
  10. Y.-Q. Nie, L. Huang, Y. Liu, F. Payne, J. Zhang, and J.-W. Pan, The generation of 68 Gbps quantum random number by measuring laser phase fluctuations, Rev. Sci. Instrum. 86, 063105 (2015).
  11. C. Gabriel, C. Wittmann, D. Sych, R. Dong, W. Mauerer, U. L. Andersen, C. Marquardt, and G. Leuchs, A generator for unique quantum random numbers based on vacuum states, Nat. Photonics 4, 711 (2010).
  12. S. Pironio, A. Acín, S. Massar, A. B. de La Giroday, D. N. Matsukevich, P. Maunz, S. Olmschenk, D. Hayes, L. Luo, T. A. Manning, and C. Monroe, Random numbers certified by Bell’s theorem, Nature (London) 464, 1021 (2010).
  13. L. K. Shalm, Y. Zhang, J. C. Bienfang, C. Schlager, M. J. Stevens, M. D. Mazurek, C. Abellán, W. Amaya, M. W. Mitchell, M. A. Alhejji et al., Device-independent randomness expansion with entangled photons, Nat. Phys. 17, 452 (2021).
  14. Y. Liu, Q. Zhao, M.-H. Li, J.-Y. Guan, Y. Zhang, B. Bai, W. Zhang, W.-Z. Liu, C. Wu, X. Yuan et al., Device-independent quantum random-number generation, Nature (London) 562, 548 (2018).
  15. S. Gupta, D. Saha, Z.-P. Xu, A. Cabello, and A. S. Majumdar, Quantum contextuality provides communication complexity advantage, Phys. Rev. Lett. 130, 080802 (2023).
  16. M. Um, X. Zhang, J. Zhang, Y. Wang, S. Yangchao, D.-L. Deng, L.-M. Duan, and K. Kim, Experimental certification of random numbers via quantum contextuality, Sci. Rep. 3, 1627 (2013).
  17. T. Gehring, C. Lupo, A. Kordts, D. Solar Nikolic, N. Jain, T. Rydberg, T. B. Pedersen, S. Pirandola, and U. L. Andersen, Homodyne-based quantum random number generator at 2.9 Gbps secure against quantum side-information, Nat. Commun. 12, 605 (2021).
  18. A. Kulikov, S. Storz, J. D. Schär, M. Sandfuchs, R. Wolf, F. Berterottière, C. Hellings, A. Wallraff, and R. Renner, Experimental randomness amplification, Nature (London) 653, 1033 (2026).
  19. G. Jäger, H. Läuchli, B. Scarpellini, and V. Strassen, Die logik nicht gleichzeitig entscheidbarer aussagen, in Ernst Specker Selecta (1990), pp. 175–182.
  20. G. Jäger, H. Läuchli, B. Scarpellini, and V. Strassen, The problem of hidden variables in quantum mechanics, in Ernst Specker Selecta (1990), pp. 235–263.
  21. R. Lapkiewicz, P. Li, C. Schaeff, N. K. Langford, S. Ramelow, M. Wieśniak, and A. Zeilinger, Experimental non-classicality of an indivisible quantum system, Nature (London) 474, 490 (2011).
  22. Y. Meng, D. Saha, M. T. Mikkelsen, C. Henke, Y. Wang, N. Bart, A. Ludwig, A. Cabello, and L. Midolo, Contextuality-based quantum key distribution with deterministic single-photon sources, arXiv:2510.12761.
  23. A. Crespi, M. Bentivegna, I. Pitsios, D. Rusca, D. Poderini, G. Carvacho, V. D’Ambrosio, A. Cabello, F. Sciarrino, and R. Osellame, Single-photon quantum contextuality on a chip, ACS Photonics 4, 2807 (2017).
  24. “See supplemental material at http://link.aps.org/supplemental/10.1103/62lv-gmsz for details on the experimental setup, photonic-circuit implementation, quantum contextuality construction, quantum state tomography, compatibility analysis, randomness extraction, NIST tests, and semi-device-independent security proof.” Includes Refs. [25–30].
  25. D. F. V. James, P. G. Kwiat, W. J. Munro, and A. G. White, Measurement of qubits, Phys. Rev. A 64, 052312 (2001).
  26. S. Brierley, S. Weigert, and I. Bengtsson, All mutually unbiased bases in dimensions two to five, Quant. Inf. Comput. 10, 0803 (2010).
  27. J. Szangolies, M. Kleinmann, and O. Gühne, Tests against noncontextual models with measurement disturbances, Phys. Rev. A 87, 050101 (2013).
  28. M. Zahidy, D. Ribezzo, R. Müller, J. Riebesehl, A. Zavatta, M. Galili, L. K. Oxenløwe, and D. Bacco, Single-photon-based clock analysis and recovery in quantum key distribution, AVS Quantum Sci. 5, 041403 (2023).
  29. E. Barker, L. Bassham, A. Calis, C. Celi, and T. Hall, Random bit generation rbg, https://csrc.nist.gov/projects/random-bitgeneration/documentation-and-software.
  30. W. Hoeffding, Probability inequalities for sums of bounded random variables, J. Am. Stat. Assoc. 58, 13 (1963).
  31. J. B. Spring, P. S. Salter, B. J. Metcalf, P. C. Humphreys, M. Moore, N. Thomas-Peter, M. Barbieri, X.-M. Jin, N. K. Langford, W. S. Kolthammer, M. J. Booth, and I. A. Walmsley, On-chip low loss heralded source of pure single photons, Opt. Express 21, 13522 (2013).
  32. J. W. Silverstone, D. Bonneau, K. Ohira, N. Suzuki, H. Yoshida, N. Iizuka, M. Ezaki, C. M. Natarajan, M. G. Tanner, R. H. Hadfield, V. Zwiller, G. D. Marshall, J. G. Rarity, J. L. O’Brien, and M. G. Thompson, On-chip quantum interference between silicon photon-pair sources, Nat. Photonics 8, 104 (2014).
  33. D. Perez, I. Gasulla, F. J. Fraile, L. Crudgington, D. J. Thomson, A. Z. Khokhar, K. Li, W. Cao, G. Z. Mashanovich, and J. Capmany, Silicon photonics rectangular universal interferometer, Laser Photon. Rev. 11, 1700219 (2017).
  34. S. Paesani, Y. Ding, R. Santagati, L. Chakhmakhchyan, C. Vigliar, K. Rottwitt, L. K. Oxenløwe, J. Wang, M. G. Thompson, and A. Laing, Generation and sampling of quantum states of light in a silicon chip, Nat. Phys. 15, 925 (2019).
  35. J. Wang, S. Paesani, Y. Ding, R. Santagati, P. Skrzypczyk, A. Salavrakos, J. Tura, R. Augusiak, L. Mancinska, D. Bacco et al., Multidimensional quantum entanglement with large-scale integrated optics, Science 360, 285 (2018).
  36. M. Borghi, N. Tagliavacche, F. A. Sabattoli, H. E. Dirani, L. Youssef, C. Petit-Etienne, E. Pargon, J. Sipe, M. Liscidini, C. Sciancalepore, M. Galli, and D. Bajoni, Reconfigurable silicon photonic chip for the generation of frequency-bin-entangled qudits, Phys. Rev. Appl. 19, 064026 (2023).
  37. S. Congia, M. Borghi, E. Brusaschi, F. A. Sabattoli, H. E. Dirani, L. Youssef, E. Pargon, C. Petit-Etienne, C. Sciancalepore, M. Liscidini, J. Rothman, S. Olivier, M. Galli, and D. Bajoni, Generation of hyperentangled photon pairs in the time and frequency domain on a silicon photonic chip, Opt. Lett. 50, 5117 (2025).
  38. M. Kues, C. Reimer, P. Roztocki, L. R. Cortés, S. Sciara, B. Wetzel, Y. Zhang, A. Cino, S. T. Chu, B. E. Little et al., On-chip generation of high-dimensional entangled quantum states and their coherent control, Nature (London) 546, 622 (2017).
  39. C. Bruynsteen, T. Gehring, C. Lupo, J. Bauwelinck, and X. Yin, 100-Gbit/s integrated quantum random number generator based on vacuum fluctuations, PRX Quantum 4, 010330 (2023).
  40. G. Ferranti, F. Raffaelli, D. H. Mahler, P. Sibson, J. E. Kennard, A. Santamato, G. Sinclair, D. Bonneau, M. G. Thompson, and J. C. F. Matthews, An on-chip homodyne detector for measuring quantum states, in 2018 IEEE Photonics Society Summer Topical Meeting Series (SUM) (2018), pp. 139–140.
  41. B. Haylock, D. Peace, F. Lenzini, C. Weedbrook, and M. Lobino, Multiplexed quantum random number generation, Quantum 3, 141 (2019).
  42. Z. Bisadi, F. Acerbi, G. Fontana, N. Zorzi, C. Piemonte, G. Pucker, and L. Pavesi, Compact quantum random number generator with silicon nanocrystals light emitting device coupled to a silicon photomultiplier, Front. Phys. 6, 9 (2018).
  43. T. Giordani, R. Wagner, C. Esposito, A. Camillini, F. Hoch, G. Carvacho, C. Pentangelo, F. Ceccarelli, S. Piacentini, A. Crespi et al., Experimental certification of contextuality, coherence, and dimension in a programmable universal photonic processor, Sci. Adv. 9, eadj4249 (2023).
  44. A. A. Klyachko, M. A. Can, S. Binicioğlu, and A. S. Shumovsky, Simple test for hidden variables in spin-1 systems, Phys. Rev. Lett. 101, 020403 (2008).
  45. European Health and Digital Executive Agency, Quantum communication infrastructure (euroqci).
  46. B. Huttner, R. Alléaume, E. Diamanti, F. Fröwis, P. Grangier, H. Hübel, V. Martin, A. Poppe, J. A. Slater, T. Spiller et al., Long-range QKD without trusted nodes is not possible with current technology, npj Quantum Inf. 8, 108 (2022).
  47. S. Wehner, D. Elkouss, and R. Hanson, Quantum internet: A vision for the road ahead, Science 362, eaam9288 (2018).
  48. J. Carolan, C. Harrold, C. Sparrow, E. Martín-López, N. J. Russell, J. W. Silverstone, P. J. Shadbolt, N. Matsuda, M. Oguma, M. Itoh, G. D. Marshall, M. G. Thompson, J. C. F. Matthews, T. Hashimoto, J. L. O’Brien, and A. Laing, Universal linear optics, Science 349, 711 (2015).
  49. H. Krawczyk, New hash functions for message authentication, in Advances in Cryptology—EUROCRYPT ’95, Edited by L. C. Guillou and J.-J. Quisquater (Springer Berlin Heidelberg, Berlin, Heidelberg, 1995), p. 310.
  50. A. Gajda, L. Zimmermann, M. Jazayerifar, G. Winzer, H. Tian, R. Elschner, T. Richter, C. Schubert, B. Tillack, and K. Petermann, Highly efficient CW parametric conversion at 1550 nm in SOI waveguides by reverse biased p-i-n junction, Opt. Express 20, 13100 (2012).
  51. J. F. Tasker, J. Frazer, G. Ferranti, and J. C. F. Matthews, A Bi-CMOS electronic photonic integrated circuit quantum light detector, Sci. Adv. 10, eadk6890 (2024).
  52. O. Gühne, M. Kleinmann, A. Cabello, J.-A. Larsson, G. Kirchmair, F. Zähringer, R. Gerritsma, and C. F. Roos, Compatibility and noncontextuality for sequential measurements, Phys. Rev. A 81, 022121 (2010).
  53. P. Xue, L. Xiao, G. Ruffolo, A. Mazzari, T. Temistocles, M. T. Cunha, and R. Rabelo, Synchronous observation of bell nonlocality and state-dependent contextuality, Phys. Rev. Lett. 130, 040201 (2023).
  54. Y. Ding, C. Peucheret, H. Ou, and K. Yvind, Fully etched apodized grating coupler on the SOI platform with −0.58  db coupling efficiency, Opt. Lett. 39, 5348 (2014).
  55. H. Wang, H. Yuan, Q. Zeng, L. Zhou, H. Ma, and Z. Yuan, Bright heralded single-photon source with ideal purity based on silicon chip via spontaneous four wave mixing, in CLEO (Optica Publishing Group, 2024), p. AW4H.3.
  56. S. A. Ghoreishi, G. Scala, R. Renner, L. L. Tacca, J. Bouda, S. P. Walborn, and M. Pawłowski, The future of secure communications: Device independence in quantum key distribution, Phys. Rep. 1149, 1 (2025).
  57. M. Kessler and R. Arnon-Friedman, Device-independent randomness amplification and privatization, IEEE J. Sel. Areas Inf. Theory 1, 568 (2020).
  58. R. Colbeck and A. Kent, Private randomness expansion with untrusted devices, J. Phys. A 44, 095305 (2011).
  59. J. R. Rausell-Campo, D. Pérez-López, and J. C. Francoy, Universal unitary transformations on a programmable integrated photonic processor, in 2024 IEEE Photonics Society Summer Topicals Meeting Series (SUM) (IEEE, 2024), pp. 1–2.

Outline

Information

Sign In to Your Journals Account

Filter

Filter

Article Lookup

Enter a citation