In classical cryptography, generating pure, unpredictable randomness is a foundational requirement. Real-world physical sources, however, are rarely perfect; they produce "weak" randomness containing biases and correlations. To fix this, we use randomness extractors—mathematical functions that distill a short string of nearly perfect, uniform random bits from an imperfect, high-entropy source.
Traditionally, security proofs for these extractors assume that any information an adversary possesses about the source is purely classical. But what happens if the adversary is equipped with a quantum computer and can store correlations in a quantum memory?
A growing body of research reveals that classical security guarantees completely break down in the presence of quantum side information. Ensuring security in a quantum world requires rethinking how we measure entropy and design extraction protocols.
Why Quantum Side Information Breaks Classical Intuition
To understand why classical extractors fail against quantum adversaries, we must look at how information is stored and exploited.
Classically, if an adversary holds side information $E$ about a random source $X$, that information is static. The adversary's uncertainty about the source is measured by conditional min-entropy, $H_{\min}(X|E)$, which dictates exactly how many secure bits can be extracted. Once the extractor processes $X$, the adversary's classical data cannot suddenly become more correlated with the output.
Quantum side information changes the rules because of entanglement and superposition. An adversary can store a quantum state $\rho_E$ that is entangled with the system generating the source $X$. Crucially, the adversary does not have to measure their quantum memory right away. They can wait until after the randomness extractor has processed the source and the output has been used. Armed with the knowledge of the specific extractor construction, the adversary can perform an adaptive, optimized quantum measurement on their memory $\rho_E$ to retroactively reconstruct or predict the extracted bits.
This fundamental difference creates a dramatic gap between classical and quantum security. Raz et al. formally demonstrated this gap by proving an exponential separation in one-way communication complexity. They constructed a strong randomness extractor that is perfectly secure against classical adversaries but becomes completely compromised if the adversary possesses even a modest amount of quantum side information.
Classical Adversary:
[Weak Source X] ----> [Extractor] ----> [Uniform Bits]
|
[Classical Data E] (Static correlation, bounded predictive power)
Quantum Adversary:
[Weak Source X] ----> [Extractor] ----> [Uniform Bits]
| |
[Quantum Memory E] --(Adaptive Measurement) <--+ (Exploits post-extraction knowledge)
Quantifying Quantum Entropy: The Leftover Hash Lemma
To fix this vulnerability, theorists had to rebuild the mathematical foundations of randomness extraction from a quantum perspective. The standard tool for classical extraction is the Leftover Hash Lemma, which guarantees that universal hash functions can extract high-quality randomness.
Tomamichel et al. successfully generalized the Leftover Hash Lemma to remain valid against quantum side information. The key to their approach was replacing classical entropy metrics with smooth min-entropy evaluated over quantum states. Smooth min-entropy acts as a robust, noise-tolerant measure of the fundamental uncertainty remaining in a quantum system. By utilizing this framework, the authors provided a tight bound on exactly how many secure bits can be extracted when an adversary holds correlated quantum states, providing a vital mathematical guarantee for protocols like quantum key distribution (QKD).
Two-Source Extraction and Non-Local Correlations
Another prominent paradigm is two-source extraction, where an extractor combines two completely independent, weak random sources to produce pure random bits without needing a truly random seed.
In a quantum setting, this raises a difficult question: if an adversary shares quantum entanglement across the devices generating the two sources, are the sources truly independent? As Kasher noted, the presence of quantum memory allows an adversary to exploit non-local correlations to predict outputs, meaning many high-efficiency classical two-source extractors lack formal security in the quantum regime.
Fortunately, specific mathematical structures can withstand these non-local threats. Kasher proved that the classic "inner product" construction remains a robust two-source extractor even when faced with adversaries sharing quantum entanglement. Because the inner product inherently breaks down the types of correlations that quantum states can maintain, it prevents the adversary from leveraging their shared entanglement to gain a predictive advantage.
From Theory to Physical Realization
Designing quantum-resistant extractors is not merely a theoretical exercise; it is a practical necessity for modern quantum hardware, such as Quantum Random Number Generators (QRNGs). Physical QRNGs often suffer from classical environmental noise or device imperfections, meaning their raw output must be post-processed in real time to guarantee true cryptographic randomness.
To bridge this gap, Li et al. developed real-time, seedless post-processing methods specifically designed to handle quantum adversaries. By modeling QRNG outputs as structured block sources and applying quantum-secure two-source extraction techniques, they demonstrated that high-speed, real-time extraction can be achieved without sacrificing security against quantum eavesdroppers.
On the experimental frontier, this framework enables device-independent quantum randomness expansion. In this setup, users do not even need to trust the internal workings of their quantum devices. Zhang et al. realized this experimentally by leveraging high-efficiency photonic entanglement and a spot-checking protocol. By using a quantum-secure extractor robust against any external quantum side information, they successfully generated over 100 million more random bits than they initially consumed, turning quantum mechanics into a self-certifying entropy magnifier.
Ultimately, this paradigm extends beyond randomness generation to the broader ecosystem of quantum-resistant cryptography. As Hallgren et al. demonstrated in the context of secure two-party computation, classical cryptographic reductions frequently fail when simulation attempts disrupt the delicate entanglement between a malicious party's internal state and an external reference system. By understanding and accounting for quantum side information, computer scientists can design primitives that remain unshakeable, whether the adversary attacks with classical algorithms or entangled quantum states.
Key Foundational Work
Two-Source Extractors Secure Against Quantum Adversaries (2010) — contributed 3 concept elements to this direction.
Exponential separations for one-way quantum communication complexity, with applications to cryptography (2007) — contributed 1 concept elements to this direction.