  Quantum random number generation (QRNG) harnesses the intrinsic randomness of
quantum mechanical phenomena. Demonstrations of such processes have, however,
been limited to probabilistic sources, for instance, spontaneous parametric
down-conversion or faint lasers, which cannot be triggered deterministically.
Here, we demonstrate QRNG with a quantum emitter in hexagonal boron nitride; an
emerging solid-state quantum source that can generate single photons on demand
and operates at room temperature. We achieve true random number generation
through the measurement of single photons exiting one of four integrated
photonic waveguides, and subsequently, verify the randomness of the sequences
in accordance with the National Institute of Standards and Technology benchmark
suite. Our results open a new avenue to the fabrication of on-chip
deterministic random number generators and other solid-state-based
quantum-optical devices.
