ETH Zurich turns biased random bits into certified random ones

Every real random-number generator is slightly imperfect: the next bit can be guessed a little better than half the time, and no amount of ordinary computer processing can remove that bias if it drifts. A team at ETH Zurich has now shown, in an experiment, how quantum physics can. Starting from bits that are only nearly random, they used entangled superconducting qubits in two refrigerators 30 metres apart to produce 45 million bits whose randomness is certified by the laws of physics, without trusting how the quantum hardware works inside. Because this task, randomness amplification, has been proven impossible by classical means, the authors call it "a definitive quantum advantage". The paper was published in Nature on 27 May 2026.

In short

Why is almost-random data a problem?

Cryptographic keys are only as safe as the randomness they are made from. The paper recalls studies of public RSA keys in which a share of the private keys could be reconstructed because the randomness behind them was partly predictable. Testing a bit string cannot prove it unpredictable: the authors give the example of a published book of random digits, which passes statistical tests and is useless as a secret.

The deeper problem was proved in a classic result by Santha and Vazirani: if a source's bias can change depending on earlier bits, no classical post-processing can turn it into a perfect source. The output can never be less biased than the input.

How can quantum physics fix biased random bits?

The trick uses a Bell test. Two entangled qubits are measured at separate stations, each in a direction chosen by a random input bit. If the results are correlated more strongly than any pre-set "hidden" values could allow, then no one, even someone who built the devices, could have predicted the outcomes.

A Bell test normally needs perfectly random choices of measurement. The team used a version (a "measurement-dependent locality" inequality) that still works when the choices come from the imperfect source. Its violation certifies that the measurement results are unpredictable and only weakly linked to the input bits. A two-source extractor, a tool from computer science, then combines those results with fresh input bits to produce perfectly random output. If the Bell test fails, the protocol stops and produces nothing.

Diagram: imperfect random bit strings X and Y feed two linked black boxes, whose outputs A and B go with a third imperfect string Z into an extractor that outputs a perfectly random string K

The protocol. Imperfect random bits X and Y choose the measurements on two entangled devices; their outputs A and B, plus more imperfect bits Z, go into an extractor that outputs perfectly random bits K. Kulikov et al., Nature (2026), Fig. 1, CC BY 4.0.

What to notice: The two boxes are treated as black boxes: the guarantee comes from the statistics of A and B, not from trusting what is inside.

The hardware

Each station holds a superconducting transmon qubit at about 15 millikelvin in its own dilution refrigerator; the two are joined by a 30-metre cryogenic link carrying a microwave waveguide. Each trial resets both qubits, entangles them by passing a single microwave photon, picks a measurement setting from a fresh random bit at each end, and reads the qubit out in 50 nanoseconds with about 98% fidelity.

The distance matters. To close the locality loophole, no signal travelling at light speed may carry one station's setting to the other before its measurement ends. The paper gives 33 metres between a trial's start and end events at the two stations; light takes about 110 nanoseconds to cover that (our arithmetic), and the figure below shows each trial fitting inside that window. The team also kept every trial (closing the fair-sampling loophole) and did not assume trials were independent (the memory loophole).

Left: two cryostats A and B joined by a 30 m link, 33 m between the random-number input and the readout. Middle: a spacetime diagram of one trial lasting about 100 ns. Right: memory, extractor and random output string

Left: the two cryostats joined by the 30 m link. Middle: one trial in time, from the random input bit through basis choice and measurement to the output. Right: the post-processing into the final random string. Kulikov et al., Nature (2026), Fig. 4, CC BY 4.0.

What to notice: Each trial, from input bit to recorded result, is over in about 100 nanoseconds, before light could carry a setting from one cryostat to the other.

The numbers

The authors say the rate is comparable to the US NIST public randomness beacon, and the output passed the NIST and Diehard statistical test suites wherever the string was long enough, which they present as a consistency check, not proof.

What the guarantee rests on

The certificate holds "provided that the bias μ of the input source is below 0.75%". That bias cannot be measured directly; the source's tests are compatible with it. The protocol also relies on the standard assumptions of a loophole-free Bell test, listed in the Supplementary Information, which we have not read. The authors add that better extractors could in future handle sources with any bias below 50%.

Terms in plain English

Where things stand

The team suggests the output could serve as a public randomness source like the NIST beacon, and notes that it produced more randomness than recent device-independent quantum key distribution experiments consume, so the two could be combined for secure communication "even if no perfect randomness is available". The paper was received on 30 June 2025 and appears in Nature 653, 1033-1038; corresponding author is Anatoly Kulikov.

Sources

Sources

Related stories

More from Quantum Quokka

All stories from Quantum Quokka