Manuscript Offprint
arXiv:2609.01448Verifiable quantum advantage in extremely low depth
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Alexandru Gheorghiu
IBM Research
Abstract. We give a sampling problem that is solvable by shallow quantum circuits, hard for polynomial-time classical algorithms under lattice-based assumptions, and efficiently verifiable by a classical computer. The quantum sampler admits two implementations: one uses log-logarithmic-depth quantum circuits with one- and two-qubit gates, i.e., circuits, while the other uses constant-depth quantum circuits with unbounded fan-in gates, i.e., circuits. Our construction can be seen as compiling the Learning with Errors (LWE)-based single-round proof of quantumness of Arabadjieva et al. [AGGM25] to very low depth. The price paid for this compilation is the reliance on less standard, though well-motivated, assumptions: in addition to the lattice knowledge assumption used in [AGGM25], we require a strengthened variant of the adaptive-hardcore-bit property of LWE, for which we provide supporting evidence. Unlike previous low-depth proofs of quantumness, the quantum computation here requires no mid-circuit measurements or feed-forward: it consists only of running a shallow circuit and sampling from its output distribution. This shows that shallow quantum circuits have sufficient structure to solve certain classically hard tasks whose solutions can be verified efficiently.
1 Introduction
A basic goal in quantum complexity theory is to understand how little quantum computation is needed to obtain an advantage over efficient classical algorithms. For such an advantage to provide a convincing test of quantumness, however, a classical verifier should also be able to check it efficiently. Constant-depth quantum circuits are among the most restricted models of quantum computation, yet under plausible assumptions they can still solve classically hard problems. We ask whether their outputs can also retain enough structure for efficient classical verification. A positive answer would broaden our understanding of shallow quantum circuits and mark a step toward more practical tests of quantumness.
Let us start by taking stock of the evidence for the power of shallow quantum circuits. Sampling the output distribution of a constant-depth quantum circuit can be hard for polynomial-time classical algorithms under plausible complexity-theoretic assumptions. This was shown by Terhal and DiVincenzo [TD04] and later extended to constant-depth architectures suited to quantum simulators, with hardness holding also on average [MSM17, BVHS 18, HHB 20]. The later results adapt hardness arguments developed for the broader class of instantaneous quantum polynomial-time (IQP) circuits, whose depth is low but not constant [BJS11, BMS16]. Relative to a black-box random oracle, sampling hardness can even be made unconditional: a constant-depth circuit that queries the oracle can sample from the Fourier spectrum of the oracle's truth table [Aar10, BBF 26]. Beyond the oracle setting, one can prove unconditional separations between quantum circuits and shallow classical circuits [BGK18, CSV21, GS20, HdOSZ26]. Such separations can also be robust to noise [BGKT20] and hold on average rather than only in the worst case [BWKST19].
A complementary line of research by Høyer and Špalek [HŠ05] showed that constant-depth quantum circuits with unbounded fan-out—the class —can approximate the quantum Fourier transform and the arithmetic needed for Shor's algorithm [Sho97]. With polynomial-time classical pre- and post-processing,
Throughout this paper, , , , and denote classes of circuits rather than classes of problems. Let us also note why we restrict attention to sampling rather than decision problems: in a sublogarithmic-depth circuit over bounded-arity gates, each output bit depends on at most input qubits, so any decision problem solved by such circuits can be simulated classically in subexponential time. In particular, for constant-depth circuits over bounded-arity gates the corresponding decision task is solvable in classical polynomial time, and for log-logarithmic depth in quasipolynomial time .
this yields an efficient factoring algorithm. More recently, Grier, Morris, and Wu showed that constant-depth quantum circuits with unbounded fan-in gates, the class , can compute functions in , the class of constant-depth threshold circuits, when given multiple copies of the input [GMW26]. This is significant because proving lower bounds against remains a major challenge for current circuit lower-bound techniques, which face barriers such as natural proofs [RR97, NR04].
Shallow quantum circuits can also implement sophisticated cryptographic primitives. For instance, Foxman et al. [FPVY26] showed, under cryptographic assumptions, that pseudorandom unitaries admit exact implementations and inverse-polynomial-accuracy implementations. In related work, Gheorghiu showed that pseudoentangled states, states that “hide” their entanglement structure, can be prepared by circuits, i.e., constant-depth circuits with bounded fan-in and bounded fan-out gates [Ghe26].
Despite these results, our understanding of shallow quantum computation has an important verification gap. No task is known that is simultaneously solvable by circuits, hard for general polynomial-time classical computation, and efficiently verifiable by a classical algorithm. Unconditional shallow-circuit separations rule out only correspondingly shallow classical circuits, while generic sampling hardness does not provide an efficient predicate for recognizing a valid sample. The verifiable problems known to be both solvable by shallow quantum circuits and classically hard either require unbounded fan-out gates, as in the Høyer–Špalek setting [HŠ05], or use mid-circuit measurements and classical feed-forward, as in the interactive proofs of quantumness with shallow circuits of Hirahara and Le Gall [HLG21] and of Liu and Gheorghiu [LG22], and in the non-interactive protocol of Chia and Hung [CH23], which in addition uses a black-box random oracle as part of the quantum circuit. This leaves the following basic question:
Is there a (white-box) problem solvable by QNC circuits, classically hard, and efficiently verifiable?
We make partial progress toward answering this question by providing a sampling task with the following properties:
• it is classically hard under plausible lattice assumptions;
• its samples are classically verifiable in polynomial time;
• it is solvable by polynomial-width, log-logarithmic-depth quantum circuits (i.e., QNC [log log] circuits);
- it is solvable by polynomial-width, constant-depth quantum circuits with unbounded fan-in gates (i.e., circuits).
Since [HŠ05, TT16], the sampling task is also solvable by circuits, though we do not emphasize this point: as mentioned, a similar task can already be solved using the Høyer–Špalek result. Our reason for targeting is that it appears to be a much weaker class. Whether polynomial-size constant-depth circuits can compute parity—equivalently, fan-out—is a long-standing open problem: the best known circuits have exponential size [Ros21]. Polynomial-size circuits are known only for fan-out on polylogarithmically many qubits [GMW26], and circuits with few ancilla qubits provably cannot compute parity, even approximately [NPVY24]. By contrast, adding the fan-out gate makes threshold arithmetic exactly computable in constant depth and collapses the resulting depth hierarchy [HŠ05, TT16]. As far as is known, lacks precisely the operation that gives its power.
An important subtlety with such a result concerns circuit width. A polynomial-size circuit on qubits can always be simulated classically by maintaining its -dimensional state vector. In particular, a circuit whose width is polylogarithmic in a parameter has simulation cost at most . It is relatively straightforward to construct such quantum circuits that solve a classically hard problem, produce a verifiable solution, and have log-logarithmic depth. The idea is to use the Cleve–Watrous parallelization of Shor’s algorithm to factor a semiprime with polylogarithmic bit length [CW00]. More concretely, suppose we wish to factor a semiprime represented using polylog() bits. The best known classical algorithms have quasipolynomial cost in , namely . With the Cleve–Watrous parallelization, however, the corresponding quantum circuit has depth
We also note that the Chia and Hung result is not merely a proof of quantumness, but a protocol for certifying the depth of quantum provers [CH23].
This is the case when the semiprime has bits.
. This is unsatisfactory, however: the construction merely expresses the input length as polylogarithmic in a larger parameter, and with respect to the actual input size the depth remains logarithmic. One could instead ask for polynomially many small semiprimes to be factored in parallel, thereby obtaining polynomial total width while preserving log-logarithmic depth, but the classical running time would remain quasipolynomial.
We argue that to obtain a genuine separation at polynomial width, we need a task with exponential classical hardness in the security parameter: ideally, no -time classical algorithm should solve it, while bounded-arity quantum circuits of depth can. Our construction achieves these properties under the assumptions stated below.
Theorem 1.1 (Informal). Assume the subexponential knowledge-of-lattice-point (LK-1/4) assumption (Assumption 5.3) and the adaptive-hardcore-bit assumption with carry predicates (Assumption 6.7). There is a family of sampling problems, indexed by a security parameter , whose samples can be verified in classical polynomial time. This is illustrated as a challenge-response task in Protocol 2.1. An honest quantum sampler is accepted with probability and has two polynomial-size implementations: a circuit over one- and two-qubit gates and a constant-depth circuit with unbounded fan-in gates. By contrast, any uniform classical sampler running in time is accepted with probability at most . Both quantum implementations consist of a single unitary circuit followed by a final measurement layer and require neither mid-circuit measurements nor classical feed-forward.
Table 1 summarizes how our results compare to previous work on quantum advantage from shallow circuits.
The LK-1/4 and carry-predicate assumptions are nonstandard, so we briefly motivate their origins. Our starting point is the LWE-based proof of quantumness of Brakerski et al. [BCM 21] (BCMVV), together with the single-round variant of Arabadjieva et al. [AGGM25] (AGGM). A proof of quantumness is a protocol between a classical polynomial-time verifier and a purportedly quantum polynomial-time prover: the verifier issues challenges that an efficient quantum prover can answer, but that no efficient classical prover should answer with comparable success. The original BCMVV protocol has two rounds (four messages) and requires the quantum prover to perform mid-circuit measurements. Single-round variants, consisting of one challenge and one response, can be obtained either in the random-oracle model [BKVV20, YZ24, CH23] or under a knowledge assumption, as in AGGM. The random-oracle route is ill-suited to a low-depth result: because the oracle is a black box, it provides no circuit-depth guarantee. Indeed, a light-cone argument shows that any exact one- and two-qubit-gate implementation of a function with n input bits and one output bit, where the output depends on every input bit, must have depth . We therefore follow AGGM's fully white-box approach, which is based on the LK assumption.
In cryptography, knowledge assumptions are non-falsifiable: unlike the hardness of factoring or LWE, they are not efficiently testable by an external challenger. Instead, a knowledge assumption makes a claim about the structure of algorithms—namely, that any algorithm accomplishing a certain task must “know” an associated witness. This is formalized through an efficient extractor, tailored to the algorithm, that recovers the witness from the algorithm’s input and random tape. For intuition, consider a one-way function whose image is a small random subset of its codomain. If an algorithm, given a description of the function, outputs a point in its image, a knowledge assumption asserts that it must have known a corresponding preimage. Such functions are known as extractable one-way functions [CD09, BCPR16].
Knowledge assumptions were introduced by Damgård, who used them to construct a public-key encryption scheme designed to resist chosen-ciphertext attacks (CCA) [Dam92]. Variants were subsequently refined for three-round zero-knowledge arguments [HT98, BP04] and used in succinct non-interactive arguments of knowledge (SNARKs) and practical verifiable-computation systems such as Pinocchio [GGPR13, PHGR13]. Thus, although non-falsifiable, knowledge assumptions have served as a cryptographic design tool for more than three decades.
This argument applies to as well: factoring these small semiprimes can be done by a constant-depth circuit. This is achieved with fan-out gates that act on only polylogarithmically many qubits. Fan-out at that scale can be performed in polynomial-width , as shown recently by Grier, Morris, and Wu [GMW26].
This is a technical term; it does not mean that the assumption literally cannot be falsified.
| Classical hardness | Verifiable | Quantum depth | Mid-circuit meas. | Fan-out | Fan-in | Black box | |
|---|---|---|---|---|---|---|---|
| Sampling hardness[TD04, MSM17, BVHS18, HHB20] | exponential | no | no | bounded | bounded | no | |
| Fourier sampling[Aar10, BBF26] | exponential | no | no | bounded | bounded | yes | |
| Unconditional separations [BGK18, CSV21, HdOSZ26] | shallow circuits | yes | no | bounded | bounded | no | |
| Interactive shallow Clifford circuits [GS20] | circuits | yes | yes | bounded | bounded | no | |
| Parallelized Shor [Sho97, CW00] | exponential | yes | no | bounded | bounded | no | |
| Factoring with fan-out [HS05] | exponential | yes | no | unbounded | bounded | no | |
| Interactive proofs of quantumness[HLG21, LG22] | exponential | yes | yes | bounded | bounded | no | |
| Proofs of quantum depth [CH23] | exponential | yes | yes | bounded | bounded | yes | |
| Single-round proofs of quantumness[AGGM25] | exponential | yes | no | bounded | bounded | no | |
| This work | exponential | yes | no | bounded | bounded | no | |
| This work () | exponential | yes | no | bounded | unbounded | no |
Table 1. Comparison with previous work on quantum advantage from shallow circuits. “Classical hardness” is the classical time complexity that the task is conjectured to require, measured in a security parameter in which the input size is polynomial. The unconditional separations hold without assumptions but only against shallow classical circuits (the interactive variant of Grier and Schaeffer [GS20] is hard for circuits), and the hardness of Fourier sampling is unconditional relative to a random oracle; the remaining rows rely on complexity-theoretic or cryptographic assumptions, with the last two using those of Theorem 1.1, which rule out -time samplers. “Verifiable” indicates whether a classical polynomial-time verifier can check the output. The remaining columns list the quantum resources used: circuit depth, mid-circuit measurements with classical feed-forward, gate fan-out and fan-in, and black-box (random-oracle) access. Green marks an ideal property, yellow an acceptable caveat, and orange and red increasingly significant limitations for the goal of verifiable quantum advantage in low depth. Note that unbounded fan-in is orange because it is viewed as being weaker than unbounded fan-out, which is in red.
The LK assumption is a lattice-based knowledge assumption: roughly, an algorithm that, given a description of a lattice, outputs a noisy lattice point must know the lattice point closest to it. It was introduced in work on CCA-secure somewhat homomorphic encryption [LMSV12]; related lattice-knowledge assumptions have since been used in efficient constructions of lattice-based designated-verifier zero-knowledge SNARKs [GMNO18, ISW21].
Even under the LK assumption, the honest AGGM prover must evaluate a logarithmic-depth circuit. We use randomized encodings to compile the prover’s computation to one that can instead be evaluated either in log-logarithmic depth or in constant depth with unbounded fan-in gates. Classical hardness rests on a subexponential form of the LK assumption of AGGM, as well as an adaptive-hardcore-bit assumption for
LWE with carry predicates. Informally, BCMVV proved the classical hardness of their interactive test using an adaptive-hardcore-bit property which follows from LWE. This states that no efficient algorithm, given an LWE public key, can predict a self-chosen parity of the secret non-negligibly better than guessing, subject to an admissibility condition that excludes degenerate choices. Our assumption states that adaptively chosen carry bits do not help: the algorithm may augment its parity with bits that flip when partial sums of the LWE equations are added to values of its choice, making the predicted bit nonlinear in the LWE secret. The carry bits account for the structure that our randomized encoding places in the prover's equation; the assumption is not currently known to follow from standard LWE, though we provide partial evidence toward such a reduction.
BCMVV and AGGM We begin with a brief recap of the proof of quantumness of Brakerski et al. [BCM 21]. The protocol uses trapdoor claw-free functions (TCFs) constructed from LWE. A TCF f can be generated and evaluated efficiently and is 2-to-1. Thus, every output has exactly two preimages and ; the pair , for which , is called a claw. Claw-freeness requires that no efficient algorithm can find such a triple . For the TCFs used in BCMVV, this property is based on the conjectured intractability of LWE. The description of f is also generated together with a secret trapdoor that enables efficient inversion: given the trapdoor and any , a polynomial-time algorithm can recover the corresponding claw . We use this idealized description for clarity; the noisy LWE instantiation below has small correctness and boundary errors.
BCMVV use a somewhat stronger variant of a standard TCF. In addition to being unable to find a claw, no efficient algorithm should be able, with probability non-negligibly greater than 1/2, to produce an image with a valid preimage as well as an admissible string satisfying the equation . This requirement is known as the adaptive-hardcore-bit property (AHCB). Intuitively, given an input-output pair, it is intractable to predict even one bit of information about the other preimage in the claw. Brakerski et al. showed, based on the intractability of LWE, that their TCF construction satisfies this property [BCM21]. We can now describe their protocol.
The verifier first samples a TCF satisfying the AHCB property together with its trapdoor, denoted , and sends the description of to the prover. The prover responds with a point . The verifier then chooses uniformly between two challenges. In the preimage test, it asks for an such that . In the equation test, it asks for an admissible string such that , where are the preimages of . Both conditions can be checked efficiently. For the preimage test, the verifier evaluates on the prover's response and checks that the result equals . For the equation test, it uses the trapdoor to recover from and checks the equation for .
Any classical prover that succeeds in this protocol with probability non-negligibly greater than 3/4 can be used to violate the AHCB property. By contrast, in this idealized description there is a simple quantum strategy that succeeds with probability 1. Suppressing normalization, the quantum prover first prepares the state
and measures the second register, obtaining some . Since is a TCF, the first register collapses to
The prover retains this state and sends y to the verifier. Upon receiving the challenge, it measures the state in Equation (1) in either the computational basis (for the preimage test) or the Hadamard basis (for the equation test). Despite its simple structure, the protocol is interactive and requires the prover to keep the state in Equation (1) coherent until it receives the verifier's challenge.
Arabadjieva et al. [AGGM25] show how to replace this interactive protocol with a single-round one using a knowledge assumption. To see the main idea, suppose that the TCF had the following additional property: whenever a classical algorithm produces an image , an efficient extractor can recover a corresponding preimage from the algorithm's input and random coins. In essence, this says that a classical prover that evaluates the TCF must “know” the preimage on which the evaluation was performed. The preimage challenge would then no longer be necessary. Instead, the prover could return in a single response, and the verifier would only need to check that is a valid image and that the equation for is correct.
Existing knowledge assumptions do not, however, establish both extractability and the AHCB property for the same function family. AGGM instead use two function families whose public descriptions are computationally indistinguishable. The first is the original TCF f, which satisfies the AHCB property based on LWE. The second is an injective function g for which the knowledge-of-lattice-point (LK) assumption provides the required extractor. Rather than choosing a challenge after receiving y, the verifier chooses one of these functions at the outset and hides this choice in its description. An efficient classical prover cannot tell which function it received and must return without a subsequent challenge. For f, the verifier uses its trapdoor to recover the claw and check the equation for d; for g, it uses its trapdoor to check that y is a valid image.
If a classical prover succeeds for g, the knowledge assumption gives an extractor that recovers a preimage of y. Indistinguishability transfers this extraction guarantee to f, where the extracted preimage and an accepted equation would violate the AHCB property. An honest quantum prover, by contrast, can obtain y and d by measuring the two registers of its state and can therefore send both values at once without waiting for another message from the verifier. For this reason, the LK extraction guarantee is assumed only for classical algorithms.
In terms of depth, the AGGM prover must coherently evaluate the LWE-based TCF. Standard implementations have either logarithmic depth or constant depth with unbounded fan-out [GH20]. To obtain a shallow implementation with bounded fan-out, we adapt the randomized encoding for binary affine maps proposed in [Ghe26] to affine maps over a ring. Before explaining this construction, let us first describe the two functions to be encoded: the LWE-based TCF of BCMVV and the extractable function of AGGM.
The LWE-based TCF Throughout, we write all vectorial quantities in boldface. In LWE, one is given a matrix and a vector , where is secret, is a short error vector sampled from the truncated discrete Gaussian of parameter , and is the modulus. The search variant of LWE asks one to recover from [Reg09]. The BCMVV instantiation chooses the secret from . Its LWE-based TCF is defined by
where for a width .
It is useful to make the function noise explicit by writing
The bit selects one of two noisy branches. Suppose that branch is evaluated at . Taking and on branch gives
Such pairs form claws of the function. The function noise is sampled from a range much wider than that of the LWE error e, so translating it by e preserves all but a negligible fraction of its mass. Consequently, almost
While the LK assumption already provides a separation between classical and quantum computations, it is unclear whether it is sufficient, on its own, to obtain a proof of quantumness. This is why the AGGM protocol uses both LK and LWE.
every output produced by one branch also occurs on the other. The x-components of the two inputs differ by the secret s, so finding both would reveal s and thereby break search-LWE. Although we omit the details here, one can efficiently sample the LWE instance (A, u) together with a trapdoor that enables efficient inversion of f.
The extractable function used by AGGM has the same public affine form,
but here the full matrix is generated as a single trapdoor matrix, rather than taking . Except with negligible probability, every image of this function has a unique preimage over the input and noise ranges considered in the protocol, and the LK assumption says that a classical algorithm producing a valid image must know that preimage. Under LWE, the public descriptions of and are computationally indistinguishable to efficient classical provers, so a prover cannot adapt its strategy to the function it receives.
A randomized encoding for affine maps over a ring The remaining task is to obtain low-depth implementations of these two functions. Direct evaluation does not suffice: the functions effectively compute long sums modulo , which require logarithmic depth. Instead, we construct low-depth randomized encodings of these functions. A randomized encoding of a function is a new randomized function that retains key properties of . Let
The affine map that we wish to encode, which computes either f or g, is
Each output coordinate is a sum involving essentially every coordinate of , and each coordinate of is reused in every row of . Rather than compute these sums and distribute the inputs directly, the randomized encoding replaces by a longer string and defers the global work to a classical decoder. We need three properties. First, the decoder must recover the original output. Second, the encoded string must reveal nothing else: its distribution should depend on only through . Third, given an input and a compatible encoded string, it must be possible to reconstruct the randomness used to create that string. Shallow implementation also requires locality: every symbol of the longer string should depend on only a constant number of source values, and no source value should be used in more than a constant number of symbols. An encoding with these properties for binary affine maps was given in [Ghe26]; here we generalize it to maps over .
To see the basic idea behind the encoding, first consider
This is the modulo-q analog of the parity function. Choose independent uniform masks , and set . The randomized encoding for outputs
One can think of as moving a random amount from position to position : it is subtracted from and added back into . This is why the are called path masks: the positions form a path, each mask sits on an edge between consecutive positions and shuttles a random amount one step along it, and summing along the path cancels every mask; see Figure 1. Each therefore uses only one input and its two neighboring masks.
Adding the encoded symbols causes the masks to cancel in adjacent pairs:

Fig. 1. The path-mask encoding of the sum modulo , for . The symbols form a path, and the mask lives on the -th edge: it moves a random amount from position to position , subtracted from and added to . Summing along the path cancels every mask and returns the sum.
Thus, the decoder recovers S, even though each is computed locally.
The tuple also hides the individual summands. For any fixed total, it is uniform over all tuples whose coordinates have that total. Given only the total, one can therefore sample uniformly and choose to make the sum correct. Thus, two inputs with the same sum give exactly the same distribution of encoded tuples.
Applying this path-mask encoding independently to every row of Mv would handle the long sums, but it would still use the same input in every row. We need to avoid this reuse in order to preserve constant locality. To do this, we add a second layer of random masks.
For each input coordinate , choose fresh uniform values and output
From these symbols, the classical decoder can derive a separately masked version of for row i:
The long prefix sum is performed only by the decoder. The encoder touches once, in , and every other w-symbol is just the difference of two adjacent masks.
The decoder’s masked value introduces an unwanted correction . We hide and collect these corrections using the path-mask encoding above. Independently for each row , choose uniform masks , set , and produce
Adding across row i cancels the h-masks and leaves precisely the unwanted correction:
The decoder can therefore recover the i-th coordinate of the matrix product:
Finally, the function noise is inserted locally. We replace the first z-symbol in row i by
and leave the other symbols unchanged. Since the decoder subtracts the z-symbols, its output becomes
This completes the encoding of the affine map.
The two mask layers address different obstacles. The r-masks prevent one input from feeding every matrix row, while the h-masks break each row's correction sum into independently computable local terms. The encoded output consists of all the w- and -symbols. The masks make its distribution depend only on the decoded value, just as in the addition example. More concretely, for a fixed input the map from the uniform r-masks to the w-string is a bijection, so w is uniform and hides v. Once w and the decoded value are fixed, the h-masks make each row of uniform subject only to the required row sum.
The masks are also uniquely reconstructible. Given v and an encoded output, one first decodes it to and obtains . Restoring , one recovers the r-masks successively from the w-symbols and then the h-masks successively from the z-symbols.
Most importantly, the quantum part of this computation is entirely local. Every encoded symbol depends on at most three source words. Conversely, each input word appears once, each r-mask appears in at most two w-symbols and one z-symbol, and each h-mask appears in two adjacent z-symbols; each function-noise word also appears once. All of the prefix sums and row sums occur later in the classical decoder. Once the encoded symbols have been measured, that decoder may copy and reuse them freely.
The encoded quantum strategy We can now explain the quantum prover's strategy in the protocol. As mentioned, the prover will be asked to evaluate an encoding of an affine function. We track the prover's state through the computation, suppressing normalization and, until they matter, the scratch registers used for the arithmetic. Write for the encoded output, the string of all - and -symbols.
The prover first prepares a uniform superposition over the branch bit, the input, the function noise, and the two collections of masks, next to an output register initialized to zero:
In the shallow construction, the function noise is uniform over a centered interval of power-of-two size. This both preserves the overlap between the two TCF branches and allows its superposition to be prepared exactly using Hadamard gates followed by a fixed modular translation.
Second, the prover evaluates the encoding into the output register:
Every symbol of depends on only a constant number of source words, so this step is local.
Third, the prover erases the function-noise register. This step is needed because the two sides of a TCF claw use different values of : if the noise remained, it would become part of the final Hadamard relation below. Since enters a single symbol, , the local reversible update
maps to zero on every basis state of the superposition. After this update, and after uncomputing the arithmetic scratch, the state is
the noise value survives only inside the output register.
Finally, the prover applies Hadamards to the registers containing b, x, r, h and measures everything. All measurements occur at the end; for the analysis it is convenient to view the output register as measured first, which is equivalent because the measurements act on different registers and commute. Measuring the output register yields an encoded string, and the surviving superposition consists of exactly the sources that produce it. Perfect privacy says that the two original preimages of the decoded value induce identical distributions on encoded strings, and randomness reconstruction says that exactly one mask assignment is compatible with each of them. Except for a negligible fraction of boundary and shifted-noise cases, the unmeasured registers are therefore in the state
where denotes componentwise binary representation and , are the unique masks compatible with the input and the measured output; the erased function noise appears in neither string. The string is the extended preimage on branch , and the complete extended preimage. The Hadamard measurement of these registers produces a uniformly random direction and a bit satisfying
The randomized encoding has thus preserved the interference between the two preimages used by the original protocol while making the coherent computation local.
Verification and classical hardness The verifier chooses uniformly between the TCF and its indistinguishable extractable counterpart . When it chooses , its trapdoor recovers the decoded preimage, and it checks that the encoded output is a valid encoding of that preimage, masks included (Definition 6.3). When it chooses , its trapdoor recovers the two original preimages, and randomness reconstruction recovers the corresponding ; the verifier then checks the stated equation , together with an admissibility condition on (Definition 6.6, analyzed in Appendix A).
It is worth writing out what this equation says, because its structure dictates the assumption we make. The two extended preimages differ in three ways. The inputs differ by the LWE secret: . Recall that the encoded input is ; the shift means that changes by for , while the branch coordinate changes by +1. The -masks differ by coordinates of : once the encoded output is fixed, the first -symbol of column determines , and the remaining -symbols fix the differences of adjacent masks, so each input shift propagates down its column with opposite sign:
The h-masks differ by partial sums of the LWE equations: telescoping the first symbols of row gives , and across the two branches the -shifts contribute while restoring the erased noise contributes , so
The parity compares such values bitwise. Because the secret is binary, the - and -contributions are linear in , with coefficients the prover can compute from its own transcript. The -contributions are nonlinear: XORing the binary representations of two values that differ by a modular shift produces the carry pattern of that shift. For instance, adding 1 to 3 turns 0011 into 0100 and flips three bits, while adding 1 to 4 turns 0100 into 0101 and flips one: the flipped bits show how far the carry propagates, and this depends jointly on the shift and on the value being shifted. This is similar in spirit to the crypto dark matter proposals of Boneh et al. [BIP 18] and the alternating-moduli constructions that followed [DGH 21], which build cryptographic primitives by composing linear functions over two different moduli, a composition that is nonlinear over either modulus; here the two moduli are and 2. Altogether, the checked equation takes the form
The last column , where is public, contributes only to the offset bit . Each carry term is anchored at the branch-0 mask , the value at which the carry pattern of adding is read off;
we call this value the base point of the term, and, as the example above shows, the same shift produces different carries at different base points. The linear coefficient , the offset bit , the bit masks , and the base points are all computable from the public key, one extended preimage, and , without the secret; the displayed equation is written for branch 0, and the branch-1 preimage gives an equivalent sign-flipped form. Computability without the secret is what will turn a successful classical prover into an adversary for our assumption. We call each term of the double XOR, i.e., , a carry predicate: a choice of a row , a prefix length , a base point (here ), and a selection of bit positions.
The LK assumption provides an extractor that obtains a decoded preimage from any successful classical strategy, and randomness reconstruction extends it to the full string , masks included. Indistinguishability lets this extraction event be transferred from to . Since the verifier chooses the two functions uniformly, an average success probability exceeding by more than the reduction error would imply that, with probability correspondingly larger than , a classical prover both holds an extended preimage and supplies a correct equation of the displayed form.
We therefore assume an adaptive hardcore bit with carry predicates: no efficient algorithm, given the public key, can produce a linear function of the secret, a list of carry predicates of its choice, and a prediction of the resulting parity that is correct non-negligibly more often than a random guess, subject to an admissibility condition that excludes degenerate choices. With no carry bits this is the BCMVV adaptive-hardcore-bit property, which follows from LWE; our assumption essentially states that allowing adaptively chosen carry bits does not help. To see what the carry bits add, consider a single carry predicate with base point : it contributes bits of , the binary representation of the partial sum itself. The top bit of is a threshold function of the secret, far outside the linear parities that the BCMVV theorem controls. Unfortunately, unlike for the ordinary adaptive hardcore bit, we were not able to derive this statement from standard LWE. Nevertheless, we provide some evidence for why such a reduction might be true in Appendix B.
The carry-predicate assumption also implies that the keys of and are indistinguishable (the key-mode indistinguishability of Lemma 5.4, with the equation key and the image key). A direct reduction converts a distinguisher for the two keys into a predictor for a two-coordinate parity of the binary LWE secret. Thus the two cryptographic assumptions used for classical soundness are LK extraction for and the carry-predicate assumption for , with the latter also supplying key-mode indistinguishability. The resulting soundness bound is .
Circuit depth To see why the prover can perform the evaluation in shallow depth, let be an -bit prime, where ; the parameters are fixed in Section 6.1. Each output symbol of the randomized encoding is the result of only a constant number of additions, subtractions, and multiplications on -bit words. With bounded-arity gates these operations have depth , and the encoding's constant input locality allows all symbol calculations to run in parallel. Since , this gives depth .
The same local arithmetic can be shown to be implementable in constant depth with fan-out gates of size . Grier, Morris, and Wu show how to exactly implement fan-out of this size with polynomial-size standard-QAC circuits [GMW26]. Together with the constant input locality, this lets all local blocks run in parallel on disjoint registers and yields an exact constant-depth QAC implementation. The construction uses only polynomially many source, mask, output, and scratch words, so both implementations have polynomial width. They perform exactly the same encoded computation, produce the same transcript distribution, and use only final measurements.
The superposition over inputs and masks can also be prepared with polynomially many parallel blocks of size poly(L). This can once again be done either with bounded-arity gates in log-logarithmic depth or with a QAC circuit.
The protocol in brief Protocol 2.1 summarizes the steps described in this overview. The formal version, with the parameters and the exact checks, is Protocol 6.11; the formal statement of Theorem 1.1 is Theorem 6.16. The honest quantum prover is accepted with probability , and, under our assumptions, no uniform classical prover of time is accepted with probability exceeding .
Protocol 2.1 (Simplified overview protocol).
Input: a security parameter .
-
Challenge. The verifier samples, with equal probability, either the claw-free function , where is an LWE sample, or its extractable counterpart of the same public form, where is a single trapdoor matrix; the two descriptions are computationally indistinguishable. It keeps the trapdoor and sends to the prover.
-
Response. The prover prepares a uniform superposition over the branch bit , the input , the function noise , and the encoding masks ; evaluates the randomized encoding into an output register; erases the function-noise register in place; applies Hadamards to the registers holding ; and measures all registers. This computation admits both a implementation with one- and two-qubit gates and a constant-depth implementation. The prover sends the measured encoded output , the direction , and the bit .
-
Verification.
– If the verifier sampled : it accepts if decodes to a valid image of , checked using the trapdoor.
– If the verifier sampled : it recovers the two extended preimages of —the binary encodings of the two claw preimages together with their reconstructed masks—using the trapdoor and randomness reconstruction. It accepts if passes the admissibility test and
3 Related Work
Sampling advantage from shallow circuits As mentioned in the introduction, hardness of classically sampling the outputs of constant-depth quantum circuits was first established by Terhal and DiVincenzo [TD04]. Worst-case and average-case hardness arguments were developed for the low- but not constant-depth IQP model [BJS11, BMS16] and were subsequently brought to constant depth proper, for measurement-based and quenched-Hamiltonian architectures [MSM17, BVHS 18, HHB 20]. None of these sampling tasks is known to be efficiently verifiable. Proposals that hide a verification secret inside an IQP circuit [SB09, BCJ25] have faced secret-extraction attacks [KM23, GH25], so their classical security remains unsettled. In the black-box setting, Fourier sampling relative to a random oracle is solvable by constant-depth circuits with oracle gates and is unconditionally hard classically [Aar10, RT22, BBF 26]; it supports certified randomness, but with a verifier that runs in exponential time [BBF 26].
Unconditional separations Bravyi, Gosset, and König proved unconditionally that a relation problem solvable by QNC circuits requires logarithmic depth classically [BGK18]. This separation was made noise-tolerant [BGKT20], extended to hardness against AC circuits [BWKST19] and, in interactive form, against NC [GS20], developed into certifiable randomness against low-depth adversaries [CSV21], and generalized to a depth hierarchy for shallow circuits [HdOSZ26]. Unconditional and exponentially large quantum advantages are also known in sample complexity [BBW26, BMSW 25]. These tasks are all efficiently verifiable, but their hardness holds only against restricted classical models rather than against all polynomial-time algorithms.
Cryptographic tests of quantumness BCMVV introduced the LWE-based test of quantumness underlying our result [BCM 21]; Mahadev's verification protocol and the computational Bell test of Kahanamoku-Meyer et al. developed closely related forms of classical verification [Mah22, KMCVY22]. Single-round variants were obtained in the random-oracle model [BKVV20, YZ24] or fully white-box by using knowledge assumptions [AGGM25]. On the depth side, Hirahara and Le Gall [HLG21] and Liu and Gheorghiu [LG22] compressed the honest prover of such protocols to constant-depth circuits interleaved with mid-circuit measurements and classical feed-forward, and Chia and Hung combined these ingredients with a random oracle to certify the depth of a quantum device [CH23]. Compared with these works, our honest prover runs a single white-box shallow circuit with one final measurement layer, at the cost of less standard assumptions.
Fan-out, fan-in, and shallow arithmetic The distinction between unbounded fan-in and unbounded fan-out goes back to early work on parallel quantum computation [MN01, GHMP02]. Høyer and Špalek showed that fan-out yields constant-depth implementations of the arithmetic behind Shor's algorithm [HŠ05], building on the logarithmic-depth parallelization of Cleve and Watrous [CW00], and Takahashi and Tani proved the exact collapse of the fan-out depth hierarchy [TT16]. For fan-in, Grier, Morris, and Wu showed that QAC circuits can compute TC functions when given many copies of the input [GMW26]; our QAC compilation uses their exact polylogarithmic fan-out construction. Foxman et al. construct pseudorandom unitaries in these shallow classes [FPVY26], and their use of QAC parallels ours: Rosenthal showed that fan-out has approximate constant-depth QAC implementations of exponential size [Ros21], and Foxman et al. instantiate a refinement of that construction on blocks of logarithmically many qubits, where its size becomes polynomial and its error inverse-polynomial. In both cases QAC supplies fan-out only at small scales—for us, the polylogarithmic arithmetic blocks of the randomized encoding—and the construction is arranged so that no larger fan-out is ever needed.
Randomized encodings Randomized encodings with constant locality originate in the work of Applebaum, Ishai, and Kushilevitz on cryptography in NC [AIK06]. Our encoding is a q-ary path-mask analog of the binary encoding recently used for constant-depth pseudoentanglement [Ghe26].
4 Discussion
Our results leave open the central question raised in the introduction: can verifiable quantum advantage be achieved with QNC circuits? The two implementations we gave approach this question from complementary directions. The bounded-arity implementation has depth , while the constant-depth implementation uses unbounded fan-in gates. Thus, neither gives a constant-depth circuit over only one- and two-qubit gates.
There are a few ways one could imagine pushing this construction to a true QNC one. First, the reason for the log-logarithmic depth, or the unbounded fan-in, is that we must perform arithmetic on L-bit numbers, where . If it were possible to construct analogous functions over a constant-size modulus, then and we would have a QNC implementation. Unfortunately, constructing trapdoor claw-free functions over a constant-size modulus has proven difficult. The closest construction is the lossy trapdoor function family of Dao and Jain, based on the Dense-Sparse Learning Parity with Noise (LPN) assumption [DJ25]. In fact, this is precisely what allows the pseudoentanglement construction of [Ghe26] to have a QNC implementation. However, the lossy trapdoor functions are not 2-to-1, and the trapdoor there cannot invert the lossy function. Neither property is needed for a pseudoentanglement construction, but both are needed for a verifiable test of quantumness (at least in this formulation).
A second possibility is to change the randomized encoding, rather than the TCFs. Specifically, one would need a polynomial-length randomized encoding with the same output- and input-locality properties at the level of individual bits rather than individual q-ary symbols. In particular, every encoded output bit should depend on only a constant number of input and random bits, and every input or random bit should occur in only a constant number of output formulas. To carry over the present proof directly, the encoding should also retain efficient decoding, perfect privacy, and efficient unique randomness reconstruction. The coherent superpositions over the encoding randomness and function noise would have to be preparable in constant depth with bounded-arity gates. Classical soundness would additionally require an analog of the carry-predicate assumption for the resulting encoding. We were not able to find a randomized encoding satisfying all of these properties.
A separate cryptographic open problem is to derive Assumption 6.7 from standard LWE. At our parameters, the standard BCMVV reductions already yield key-mode indistinguishability and the adaptive hardcore bit for the original preimages, i.e., the linear version of the property we need. (The quasipolynomial-size modulus easily accommodates the noise gaps these reductions require.) What they do not yield is the tolerance of carry predicates, which let the adversary's equation involve carry bits of the partial sums of the LWE equations.
As mentioned, though, we do provide some evidence that the carry-predicate version of the adaptive-hardcore-bit property should indeed hold against classical adversaries. To explain why, we first recall what violating the assumption would mean. A successful adversary, given the public key, chooses a linear function of the binary LWE secret, a selection of carry bits of the partial sums evaluated at base points of its choice, and a correct prediction of the combined parity, subject to an admissibility condition that excludes degenerate choices. In Appendix B we show that various efficient classical strategies for doing this must fail if LWE is hard. Below, denotes the length of the binary LWE secret.
First, no efficient classical algorithm can, once its base points are chosen, predict these parities, carry bits included, for uniformly random challenges, non-negligibly better than guessing. If one could, rerunning it on many random challenges from the same saved state and applying Goldreich–Levin reconstruction [GL89] would recover the secret in full, contradicting the indistinguishability of the two key modes. Second, a different reduction tolerates an adversary that chooses its own challenges once its base points are fixed, provided it can be rerun from that point to produce many equations that are overwhelmingly often correct and its challenge distribution is not too concentrated: challenges that retain all but n/4 bits of the maximum possible min-entropy still lead to a contradiction. An adversary therefore cannot escape the reduction merely by biasing its choice of challenges. Third, we show that, perhaps unsurprisingly, if the adversary makes no use of the carry predicates, so that its predicted bit is a linear function of the secret, then to succeed it would have to break the ordinary adaptive-hardcore-bit property, even when its choices are fully adaptive. A sharper version also holds: if such an adversary’s predictions have merely inverse-polynomial bias, then having slightly more than n/2 bits of min-entropy in its linear function already yields a contradiction. The proofs turn these predictors directly into key-mode distinguishers and adversaries against the ordinary BCMVV adaptive-hardcore-bit game. The underlying difficulty in proving the full carry-predicate version outright is the nonlinear dependence of the checked equation on the secret: the privacy and randomness-reconstruction properties of the randomized encoding are not enough to map it back to the BCMVV hardcore bit.
A possible way to avoid the adaptive hardcore bit altogether would be to base the construction on the proof of quantumness of Kahanamoku-Meyer et al. [KMCVY22] instead of BCMVV: their computational Bell test replaces the hardcore-bit check with a CHSH-style test and needs only the claw-free structure of the trapdoor family. However, that protocol has three rounds of interaction instead of two, and it is unclear whether knowledge assumptions can collapse it to a single round, as is possible with BCMVV [AGGM25].
In terms of practicality, our construction likely cannot be implemented on near-term devices due to the large width of the circuits involved. A conservative estimate shows that the width of the circuit is . Much of this overhead comes from the encoding masks, together with the workspace used to perform local arithmetic in parallel. Reducing the expansion of the randomized encoding and the workspace needed for its coherent evaluation, without increasing the depth or weakening security, is an important direction for future work.
Statement on AI usage The main ideas for the results in the paper are my own. I have, however, made extensive use of OpenAI's ChatGPT 5.6 Sol and Anthropic's Claude Fable in deriving the proofs and in writing this paper (mainly copy-editing, improving phrasing and so on). The carry-predicate form of Assumption 6.7 was proposed by Claude. I had initially expressed the assumption as an adaptive-hardcore-bit property of the randomized encoding of the original trapdoor claw-free function. I then asked Claude for a more self-contained statement, and it reformulated the assumption in terms of carry bits of the partial sums of the LWE equations, stated directly from the public key, with no reference to the encoding. Unfortunately, neither model was able to help me prove it based on LWE (even in conjunction with other assumptions), though they were also unable to disprove it. I have independently checked all the proofs.
5 Preliminaries
We fix notation, recall the basic notions of quantum information we use, and define the circuit classes considered in this paper.
5.1 Notation
Vectorial quantities (including bit strings viewed as vectors) and matrices are typeset in boldface. For example, are vectors, while are matrices. Scalars, random variables, sets, register names, and algorithms remain in ordinary math font. Indexed matrix entries retain the bold base symbol, as in , while coordinates of vectors are set in italic where the bold form would be cluttered, as in for the -th coordinate of . Entries of the mask arrays are written like matrix entries, and ; when a branch superscript is attached we drop the boldface and write . We write for the -th standard basis vector, and, for a positive integer , .
For an integer , we write for the ring of integers modulo and for its bit length (in our construction is chosen with , so this agrees with the parameter of Section 6.1). For a scalar, vector, or array of elements of , denotes its entrywise canonical -bit binary encoding, concatenated in the natural order; thus for . In our construction, is an odd prime, so some -bit strings represent integers at least ; such a string is not the canonical encoding of any ring element, and the verifier rejects any response in which one appears. Binary inner products are over . For a residue , center denotes its centered integer representative: for even , it lies in , and for odd , it lies in . We apply this convention coordinatewise to vectors.
A negligible function , denoted , is a function such that for every constant . For , we write for the string of ones.
5.2 Quantum information
We briefly recall the standard quantum formalism and refer to [NC10] for a complete treatment. The state space of qubits is the -dimensional complex Hilbert space , with the computational basis indexed by -bit strings. A pure state is a unit vector in this space. A quantum circuit is a sequence of gates, unitary operators acting on one or more qubits, followed by measurements. Measuring a register in the computational basis returns outcome with probability . The Hadamard gate acts on one qubit as for ; measuring a register in the Hadamard basis means applying to each of its qubits and then measuring in the computational basis.
We use the following standard calculation from LWE-based proofs of quantumness [BCM 21]. Measuring the state , for , entirely in the Hadamard basis yields a uniformly random string together with a bit satisfying .
5.3 Circuit classes
We use the standard definitions of the circuit classes , , and [AK 26]. Throughout, these names refer to classes of circuits rather than classes of problems.
A quantum circuit layer is a tensor product of gates acting on pairwise disjoint sets of qubits. The class consists of polynomial-size, constant-depth circuits over one- and two-qubit gates. We write when the depth is . The class additionally permits generalized Toffoli gates
with an unbounded number of controls; equivalently, it permits generalized controlled-Z after a one-qubit basis change on the target. This is unbounded fan-in. It does not let one qubit participate in several gates in the same layer.
The distinct class augments bounded-arity constant-depth circuits with the unbounded fan-out gate
Fan-out prepares GHZ states in constant depth, so the content of one register can feed many gates in the same layer. In particular, the fan-out gates on polylogarithmically many qubits used by our constant-depth arithmetic are available directly, so both of our circuit implementations carry over to . We keep and separate throughout.
Circuits are classically compiled from the public instance in polynomial time. Ancillas start in computational-basis states, arbitrary one-qubit gates are allowed, and all measurements occur in one final layer.
5.4 Proofs of quantumness
We now formalize the proofs of quantumness discussed in Section 1. We use the single-round formulation of AGGM [AGGM25], consisting of one challenge and one response.
Definition 5.1 (Single-round proof of quantumness, based on [BCM 21, AGGM25]). A single-round proof of quantumness consists of a classical generator Gen, a classical verifier, and an honest quantum prover, all parameterized by a security parameter . The generator produces a pair , where is the public challenge and is the private verification data. The prover receives and returns one classical message, after which the verifier, using , accepts or rejects.
-
Completeness. The protocol has completeness if the honest quantum prover is accepted with probability at least .
-
Soundness. The protocol has classical soundness at most if every fixed uniform probabilistic polynomial-time classical prover is accepted with probability at most for all sufficiently large .
The honest prover’s quantum circuit is generated classically from the public challenge; in our case it admits two implementations of the same computation: one over bounded-arity entangling gates, the other over generalized Toffoli gates of unbounded fan-in.
5.5 Learning with Errors
In the Learning with Errors (LWE) problem [Reg09], one is given a matrix and a vector , where is secret and is a short error vector; the decisional variant asks one to distinguish this pair from with uniform. The (subexponential) LWE assumption states that no efficient (even subexponential-time) classical or quantum algorithm can solve either of these two problems.
We do not use LWE as an assumption for our main result, instead relying on the stronger carry-predicate assumption. However, we use LWE to provide partial evidence for the carry-predicate assumption in Appendix B. There, the specific LWE parameters used are explained in more detail.
5.6 Lattice trapdoors
We use the standard LWE trapdoor generator of Micciancio and Peikert [MP12], in the form used by BCMVV [BCM 21].
Theorem 5.2 (Trapdoor generation, based on [MP12]). There are polynomial-time algorithms (TrapGen, TrapInv) and a constant with the following properties. For ,
Soundness is stated against uniform provers because the LK assumption below, like knowledge assumptions generally, is implausible against non-uniform adversaries with arbitrary auxiliary input [BCPR16].
produces a matrix statistically close to uniform together with a trapdoor for bounded-distance inversion. Except on a trapdoor-failure event, if
then returns the unique pair satisfying this bound, for an absolute constant determined by the generator.
We choose the constants in the generator so that its public marginal has statistical distance at most from uniform and its trapdoor failure probability is at most . These explicit rates are needed for comparison with the security bounds below, which are subexponential in n.
5.7 The knowledge-of-lattice-point assumption
The public input to the LK experiment is the complete parameter tuple
where and are the input and noise domain bounds fixed in Section 6.1; thus the modulus and domain bounds are available to both the adversary and extractor. We suppress this metadata in the notation below and call the lattice part of the instance. For , let
Write and for the length of a shortest nonzero lattice vector in the Euclidean and norms, respectively. For a generated matrix outside the trapdoor-failure event, the uniqueness statement in Theorem 5.2 implies
Indeed, a nonzero lattice vector of Euclidean norm below would give two distinct bounded-error representations of its residue modulo . Consequently , which is all we use. We use the online LK-1/4 relation of AGGM [AGGM25], a variant of the lattice knowledge assumption of [LMSV12]: when an algorithm outputs a point within of the lattice, an online extractor must return the corresponding nearby lattice point.
Assumption 5.3 (Subexponential LK-1/4, based on [LMSV12, AGGM25]). There is a constant such that for every classical algorithm of time at most in the LK-1/4 experiment, there is an online stateful extractor with polynomial overhead and failure probability at most , for the trapdoor-matrix ensemble of Section 6.1.
The assumption averages over the trapdoor key, the adversary's random tape, and the extractor's independent random tape. It is a knowledge assumption and is separate from LWE. Here “online stateful extractor” means a uniform, straight-line classical algorithm given only the public tuple, the adversary code and random tape, and its own independent coins; it receives no trapdoor. Its code can therefore be run unchanged on a syntactically identical equation key; this is used in the soundness proof of Theorem 6.16.
5.8 The AGGM counting argument
Soundness of our protocol rests on the following counting argument, which is the single-round argument of AGGM [AGGM25] stated with explicit error terms.
Lemma 5.4 (Counting argument, based on [AGGM25]). Consider a single-round proof of quantumness whose generator chooses uniformly between two public-key modes, an image mode and an equation mode, and fix a classical prover. Suppose that:
-
the two key modes have distinguishing advantage at most for every procedure composed from the prover and the extraction procedure below;
-
in image mode there is an extraction procedure, using only public data, that recovers a checked preimage—one verified against the prover’s output by a public validity check—whenever the verifier accepts, except with probability ; and
-
in equation mode, the prover together with the extraction procedure produces both such a checked preimage and an accepting equation with probability at most .
Then the prover is accepted with probability at most
Proof. Let Q be the event that the extraction returns a checked preimage and let E be equation-mode acceptance, both under an equation key. Since the extraction procedure uses only public data, key-mode indistinguishability transfers Q between the two key distributions, so image-mode acceptance is at most . Moreover,
Since the verifier chooses the two modes uniformly, the prover's acceptance probability is at most
which is the claimed bound.
In our instantiation, is negligible under the carry-predicate assumption by Lemma 6.10; hence key-mode indistinguishability contributes only a negligible term to the soundness bound.
5.9 Randomized encodings
A randomized encoding of a function replaces by the output of a randomized function that reveals but nothing else about . We use the following properties.
Definition 5.5 (Randomized encoding, based on [IK00, AIK06]). Let be a function. A function is a perfect randomized encoding of with randomness reconstruction if the following conditions hold.
-
Decoding. There is a function such that for every and .
-
Perfect privacy. There is a randomized simulator Sim such that, for every , the distribution of equals the distribution of for uniform .
-
Randomness reconstruction. There is a function such that, for every and every in the support of , is the unique element of with .
All three functions are required to be computable in classical polynomial time.
Randomized encodings were introduced by Ishai and Kushilevitz [IK00] and developed further, with constant locality, by Applebaum, Ishai, and Kushilevitz [AIK06]; randomness reconstruction is the additional property used in [Ghe26]. For shallow implementations we also track locality: every output symbol should depend on only a constant number of source symbols, and no source symbol should occur in more than a constant number of output formulas. These two properties are the encoding's constant output locality and constant input locality.
6 The Encoded-LWE Sampling Problem
In this section, we give a construction with polynomial width and nearly exponential assumed hardness. Its security is conditional on Assumptions 5.3 and 6.7. The latter is an adaptive-hardcore-bit assumption for LWE in which the adversary may include carry bits of the partial sums of the LWE equations in the parity it must predict; it also implies the key-mode indistinguishability needed for soundness. The randomized encoding supplies the remaining structural properties. The prime-modulus LWE assumption of Appendix B yields the ordinary adaptive-hardcore-bit property of the decoded maps , used as partial evidence for Assumption 6.7; it is not needed for the main theorem.
We fix parameters in Section 6.1, present the randomized encoding and its properties in Section 6.2, and state the carry-predicate assumption in Section 6.3. We then present the protocol in Section 6.4 and prove its completeness, soundness, and circuit bounds in Section 6.5.
6.1 Parameters
Let be the security parameter; all parameters are functions of it. Set
where are sufficiently large for the BCMVV and trapdoor theorems. Sample a prime
Concretely, the setup tests independent uniform odd -bit candidates, for a sufficiently large constant , and, if none is prime, returns a fixed challenge on which the verifier rejects every response. Prime density bounds make this abort probability , while keeping strict polynomial worst-case generation time.
We assume LK-1/4 and the carry-predicate assumption are secure for this parameter ensemble against adversaries of time , with failure or advantage at most , for a fixed constant ; both assumptions are thus subexponential in the binary-secret dimension . The LWE assumption used only for the partial-evidence results is stated in Appendix B. Since , the assumed security level is in the security parameter. The modulus is quasipolynomial in the security parameter, while its bit length remains polylogarithmic. Together with the two superpolynomial noise gaps verified in Appendix C, its primality places the parameters in the BCMVV regime. A uniform register has the exact shallow preparation proved in Lemma 6.12 (Section 6.5).
Let be the constant of Theorem 5.2, and define
Since , the radius equals the inversion radius of Theorem 5.2 at dimension ; in particular . Further define
This defines a positive integer for every . For all sufficiently large , the second set in Equation (5) is nonempty, and maximality gives . Set
Let
Thus is a centered interval of power-of-two size, but it is not a contiguous interval in the canonical binary ordering. Its uniform state is prepared exactly by applying Hadamards to an unsigned index and reversibly replacing it by . This public translation has bounded-fan-in depth and constant depth.
The calculation in Appendix C (Lemma C.1) gives
For the key error we use exactly the BCMVV truncated discrete Gaussian [BCM 21]: its centered weights are proportional to on , and zero outside this interval. The classical key generator samples this finite distribution to statistical distance at most in polynomial time, using a sampler whose output always lies in the support ; this sampling error is included in the negligible key-generation error below. In equation mode, sample
so every coordinate of e has centered magnitude at most . The decoded map, computable from the public key, is
In image mode, , and the matrix is parsed as ; the decoded map has the same form. In either mode, the complete public key is
The required indistinguishability of these two key modes follows from the carry-predicate assumption (Lemma 6.10).
For an equation key, trapdoor inversion gives the two original preimages related by . We retain only the truncated domains and ; this loses at most honest probability. Shifting the function noise by loses at most . In image mode, places every valid output inside the trapdoor and LK-1/4 decoding radii, as verified explicitly in Lemma 6.15.
6.2 The encoding
Here, we construct a analog of the encoding for binary linear maps used in recent work on constant-depth pseudoentanglement [Ghe26].
Let . For , sample independent uniform masks
and set . Define by
All operations are modulo . The -masks are called path masks: the symbols of row form a path, and sits on the edge between the -th and -st symbols, subtracted from the first and added to the second, so that summing along the path cancels every mask and leaves the row sum.
Lemma 6.1 (Properties of the linear-map encoding). The map in Equations (7) and (8) is a perfect randomized encoding of with randomness reconstruction, in the sense of Definition 5.5. Moreover, each output symbol depends on at most three source symbols, and every source symbol occurs in only a constant number of output formulas.
Proof. From w, compute
The path masks telescope, so
Consequently the decoder returns
For fixed v, the map is a bijection. Conditioned on , each row of is uniform subject to the single constraint imposed by the decoded value. This gives a perfect simulator from , as in the path-mask argument above.
Given v, w, reconstruct
Given r, z, reconstruct the path masks from
The last coordinate checks . This proves randomness reconstruction. Locality follows directly from Equations (7) and (8). For occurrence, occurs once, each occurs in at most two -formulas and one -formula, and each occurs twice.
Suppressing the metadata of in the notation, put and . To add function noise , replace
The decoder then returns . Each noise symbol occurs in exactly one output symbol, so the locality and occurrence bounds of Lemma 6.1 persist for the noisy encoding. We write
for the complete encoded output, and parse such an output as , where and the other coordinates are unchanged. Given and , first decode and compute . Before invoking the reconstruction algorithm of Lemma 6.1, restore the noiseless symbol by setting
Randomness reconstruction applied to then recovers the unique , including the final-coordinate consistency checks. Thus the complete coins are efficiently recoverable; applying the noiseless reconstruction directly to would be incorrect.
Lemma 6.2 (Privacy of the noisy encoding). For uniform independent r, h, the distribution
depends on only through the decoded value . Moreover, for a fixed original input and a fixed encoded output in its support, the encoding coins are unique.
Proof. Fix . As in Lemma 6.1, the map is a bijection. Conditioned on , every row of is uniform subject to the single constraint that its decoder equals : subtracting from one path symbol changes only that constraint. This gives the same perfect simulator from the decoded value for every in its fiber. Uniqueness follows by computing , restoring Equation (10), and using the reconstruction formulas in Lemma 6.1.
After writing the encoded output, the honest prover clears the function-noise register through the row-local operation
Equation (9) makes the new value identically zero on every honest basis state.
6.3 The carry-predicate assumption
We first fix the validity relation used by both the verifier and the security analysis, then define carry predicates and admissibility and state the assumption. We then decompose the verifier's parity into the form the assumption covers and derive key-mode indistinguishability.
Definition 6.3 (Extended preimages and the validity relation). Let
denote the canonical binary encoding of the registers other than the branch bit; a complete extended preimage is a pair . On input , let decode to , form the centered residual
reject unless , restore the symbols in Equation (10), and run randomness reconstruction. It returns only if all reconstruction checks pass and recomputing gives exactly . Define
if and only if parses canonically as , , and succeeds.
Definition 6.4 (Paired images). For an equation key with private data , define as follows. Decode to , apply and , and obtain candidates and . Check
, and the two instances of Equation (12); use to fill in the encoding coins. On success, returns . A valid paired image is an encoded output on which this algorithm succeeds.
For an equation key, the trapdoor recovers both extended preimages of an honest encoded output; the algorithm in Definition 6.4 makes this explicit. Honest encoded outputs are valid paired images except on the boundary, shifted-noise-overlap, and trapdoor-failure events quantified below.
The verifier’s equation test checks a parity of along a direction produced by the prover’s final Hadamard measurement. These parities have a useful structure. Because the secret is binary, the - and -registers of the two extended preimages differ by shifts in , so their contribution to any parity is a linear function of with coefficients computable from the transcript and either extended preimage. The -registers differ by partial sums of the LWE equations, and their contribution consists of binary carry bits. The assumption below states that parities of this form are unpredictable. It is stated directly in terms of the public key, with no reference to the encoding.
Definition 6.5 (Carry predicates). Fix a public key . For , , and , put
A carry predicate is a tuple with , , (the base point), and . A predicate list is a finite set of carry predicates with pairwise distinct index pairs . For a sign , define by
The map of Equation (13) is defined from the public key alone. At it equals the partial sum of the -th LWE equation, while is public, which is why the terminal index is excluded from predicate lists. The string consists of the bit positions that flip when is added to modulo ; away from the modular wrap it equals XORed with the vector of carry bits of the addition, so is an XOR of selected bits of the partial sums and of their carries, evaluated at base points of the adversary's choice. The function noise appears nowhere: the error enters only through the public .
The assumption restricts the adversary’s choices through an admissibility condition. For an integer , call a string balanced if
where wt(c) denotes the Hamming weight of c. Let , which is nonempty for all sufficiently large parameters. Columns within 3L of either end are not used to certify row sensitivity: given the public key, the partial sum is plus at most 3L secret-dependent terms for and minus at most 3L such terms for , so predicates placed there depend on few secret coordinates. The proof of Proposition 6.9 uses only that is nonempty, and 3L is a convenient choice. Let
We split a bit vector indexed by into two halves, its first and last coordinates, and a bit vector indexed by into halves after the first coordinates.
Definition 6.6 (Admissible pairs). Fix an equation key with private data , a sign , a vector , and a predicate list . Put and , and define
where the XOR in Equation (16) ranges over the predicates in with row index and column index . The bit is the directional derivative of at in the direction . The bit is the change in , restricted to the predicates with column index in , when the -th key coordinate , equivalently the error coordinate , is shifted by . The pair satisfies the sensitivity condition for if both halves of , both halves of , and, for every , both halves of are balanced. It satisfies the linearity condition if , so that is linear, and is nonzero on the half designated for : the first coordinates for and the last for . Write if satisfies either condition.
Assumption 6.7 (Adaptive hardcore bit with carry predicates). Let denote the equation-key generation of Section 6.1. Define
There is a constant c > 0 such that for every quantum algorithm A of time at most ,
In particular, A may choose the sign, the linear function, the predicate list, and C adaptively after seeing the public key; the private data t is used only to evaluate membership in the two sets. As for the BCMVV adaptive hardcore bit, the honest quantum prover does not contradict the assumption: the induced data of a transcript is computed from , which the prover's Hadamard measurement consumes in producing D and C. The soundness proof of Theorem 6.16 uses the assumption only against classical algorithms.
For , the game asks the adversary to predict a self-chosen linear function of the binary secret, and the linearity condition is the retained-branch part of the admissibility requirement of the adaptive-hardcore-bit theorem of BCMVV [BCM 21]; the direction set of Equation (19) imposes it at both branches (see Appendix B). That case of the assumption is provable at our parameters from the subexponential prime-modulus LWE assumption, as shown in Appendix B. The content of the assumption is therefore that adaptively chosen carry bits of the partial sums do not help. The carries make nonlinear in , and this nonlinearity is what separates the assumption from the BCMVV theorem. The balance conditions exclude the elementary carry-cancellation attacks analyzed in Appendix A; passing them is not proved to imply hardness, and we do not claim that standard LWE implies this assumption.
Because the underlying modulus is prime and the error scales follow the BCMVV hierarchy, the prime-modulus LWE assumption of Appendix B supplies key-mode indistinguishability and the ordinary adaptive-hardcore-bit property for the decoded maps directly; we prove this, together with three restricted consequences, there. They rule out a classical predictor that commits to its base points and can then be rerun from one saved state on independent uniform challenges (Proposition B.5); a classical sampler that can be repeatedly invoked from the same state and satisfies a pointwise conditional min-entropy bound and overwhelming equation correctness (Proposition B.7); and every adversary restricted to empty predicate lists, in this last case with full adaptivity (Proposition B.8). None of these restricted statements establishes the fully adaptive game above. Assumption 6.7 remains an independent assumption.
We now connect the assumption to the protocol. Parse a direction as
where every displayed block is an L-bit string. Fix a valid paired image and a branch , write , and parse . The induced data of the transcript at branch is , where
and . All three are computable in deterministic polynomial time from .
Lemma 6.8 (Decomposition). For every valid paired image, every branch , and every direction D,
The proof is in Appendix A, together with a converse (Lemma A.2): every pair (a, P) arises, with , as the induced data of a transcript that the adversary can generate itself. The assumption therefore grants the adversary at least the freedom that the protocol exposes, and every pair it ranges over is one that the adversary can realize at some branch.
The verifier accepts directions whose induced data is admissible at both branches:
Proposition 6.9 (Checkability and density). The predicate Adm is computable in uniform deterministic polynomial time given . Pointwise for every valid paired image,
The direction set is evaluated only by the classical verifier, so it does not affect the honest prover's depth. We prove Proposition 6.9, together with an analysis of the elementary attacks motivating Definition 6.6, in Appendix A.
The counting argument also needs key-mode indistinguishability; we show that it already follows from Assumption 6.7.
Lemma 6.10 (The carry-predicate assumption implies key-mode indistinguishability). Under Assumption 6.7, no uniform quantum algorithm of time distinguishes the public equation and image keys in Section 6.1 with non-negligible advantage.
Proof. Suppose that distinguishes the two public-key modes, and let be its signed equation-minus-image gap. Let collect the two public-marginal distances of the trapdoor generators and the finite-precision error-sampling distance. Replacing these distributions by their idealized versions gives
where and are uniform and and ; all suppressed public metadata is unchanged. Write and for the probabilities that outputs one in these two experiments. Then
We construct an adversary for Assumption 6.7. Fix and , and let . Given an equation key , sample , and . Replace the columns by , obtaining , and set
If , then is distributed as when and are ideal, and within of it otherwise, with the two replacement secret coordinates given by . If , some coordinate of is 1 or -1; hence the discarded uniform columns in make uniform and independent of . In that case is distributed as when is ideal, and within of it otherwise. Run on this rerandomized key, let be its output, set
and output .
This output satisfies the linearity condition of Definition 6.6 for every key: the predicate list is empty and the linear function is nonzero at the first-half coordinate . Membership in or is therefore exactly the test of against . By data processing, replacing the real public matrix marginal and implemented error sampler by their ideal distributions changes the signed expectation by at most .
Let and . Among the four choices of , one equals ; of the other three, two have the opposite parity from and one has the same parity. Therefore
Up to the statistical error above, the advantage of is therefore, in absolute value, half the key-distinguishing gap:
The reduction invokes once and otherwise has polynomial overhead. If runs in time , then for all sufficiently large parameters the reduction runs in time at most , where is the constant in Assumption 6.7, contradicting the assumption whenever the original gap is non-negligible.
6.4 The protocol
Our single-round proof of quantumness is Protocol 6.11 below.
Protocol 6.11 (Single-round proof of quantumness from the encoded LWE family).
Input: a security parameter , in unary.
-
The verifier generates the parameters of Section 6.1, samples a mode mode ← {Eq, Im} uniformly, and generates the corresponding equation or image key. For an equation key it retains ; for an image key it retains . It sends the public key to the prover.
-
The prover prepares a uniform superposition over
as follows:
(a) the b-register and the low L/2 qubits of each L-qubit -register are Hadamard states, because their side lengths are powers of two; the top L/2 qubits of each -register hold the leading zeros of and remain until the final Hadamards;
(b) each function-noise register is prepared as an unsigned by Hadamards and translated in place to ;
(c) every coordinate of is prepared independently in the exact state using Lemma 6.12.
It computes into an output register, applies the operation in Equation (11) to clear , and clears all arithmetic scratch. It then applies Hadamards to the registers containing and measures all registers; write for the outcome on the b-register and for the outcome on the registers containing . It sends the verifier the encoded output , the direction , the bit , and the measured scratch registers.
- The verifier rejects malformed responses and nonzero scratch registers, and decodes to .
- if mode = Eq: it runs Extlnv_t( ) (Definition 6.4) and rejects on failure; otherwise it obtains ( ) and accepts if and only if (Equation (19)) and
- if mode = Im: it runs Traplnv(t, y) to obtain a candidate (v, η), parses v = (x, b), rejects unless , and runs Rec_k( , b, x). It accepts if and only if these steps produce a string satisfying (Definition 6.3).
All of the honest prover's measurements are performed at the end. Measuring the encoded output before the Hadamard registers is used only as an equivalent description in the completeness proof; the projectors commute.
6.5 Complexity and security
We first give the exact preparation of the uniform state (Lemma 6.12) and bound the depth and width of the honest prover (Lemma 6.13), then compile it into standard (Lemma 6.14), show that an accepting image transcript yields an LK query (Lemma 6.15), and finally prove Theorem 6.16 by the counting argument of Lemma 5.4.
Lemma 6.12 (Exact uniform prime-field state). For every public prime satisfying Equation (4), the state
has an exact, bounded-arity preparation of depth and an exact constant-depth preparation. Polnomially many independent copies can be prepared in parallel with the same depth.
Proof. Apply Hadamards to obtain the uniform state on , and mark a basis string precisely when . The marked weight is . Exact amplitude amplification with phase matching therefore maps this state to its normalized marked projection using a constant number of generalized Grover steps [Høy00]. Symmetry within the marked subspace makes that projection exactly .
Each marked-subspace phase is implemented by computing the public comparison , applying the prescribed one-qubit phase to its flag, and uncomputing. A phase about the initial Hadamard state is obtained by conjugating a phase on by Hadamards. The phase angles are efficiently computable functions of the known rational , and arbitrary one-qubit rotations are allowed in our circuit model. Comparisons and the two multi-controlled phases have clean bounded-arity depth . For the QAC implementation, comparison is in uniform [HAB02]; its standard realization uses fan-out only within a poly(L)-size block, and the exact polylogarithmic-fan-out compiler of Grier–Morris–Wu converts it to constant-depth [GMW26, Corollary 10]. A multi-controlled phase is obtained by computing its conjunction into one flag, applying the one-qubit phase, and uncomputing. All work registers return to zero, and disjoint copies of the construction run in parallel.
Lemma 6.13 (Encoded circuit complexity). The honest prover in Protocol 6.11 has an exact bounded-arity implementation of depth
The source and output registers contain
qubits. A direct parallel reversible implementation has width
Proof. Every symbol in Equations (7) to (9) uses a constant number of additions, subtractions, and multiplications by public L-bit constants. Standard bounded-fan-in addition and public-constant multiplication have depth and use reversible workspace per encoded symbol. Distinct encoded symbols use distinct mask inputs, except for the constant number of occurrences displayed in the formulas, so no dense fan-out tree is needed. All symbols are evaluated in parallel and their scratch is uncomputed before the final Hadamards. Counting the symbols gives symbols and proves the claims. The operation in Equation (11) is one further constant composition of the same local arithmetic operations and has the same depth bound. All prime-field mask registers are prepared in parallel by Lemma 6.12, adding depth and only clean workspace per mask.
We next compile the same prover into standard QAC by replacing every fan-out gate of polylogarithmic arity with the exact constant-depth circuit of Grier, Morris, and Wu.
Lemma 6.14 (Exact compilation into standard QAC ). The honest prover in Protocol 6.11 has an exact, polynomial-size, constant-depth QAC implementation. Every circuit layer is a tensor product of gates on pairwise disjoint qubit sets.
Proof. First consider one output-symbol formula in Equations (7) to (9). It is a constant composition of addition, subtraction, and multiplication by a public constant on L-bit strings. These operations have uniform polynomial-size circuits [HAB02]. Their clean reversible implementations are therefore constant-depth circuits: exact unbounded fan-out realizes the required threshold and arithmetic operations [HŠ05, TT16]. The local circuit has size , so every fan-out gate in it has arity at most
Grier, Morris, and Wu prove that, for every fixed , fan-out on targets has an exact polynomial-size, constant-depth standard-QAC implementation [GMW26, Corollary 10]. Choose larger than the fixed exponent in the preceding display and replace every local fan-out gate by that circuit. A layer of the original QNC circuit contains disjoint fan-out gates; their replacement circuits use private ancillas and hence run in parallel as a constant number of QAC layers. Exact uncomputation returns those ancillas to zero.
It remains to run all output-symbol blocks at once. The occurrence bound in Lemma 6.1 lets us make the constant number of copies of each source symbol required by distinct blocks using a constant number of bounded-arity CNOT layers. The blocks then have disjoint supports and can run in parallel. Reversing the copy layers after compute-copy-uncompute clears their ancillas. The row-local operations in Equation (11) use the same compilation and execute in parallel. There are polynomially many blocks, each of polynomial size in , so the total size is polynomial and the depth is constant. State preparation, the final Hadamards, and measurement add only constant depth: the translation used to prepare E is one more public-constant arithmetic block of the same kind, and the uniform prime-field mask preparation is constant-depth QAC by Lemma 6.12.
The next lemma turns an accepting image-mode transcript into an LK-1/4 query and shows that the extracted lattice point determines the unique valid extended preimage; it supplies the extraction procedure of Lemma 5.4.
Lemma 6.15 (Image-mode extraction). Except with negligible probability over an image key, an accepting image transcript gives an LK-1/4 query whose extracted lattice point determines the unique valid extended preimage in polynomial time using only public data.
Proof. Except with probability at most for a uniform matrix (plus the trapdoor generator's statistical error), K has full column rank over . Gaussian elimination over this field then computes a public left inverse
If the image test accepts, it has found and with . Since every centered coordinate of has magnitude at most ,
Moreover, Equation (2) gives
We apply Assumption 5.3 to the classical algorithm that runs the prover and outputs the decoded point ; decoding is public and polynomial time, so this algorithm obeys the same time bound up to a polynomial factor, and its online extractor is the one used here and in the soundness proof. Thus the online LK extractor returns the nearby lattice point . It need not return its coefficients: reducing modulo and using Equation (20) recovers
The extraction procedure then checks that and , computes , and runs on the encoded image. The verifier's relation check and uniqueness in Lemma 6.2 then give exactly one valid .
We can now state and prove the main result.
Theorem 6.16 (Main result). Assume Assumptions 5.3 and 6.7 for the parameter ensemble in Equations (3) and (4). Then Protocol 6.11 is a single-round proof of quantumness (Definition 5.1) with the following properties.
-
Completeness. The honest quantum prover is accepted with probability . It admits both an exact polynomial-size, constant-depth implementation and an exact bounded-arity implementation of log-logarithmic depth . Both implementations use only final measurements.
-
Soundness. Every fixed uniform probabilistic polynomial-time classical prover is accepted with probability at most . Moreover, every fixed uniform classical prover of time is accepted with probability at most for all sufficiently large .
In particular, the honest and classical acceptance probabilities are separated by a constant (for example, by at least 1/8) for all sufficiently large .
Proof. Completeness. The two implementations are given by Lemmas 6.13 and 6.14. For the acceptance probability, first restrict to , , and pairs lying in on both branches. The excluded boundary and shifted-noise mass is at most , as in Equation (6). The two original preimages then have the same decoded image. By Lemma 6.2, they induce identical distributions on encoded outputs, and randomness reconstruction gives one coin string per original preimage and encoded output. Moreover, outside the trapdoor-failure event of , for each there is at most one with , by the uniqueness statement of Theorem 5.2 at dimension : every has . Hence and are the only sources with noise in that map to this output. Conditioned on such an output, the surviving registers are therefore the equal superposition
The final Hadamards act on all qubits of every -register, so they give a uniform and a branch outcome satisfying exactly. By Proposition 6.9, the verifier rejects at most a fraction of these directions. In image mode, restrict to , which excludes mass at most . Every retained honest basis state then passes Equation (12) by construction, and trapdoor inversion recovers it within the radius proved in Lemma 6.15. The excluded branch-boundary mass, shifted-noise mass, and prime-sampling abort together contribute by Equation (6) and the prime-sampling abort bound of Section 6.1; trapdoor, key-sampling, and image-mode full-rank failures are smaller. This proves completeness .
Soundness. Fix a classical prover, and let be image-mode acceptance and be equation-mode acceptance. In the image experiment, run the online extractor from Lemma 6.15, and let be the event that it returns a tuple satisfying . The lemma and Assumption 5.3 give
for . The extraction procedure, including the public-left-inverse computation, uses only the public key and the online extractor. The equation/image key indistinguishability established in Lemma 6.10 therefore transfers the event :
where .
In the equation experiment, let be the good-key event on which trapdoor inversion is unique throughout the noise radius. Its complement has probability . On , the extracted equals the branch-b string returned by : Lemma 6.2 rules out a second valid mask string for that branch. Consider the algorithm that computes the induced data of the extracted transcript and outputs
Whenever occurs, this output lies in : the verifier's direction test includes the branch-b admissibility check, and the parity is correct by Lemma 6.8. The same output lies in when the direction test passes but the parity is flipped; on extraction failure the algorithm outputs a fixed tuple with and an empty predicate list, which is inadmissible. The two sets are disjoint, so Assumption 6.7 implies
where . Applying Lemma 5.4 with , extraction failure , and hardcore-bit advantage gives
The last equality uses key-mode indistinguishability from Lemma 6.10; the rank, trapdoor, key-sampling, LK, and hardcore-bit errors are negligible as well.
For the time-bounded claim, fix a uniform prover of time . Since , we have , so the prover runs in time , and the polynomial overhead in the key-hiding, extractor, and hardcore-bit reductions stays below the time bounds of Assumption 5.3 and Assumption 6.7 for all sufficiently large . The preceding bound applies unchanged.
References
Aar10. Scott Aaronson. BQP and the polynomial hierarchy. In Proceedings of the 42nd Annual ACM Symposium on Theory of Computing (STOC 2010), pages 141–150. ACM, 2010. arXiv:0910.4698. (Pages 1, 4, and 12.)
AGGM25. Petia Arabadjieva, Alexandru Gheorghiu, Victor Gitton, and Tony Metger. Single-round proofs of quantumness from knowledge assumptions. In 16th Innovations in Theoretical Computer Science Conference (ITCS 2025), volume 325 of Leibniz International Proceedings in Informatics (LIPics), pages 8:1–8:16. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2025. arXiv:2405.15736. (Pages 1, 3, 4, 6, 12, 14, 16, and 17.)
AIK06. Benny Applebaum, Yuval Ishai, and Eyal Kushilevitz. Cryptography in NC . SIAM Journal on Computing, 36(4):845–888, 2006. Preliminary version in FOCS 2004. (Pages 13 and 18.)
AK 26. Scott Aaronson, Greg Kuperberg, et al. The Complexity Zoo. https://complexityzoo.net, 2026. Accessed August 2026. (Page 15.)
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. arXiv:2111.14846. (Pages 1, 4, and 12.)
BBW26. Marcello Benedetti, Harry Buhrman, and Jordi Weggemans. Provable and verifiable quantum advantage in sample complexity. Physical Review Letters, 136:040601, 2026. arXiv:2502.08721. (Page 12.)
BCJ25. Michael J. Bremner, Bin Cheng, and Zhengfeng Ji. Instantaneous quantum polynomial-time sampling and verifiable quantum advantage: Stabilizer scheme and classical security. PRX Quantum, 6:020315, 2025. arXiv:2308.07152. (Page 12.)
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. arXiv:1804.00640. (Pages 3, 5, 12, 15, 16, 20, 24, 37, 38, and 44.)
BCPR16. Nir Bitansky, Ran Canetti, Omer Paneth, and Alon Rosen. On the existence of extractable one-way functions. SIAM Journal on Computing, 45(5):1910–1952, 2016. Preliminary version in STOC 2014. (Pages 3 and 16.)
BGK18. Sergey Bravyi, David Gosset, and Robert König. Quantum advantage with shallow circuits. Science, 362(6412):308–311, 2018. arXiv:1704.00690. (Pages 1, 4, and 12.)
BGKT20. Sergey Bravyi, David Gosset, Robert König, and Marco Tomamichel. Quantum advantage with noisy shallow circuits. Nature Physics, 16:1040–1045, 2020. arXiv:1904.01502. (Pages 1 and 12.)
BIP 18. Dan Boneh, Yuval Ishai, Alain Passelègue, Amit Sahai, and David J. Wu. Exploring crypto dark matter: New simple PRF candidates and their applications. In Theory of Cryptography (TCC 2018), volume 11240 of Lecture Notes in Computer Science, pages 699–729. Springer, 2018. (Page 10.)
BJK 25. Shi Bai, Hansraj Jangir, Elena Kirshanova, Tran Ngo, and William Youmans. A quasi-polynomial time algorithm for the extrapolated dihedral coset problem over power-of-two moduli. In Advances in Cryptology—CRYPTO 2025, Part II, volume 16001 of Lecture Notes in Computer Science, pages 416–448. Springer, 2025. (Page 37.)
BJS11. Michael J. Bremner, Richard Jozsa, and Dan J. Shepherd. Classical simulation of commuting quantum computations implies collapse of the polynomial hierarchy. Proceedings of the Royal Society A, 467:459–472, 2011. arXiv:1005.1407. (Pages 1 and 12.)
BKVV20. Zvika Brakerski, Venkata Koppula, Umesh V. Vazirani, and Thomas Vidick. Simpler proofs of quantumness. In 15th Conference on the Theory of Quantum Computation, Communication and Cryptography (TQC 2020), volume 158 of Leibniz International Proceedings in Informatics (LIPIcs), pages 8:1–8:14. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2020. arXiv:2005.04826. (Pages 3 and 12.)
BKW03. Avrim Blum, Adam Kalai, and Hal Wasserman. Noise-tolerant learning, the parity problem, and the statistical query model. Journal of the ACM, 50(4):506–519, 2003. arXiv:cs/0010022. (Page 43.)
BMS16. Michael J. Bremner, Ashley Montanaro, and Dan J. Shepherd. Average-case complexity versus approximate simulation of commuting quantum computations. Physical Review Letters, 117:080501, 2016. arXiv:1504.07999. (Pages 1 and 12.)
BMSW 25. Marcello Benedetti, Gabriel Marin-Sanchez, Jordi Weggemans, Matthias Rosenkranz, and Harry Buhrman. Unconditional and exponentially large violation of classicality. CoRR, abs/2511.11008, 2025. (Page 12.)
BP04. Mihir Bellare and Adriana Palacio. The knowledge-of-exponent assumptions and 3-round zero-knowledge protocols. In Advances in Cryptology—CRYPTO 2004, volume 3152 of Lecture Notes in Computer Science, pages 273–289. Springer, 2004. (Page 3.)
BVHS 18. Juan Bermejo-Vega, Dominik Hangleiter, Martin Schwarz, Robert Raussendorf, and Jens Eisert. Architectures for quantum simulation showing a quantum speedup. Physical Review X, 8:021010, 2018. arXiv:1703.00466. (Pages 1, 4, and 12.)
BWKST19. Adam Bene Watts, Robin Kothari, Luke Schaeffer, and Avishay Tal. Exponential separation between shallow quantum circuits and unbounded fan-in shallow classical circuits. In Proceedings of the 51st Annual ACM Symposium on Theory of Computing (STOC 2019), pages 515–526. ACM, 2019. arXiv:1906.08890. (Pages 1 and 12.)
CD09. Ran Canetti and Ronny Ramzi Dakdouk. Towards a theory of extractable functions. In Theory of Cryptography (TCC 2009), volume 5444 of Lecture Notes in Computer Science, pages 595–613. Springer, 2009. (Page 3.)
CH23. Nai-Hui Chia and Shih-Han Hung. Non-interactive classical verification of quantum depth: A fine-grained characterization. IACR Cryptology ePrint Archive, 2023:1911, 2023. (Pages 2, 3, 4, and 13.)
CSV21. Matthew Coudron, Jalex Stark, and Thomas Vidick. Trading locality for time: Certifiable randomness from low-depth circuits. Communications in Mathematical Physics, 382(1):49–86, 2021. arXiv:1810.04233. (Pages 1, 4, and 12.)
CW00. Richard Cleve and John Watrous. Fast parallel circuits for the quantum Fourier transform. In Proceedings of the 41st Annual IEEE Symposium on Foundations of Computer Science (FOCS 2000), pages 526–536. IEEE, 2000. arXiv:quant-ph/0006004. (Pages 2, 4, and 13.)
Dam92. Ivan Damgård. Towards practical public key systems secure against chosen ciphertext attacks. In Advances in Cryptology—CRYPTO '91, volume 576 of Lecture Notes in Computer Science, pages 445–456. Springer, 1992. (Page 3.)
DGH 21. Itai Dinur, Steven Goldfeder, Tzipora Halevi, Yuval Ishai, Mahimna Kelkar, Vivek Sharma, and Greg Zaverucha. MPC-friendly symmetric cryptography from alternating moduli: Candidates, protocols, and applications. In Advances in Cryptology—CRYPTO 2021, volume 12828 of Lecture Notes in Computer Science, pages 517–547. Springer, 2021. (Page 10.)
DJ25. Quang Dao and Aayush Jain. Lossy cryptography from code-based assumptions. Journal of Cryptology, 38(4):32, 2025. Preliminary version in CRYPTO 2024; arXiv:2402.03633. (Page 13.)
FGKP09. Vitaly Feldman, Parikshit Gopalan, Subhash Khot, and Ashok Kumar Ponnuswami. On agnostic learning of parities, monomials, and halfspaces. SIAM Journal on Computing, 39(2):606–645, 2009. (Page 43.)
FPVY26. Ben Foxman, Natalie Parham, Francisca Vasconcelos, and Henry Yuen. Random unitaries in constant (quantum) time. In 17th Innovations in Theoretical Computer Science Conference (ITCS 2026), volume 362 of Leibniz International Proceedings in Informatics (LIPIcs), pages 61:1–61:25. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2026. arXiv:2508.11487. (Pages 2 and 13.)
GGPR13. Rosario Gennaro, Craig Gentry, Bryan Parno, and Mariana Raykova. Quadratic span programs and succinct NIZKs without PCPs. In Advances in Cryptology—EUROCRYPT 2013, volume 7881 of Lecture Notes in Computer Science, pages 626–645. Springer, 2013. (Page 3.)
GH20. Alexandru Gheorghiu and Matty J. Hoban. On estimating the entropy of shallow circuit outputs. CoRR, abs/2002.12814, 2020. (Page 6.)
GH25. David Gross and Dominik Hangleiter. Secret-extraction attacks against obfuscated instantaneous quantum polynomial-time circuits. PRX Quantum, 6:020314, 2025. arXiv:2312.10156. (Page 12.)
Ghe26. Alexandru Gheorghiu. Pseudoentanglement in constant depth: How trivial states can have non-trivial entanglement structure. CoRR, abs/2605.31448, 2026. (Pages 2, 6, 7, 13, 18, and 20.)
GHMP02. Frederic Green, Steven Homer, Cristopher Moore, and Christopher Pollett. Counting, fanout and the complexity of quantum ACC. Quantum Information and Computation, 2(1):35–65, 2002. arXiv:quant-ph/0106017. (Page 13.)
GL89. Oded Goldreich and Leonid A. Levin. A hard-core predicate for all one-way functions. In Proceedings of the 21st Annual ACM Symposium on Theory of Computing (STOC 1989), pages 25–32. ACM, 1989. (Pages 14 and 40.)
GMNO18. Rosario Gennaro, Michele Minelli, Anca Nitulescu, and Michele Orrù. Lattice-based zk-SNARKs from square span programs. In Proceedings of the 2018 ACM SIGSAC Conference on Computer and Communications Security, pages 556–573. ACM, 2018. (Page 4.)
GMW26. Daniel Grier, Jackson Morris, and Kewen Wu. QAC contains TC (with many copies of the input). CoRR, abs/2601.03243, 2026. (Pages 2, 3, 11, 13, and 27.)
GS20. Daniel Grier and Luke Schaeffer. Interactive shallow Clifford circuits: Quantum advantage against NC and beyond. In Proceedings of the 52nd Annual ACM Symposium on Theory of Computing (STOC 2020), pages 875–888. ACM, 2020. arXiv:1911.02555. (Pages 1, 4, and 12.)
HAB02. William Hesse, Eric Allender, and David A. Mix Barrington. Uniform constant-depth threshold circuits for division and iterated multiplication. Journal of Computer and System Sciences, 65(4):695–716, 2002. (Page 27.)
HdOSZ26. Min-Hsiu Hsieh, Michael de Oliveira, Sathyawageeswar Subramanian, and Xingjian Zhang. Worst-case depth hierarchy for shallow quantum circuits. CoRR, abs/2606.16425, 2026. (Pages 1, 4, and 12.)
HHB 20. Jonas Haferkamp, Dominik Hangleiter, Adam Bouland, Bill Fefferman, Jens Eisert, and Juan Bermejo-Vega. Closing gaps of a quantum advantage with short-time Hamiltonian dynamics. Physical Review Letters, 125:250501, 2020. arXiv:1908.08069. (Pages 1, 4, and 12.)
HLG21. Shuichi Hirahara and François Le Gall. Test of quantumness with small-depth quantum circuits. In 46th International Symposium on Mathematical Foundations of Computer Science (MFCS 2021), volume 202 of Leibniz International Proceedings in Informatics (LIPics), pages 59:1–59:15. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2021. arXiv:2105.05500. (Pages 2, 4, and 12.)
Høy00. Peter Høyer. Arbitrary phases in quantum amplitude amplification. Physical Review A, 62(5):052304, 2000. arXiv:quant-ph/0006031. (Page 27.)
HŠ05. Peter Høyer and Robert Špalek. Quantum fan-out is powerful. Theory of Computing, 1:81–103, 2005. arXiv:quant-ph/0208043. (Pages 1, 2, 4, 13, and 27.)
HT98. Satoshi Hada and Toshiaki Tanaka. On the existence of 3-round zero-knowledge protocols. In Advances in Cryptology—CRYPTO '98, volume 1462 of Lecture Notes in Computer Science, pages 408–423. Springer, 1998. (Page 3.)
IK00. Yuval Ishai and Eyal Kushilevitz. Randomizing polynomials: A new representation with applications to round-efficient secure computation. In Proceedings of the 41st Annual IEEE Symposium on Foundations of Computer Science (FOCS 2000), pages 294–304. IEEE, 2000. (Page 18.)
ISW21. Yuval Ishai, Hang Su, and David J. Wu. Shorter and faster post-quantum designated-verifier zkSNARKs from lattices. In Proceedings of the 2021 ACM SIGSAC Conference on Computer and Communications Security, pages 212–234. ACM, 2021. (Page 4.)
KM23. Gregory D. Kahanamoku-Meyer. Forging quantum data: Classically defeating an IQP-based quantum test. Quantum, 7:1107, 2023. arXiv:1912.05547. (Page 12.)
KMCVY22. Gregory D. Kahanamoku-Meyer, Soonwon Choi, Umesh V. Vazirani, and Norman Y. Yao. Classically verifiable quantum advantage from a computational Bell test. Nature Physics, 18:918–924, 2022. arXiv:2104.00687. (Pages 12 and 14.)
LG22. Zhenning Liu and Alexandru Gheorghiu. Depth-efficient proofs of quantumness. Quantum, 6:807, 2022. arXiv:2107.02163. (Pages 2, 4, and 12.)
LMSV12. Jake Loftus, Alexander May, Nigel P. Smart, and Frederik Vercauteren. On CCA-secure somewhat homomorphic encryption. In Selected Areas in Cryptography (SAC 2011), volume 7118 of Lecture Notes in Computer Science, pages 55–72. Springer, 2012. (Pages 4 and 17.)
Mah22. Urmila Mahadev. Classical verification of quantum computations. SIAM Journal on Computing, 51(4):1172–1229, 2022. Preliminary version in FOCS 2018; arXiv:1804.01082. (Pages 12 and 38.)
MN01. Cristopher Moore and Martin Nilsson. Parallel quantum computation and quantum codes. SIAM Journal on Computing, 31(3):799–815, 2001. arXiv:quant-ph/9808027. (Page 13.)
MP12. Daniele Micciancio and Chris Peikert. Trapdoors for lattices: Simpler, tighter, faster, smaller. In Advances in Cryptology—EUROCRYPT 2012, volume 7237 of Lecture Notes in Computer Science, pages 700–718. Springer, 2012. (Page 16.)
MSM17. Jacob Miller, Stephen Sanders, and Akimasa Miyake. Quantum supremacy in constant-time measurement-based computation: A unified architecture for sampling and verification. Physical Review A, 96:062320, 2017. arXiv:1703.11002. (Pages 1, 4, and 12.)
NC10. Michael A. Nielsen and Isaac L. Chuang. Quantum Computation and Quantum Information. Cambridge University Press, 10th anniversary edition, 2010. (Page 15.)
NPVY24. Shivam Nadimpalli, Natalie Parham, Francisca Vasconcelos, and Henry Yuen. On the Pauli spectrum of QAC . In Proceedings of the 56th Annual ACM Symposium on Theory of Computing (STOC 2024), pages 1498–1506. ACM, 2024. arXiv:2311.09631. (Page 2.)
NR04. Moni Naor and Omer Reingold. Number-theoretic constructions of efficient pseudo-random functions. Journal of the ACM, 51(2):231–262, 2004. (Page 2.)
PHGR13. Bryan Parno, Jon Howell, Craig Gentry, and Mariana Raykova. Pinocchio: Nearly practical verifiable computation. In 2013 IEEE Symposium on Security and Privacy, pages 238–252. IEEE, 2013. (Page 3.)
Reg09. Oded Regev. On lattices, learning with errors, random linear codes, and cryptography. Journal of the ACM, 56(6):34:1–34:40, 2009. Preliminary version in STOC 2005. (Pages 6, 16, and 37.)
Ros21. Gregory Rosenthal. Bounds on the QAC complexity of approximating parity. In 12th Innovations in Theoretical Computer Science Conference (ITCS 2021), volume 185 of Leibniz International Proceedings in Informatics (LIPICS), pages 32:1–32:20. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2021. arXiv:2008.07470. (Pages 2 and 13.)
RR97. Alexander A. Razborov and Steven Rudich. Natural proofs. Journal of Computer and System Sciences, 55(1):24–35, 1997. (Page 2.)
RT22. Ran Raz and Avishay Tal. Oracle separation of BQP and PH. Journal of the ACM, 69(4):30:1–30:21, 2022. Preliminary version in STOC 2019. (Page 12.)
SB09. Dan Shepherd and Michael J. Bremner. Temporally unstructured quantum computation. Proceedings of the Royal Society A, 465:1413–1439, 2009. arXiv:0809.0847. (Page 12.)
Sho97. Peter W. Shor. Polynomial-time algorithms for prime factorization and discrete logarithms on a quantum computer. SIAM Journal on Computing, 26(5):1484–1509, 1997. arXiv:quant-ph/9508027. (Pages 1 and 4.)
TD04. Barbara M. Terhal and David P. DiVincenzo. Adaptive quantum computation, constant depth quantum circuits and Arthur–Merlin games. Quantum Information and Computation, 4(2):134–145, 2004. arXiv:quant-ph/0205133. (Pages 1, 4, and 12.)
TT16. Yasuhiro Takahashi and Seiichiro Tani. Collapse of the hierarchy of constant-depth exact quantum circuits. Computational Complexity, 25(4):849–881, 2016. arXiv:1112.6063. (Pages 2, 13, and 27.)
YZ24. Takashi Yamakawa and Mark Zhandry. Verifiable quantum advantage without structure. Journal of the ACM, 71(3):20:1–20:50, 2024. arXiv:2204.02063. (Pages 3 and 12.)
A The Admissibility Predicate
This appendix proves Lemma 6.8 and Proposition 6.9, and explains why the balance tests in Definition 6.6 rule out several elementary classical strategies. Passing the tests is not known to imply a hardcore bit, and the arguments below do not derive Assumption 6.7 from LWE. Rather, they show that the assumption is being made for an explicit predicate that accepts almost all of the honest challenges while excluding the carry-cancellation and padding strategies described below. The BCMVV result uses a similar admissible set.
A.1 Preimage differences and the decomposition
We first make explicit how the two extended preimages of a valid paired image differ. The decomposition of Lemma 6.8 then follows by splitting the parity over the register blocks, and the realizability lemma at the end of the subsection shows that every pair (a, P) arises from a transcript that the adversary can generate itself.
Lemma A.1 (Preimage differences). Fix a valid paired image, a branch b, and write . Then, modulo q,
and
Proof. The relation between the decoded preimages is part of Definition 6.4. Equality of the w-part of the two encodings then gives
because passing to the other branch changes by for and the branch coordinate by , and negates these changes and propagates them down each column. Equality of the -part and similarly gives the -relation, by telescoping Equation (8) along row . At the last stored path mask, , the parenthesized value is ; the branch column then contributes , so the telescoped difference returns to zero at , as required by the boundary condition on both branches.
Proof (of Lemma 6.8). Fix a branch and abbreviate and . By Lemma A.1, the parity splits over the register blocks as
Since , the -th -term equals , and the -th -term equals ; summing over and gives by Equation (17). The branch column and the terminal -column, where , do not depend on and sum to by Equation (18). The remaining -terms are exactly by Equation (14).
Lemma A.2 (Realizability). For every sign , every , and every predicate list , there is a transcript with a direction, computable in polynomial time, whose induced data at the branch with is exactly , and whose encoded output is a valid paired image for every in the support of the key generation, except on the trapdoor-failure event.
Proof. Take with , if and if , , , for each and otherwise, and encode honestly. Outside the trapdoor-failure event, the checks of Definition 6.4 succeed for every in the support: the two relations hold by construction, and lie in the two branch domains, and and lie in because . Choose on the listed blocks and zero elsewhere, in particular on the terminal column; ; and, for each , a block with , which is solvable for both bit values because the word in parentheses is nonzero. With this support , and the induced data is .
A.2 Polynomial-time checkability and pointwise density
The bits and of Definition 6.6 are computed from the secret , the public matrix and key vector, and the pair under test. There are of them, each computed by polynomially many modular operations, canonical encodings, and binary inner products. Hence even the direct implementation of Adm is deterministic polynomial time.
It remains to prove density. If is uniform in , then a Hoeffding bound (deviation from the mean ) gives
Fix a valid paired image and a branch , and consider the induced data of a uniform direction . We show that every vector tested by the sensitivity condition at is individually uniform. Joint independence between these vectors is neither claimed nor needed.
Fix . Conditional on all direction blocks other than , the bit contains the term
The word in parentheses is nonzero because in and canonical encoding is injective. Distinct coordinates use disjoint -blocks. Consequently is exactly uniform.
The directional derivatives of Equation (15) satisfy , and the -difference does not involve . The same block therefore makes the complete vector uniform after conditioning on all - and -blocks.
Finally fix and a row , and choose any . Writing , the bit of Equation (16) contains the term
including the case , in which the pair is simply not listed in and contributes zero. The coefficient word is nonzero because every is nonzero modulo the odd prime . Different rows use disjoint -blocks, so the vector is exactly uniform.
Let , and put and . Applying Equation (21), at each of the two branches, to the two halves of , the two halves of , and the two halves of for each of the shifts , gives
(22)
Here the factor eight in the second line accounts for two branches, two signs, and the two tails in Equation (21). A direct union bound is valid despite correlations among the tests. Failing the sensitivity condition at some branch is the only way to leave , so this proves Proposition 6.9 pointwise for every valid paired image. The honest prover still samples uniformly by its final Hadamards; it does not conditionally sample from the direction set, so the predicate adds no quantum depth.
A.3 Elementary attacks excluded by the balance tests
Consider the adversary's predicate
Its value at s is the target parity, and is by definition the directional derivative of at s in the direction :
A carry cancellation is a choice of in which the carry term agrees with up to a constant, so that is known without knowledge of . Any cancellation that holds at and at all of its Hamming neighbors, so that is locally constant at , has all directional derivatives zero and is inadmissible. More generally, a pair whose predicate has a nonzero derivative in fewer than one third of the coordinates of either secret half fails the corresponding balance test. This includes any carry cancellation involving only a bounded number of secret coordinates, as well as XOR padding by other locally constant functions.
Once carry predicates are used, the balance test on a separately prevents an attack from setting the linear coefficient to zero or concentrating it on a few selected coordinates. The terminal column cannot repair a failed test: its partial sum is the public , so it is excluded from predicate lists outright and contributes only a known bit to the protocol's parities.
The row tests address a second form of padding. A predicate list whose predicates with meet fewer than one third of the rows in either half gives vectors of weight below the balanced range at every tested shift. Lists supported only on columns outside make every zero; they fail the sensitivity condition, and the linearity condition forces . Hence a predicate list supported on one or a few rows cannot be made admissible by padding with columns near the ends.
The row tests also exclude cancellation of the error within a row. Two predicates in row at columns with the same word , say the low-order bit at base point , have XOR with , so enters only through the wrap indicator, and is nonzero with probability ; rows of this form give weight far below at every tested shift. Conversely, certifies only that the bits selected in row change parity when is shifted by . A fixed word such as at has with probability at every , so placed on three quarters of the rows of each half it passes the row tests with expected weight near ; the tests force a constant fraction of the rows to depend on at each scale, but they do not force this dependence to be unpredictable.
Shifts by positive and negative powers of two probe carry behavior at every scale from one through the key-error scale . A padding strategy that passes the sensitivity condition must therefore spread sensitivity of the selected bits over a constant fraction of the LWE rows at every one of these scales, in addition to spreading its secret-coordinate sensitivity over both secret halves. The preceding arguments show only that terminal or locally constant padding cannot repair these failures. Whether correlated many-row padding can retain a bias is left to Assumption 6.7.
The vector equals or its bitwise complement according to the value of the target parity . Since the balance interval is invariant under complementation, the test on depends only on the values of at the Hamming neighbors of and not on the target parity itself. Nevertheless, the tests certify only local sensitivity at the secret . A many-row predicate could in principle have balanced derivatives and remain predictable on the LWE distribution, and the tests at powers of two do not enumerate every possible shift. Excluding such correlated predicates remains part of the unproved content of Assumption 6.7.
B Partial Evidence for the Carry-Predicate Assumption
Assumption 6.7 allows an adversary to choose the linear function, the predicate list, and its base points jointly, after seeing the public key. We do not know how to reduce this fully adaptive game to the ordinary BCMVV adaptive-hardcore-bit property. In this appendix, we prove three restricted results. First, key-mode indistinguishability rules out a predictor that commits to its base points and can then be rerun from the same saved state on independent uniform challenges. Second, the ordinary adaptive-hardcore-bit property rules out a sampler that can be repeatedly invoked from one saved state, produces overwhelmingly correct equations, and chooses challenges of sufficiently high conditional min-entropy. Third, every adversary restricted to empty predicate lists has negligible advantage, with full adaptivity; the case of Assumption 6.7, in which admissibility reduces to the linearity condition of Definition 6.6, therefore follows from Assumption B.1 at the security level of Proposition B.2.
Recall from Section 6.1 the security parameter , the prime modulus , its bit length , the dimension of the binary LWE secret, and the number of LWE samples. The reductions rest on Proposition B.2, which supplies key-mode indistinguishability and the ordinary adaptive-hardcore-bit bound for the decoded family under Assumption B.1. Here and below, the decoded family is the decoded map of Section 6.1, on , viewed as a pair of functions indexed by ; its ordinary adaptive-hardcore-bit game is the BCMVV game with the sets and of Section B.2. Conditions A.1–A.4 of BCMVV hold at our parameters as stated, without relaxation (verified in Section B.1). The reductions use the canonical map of Section 5 together with bitwise XOR and linear algebra over on its output.
B.1 The LWE assumption
Set
so that and, by Equation (3), .
As in [BCM 21], the construction of Section 6 uses an LWE instance whose secret is binary. This simply means that the entries of the secret are 0 and 1, though it is still viewed as a vector over ; its length is the parameter . The assumption below instead has a secret uniform over : by the lossy-mode argument of BCMVV (their Theorem 2.8 and the proof of their Lemma 4.4), LWE with a uniformly random binary secret of length is at least as hard as LWE at dimension with a uniform secret, which is why the assumption is stated at dimension . We use the truncated discrete Gaussian of BCMVV [BCM 21]: its weight at a centered representative is proportional to for , and is zero otherwise.
Assumption B.1 (Subexponential prime-modulus LWE, based on [Reg09, BCM 21]). There is a fixed constant such that, for every polynomially bounded sample count , no uniform quantum algorithm of time at most distinguishes
with advantage that is non-negligible as a function of , where , , , and .
We apply it with . This is a parameter-specific, fine-grained LWE assumption; worst-case LWE reductions do not by themselves establish its precise time-advantage curve. The modulus has quasipolynomial magnitude, and the error satisfies the usual threshold. Regev's quantum worst-case-to-average-case reduction therefore applies and relates this ensemble to worst-case lattice problems at approximation factor
[Reg09]. This places the assumption in the standard LWE regime at a quasipolynomial approximation factor, although the reduction does not prove the asserted subexponential running-time hardness. The standard dual-lattice attack estimate has exponent
which is larger than [BCM 21, Remark 4.2]. Thus this attack does not contradict the assumption, but the comparison is a parameter check rather than a proof of hardness.
The recent quasipolynomial algorithm for extrapolated dihedral coset problems (EDCP) of Bai et al. [BJK 25] is also consistent with this assumption. Their algorithm is specific to power-of-two moduli, whereas is prime. Moreover, at our quasipolynomial modulus its state requirement is , whereas the applicable LWE-to-EDCP reduction supplies at most states. It therefore does not yield an attack on the LWE ensemble used here.
We now check the hypotheses of the original BCMVV theorem for our construction, rather than use a quantitative relaxation of them. Recall also the equation-key Gaussian width from Section 6.1, and let
be the BCMVV function-noise scale. The dimensions satisfy
Moreover, since , , and ,
Both ratios are superpolynomial in . Thus Conditions A.1–A.4 of BCMVV [BCM 21], namely the two dimension conditions, the definition of , and the superpolynomial noise gaps, hold at our parameters, and q is prime as their construction requires. In particular, the statistical losses from the overlap of the two function distributions (their Lemma 2.4) and from the error-shifting step in the lossy-matrix hybrid of their Lemma 4.4 are negligible.
Proposition B.2 (Prime-modulus BCMVV consequences). Under Assumption B.1, both of the following advantages are negligible for every uniform quantum polynomial-time algorithm:
-
the advantage in distinguishing the equation key (A, As + e), with , from the image-key distribution;
-
the signed advantage in the ordinary BCMVV adaptive-hardcore-bit game for the decoded prime-modulus family, made precise in Section B.2.
The same conclusion holds for adversaries of time for every fixed . The reductions have polynomial running-time overhead.
Proof. The preceding parameter check verifies Conditions A.1–A.4 of BCMVV [BCM 21]. Key-mode indistinguishability follows from the hybrid in the proof of [BCM 21, Lemma 4.4], which replaces the public matrix by a lossy matrix (their Theorem 2.8) and shifts the error; the same argument appears in Mahadev [Mah22]. The adaptive-hardcore-bit lemma, [BCM 21, Lemma 4.3], proved from the leakage bound of their Lemma 4.4, gives the ordinary adaptive-hardcore-bit property. (The ordinary game contains no function-noise sample, so its statement applies to our family even though our function noise is uniform rather than the BCMVV Gaussian at scale .) All statistical hybrids are negligible: the noise-overlap and error-shifting losses by Equation (23), and the finite-precision key-sampling error by the sampler of Section 6.1, whose statistical distance from is ; every computational hybrid reduces with polynomial overhead to Assumption B.1. For the subexponential statement, such overhead is absorbed by replacing with any fixed smaller exponent .
This proposition concerns only the decoded family. It does not establish Assumption 6.7, which also admits carry bits of the partial sums of the LWE equations. We use it as a standard-LWE basis for the partial evidence in this appendix, rather than as a hypothesis of the main result.
B.2 The decoded relation
We now make the ordinary adaptive-hardcore-bit game for the decoded family precise; it is the target of the reductions below. Put
and, for , , and parsed as blocks of bits, define the induced coefficient
Following BCMVV [BCM 21], the direction set consists of the for which is nonzero on the branch-b half of : the first coordinates for and the last for . Because the secret is binary, for the intended pair with we have the pointwise identity
In the ordinary BCMVV adaptive-hardcore-bit game for the decoded family, the adversary outputs a branch , a preimage , a direction , and a bit; write for the partner preimage. Define to contain the tuples
with , , and , and let be obtained by flipping the last bit. The distinguished failure symbol , as well as every malformed output, is by convention in neither set. Item 2 of Proposition B.2 says that every efficient algorithm has negligible signed gap:
The second and third results use the following procedure to convert a linear function of the secret into a decoded tuple.
Lemma B.3 (Fiber realization). There is a polynomial-time procedure that, given and , outputs with , with and for every in the support of the key generation, where we write and , and with uniform in ; in particular, pointwise,
Moreover:
-
if is nonzero on the branch-b half, then with certainty; and
-
except with probability over the key, .
Proof. Take for and for ; both branch domains are then respected for every binary . Independently for each , sample uniformly among the solutions of , where ; both values of have solutions, and the resulting is uniform in the fiber. The displayed identity is Equation (24), and item 1 is the definition of .
For item 2, consider the opposite-branch coefficient . On coordinates with , the opposite-branch word equals , so the coefficient equals . On coordinates with , the opposite-branch word is , which is nonzero and distinct from because ; over , distinct nonzero words are linearly independent, so, conditioned on , the bit is uniform. Hence the opposite-branch coefficient restricted to the zero coordinates of in the -half is uniform, and it vanishes on the whole half with probability at most , where is the number of such coordinates. Since is uniform, except with probability over the key, by a Chernoff bound.
B.3 Uniform independent challenges
Fix a key, a sign , and an assignment of base points , and collect the bits unknown to the adversary into the string
A challenge is a pair , with . Writing for the predicate list , a challenge is a parity of :
Answering a challenge correctly is therefore winning the game of Assumption 6.7 at the pair (a, ), up to admissibility; a uniform challenge is admissible except with probability , by Proposition 6.9 applied at the branch with to the honestly encoded transcript in the proof of Lemma A.2, with coins for ; since the words are nonzero and the , blocks are disjoint from the blocks, the pair of a uniform direction has exactly the law of for a uniform challenge.
Definition B.4 (Resettable uniform-challenge predictor). A resettable uniform-challenge predictor consists of two classical algorithms . On input an equation key , the first algorithm outputs a sign , an assignment of base points , and a classical snapshot that can be copied and restored. Given and a challenge , a fresh invocation of , with fresh random coins , outputs one bit. Let denote the complete first-stage transcript and let be as above. Define
and the uniform-challenge advantage .
Proposition B.5 (Uniform challenges). Let be a resettable uniform-challenge predictor (Definition B.4) with stage running times and for a known . Then there is a distinguisher between the equation- and image-key modes of running time
and advantage at least . Consequently, every efficient resettable uniform-challenge predictor has negligible advantage: an inverse-polynomial makes the reduction efficient and its advantage non-negligible, contrary to Proposition B.2.
Proof. Suppose that . Then , and hence
since otherwise the expectation of , which is always at most one, would be smaller than .
Fix such a transcript. Reset access to gives a randomized Boolean oracle whose Fourier coefficient at has magnitude at least , by Equation (25). Apply the Goldreich–Levin list-decoding algorithm [GL89] at threshold ; since the oracle is randomized, we use its form for -valued functions. Using reset invocations, it returns a list of candidates that contains with probability at least 2/3. Fresh prediction coins cause no difficulty: repeated invocations estimate, to additive accuracy , the bounded oracle
The stated success probability includes amplification of these estimates and a union bound over all adaptive list-decoder queries.
For each list element, parse its first bits as a candidate secret and accept if ; the distinguisher outputs “equation” if some candidate is accepted. On an equation key, the true is on the list except with probability whenever , and its -block passes the test; the acceptance probability is at least . On an image key, is statistically close to uniform, and for uniform the probability that any of the binary vectors passes the test is at most . The distinguishing advantage is therefore at least , and Proposition B.2 bounds it by a negligible function. Formally, if the predictor’s advantage were non-negligible, fix an inverse-polynomial lower bound attained on an infinite subsequence and use it as .
If the uniform-challenge experiment also filters through the admissibility predicate, removing the filter changes the correlation by at most the probability of an inadmissible challenge, , so the same conclusion holds with in place of . Assumption B.1 absorbs the polynomial overhead of the reduction for inverse-polynomial . The proposition nevertheless remains structurally weaker than Assumption 6.7: it requires a predictor that commits to its base points and can then be reset and queried on independent uniform challenges.
B.4 High-min-entropy equation samplers
The honest Hadamard experiment produces a uniformly random direction, and the induced challenge of Section B.3 then has the maximum possible min-entropy, namely bits. We next ask how far a sampler may depart from this benchmark while still being ruled out by the ordinary property. The conclusion in this subsection requires equations that are correct with overwhelming probability; samplers with inverse-polynomial bias are treated in Section B.5 for the linear case.
Definition B.6 (Resettable equation sampler). A resettable equation sampler is a pair of classical algorithms. The first algorithm, , produces a sign , an assignment of base points , and one fixed, copyable classical snapshot . Let be the complete transcript, including the private key data, and let be as in Section B.3. The sampler is invoked as
with fresh coins; all persistent copyable state is included in st and the displayed history. For an integer , the sampler has conditional min-entropy deficiency at most and equation error at most if, for every transcript and every positive-probability history,
(26)
Deficiency zero forces a uniform challenge, while a challenge uniform on a codimension- subspace attains the bound in Equation (26). This is worst-case conditional min-entropy, rather than the average or smooth variant. If samples are conditionally independent given each fixed transcript, it suffices to impose the corresponding pointwise bound for every transcript.
Proposition B.7 (High-entropy correct-equation samplers). Let be a resettable equation sampler (Definition B.6) with conditional min-entropy deficiency at most and equation error at most . For any , put
There is an ordinary decoded-family adaptive-hardcore-bit adversary, using T invocations of S and polynomial additional time, whose signed advantage is at least
Thus such an efficient sampler is ruled out whenever the quantity in Equation (27) is non-negligibly positive. For example, with we have , and Proposition B.2 rules out efficient resettable samplers satisfying
Proof. Write . The reduction collects equations. For the following rank and correctness estimates, fix a transcript. Let . While , the conditional min-entropy bound gives
Thus the rank increments stochastically dominate independent Bernoulli(1/2) trials until rank . To verify the constant in , put . Then and . A Chernoff bound, coupled to the adaptive increments until the target rank is reached, gives
Conditional on the transcript, except with probability at most , all sampled equations are correct. Let be the binary matrix whose rows are the sampled challenges and let . If the sampled matrix has rank below , or if is inconsistent, the reduction outputs . Otherwise, Gaussian elimination gives
and on the correct-equations event the true string Z belongs to this affine space. Projecting onto the s-coordinates gives
Sample uniformly from , set ; since , the equation is exact. Run the fiber realization (Lemma B.3) on to obtain , and output to the decoded game; the equation is exact by the displayed identity there. For the direction conditions: has density at least in , and the set of vectors vanishing on the branch- half has density , so is nonzero there except with probability ; the opposite-branch condition fails with probability at most on a key event.
On the full success event and for a direction satisfying both conditions, the reduction’s output lies in . If a direction condition fails, the output lies in neither set and contributes zero; only when the success event fails can the output lie in , and on that event its contribution is at least -1. The success event fails with probability at most , and on the success event the direction conditions fail with probability at most . Therefore its signed advantage is at least
which proves Equation (27).
In particular, Proposition B.7 rules out an exact sampler whose challenges, for one fixed snapshot, are independent uniform, or equivalently remain uniform conditioned on every prior history. More generally, the entropy may be lowered from its maximum value by as many as n/4 bits: each challenge may be up to a factor more likely than it would be under the uniform distribution, and the conclusion still follows. The successive challenge distributions may depend on all preceding equations, but the equations themselves must be correct with overwhelming probability.
B.5 Linear predicates
We now consider adversaries whose predicate lists are empty, so that the predicted bit is a linear function of the secret. For this class the assumption is not merely supported by evidence: at the security level of Proposition B.2, it follows from Assumption B.1.
Proposition B.8 (Empty predicate lists). Let A be a uniform quantum polynomial-time algorithm in the game of Assumption 6.7 whose output always has . Under Assumption B.1, the signed advantage of A is negligible.
Proof. An empty predicate list makes every bit in Equation (16) zero, so the sensitivity condition fails, and admissibility is equivalent to the linearity condition: a nonzero on the half designated for .
The reduction runs to obtain , and outputs if the output is inadmissible; for empty predicate lists this is the public condition that be nonzero on the designated half, so the reduction can check it. Otherwise it runs the fiber realization (Lemma B.3) on and outputs to the decoded game. The equation is exact, so the output lies in exactly when 's output lies in , and in the flipped set exactly when it lies in , provided . The branch-b condition (item 1 of Lemma B.3) holds with certainty by the linearity condition, and the opposite-branch condition (item 2) fails with probability at most on a key event; on the failure events the output lies in neither decoded set and contributes zero to the signed gap. Hence the reduction's signed advantage is within of 's, and Proposition B.2 bounds the former by a negligible function.
In particular, the case of Assumption 6.7 follows from Assumption B.1 at the security level of Proposition B.2, so Assumption 6.7 strengthens a statement that is provable at our parameters.
The proposition extends to samplers that are only weakly correct, provided their linear functions are sufficiently spread; this rules out a family of attacks that need not respect the admissibility predicate at all.
Definition B.9 (Linear sampler). A linear sampler is a pair of uniform polynomial-time classical algorithms. On input , the first algorithm outputs a sign and one copyable snapshot . One invocation of outputs satisfying, conditioned on every fixed ,
The joint distribution of (a, C) is otherwise arbitrary; in particular, the error probability may depend on a.
Proposition B.10 (Biased linear samplers). Let be a linear sampler (Definition B.9) with parameters . Then there is a polynomial-time ordinary decoded-family adaptive-hardcore-bit adversary whose signed advantage is at least
Consequently, Proposition B.2 rules out the sampler whenever is non-negligibly positive. In particular, for any inverse-polynomial it suffices that
This conclusion uses only one sampler invocation.
Proof. The reduction invokes once, obtains , runs the fiber realization on , and outputs to the decoded game. The equation bit is exact and does not depend on the fiber choice.
Write ; by Equation (29), . The output enters the correct or flipped decoded set according to whenever , and neither set otherwise, so filtering changes the signed expectation by at most the failure probability of the direction conditions. For the branch-b condition, the min-entropy bound Equation (28) gives vanishes on the half designated for , since that set has elements, each of probability at most . The opposite branch fails with probability at most on a key event. The overall signed gap is therefore at least with as displayed. Finally, Equation (31) gives , so Equation (30) is at least , which is non-negligible for every inverse-polynomial and contradicts Proposition B.2.
When the linear functions are uniform and repeated labeled samples are independent, the equations above can also be viewed as LPN with coefficient-dependent, or adversarial, classification noise. Known agnostic-learning algorithms reduce parity learning under the uniform distribution with such adversarial classification noise to parity learning with random classification noise; combining this reduction with the Blum–Kalai–Wasserman algorithm gives a subexponential algorithm [FGKP09, BKW03]. The direct argument above is stronger for our purpose: it needs neither repeated samples nor a noise model, and it preserves any inverse-polynomial correlation without first recovering the secret.
The three results are complementary, and their restrictions delimit what remains open. The first requires reset access to a predictor after its base points are fixed, the second requires many correct equations for one fixed snapshot, and the third covers only empty predicate lists. These restrictions leave open the fully adaptive game in Assumption 6.7, where the linear function, the predicate list, and the base points may be chosen jointly and used once.
C Parameters for the Encoded Construction
In this appendix, we prove the parameter estimates used in the completeness and soundness arguments. Recall from Section 6.1 and Appendix B that
that the trapdoor inversion radius is
and that
Lemma C.1 (Parameter estimates). For all sufficiently large , the following hold.
-
Noise hierarchy. , and the ratios and are superpolynomial in .
-
Completeness errors. .
-
Interval overlap and no wrap-around. and .
-
Trapdoor uniqueness radii. , every satisfies , and for every key error in the support of .
-
LK-1/4 radius. For every generated matrix K satisfying Equation (2), every satisfies .
Proof. The three noise scales satisfy
Thus for all sufficiently large parameters, and
are both superpolynomial in . These are precisely the two noise-gap conditions in BCMVV [BCM 21], as in Equation (23); this proves the first item.
For the second item, note that for sufficiently large , the definition in Equation (5) makes W the largest power of two satisfying the integer inequality
Equivalently, , and maximality gives . Consequently,
Also,
The same estimates give
The second estimate is used only as a deterministic no-wrap inequality; it is not a completeness-error term. In particular, and for all sufficiently large , proving the third item.
For the fourth item, every centered noise vector in satisfies
The key error also satisfies
Hence, for all sufficiently large ,
These are the two trapdoor-uniqueness bounds used for equation keys.
Finally, by Equation (2), and hence
This is the LK-1/4 inequality used in Lemma 6.15, and it uses only the lower bound of Equation (2).
The main register lengths are
The last quantity is, up to a constant factor, the number of qubits in the source and output registers of Lemma 6.13.