A Study of Gate-Based and Boson Sampling Quantum Random Number Generation on IBM and Xanadu Quantum Devices

Abstract

Quantum mechanics offers a fundamentally unpredictable entropy source due to the intrinsic probabilistic nature of quantum measurements, making it attractive for secure random number generation. This paper explores the practicality of generating random numbers from two quantum platforms: gate-based circuits on IBM Quantum and (Gaussian) boson sampling with Xanadu Borealis. We implement simple post-processing methods, including the classic Von Neumann extractor and two tailored variants designed to address the correlated structure of boson sampling outputs. We evaluate debiased output from real quantum hardware using the NIST SP800-22r1a test suite and measure the extraction efficiency of each debiasing method. Results show that, while unbiased bitstreams can be achieved on both platforms, throughput remains low and cost per random bit is high compared to specialized QRNG devices.

Publication
arXiv
Mohamed Messaoud Louamri
Mohamed Messaoud Louamri
Ph.D student in Theoretical Physics

PhD student in Theoretical Physics and member of CQTech working on Quantum Simulation and on Optimization Problems.

Nacer Eddine Belaloui
Nacer Eddine Belaloui
Ph.D student in Theoretical Physics

PhD student in Theoretical Physics. Working within CQTech on Variational Quantum Algorithms.

Abdellah Tounsi
Abdellah Tounsi
Ph.D student in Theoretical Physics

PhD student in mathematical physics at LPMPS. Working on topological quantum computing.

Mohamed Taha Rouabah
Mohamed Taha Rouabah
Associate Professor of Physics

ARISE Fellow, Principal Investigator at Constantine Quantum Technologies, Associate Professor at University of Constantine 1 (Algeria).