Independent physics publication and study library. Read the editorial policy and explore the journal.

Quantum Random Number Generators

A quantum random number generator (QRNG) produces genuinely unpredictable numbers by measuring a quantum system. Unlike software "pseudo-random" generators, which follow a deterministic formula and only appear random, a QRNG draws its randomness from the fundamental indeterminacy of quantum mechanics.

Why quantum randomness is different

In classical physics, an outcome that looks random — a coin toss, a dice roll — is really determined by initial conditions we simply do not know precisely. Quantum measurement is different. When a system in a superposition is measured, the result is, as far as all evidence shows, irreducibly random: not even complete knowledge of the system can predict which outcome occurs. This makes quantum processes an ideal source of true randomness.

How QRNGs are built

A simple design sends single photons onto a half-silvered mirror (a beam splitter). Each photon has a 50/50 chance of being transmitted or reflected, and a detector on each path records a 0 or a 1. Because the choice is governed by quantum measurement, the resulting bit string is unpredictable. Other practical devices measure the random arrival times of photons, the quantum tunneling current across a junction, or the tiny vacuum fluctuations of an electromagnetic field. Vacuum-fluctuation designs are especially popular because they are fast and can be built with standard optical components.

High-quality QRNGs apply randomness extraction afterward — mathematical post-processing that removes any bias or correlation introduced by imperfect hardware, yielding a uniform, high-entropy output.

Why it matters

Strong randomness is the foundation of secure cryptography. Encryption keys, digital signatures, and secure communication all depend on numbers an attacker cannot guess or reproduce. QRNGs supply randomness whose unpredictability rests on the laws of physics rather than on the secrecy of an algorithm, and "device-independent" versions can even certify their randomness through tests based on Bell's theorem.

A common misconception

A QRNG does not merely produce numbers that are hard to predict — it produces numbers that are impossible to predict in principle, given quantum theory. That is a stronger guarantee than any classical or software generator, whose output is always determined by a hidden internal state or seed.

Related reading