Learn QRNG
A practical guide to quantum random number generation, entropy, and trustworthy random number sources.
What is a quantum random number generator?
A quantum random number generator, or QRNG, is a hardware system that generates random numbers from a quantum physical process. Unlike software pseudo-random number generators, a QRNG uses physical entropy as its source of unpredictability.
Tap either diagram to enlarge it.
Guess the next number
Two machines hand out numbers, one at a time. One follows a recipe. The other flips a quantum coin. Watch which one you could guess ahead of time.
Machine A — follows a recipe
After a few numbers you can see the loop. Once you know the recipe, you know every number it will ever give — including the ones it has not given yet.
Machine B — flips a quantum coin
There is no recipe to learn. Each number comes from a physical event that has no answer until it happens, so the best anyone can do is a coin-flip guess.
Why this matters
A secret key is just a long string of these numbers. If the numbers came from Machine A, anyone who works out the recipe can rebuild the key. If they came from Machine B, there is no recipe to work out. That is the whole point of a quantum random number generator.
Machine B in this demo uses your browser's secure random numbers. A real QRNG replaces that with a measured physical quantum process.
Why randomness matters for security
Encryption keys, session tokens, authentication challenges, secure communications, and post-quantum cryptography all depend on unpredictable random numbers. If the entropy source is weak, the security system can fail even if the cryptographic algorithm is strong.
Keys and tokens
Cryptographic keys, nonces, and session tokens are only as strong as the randomness used to generate them.
Secure communications
Protocols that establish confidentiality, authenticity, and forward secrecy rely on unpredictable values at every handshake.
Post-quantum readiness
Modern and post-quantum schemes still depend on high-quality entropy to seed key generation and protect long-lived secrets.
How can silicon generate quantum entropy?
Inside silicon, tiny charge events occur unpredictably. A CMOS-native QRNG measures physical fluctuations associated with these charge events, checks that the signal behaves like a valid entropy source, removes classical artifacts, and conditions the measured entropy into cryptographic random bits.
Figure 3 is described in full in the alt text.
- Step 1Physical entropy sourceA quantum process inside silicon that produces unpredictable signals.
- Step 2MeasurementThe signal is read by on-chip electronics.
- Step 3Validation checksContinuous checks confirm the source behaves as a valid entropy source.
- Step 4ConditioningClassical noise and bias are removed so the output is uniform.
- Step 5Random bitsHigh-quality random bits are produced for cryptographic use.
- Step 6Security applicationsKeys, nonces, tokens, secure communications, and more.
This is a public, educational description. It does not describe internal circuit details, device parameters, or extraction thresholds.
CMOS-native, not optics-dependent
Many QRNGs are explained through optical or photonic examples. QRNG.io also explains CMOS-native QRNG: an approach focused on standard silicon electronics, compact hardware, and integration into real systems.
Photonic QRNG remains an important and proven approach. CMOS-native QRNG is a complementary path focused on electronics-native integration.
Electronics-native
Built around standard silicon electronics, so the entropy source lives close to where the random numbers are consumed.
Compact hardware
Suited to evaluation boards, embedded modules, and integration into existing hardware designs.
Integration-oriented
Designed to fit alongside the cryptographic stack, not as a separate optical instrument in a different rack.
Different approaches to quantum entropy
Photonic QRNG is an important and proven approach. CMOS-native QRNG is a complementary path focused on compact hardware, standard silicon electronics, and integration into real systems.
| Approach | Entropy source | Typical implementation | Strengths | Engineering considerations | Best-fit applications |
|---|---|---|---|---|---|
| Photonic QRNG | Optical quantum effects: photon detection, optical shot noise, laser phase noise. | Often uses optical components, packaging, alignment, or photonic integration. | Proven, well-studied, widely deployed in QRNG products today. | Optical packaging, alignment tolerances, and photonic integration complexity. | Datacenter modules, scientific use, established cryptographic infrastructure. |
| Electron-based QRNG Future-facing | Quantum electronic effects used as the underlying entropy source. | Electronics-native, designed for semiconductor and PCB integration. | Compact form factor, embedded suitability, scalable manufacturing potential. | An emerging direction — characterization, certification, and ecosystem maturation are ongoing. | Embedded systems, OEM devices, chip-scale security, scalable deployment. |
"The future of QRNG is not only about generating quantum entropy. It is about making quantum entropy practical, observable, integrable, and deployable."
What makes a QRNG trustworthy?
A trustworthy QRNG is more than a random-looking output. The physical entropy source must be characterized, monitored, and conditioned. Statistical tests on the output alone are not enough — they can detect some failures, but they cannot prove that the underlying physics is sound.
Physical entropy source
The randomness must come from a real physical process, not from software.
Characterization
The source is studied so that its behavior and limits are understood.
Classical noise rejection
Predictable classical contributions are filtered out so only quantum-derived entropy is used.
Health tests
The system continuously checks that the source is still behaving as expected.
Conservative entropy estimation
Estimates of how much entropy is produced should err on the safe side.
Conditioning
Raw entropy is processed into uniform random bits suitable for cryptographic use.
Continuous monitoring
Operation is monitored over time, not only validated once at the factory.
In short: a QRNG should be designed so that randomness is grounded in physics, observable in operation, and conservatively processed before being used by cryptographic systems.
Understand entropy and the standards
Continue with the source, its conservative entropy estimate, and the NIST framework that connects the layers.
- Entropy & Security8 min
What Is an Entropy Source? A Practical Guide to Cryptographic Randomness
Learn what an entropy source is, how physical randomness becomes cryptographic random bits, and how NIST SP 800-90B approaches entropy validation.
Read the article - Entropy & Security7 min
What Is Min-Entropy? Why Worst-Case Unpredictability Matters
Understand min-entropy, why NIST uses it for random number generation, and what it tells engineers about the predictability of an entropy source.
Read the article - Standards & Validation8 min
NIST SP 800-90A vs 800-90B vs 800-90C
Understand how NIST SP 800-90A, 800-90B, and 800-90C fit together across DRBGs, entropy sources, and random-bit-generator constructions.
Read the article
Part of the QRNG.io quantum randomness knowledge hub.