Why this matters
Entropy estimation is only meaningful relative to assumptions about the source. Two datasets can contain the same symbols and have similar histograms while differing dramatically in predictability if one contains temporal structure.
For example, a stream can be perfectly balanced between zeros and ones but alternate deterministically. A frequency count looks ideal, while the next bit is trivial to predict after observing the previous one.
IID is therefore not shorthand for “the histogram looks uniform.” It is a model about both distribution and independence.
Independent
Independence means that knowing earlier samples does not change the modeled probability distribution of the next sample.
Real physical sources may contain memory, bandwidth limits, oversampling, filtering effects, environmental coupling or acquisition-chain correlation. Those effects can create dependence even when the marginal distribution looks healthy.
Identically distributed
Identically distributed means the distribution is stable across samples under the model.
A source that drifts with temperature, startup state, supply conditions or aging may not fit that assumption across all relevant conditions.
Why an IID claim is attractive
When a source is genuinely IID, the mathematical model can be simpler and the resulting entropy assessment may be less conservative.
That creates a dangerous incentive to “choose IID” because the result looks better. The assumption must come from source evidence, not the desired entropy number.
NIST's EntropyAssessment repository explicitly notes that most commonly used entropy sources are not IID and that additional justification is necessary to support an IID claim.
What the non-IID path does differently
The non-IID path applies estimators intended to capture different forms of predictability in data without assuming full independence. The conservative result is driven by the most limiting applicable estimate rather than by a single pleasant-looking statistic.
This does not mean non-IID data is automatically bad. Many useful physical entropy sources are not IID. The point is to account for structure rather than ignoring it.
IID is not a property proven by one chart
A distribution plot, autocorrelation chart or generic test suite can provide evidence. None of those alone converts a physical source into an IID process.
A defensible IID claim considers:
- the physics of the source;
- measurement bandwidth and sampling strategy;
- analog and digital filtering;
- dependence introduced by post-processing;
- behavior across operating conditions;
- statistical evidence;
- restart behavior.
Relationship to restart testing
IID/non-IID analysis of sequential data and restart analysis answer different questions.
Sequential data characterizes the stream during operation. Restart data examines repeated initialization behavior. A source can look relatively well behaved during one long acquisition but show repeated startup patterns across many restarts.
That is why the complete assessment should not treat a long continuous file as a substitute for properly collected restart data.
How this applies to QRNG
A quantum process may be fundamentally unpredictable while the measured digital sequence still contains classical dependence.
Examples include detector dead time, analog bandwidth, sampling electronics, digital filtering, environmental coupling or post-processing state. A QRNG evaluation therefore needs to distinguish the underlying quantum claim from the statistical model of the digitized samples.
“Quantum” does not automatically imply IID.
Practical default
For a preliminary engineering assessment, the conservative default is:
- retain raw samples before conditioning where possible;
- do not assume IID without justification;
- run the non-IID assessment first;
- treat IID as an advanced claim requiring evidence;
- collect restart data separately when evaluating restart behavior.
This is why QRNG.io's local assessment kit should present Non-IID as the recommended first workflow and put IID behind an advanced explanation.
What a result does not prove
Even a strong entropy estimate under a chosen track does not establish that:
- the physical model is correct;
- the source is quantum;
- the device has been evaluated across all operating conditions;
- health tests are sufficient;
- conditioning is implemented correctly;
- a formal validation certificate exists.
The statistical track is one part of a larger assurance case.
Sources and further reading
Primary sources
- NISTFinal2018-01SP 800-90B: Recommendation for the Entropy Sources Used for Random Bit Generation
NIST lists identified errata to be corrected in a future update/revision.
- NIST CMVPCurrent2026Entropy Validation Server
States that the server runs the entropy assessment tool but additional documentation is required for validation.
- NISTMaintained open-source implementation2026SP800-90B EntropyAssessment reference implementation
The repository says most commonly used entropy sources are not IID and provides separate IID/non-IID workflows.
Part of the QRNG.io quantum randomness knowledge hub.