Skip to content

Quantum Entropy

QRNG · min-entropy · randomness extraction

Runs a modeled beam-splitter source into real entropy measurements, real von Neumann debiasing, and a real Toeplitz extractor, so you can watch “unpredictable by physics” get engineered into “uniform enough to be a key.”

What is this?

A quantum random number generator gets its unpredictability from physics: in the textbook description, a photon at a beam splitter has not decided which detector it will hit until it is measured. But real hardware is imperfect — one detector is slightly more sensitive, clicks echo into the next time slot, and the raw bits come out lopsided and streaky. This lab is about the gap between random and usable: how to honestly measure how much surprise a stream really contains, and how to concentrate it into fewer, perfectly balanced bits that could actually serve as a key. Not production crypto — a teaching demo.

Where this sits

The real pipeline — and what this lab is not

A deployed randomness stack (NIST SP 800-90C) chains an entropy source through continuous health tests and a conditioner into a deterministic bit generator. This lab is the front half; the siblings own the rest.

Entropy sourcethis lab · modeled QRNG Health teststhis lab · SP 800-90B RCT + APT Conditioning / extractionthis lab · Toeplitz DRBG seedentropy-collapse DRBGdrbg-arena · corrupted-oracle

What this isn’t