In a recent breakthrough, Yamakawa and Zhandry (J. ACM 2024) constructed a proof of quantumness in the quantum random oracle model (QROM) in which the quantum prover samples a codeword preimage of a publicly computable function H. They conjectured that given any H, a successful prover must sample their preimage from a high-entropy distribution over possible answers. If true, this would give a certifiable randomness protocol in the quantum random oracle model. As partial evidence for their conjecture, Yamakawa and Zhandry proved the security of their certifiable randomness protocol assuming the Aaronson-Ambainis conjecture.
We prove the security of the certifiable randomness protocol of Yamakawa-Zhandry unconditionally, without relying on the unproven Aaronson-Ambainis conjecture, against low query-depth quantum adversaries: specifically, adversaries that make up to o(logλ) adaptive quantum queries to the random oracle.
*NTT Research and University of Illinois Urbana-Champaign. Email: dakshita@illinois.edu
Randomness is a fundamental resource in cryptography and computing, yet generating certifiably random outputs remains a significant challenge. Classical computers cannot produce such randomness on their own, since any deterministic process is in principle predictable. Quantum mechanics offers a potential solution: the inherent probabilism of quantum measurement suggests that quantum devices could generate outputs that are information-theoretically random. But how can a classical verifier trust that a quantum prover is genuinely exploiting quantum randomness, rather than outputting a biased or pre-determined answer?
The landscape of certified randomness. The device-independent approach, pioneered by Colbeck [Col06], Pironio et al. [PAM +10], and Vazirani-Vidick [VV12], achieves certified randomness by exploiting Bell inequality violations: if a pair of non-communicating quantum devices produces correlations that violate a Bell inequality, the outputs must contain genuine randomness. This approach offers information-theoretic security, but requires stringent experimental conditions, namely two spatially separated non-communicating devices sharing high-fidelity entangled states, that make deployment challenging.
An alternative line of work achieves certified randomness using computational assumptions. Brakerski et al. [BCM +21] and the follow-up by Mahadev, Vazirani, and Vidick [MVV22], showed how to certify randomness from a single quantum device under the hardness of the Learning With Errors (LWE) problem. Subsequently, Aaronson and Hung [AH23] showed that quantum advantage experiments can be repurposed into certified randomness protocols under strong computational assumptions. Bassirian et al. [BBF +26] produced certifiable randomness in the QROM model, but with exponential-time verification. They also gave supporting evidence for the hardness assumptions of Aaronson and Hung [AH23].
Both paradigms have limitations: device-independent protocols place demanding spatial restrictions on the setup, while computational protocols inherit the strength (or weakness) of their underlying assumptions. In addition, the [BCM+21] protocol is privately verifiable and requires rounds of back-and-forth interaction, whereas the [AH23] protocol requires the verifier to run in superpolynomial time. The quantum random oracle model (QROM) [BDF+11] offers a third setting that sidesteps both issues: there is a candidate protocol that is non-interactive and efficiently publicly verifiable, requiring only a single quantum device.
The candidate protocol. In a recent breakthrough, Yamakawa and Zhandry [YZ24] constructed a proof of quantumness in the QROM. Their protocol defines a list-recoverable code C⊂Σn and asks the prover to find a codeword x∈C such that Hi(xi)=0 for all coordinates i∈[n], where H=(H1,…,Hn) is a random oracle mapping symbols to bits. They gave a quantum algorithm that solves this problem using just a single round of parallel queries, while proving that no classical algorithm can succeed even with sub-exponentially many queries.
Beyond being a proof of quantumness, the Yamakawa-Zhandry protocol has a remarkable additional feature: the honest quantum algorithm’s output is inherently random. Because the algorithm produces a uniformly random sample from the (large) set of valid codewords, no particular output is predictable in advance. Yamakawa and Zhandry conjectured that this is not an artifact of their algorithm but a necessary feature of any successful strategy: any prover that causes the verifier to accept must be sampling from a high-min-entropy distribution. If true, this would yield a certifiable randomness protocol in the QROM, where the verifier’s acceptance guarantees unpredictability of the output.
Certifiable randomness of the Yamakawa-Zhandry protocol. As partial evidence, Yamakawa and Zhandry proved the certifiable randomness guarantee under the Aaronson-Ambainis (AA) conjecture [AA14]. The AA conjecture formalizes the idea that quantum speedups require structure: formally, it asserts that any low-degree bounded polynomial (such as a quantum algorithm's acceptance probability) contains an highly influential coordinate. This in turn implies that classical query algorithms can simulate quantum query algorithms on average (i.e., on most inputs), establishing that exponential quantum advantages cannot arise in unstructured settings, but must instead rely on an underlying global structure in the input domain. This conjecture is widely considered plausible, and partial results support it in restricted settings (such as for block-multilinear forms with equal-magnitude coefficients [Mon12], completely bounded block-multilinear forms [BSdW22], and random restrictions of low-degree polynomials [Bha25]) but it remains unproven in general. The [YZ24] reduction to the AA conjecture was thus a meaningful step, but it left open the question of whether the certifiable randomness guarantee could be established from first principles, without appeal to unproven structural assumptions about quantum query complexity.
The reliance on the AA conjecture is qualitatively different from relying on standard computational assumptions like factoring or LWE. Those are conjectures about the hardness of specific problems; the AA conjecture is a sweeping claim about the structure of all quantum speedups. Despite significant attention since its introduction over a decade ago [AA14], it remains unproven in full generality, with partial results confirmed only in restricted settings. If the conjecture turned out to be false, the randomness guarantee of the YZ protocol would collapse: not because someone found a clever attack, but because the landscape of quantum query complexity was structured differently than expected.
It is therefore natural to ask:
Can the certifiable randomness guarantee of the Yamakawa-Zhandry protocol be established unconditionally, without the AA conjecture?
Our result. We make progress on this question by proving the certifiable randomness guarantee unconditionally—without the AA conjecture or any other unproven conjecture—against a restricted but meaningful class of quantum adversaries: those that make at most o(logλ) adaptive query rounds to the random oracle. Crucially, the adversary may make polynomially many parallel quantum queries within each round; only the number of sequential rounds is bounded. Our security proof holds against computationally unbounded adversaries subject only to this query depth constraint.
Theorem 1.1 (Informal). The Yamakawa-Zhandry protocol satisfies (D,h∞)-certifiable min-entropy for any query depth D(λ)=o(logλ) and any min-entropy bound h∞(λ)=o(λc/2), where c is a constant determined by the code parameters. That is, any adversary making o(logλ) rounds of (arbitrarily wide) parallel queries that causes the verifier to accept with noticeable probability must be sampling its output from a distribution with Ω(λc/2) bits of min-entropy.
Note that the honest Yamakawa-Zhandry algorithm uses just a single round of parallel queries. Our result therefore covers all adversaries with sub-logarithmically-many adaptive rounds beyond what the honest algorithm requires.
Organization. The remainder of this paper is organized as follows. Section 2 gives a technical overview of our proof strategy. Section 3 introduces the formal model, code parameters, and query-weight definitions used throughout. Section 4 contains the proof of our main result ruling out o(logλ)-query strategies.
2 Technical Overview
The Yamakawa-Zhandry Problem. Fix a code C⊂Σn over a large alphabet Σ, built from an appropriate list-recoverable code over Fq. A random oracle H=(H1,…,Hn) independently maps each symbol xi∈Σ to a bit Hi(xi)∈{0,1}. The Yamakawa-Zhandry problem [YZ24] is to find a codeword x∈C such that every symbol hashes to zero:
x∈CandHi(xi)=0for alli∈[n].
The quantum algorithm. Yamakawa and Zhandry [YZ24] showed a quantum algorithm that can solve this problem efficiently, and their algorithm can be implemented with a single layer of parallel queries. In particular, parallel queries suffice to create the following quantum state
which can then be post-processed, without any additional queries, to obtain the state
x∈C∀i,Hi(xi)=0∑∣x⟩
Measuring this state collapses the superposition onto a random codeword satisfying the desired constraints.
Yamakawa-Zhandry also prove that no classical algorithm can solve this search problem, even with sub-exponentially many queries to the random oracle. Their proof crucially uses the list-recoverability of the code C.
To explain what list-recoverability means, consider the following question: suppose that for each coordinate i∈[n], someone hands you a “short list” Si⊆Σ of candidate symbols. How many codewords x∈C can be “mostly consistent” with these lists—meaning xi∈Si for at least (1−ζ)n coordinates? List recoverability says that very few can. Concretely, if each list has size ∣Si∣≤ℓ=2(λc), then at most L=2O~(λc) codewords are mostly consistent, where c<c′<1 and ζ=Ω(1) are constants determined by the code parameters.
For a classical adversary making Q queries, each query reveals whether one symbol hashes to zero, so after Q queries the adversary has discovered at most Q symbols mapping to 0. List recoverability guarantees that at most L codewords have most of their symbols among these Q discovered zeros. For each such codeword, the remaining unchecked positions must all independently hash to zero, which happens with exponentially small probability. So a classical adversary is overwhelmingly unlikely to find a correct codeword.
Certified Randomness. A crucial feature of Yamakawa-Zhandry’s algorithm is that its output is inherently random: because the measurement produces a random sample from a large set of valid codewords, no particular codeword is predictable in advance. The honest algorithm gives only negligible query weight to whatever codeword it eventually outputs—it does not “aim” at any specific answer.
Yamakawa and Zhandry conjectured that the randomness of the honest algorithm is not an artifact of their particular construction, but a necessary feature of any successful quantum strategy: any adversary that finds a valid codeword must be sampling from a high-min-entropy distribution. If true, this transforms the protocol into a source of certifiable randomness—the classical verifier checks x∈C and H(x)=0, and acceptance alone guarantees that the output was unpredictable. They proved this conjecture under the Aaronson–Ambainis (AA) conjecture [AA14], a broad but unproven structural hypothesis about quantum speedups.
Our goal is to obviate the need for the AA conjecture. We aim to prove the certifiable randomness property of the YZ algorithm assuming only that the adversary is bounded in the number of queries they make to the random oracle. We prove that if the adversary is depth-limited, making o(logλ) layers of parallel queries, then they cannot break the certifiable randomness property.
Our Techniques, in a Nutshell. At a high level, we show that any adversary trying to cheat—to output a low-entropy/predictable codeword—must interact with the oracle in a way that is fundamentally different from the honest algorithm. While the honest algorithm spreads its query weight thinly and uniformly, a cheating adversary must concentrate query weight on its intended output. We show that this concentration is both necessary and impossible with just a few adaptive queries, leading to our desired contradiction.
• The Heavy Query Lemma (Lemma 4.1) shows that any adversary that breaks the certifiable min-entropy guarantee—by outputting a correct answer x with non-negligible conditional probability—must have allocated non-negligible query weight to all but a small (say, 1001) fraction of the symbols of x. In other words, a low-entropy adversary must “check” that almost all symbols of x hash to zero before committing to it. Otherwise, they would continue to output this answer with high probability even if the oracle is changed to hash some symbols of x to 1.
• The Hardness of Heavy Querying. (Lemma 4.2) shows that an adversary making o(logλ) query layers cannot give such heavy query weight to the symbols of any correct codeword. Intuitively, with such few adaptive rounds, the adversary must allocate its query weight before learning enough about the oracle to concentrate on a correct codeword.
We now describe our techniques in detail.
Query Weight and the Swapping Lemma. The central analytic quantity in our proof is query weight. For a quantum adversary AH and a symbol (i,xi), the cumulative query weight wi,xi≤j(H) measures the cumulative probability, across the first j query layers, that measuring a query register would yield (i,xi). Query weight is a scarce resource: an adversary making Q total queries can distribute at most Q total query weight across all input symbols.
The swapping lemma (Lemma 3.6) bounds how much the adversary’s quantum state can change when the oracle is reprogrammed on a set X of inputs, as a function of the total query weight on those inputs. We have that:
∣ψjH⟩−∣ψjH′⟩2≤2⋅j⋅(i,x)∈X∑wi,x≤j(H).(1)
where ψjO⟩ denotes the adversary’s state after j query layers when it interacts with oracle O. If the adversary gives small query weight to the reprogrammed positions, its state—and therefore its output distribution—barely changes. This allows us to reprogram the oracle, as we describe in more detail below.
Step 1: Low-Entropy Adversaries Must Heavily Query Their Answer. Suppose an adversary outputs a correct codeword x with high conditional probability p given an oracle h, i.e.,
Pr[AH→x∣H=h]≥p,
but gives small query weight during D query layers
wi,xi≤D(h)<16Qnp2
to at least s+1 symbols of x. We show this is impossible by deriving a contradiction via a counting argument.
Constructing bad oracles. Let I2⊆[n] be the set of (s+1) symbol positions where the adversary gives small query weight. For each non-empty subset of {(i,xi)}i∈I2, reprogram h to flip the output from 0 to 1 on those inputs. Call the resulting oracle h′. This produces a set Th,x of at least 2s “bad” oracles, each of which makes x incorrect (since h′(x)=0).
The adversary doesn’t notice. By the swapping lemma, since the adversary gives small total query weight to the reprogrammed positions, its output distribution changes by at most
2D⋅∣I2∣⋅(p2/16Qn)≤2Q⋅n⋅(p2/16Qn)≤p/2.
Therefore Pr[Ah′→x]≥p/2 on every bad oracle.
Counting. Let S be the set of all “good” pairs (h,x) that satisfy all three conditions simultaneously: (1) the adversary gives small query weight to many positions of x, (2) Pr[Ah→x]≥p, and (3) x is a correct codeword under h. Our goal is to show that Pr[(H,X)∈S], which is the probability that a randomly sampled oracle-output pair lands in S, is negligible.
We have shown that each good pair (h,x)∈S generates a set Th,x of at least 2s bad oracles, and that Pr[Ah′→x]≥21Pr[Ah→x] on each of them. The bad sets are disjoint: given any (h′,x)∈Th,x, the original oracle h is uniquely determined by reprogramming (back) h′ to map x back to 0. Since different good pairs produce disjoint bad sets, we can sum over all of them without overcounting. Each term ∣H∣1⋅Pr[Ah′→x] is the joint probability of drawing oracle h′ and the adversary outputting x, and disjoint events sum to at most 1:
Rearranging gives Pr[(H,X)∈S]≤2−(s−1), which is negligible since s=ω(logλ).
Thus, with overwhelming probability, any adversary that outputs a high-probability correct codeword must give non-negligible query weight to all but s of its symbols. We call this behavior heavily querying the answer.
Step 2: Low-Depth Adversaries Cannot Heavily Query a Correct Answer. This is the heart of the argument, where we exploit the adversary’s limited query depth.
The key intuition. As discussed above, the honest Yamakawa–Zhandry algorithm gives only negligible query weight to the codeword it eventually outputs. A low-entropy adversary, by contrast, must concentrate non-negligible weight on a small set of codewords (as already shown in Step 1). However, with few query layers, the adversary is forced to make these “bets” early, before learning where the oracle maps symbols to zero. Such an adversary is essentially gambling.
We first describe a warm-up that captures the core idea in the simplest possible setting.
Warm-up: a single parallel query. Consider an adversary that makes just one layer of parallel queries. It prepares some initial quantum state ∣ψ0⟩, queries the oracle once on all coordinates in superposition, applies some unitary, and measures to produce its output. The key observation is that the adversary’s query weight is oracle-independent: the state ∣ψ0⟩ is fixed before the oracle is queried, so the query weight wi,xi1 given to each symbol (i,xi) is the same regardless of which oracle h was chosen.
Now consider reprogramming the oracle on a subset of ζn symbols of x. Flipping even one of these positions from 0 to 1 makes x incorrect. We can therefore construct 2Ω(n) bad oracles from each good oracle, and the adversary still heavily queries x on all of them. By list recoverability, each bad oracle is associated with at most L=2O~(λc′) good oracles (since at most L codewords are heavily queried). A similar counting argument as in Step 1 gives:
∣H∣∣S∣≤2Ω(n)L=2Ω(λ)2O~(λc′)=negl(λ).
This completes the single-query case. The argument is clean because query weights are fixed upfront, so reprogramming the oracle on low-weight positions is “free.”
The challenge with multiple queries. With D>1 adaptive query layers, the argument above breaks down. After the first query, the adversary's state—and therefore the query weights in subsequent layers—can depend on the oracle. Reprogramming the oracle on a set of positions may change not only the adversary's final output but also how it allocates query weight in later rounds. We can no longer argue that the adversary heavily queries x independently of the oracle.
The solution is a bootstrapping argument. Instead of arguing about query weights all at once, we track how they build up layer by layer, using a sequence of growing thresholds to control the perturbation at each step.
The idea: find the right moment to reprogram. The single-query-layer warm-up suggests the following strategy: find positions with low query weight, reprogram them, and argue that the adversary's behavior is unchanged by the reprogramming. With multiple adaptive layers, query weights depend on the oracle, so we cannot simply point to low-weight positions at the end of the computation—they may have been low only because the oracle steered the adversary elsewhere.
Instead, we look for the right moment during the computation. The adversary starts with zero query weight on x and ends with high query weight on most of x's symbols (by Step 1). Somewhere in between, there is a critical layer q∗: the first layer after which the adversary has accumulated substantial weight on (1−ζ)n symbols of x. Just before this layer, after q∗−1 layers, the adversary has not yet reached this threshold, so at least ζn symbols of x still have low accumulated weight. These are the positions we reprogram.
Controlling the perturbation with thresholds. The crux of the argument is showing that reprogramming these low-weight positions does not significantly affect the adversary's query weights on the other positions—the ones that are heavily queried. If we can show this, then the adversary still heavily queries x under the reprogrammed oracle h′, even though x is no longer correct under h′, and the counting argument goes through as in the warm-up.
The swapping lemma tells us that on each individual query layer q≤q∗, the perturbation to any symbol's query weight is at most 2WDn⋅tq∗−1, where tq∗−1 is an upper bound on the weight that each reprogrammed position had accumulated through layer q∗−1, W is the number of parallel queries per layer (the width) and D is the total number of query layers (the depth). Summing over q∗≤D layers, the total perturbation to the cumulative weight of any heavily-queried symbol is at most 2DWDn⋅tq∗−1=2QDn⋅tq∗−1.
For this perturbation to be harmless, we need the heavily-queried symbols to have accumulated enough weight by layer q∗ to “absorb” it—that is, their weight at layer q∗ must exceed Q/ℓ+2QDn⋅tq∗−1, so that even after subtracting the perturbation, they still have weight ≥Q/ℓ.
The threshold sequence. To make this work, we define a sequence of growing thresholds t0<t1<⋯<tD and say that the adversary has “reached threshold q” if at least (1−ζ)n symbols of x have cumulative weight ≥tq after q layers. The critical layer q∗ is the first layer where the adversary reaches its threshold.
The thresholds are defined by
tq=(ℓ2Qn)4−q
which is a doubly-exponential interpolation between t0=2Qn/ℓ (very small, since ℓ is superpolynomial) and tQ, which we verify is at most p2/16Qn (the threshold from Step 1). The key property is the recurrence, for all q∈[2,Q]:
tq≥ℓQ+2QDn⋅tq−1,
which is exactly the condition we need: if the adversary reaches threshold q at layer q∗, and the reprogrammed positions have weight below tq∗−1, then the perturbation 2QDn⋅tq∗−1 is small enough that the heavily-queried symbols retain weight ≥Q/ℓ after reprogramming. This recurrence is what limits us to Q=o(logλ) query layers—with more layers, the thresholds grow too quickly and the argument breaks down.
Completing the counting. Once we know the adversary still heavily queries x under the bad oracle h′, we need to bound how many good pairs (h,x) can map to the same bad oracle h′. This is where list recoverability enters.
Fix any oracle h′ (good or bad). The adversary \mathcal{A}^h' makes D total layers of W parallel queries each, so it distributes at most Q=D⋅W total query weight across all symbols. For each coordinate i∈[n], let Si be the set of symbols x∈Σ that receive cumulative weight wi,x≤D(h′)≥Q/ℓ. Since the total weight is ≤Q, each coordinate can have at most ℓ such symbols: ∣Si∣≤ℓ. Now, if \mathcal{A}^h' heavily queries a codeword x, then xi∈Si for at least (1−ζ)n coordinates—the codeword is “mostly consistent” with the lists S1,…,Sn. By list recoverability, at most L=2O~(λc′) codewords can be mostly consistent with these lists.
Each bad oracle h′ can belong to Th,x for at most L distinct good pairs (h,x), because each such pair is associated with a distinct heavily-queried codeword x, and there are at most L of those. Since each good pair generates at least 2⌊ζn⌋ bad oracles, we get:
∣H∣∣S∣≤2⌊ζn⌋L=2Ω(λ)2O~(λc′)=negl(λ)
since c′<1. Thus, with overwhelming probability over the choice of oracle, no correct codeword is heavily queried by the adversary.
Putting the Pieces Together. Suppose toward contradiction that some o(logλ)-depth adversary breaks the certifiable min-entropy guarantee with non-negligible probability. Then with non-negligible probability over the oracle h, the adversary succeeds with noticeable probability and its output has low min-entropy. Step 1 says that such an adversary must heavily query its answer. But Step 2 says that with overwhelming probability over h, no correct codeword is heavily queried—a contradiction. This completes the proof.
Discussion. Our techniques are limited to o(logλ) adaptive rounds because our threshold bootstrapping technique requires thresholds that grow doubly exponentially with the number of rounds. When the number of rounds exceeds O(logλ), the thresholds exceed the bounds needed for the counting argument. Extending the certifiable randomness guarantee to adversaries making ω(logλ) or polynomially many adaptive rounds remains an important open problem; following Yamakawa and Zhandry, the guarantee for such adversaries currently still relies on the AA conjecture.
3 Preliminaries
3.1 Certifiable Min-Entropy
A certifiable min-entropy protocol is an interactive proof system where any prover that causes the verifier to accept with noticeable probability must be sampling their accepting proofs from a distribution with high min-entropy. In the random oracle model, the prover and verifier have quantum query access to the random oracle, and the min-entropy of the proof is computed after conditioning on the choice of oracle. That way, the proof will provide additional randomness beyond the randomness of the oracle.
Definition 3.1 below recalls the definition of a certifiable min-entropy protocol from [YZ24] (almost verbatim). We modify the min-entropy property to allow us to specify the prover’s query depth D and min-entropy bound h∞.
Definition 3.1 (Certifiable Min-Entropy Protocol, [YZ24] Definition 3.5). A (keyless, non-interactive, publicly verifiable) certifiable min-entropy protocol relative to a random oracle consists of the algorithms (Prove, Verify), which have the following syntax.
Syntax.
• Prove H(1λ,1h∞)→π: This is a QPT algorithm that takes the security parameter 1λ and a min-entropy threshold 1h∞ as input. It makes poly( λ,h∞) quantum queries to the random oracle H, and outputs a classical proof π.
• Verify H(1λ,1h∞,π)→x: This is a deterministic classical polynomial-time algorithm that takes 1λ, 1h∞, and a proof π as input; it makes poly( λ, h∞) queries to the random oracle H, and outputs either a string x (whose length may depend on h∞), or ⊥ indicating rejection.
We require a certifiable min-entropy protocol to satisfy the following properties:
(D,h∞)-Certifiable Min-Entropy. Given a polynomially-bounded query depth D=D(λ) and a polynomially-bounded min-entropy h∞=h∞(λ), the protocol satisfies (D,h∞)-certifiable min-entropy if for any polynomially-bounded query width W=W(λ), any unbounded-time adversary A that makes D layers of W parallel quantum queries to H, and any inverse polynomial function δ(⋅), there is a negligible function negl(⋅) such that the following holds. Let ATH(1λ,1h∞) be the distribution VerifyH[1λ,1h∞,AH(1λ,1h∞)], conditioned on the output not being ⊥. Then:
If (D,h∞) are not specified, we say that the protocol satisfies certifiable min-entropy if for any polynomial functions D,h∞, the protocol satisfies (D,h∞)-certifiable min-entropy.
3.2 The Yamakawa-Zhandry Protocol
Here we present a candidate construction of a certifiable min-entropy protocol that is based on [YZ24]'s proof of quantumness. The protocol defines a list-recoverable code C and a random oracle H and asks the adversary to find a codeword x∈C such that H(x)=0.
Parameters: Let λ∈N be the security parameter. Let q=22[logλ], N=q−1, m=2[logλ]+1, n=mN=2[logλ]−1. Let k=α⋅N, where α is an arbitrary constant in the range (65,1) such that α⋅N∈N. Let γ be an arbitrary generator of Fq∗.
Folded Reed-Solomon Code: Let Σ=Fqm be the alphabet of the code. Let the code be C⊂Σn.
We can interpret a word x∈Σn as a vector x~∈Fqm⋅n=FqN. We say that x∈C if and only if there is a polynomial f∈Fq[X] of degree ≤k such that
x~=(f(γ),f(γ2),…,f(γN))
Note that any two distinct codewords differ on at least (1−α)⋅n symbols.
Theorem 3.1 (List Recoverability, [YZ24], lemma 4.2). Let us define the specific list-recoverability parameters of the code. Let c,c′,ζ,ℓ,L be the parameters of the list recovery property of the code (in [YZ24], lemma 4.2). We have that c,c′ are constants satisfying 0<c<c′<1. Next, \zeta = \Omega(1), \ell = 2^{(\lambda^c)}, L = 2^{\tilde{O}(\lambda^c')}.
Then for any sets S1,…,Sn⊂Σ of size ≤ℓ, the number of codewords x∈C for which xi∈Si for at least (1−ζ)n values of i∈[n] is ≤L.
Random Oracle: For each i∈[n], let H(i) be the set of all functions Hi that map Σ→{0,1}. Let H=H(1)×⋯×H(n). The random oracle H=(H1,…,Hn) is sampled uniformly at random from H. Given an input x=(x1,…,xn)∈Σn, let H(x)=(H1(x1),…,Hn(xn)).
Candidate Construction: Here is the candidate construction of a certifiable min-entropy protocol. This is essentially the same as [YZ24]'s proof of quantumness protocol.
• Setup: Given the security parameter λ, compute the parameters q,N,m,n,α,k as described above. This determines the code C and the oracle’s sample space H. Then sample H \xleftarrow{\} \mathcal{H}.
• Prove H(1λ,1h∞): This algorithm is the same as the Prove H(1λ) algorithm constructed in [YZ24] section 6, except that our algorithm makes its queries to H in parallel, and our algorithm looks for preimages of 0 rather than 1.
• Verify H(1λ,1h∞,π): This algorithm is the same as the Verify H(1λ,π) algorithm constructed in [YZ24] section 6, except that our algorithm checks that Hi(xi)=0 (rather than 1) for all i∈[n].
Parse π=x=(x1,…,xn).
Check that x∈C and Hi(xi)=0 for all i∈[n].
If all checks pass, then output x. Otherwise, output ⊥.
[YZ24] constructed their certifiable min-entropy protocol by using complexity leveraging to select the security parameter of the underlying proof of quantumness protocol. We omit the complexity leveraging here in order to study the min-entropy properties of the basic protocol.
Lemma 3.1. The candidate construction described above satisfies the syntax and correctness properties of a certifiable min-entropy protocol (definition 3.1).
Proof. It is clear by inspection that the syntax property is satisfied. Next, [YZ24] lemma 6.3 implies that the correctness property is satisfied as well.
3.3 Query-Bounded Algorithms
Here we define a quantum algorithm A that makes D layers of W parallel queries.
Let AH denote a quantum algorithm A with quantum query access to oracle H. A is parametrized by a query width W≥1, which is the number of parallel queries A can make, and a query depth D≥1, which is the number of query layers it can make in sequence. Let Q=W⋅D be the total number of queries A can make.
Without loss of generality, let AH operate as follows:
• A starts with an initial pure state ∣ψ0⟩=∣ψ0H⟩ on registers R=RQ1×…×RQW×RA, a sequence of unitaries (U1,…,UD), and a measurement operator M.
• For each layer j∈[D]:
A submits the query registers RQ1×…×RQW of ψj−1H⟩ to the oracle H. Then H acts as a phase oracle on each RQk, for all k∈[W], and returns RQ1×…×RQW to A.
A applies Uj to its state to obtain a new state ψjH⟩.
• Finally, A applies measurement M to ψDH⟩ and outputs the measurement outcome.
Next, we define the query weight wi,xj(H) to upper-bound the probability that we obtain query (i,x) on at least one query register if we measure AH's j-th query layer.
Definition 3.2 (Query Weight). For each possible classical query (i,x)∈[n]×Σ and each query layer j∈[D], let wi,xj(H) be the query weight that AH gives to (i,x) on the j-th query layer.
The following lemma says that the cumulative query weight cannot decrease as the number of queries increases. This is because the query weight on a particular query is always non-negative.
Lemma 3.3. For any A,i,x,H and any two j,j′∈{0}∪[D] for which j≤j′,
wi,x≤j(H)≤wi,x≤j′(H)
Proof. If j=j′, then wi,x≤j(H)=wi,x≤j′(H), so the claim is true. From now on, let us consider the case where j<j′.
The swapping lemma (lemma 3.6) says that the adversary’s states on two oracles H and H′ will be close in Euclidean distance if the adversary gives small query weight to the positions where the oracles differ.
Lemma 3.6 (Swapping Lemma, Adapted from [EJPV98] Lemma 2, [BBBV97] Theorem 3.3). Given two oracles H,H′, let X⊆[n]×Σ be the subset of inputs on which H and H′ differ. Then, for any j∈{0,…,D},
ψjH⟩−ψjH′⟩2≤2⋅j⋅(i,x)∈X∑wi,x≤j(H)
Proof. First, let us consider the case where j = 0. Then
Second, let us prove this claim for algorithms making one query per layer (W = 1). Our proof is adapted from [BBBV97, Theorem 3.3]. Let OH and OH′ be unitaries that respond to a given query using oracle H or H′ respectively. Next, for each j′∈[j], let
Third, we will reduce the case where W>1 to the case where W=1. We can view each query layer as making one query to the oracle HW that applies H in parallel W times.
Next, the inputs z=[(i1,x1),…,(iW,xW)] on which HW and (H′)W differ satisfy
(i1,x1)∈X∨…∨(iW,xW)∈X
Let X∨W be the set of all inputs satisfying the condition above.
For any query layer j′, let us compute ∑z∈X∨Wwzj′(HW), the query weight given to all inputs in X∨W during the j′-th query to HW. This equals the probability that we obtain a value in X∨W if we measure the j′-th query.
Our main result (theorem 4.1) says that the construction in section 3.2 provides o(λc/2) bits of min-entropy (for some constant c) as long as the adversary is limited to query depth o(logλ).
Theorem 4.1 (Certifiable Min-Entropy). The candidate construction of a certifiable min-entropy protocol given in section 3.2 satisfies (D,h∞)-certifiable min-entropy (definition 3.1) for any D(λ)=o(logλ) and any h∞(λ)=o(λc/2), where c is a constant parameter of the list-recoverable code.
The rest of section 4 is devoted to proving theorem 4.1.
Let (H,X) be the random variables referring to the random oracle and A's output respectively, and let (h,x) be generic values that they take. (H,X) are jointly sampled from the following distribution. First H \xleftarrow{\}H, and then X←AH(1λ).
The adversary heavily queries their answer
First, we prove roughly that if the adversary is able to output a correct answer x with high probability, then they must have given non-negligible query weight to most symbols of x. Intuitively, this is because the adversary must check that most symbols of x actually hash to 0; otherwise, they would output x even when those symbols hash to 1.
Lemma 4.1. Let p be any probability ∈(0,1], and let s be any value ∈[1,n]. Let D,W≥1 be the query depth and width, respectively, of A, and let Q=D⋅W.
Over the randomness of (H,X), the probability is ≤2−(s−1) that we sample an (h,x) that satisfy all of the following conditions:
Ah gives small query weight to many positions of x: There exists no set I⊆[n] of size ≥n−s such that for all i∈I,
wi,xi≤D(h)≥16Qnp2
x has high probability given h: Pr[X=x∣H=h]≥p.
x is correct: x∈C and h(x)=0.
Proof.
Constructing Good and Bad Sets: Let S be the set of all pairs (h,x) that satisfy the conditions of lemma 4.1 (S is the “good” set). Pr[S] is the probability that all the conditions of lemma 4.1 are satisfied, over the randomness of sampling h←H and x←Ah. We will show that Pr[S]≤2−(s−1).
Next, for each (h,x)∈S, let us construct a set Th,x of “bad” pairs (h′,x) on which x is not correct.
Condition 1 implies that for any set I⊆[n] of size ≥n−s, there exists an i∈I such that
wi,xi≤D(h)<16Qnp2
That means there exists another set I2⊆[n] of size ∣I2∣≥s+1 such that for all i∈I2,
wi,xi≤D(h)<16Qnp2
To construct Th,x, choose any non-empty subset of {(i,xi)}i∈I2 and reprogram h on these inputs, flipping the output from 0 to 1. Let us call the new oracle h′. Let Th,x be the set of all pairs (h′,x) that can be constructed in this way.
Properties: First
∣Th,x∣=2∣I2∣−1≥2s+1−1≥2s
Second, for any (h′,x)∈Th,x, x is not a correct answer for oracle h′ because h′(x)=0.
Third, the sets Th,x are disjoint. That is to say, for any two distinct pairs (h1,x1) and (h2,x2) in S,
Th1,x1∩Th2,x2=∅
For any (h′,x′)∈Th,x,x=x′, and h can be computed from (h′,x′) by reprogramming h′ to map x′ to 0. This procedure computes (h,x) from any (h′,x′)∈Th,x, so the sets Th,x must be disjoint.
Fourth,
Claim 4.1. For any (h′,x)∈Th,x,
21⋅Pr[X=x∣H=h]≤Pr[X=x∣H=h′]
Proof. This follows from the swapping lemma (lemma 3.6) and lemma 3.7. The adversary samples their output x by applying a measurement M to their final state (either ∣ψDh⟩ or ∣ψDh′⟩).
We’ve shown that the conditions of lemma 4.1 are satisfied with probability ≤2−(s−1).
Low-depth adversaries cannot heavily query a correct answer
Here we prove that if the adversary’s query depth is o(logλ), then with overwhelming probability over H, AH does not heavily query any correct answer x. Heavy querying means that many symbols of x each receive large query weight from AH.
Lemma 4.2. Let p(λ) be any function satisfying p(λ)=ω(2−21⋅(λc/2)). Let D(λ) be any function satisfying 1≤D(λ)=o(logλ). Let W(λ) be any function satisfying 1≤W(λ)=O(poly(λ)), and let s=⌊ζn⌋. Let A have query width W and query depth D, making Q=W⋅D queries in total.
Then with overwhelming probability over the randomness of H, H satisfies the following condition:
For all x such that x is correct ( x∈C and H(x)=0), there exists no set I⊆[n] of size ≥n−s such that for all i∈I,
wi,xi≤D(H)≥16Qnp2
Proof.
Query Weight Thresholds: Let us define a threshold weight given to a symbol after q query layers. For each q∈{0,1,…,D}, let the threshold be
tq=(ℓ2Qn)(4−q)
Claim 4.2. For any q∈{0,1,…,D} and sufficiently large λ,
ℓQ≤tq≤1
Proof. We know that
ℓ=2(λc)Q=W⋅D=O(poly(λ))n=2⌊logλ⌋−1≤λ
1≤n for sufficiently large λ
Therefore,
2Qn≤ℓ for sufficiently large λ
ℓ2Qn≤1
Additionally, 4−q∈(0,1]. Then
ℓ2Qn≤(ℓ2Qn)(4−q)≤1ℓ2Qn≤tq≤1ℓQ≤tq≤1
Claim 4.3. For any q∈{0,1,…,D} and sufficiently large λ,
tq≤16Qnp2
Proof. First,
q≤D≤41⋅(clogλ−2) for sufficiently large λ
−q≥41⋅(2−clogλ)
4−q≥441⋅(2−clogλ)
=242⋅(2−clogλ)
=2(1−2c⋅logλ)
=2⋅2−2c⋅logλ
=2⋅λ−2c
Second,
p(λ)=ω(2−21⋅(λc/2))
p(λ)≥2−21⋅(λc/2) for sufficiently large λ
p2(λ)≥2−(λc/2)
Third, the following are true for sufficiently large λ:
ℓ2Qn12⋅λ−2c2(λ2c)32Q2n2≤1≤2Qn≤1≤1(2)
Let us assume that λ is large enough that all of the conditions in eq. (2) are satisfied. Fourth,
Constructing the Good Set: Let us construct a set S of “good” oracles h. For every h∈H that violates the condition of lemma 4.2, pick an x such that:
x is correct ( x∈C and h(x)=0), and
there exists a set I⊆[n] of size ≥n−s such that for all i∈I,
wi,xi≤D(h)≥16Qnp2
Such an x must exist. Then add this (h,x) pair to S. Note that no two entries of S have the same h-value, so the size of S is the number of h-values that violate the condition of lemma 4.2. Our goal is to show that ∣H∣∣S∣=negl(λ). This implies that with overwhelming probability over the choice of h, the condition of lemma 4.2 is satisfied.
Constructing the Bad Set: For any (h,x)∈S, we will construct a set of “bad” oracles Th,x where x is no longer correct, but A still wastes query weight on x.
First, let us say that Ah heavily queries x if there exists a set I1⊆[n] of size ∣I1∣≥n−s such that for all i∈I1,
wi,xi≤D(h)≥ℓQ
Additionally, let us say that Ah strongly-heavily queries x after q queries if there exists a set I1⊆[n] of size ∣I1∣≥n−s such that for all i∈I1,
wi,xi≤q(h)≥tq
Second, let q∗ be the first query in [D] for which Ah strongly-heavily queries x after q∗ queries.
Such a q∗ must exist. Since (h,x)∈S, there exists a set I1⊆[n] of size ≥n−s such that for all i∈I1,
wi,xi≤D(h)≥16Qnp2≥tD
So Ah strongly-heavily queries x after D queries.
Third, let I2⊆[n] be the set of indices of x of size ∣I2∣=s+1 that receive the smallest weight on the first q∗−1 queries. Formally, we require that for all i∈I2 and all i′∈[n]∖I2,
wi,xi≤q∗−1(h)≤wi′,xi′≤q∗−1(h)
Fourth, let us construct our bad set Th,x as follows. Choose any non-empty subset of {(i,xi)}i∈I2, and reprogram h on this set, flipping the outputs from 0 to 1. Call the new oracle h′, and add h′ to Th,x.
Properties: Let's state some useful properties of Th,x and I2.
First, note that for any h′∈Th,x, h′(x)=0. Second,
∣Th,x∣=2∣I2∣−1=2s+1−1≥2s
Third, before the q∗-th query, every reprogrammed symbol received small cumulative query weight.
Lemma 4.3. For all (h,x)∈S, all i∈I2, and all q∈[q∗],
wi,xi≤q−1(h)<tq∗−1
Proof. We chose q∗ to be the first query in [D] after which Ah strongly-heavily queries x. Then Ah does not strongly-heavily query x after q∗−1 queries. That means there does not exist a set I1⊆[n] of size ∣I1∣≥n−s such that for all i∈[I1]:
wi,xi≤q∗−1(h)≥tq∗−1(3)
Then the number of i-values in [n] for which eq. (3) is satisfied is ≤n−s−1. The number of i-values for which eq. (3) is not satisfied is
≥n−(n−s−1)=s+1
Since I2 contains the s+1 indices with the smallest values of wi,xi≤q∗−1(h), that means that for any i∈I2,
wi,xi≤q∗−1(h)<tq∗−1
Since q≤q∗,
wi,xi≤q−1(h)≤wi,xi≤q∗−1(h)<tq∗−1
☐
Fourth, even if we replace a good h with a bad h′∈Th,x, the adversary will still heavily query x.
Lemma 4.4. For any (h,x)∈S, any h′∈Th,x, and sufficiently large λ, Ah′ heavily queries x.
Proof. Let I1,I2 be the sets defined in the construction of Th,x. That's to say, I1 is a set ⊆[n] of size ∣I1∣≥n−s such that for all i∈I1,
wi,xi≤q∗(h)≥tq∗
And I2⊆[n] is a set of size ∣I2∣=s+1 such that for all i∈I2
wi,xi≤q∗−1(h)<tq∗−1
Next, for any q∈[q∗], any h′∈Th,x, and any i∈I1:
Claim 4.5. The number of codewords that Ah′ heavily queries is ≤L:=2O~(λc′).
Proof. The total cumulative query weight given to all inputs is ≤Q=D⋅W (lemma 3.5). The number of inputs (i,x) with cumulative query weight wi,x≤D(h′)≥ℓQ is
≤Q⋅Qℓ=ℓ
If Ah′ heavily queries x then at least n−s coordinates of x belong to the list of inputs that have cumulative query weight ≥ℓQ. Note that
n−s≥n−ζ⋅n=(1−ζ)⋅n
Then the list recoverability property (theorem 3.1) says that the number of codewords x that satisfy this property is ≤L.
Claim 4.6. Any h′ belongs to Th,x for at most L values of (h,x)∈S.
Proof. Assume toward contradiction that there are L+1 distinct values of (h,x)∈S such that h′∈Th,x. Call them (hj,xj)j∈[L+1]. We know that Ah′ heavily queries each xj, but there are at most L codewords that Ah′ heavily queries. By the pigeonhole principle, there are two different values j,j′∈[L+1] such that xj=xj′.
Furthermore, hj can be constructed from h′ and xj by reprogramming h′ to map xj to 0. By the same procedure, hj′ can be constructed from h′ and xj′. Since xj=xj′, this implies that hj=hj′ because they are constructed from (h′,xj) by the same procedure. In summary (hj,xj)=(hj′,xj′), which contradicts the claim that each (hj′′,xj′′) is distinct. Therefore the initial assumption must be false, so in fact there are at most L values of (h,x)∈S for which h′∈Th,x.
Now we can finish the proof. Since each h′∈H belongs to at most L different sets Th,x,
We’ve shown that ∣H∣∣S∣ is negl(λ), which completes the proof.
Finishing the proof
Let us assume toward contradiction that theorem 4.1 is false. Then there is some D=o(logλ), some h∞=o(λc/2), some W=poly(λ), some inverse-polynomial δ(λ), and some adversary A making D layers of W parallel queries such that
In summary, if Event 1 occurs, then there exists an xh such that:
• xh is correct: xh∈C∧h(xh)=0, and
• PrX[X=xh∣H=h]≥p(λ).
Furthermore, since this xh is correct, then Event 2 implies that this xh-value also satisfies the following condition:
• There exists no set I⊆[n] of size ≥n−s such that for all i∈I,
wi,xih≤D(h)≥16Qnp2
This shows that (h,xh) satisfy all the conditions of Event 3.
Lemma 4.6. PrH[Event2] is overwhelming.
Proof. Lemma 4.2 says that PrH[Event2] is overwhelming as long as p(λ)=ω(2−21⋅(λc/2)). So it suffices to prove that p satisfies the condition of lemma 4.2.
Claim 4.7. p(λ)=ω(2−21⋅(λc/2)).
Proof. δ(λ) is inverse-polynomial, so there exists a d>0 such that
Lemma 4.7. There is some non-negligible function non-negl( λ) such that PrH,X[Event3]≥non-negl(λ)⋅p(λ).
Proof. We already know that PrH[Event1] is non-negligible because the adversary breaks the certifiable min-entropy property, and we proved that PrH[Event2] is overwhelming. This implies that PrH[Event1∧Event2] is non-negligible.
Next, if Event1∧Event2 occur for some h, then there exists some special xh such that (h,xh) satisfy the conditions of Event3. Furthermore, Event3 guarantees that:
XPr[X=xh∣H=h]≥p(λ)
One way to satisfy the conditions of Event₃ is to sample an h that satisfies the conditions of Event₁ ∧ Event₂ and then to sample the particular xᵥ value that is guaranteed to satisfy Event₃. The probability of sampling values (h, xᵥ) of this form is
≥HPr[Event1∧Event2]⋅p(λ)≥non−negl(λ)⋅p(λ)
Then
H,XPr[Event3]≥non−negl(λ)⋅p(λ)
Claim 4.8. p(λ)−1⋅2−(s(λ)−1) is non-negligible.
Proof. Lemma 4.1 says that
H,XPr[Event3]≤2−(s(λ)−1)
for all λ. This implies that there is some non-negligible function non-negl( λ) such that for all λ,
non−negl(λ)⋅p(λ)≤H,XPr[Event3]≤2−(s(λ)−1)
For sufficiently large λ, p(λ)>0 because p(λ)=ω(2−21⋅(λc/2)). Then for sufficiently large λ,
non−negl(λ)≤p(λ)−1⋅2−(s(λ)−1)
If p(λ)−1⋅2−(s(λ)−1) were negligible, then non-negl( λ) would be negligible as well, which is impossible. Therefore, p(λ)−1⋅2−(s(λ)−1) is non-negligible.
On the other hand, we can show that p(λ)−1⋅2−(s(λ)−1) is negligible.
Claim 4.9. p(λ)−1⋅2−(s(λ)−1) is negligible.
Proof. We have that
s(λ)=⌊ζn⌋n=2⌊logλ⌋−1
Section 3.2 defines ζ=Ω(1), so there exists a constant k>0 such that for all λ,
We have shown that p(λ)−1⋅2−(s(λ)−1) is both non-negligible and negligible, which is a contradiction. Therefore, our initial assumption was false, and in fact, theorem 4.1 is true.
5 AI Disclosure
The authors used AI to improve clarity and polish writing in Sections 1 and 2. All techniques in this work were developed by human trial-and-error, without AI assistance.
6 Acknowledgments
AT was supported by NSF CAREER award CCF-2145474. Parts of this work were done while the authors were visiting the Simons Institute for the Theory of Computing, Berkeley.
References
[AA14] Scott Aaronson and Andris Ambainis. The need for structure in quantum speedups. Theory Comput., 10:133–166, 2014.
[AH23] Scott Aaronson and Shih-Han Hung. Certified randomness from quantum supremacy. In Barna Saha and Rocco A. Servedio, editors, Proceedings of the 55th Annual ACM Symposium on Theory of Computing, STOC 2023, Orlando, FL, USA, June 20-23, 2023, pages 933–944. ACM, 2023.
[BBBV97] Charles H. Bennett, Ethan Bernstein, Gilles Brassard, and Umesh Vazirani. Strengths and weaknesses of quantum computing. SIAM Journal on Computing, 26(5):1510–1523, October 1997.
[BBF +26] Roozbeh Bassirian, Adam Bouland, Bill Fefferman, Sam Gunn, and Avishay Tal. On certified randomness from fourier sampling or random circuit sampling. Quantum, 10:2002, 2026.
[BCM +21] Zvika Brakerski, Paul Christiano, Urmila Mahadev, Umesh V. Vazirani, and Thomas Vidick. A cryptographic test of quantumness and certifiable randomness from a single quantum device. Journal of the ACM, 68(5):31:1–31:47, 2021.
[BDF +11] Dan Boneh, Özgür Dagdelen, Marc Fischlin, Anja Lehmann, Christian Schaffner, and Mark Zhandry. Random oracles in a quantum world. In Advances in Cryptology – ASIACRYPT 2011, volume 7073 of Lecture Notes in Computer Science, pages 41–69. Springer, 2011.
[Bha25] Sreejata Kishor Bhattacharya. Random restrictions of bounded low degree polynomials are juntas. In ITCS, volume 325 of LIPIcs, pages 17:1–17:21. Schloss Dagstuhl - Leibniz-Zentrum für Informatik, 2025.
[BSdW22] Nikhil Bansal, Makrand Sinha, and Ronald de Wolf. Influence in completely bounded block-multilinear forms and classical simulation of quantum algorithms. In CCC, volume 234 of LIPIcs, pages 28:1–28:21. Schloss Dagstuhl - Leibniz-Zentrum für Informatik, 2022.
[Col06] Roger Colbeck. Quantum and Relativistic Protocols for Secure Multi-Party Computation. PhD thesis, University of Cambridge, 2006. Available as arXiv:0911.3814.
[EJPV98] A. Ekert, R. Jozsa, R. Penrose, and Umesh Vazirani. On the power of quantum computation. Philosophical Transactions of the Royal Society A: Mathematical, Physical and Engineering Sciences, 356(1743):1759–1768, 08 1998.
[Mon12] Ashley Montanaro. Some applications of hypercontractive inequalities in quantum information theory. Journal of Mathematical Physics, 53(12), 2012.
[MVV22] Urmila Mahadev, Umesh V. Vazirani, and Thomas Vidick. Efficient certifiable randomness from a single quantum device. CoRR, abs/2204.11353, 2022.
[PAM +10] Stefano Pironio, Antonio Acín, Serge Massar, Antoine Boyer de la Giroday, Dzmitry N. Matsukevich, Peter Maunz, Steven Olmschenk, David Hayes, Le Luo, T. Andrew Manning, and Christopher Monroe. Random numbers certified by Bell’s theorem. Nature, 464(7291):1021–1024, 2010.
[VV12] Umesh V. Vazirani and Thomas Vidick. Certifiable quantum dice: Or, true random number generation secure against quantum adversaries. In Proceedings of the 44th Annual ACM Symposium on Theory of Computing (STOC '12), pages 61–76. ACM, 2012.
[YZ24] Takashi Yamakawa and Mark Zhandry. Verifiable quantum advantage without structure. Journal of the ACM, 71(3):1–50, June 2024.