In classical computing, true randomness is surprisingly elusive. Algorithms can only generate pseudorandom numbers—sequences that look random but are entirely deterministic functions of an initial seed. Quantum mechanics offers a elegant escape hatch: processes like the superposition collapse of a qubit are fundamentally unpredictable.
However, this quantum solution introduces a profound security dilemma. If you are a classical user interacting with a remote quantum device over the cloud, how do you know the device is actually performing quantum measurements? A malicious provider could easily substitute genuine quantum randomness with a pre-calculated pseudorandom sequence. Because the hardware is a "black box," you cannot simply peer inside to verify its physics.
To solve this, a new paradigm has emerged: certified randomness. The goal is to mathematically guarantee that an untrusted or even adversarial quantum device is producing genuine physical entropy, using only classical verification.
Certification via Computational Hardness
The core intuition behind certifying randomness from an untrusted device is to create a game that is easy for a quantum computer to play, but exponentially difficult for a classical computer to fake. If the device wins the game, it must have utilized quantum mechanics—and by extension, generated true entropy.
Scott Aaronson and Shih-Han Hung formalized this approach in Certified Randomness from Quantum Supremacy. In their protocol, a classical verifier challenges a quantum device with a series of hard, random quantum circuits. The device executes these circuits and returns bitstring samples. Because simulating these distributions classically requires exponential computational effort, passing the verifier's statistical benchmarks serves as a physical certificate. A deterministic classical simulator simply cannot generate the correct outputs in a reasonable timeframe, proving that the device must be sampling from a true quantum probability distribution.
[ Classical Verifier ] ---( Hard Quantum Circuit )---> [ Untrusted Quantum Device ]
[ ] <---( Bitstring Samples )------ [ ]
|
(Statistical Test) ---> Success = Certified Entropy
This theoretical framework has rapidly transitioned into physical reality. Minzhao Liu et al. successfully demonstrated this protocol using a trapped-ion quantum processor in Certified randomness using a trapped-ion quantum processor. By pairing the quantum hardware with exascale classical verification systems, the authors proved that a client can reliably score and verify the authenticity of quantum-derived bits from an untrusted server.
While random circuit sampling requires massive classical computing power to verify, alternative protocols ease this burden. As highlighted by Omar Amer et al. in Applications of certified randomness, verifiers can leverage post-quantum cryptographic primitives, such as the Learning with Errors (LWE) problem. These mathematical traps allow a classical user to verify quantum randomness in polynomial time, removing the need for exascale classical simulation while maintaining strict security boundaries.
Randomness Expansion and Spot-Checking
A subtle paradox arises in these protocols: the classical verifier must use a small amount of true randomness to generate the challenge circuits or measurement settings in the first place. If we consume randomness to create randomness, are we actually winning?
The solution is randomness expansion, where a short, high-entropy seed is magnified into a significantly longer, certifiably random bitstring. To do this efficiently without consuming more randomness than is generated, researchers use a strategy called "spot-checking."
In Experimental Realization of Device-Independent Quantum Randomness Expansion, Xingjian Zhang et al. implemented a protocol based on Bell inequality tests. If a verifier changes the measurement settings for every single trial, the input seed is rapidly depleted. The authors bypassed this by keeping the measurement settings fixed for the vast majority of trials, using these rounds purely to accumulate raw output bits. Only occasionally—and unpredictably—does the protocol execute a "spot-check" by drawing from the input seed to change settings and test for quantum non-locality. Because the untrusted device cannot predict when a spot-check will occur, it is forced to behave honestly throughout the entire run, yielding a massive net expansion of entropy.
Neutralizing Quantum Adversaries
A final, critical hurdle in randomness certification is the threat of an adversary equipped with quantum capabilities. If a malicious hardware provider or an eavesdropper shares quantum entanglement with the randomness-generating device, they might exploit non-local correlations to predict the outputs, rendering the "certified" bits useless to the end user.
To guarantee security in these adversarial environments, the underlying mathematical tools must be "quantum-proof." Roy Kasher addressed this foundational challenge in Two-Source Extractors Secure Against Quantum Adversaries (and its preceding work Two-Source Extractors Secure Against Quantum Adversaries). Randomness extractors are functions that distill pure, uniform random bits from weak, imperfect entropy sources. Kasher demonstrated that classical inner-product-based two-source extractors maintain their strict security guarantees even when an adversary possesses quantum memory or shares entanglement between the sources. This proof ensures that the fundamental independence required for secure extraction cannot be subtly undermined by quantum side information.
This resilience to adversarial quantum control also extends to communication networks. For instance, Qin Liao et al. analyzed a quantum key distribution scenario in Gaussian-modulated continuous-variable quantum key distribution based on untrusted entanglement source. The authors demonstrated that even if an adversary completely controls the physical source of quantum entanglement—effectively placing it outside the user's secure zone—a secure, unpredictable cryptographic key can still be extracted, provided the transmission noise and distance remain within well-defined operational bounds.
By combining the physical unpredictability of quantum mechanics with computational hardness and quantum-proof extraction, certified randomness transforms quantum hardware from a black box requiring blind trust into a self-demonstrating engine of pure entropy.
Key Foundational Work
Two-Source Extractors Secure Against Quantum Adversaries (2012) — contributed 2 concept elements to this direction.
Two-Source Extractors Secure Against Quantum Adversaries (2010) — contributed 1 concept elements to this direction.