Introduction
Understanding the limitations of quantum circuits is a fundamental goal in quantum computation. For state preparation, a circuit lower bound shows that a particular quantum state cannot be prepared within specified resource constraints, like time or space. Such bounds help identify which features of quantum states genuinely require complex quantum dynamics, rather than merely reflecting limitations of currently known preparation algorithms. These questions also connect to quantum many-body physics, where circuit complexity provides one way to classify phases of matter and patterns of entanglement [1 ] .
Despite their importance, quantum circuit lower bounds are notoriously difficult to prove. One of the most basic and successful techniques is the lightcone argument . In a shallow circuit of two-qubit gates, information cannot spread throughout the entire system, restricting the correlations that the circuit can create from an initially unentangled state. For example, a constant-depth circuit of two-qubit gates cannot prepare the CAT state 1 2 ( ∣ 0 n ⟩ + ∣ 1 n ⟩ ) \frac{1}{\sqrt{2}}(\lvert0^n\rangle+ \lvert1^n\rangle) 2 1 (∣ 0 n ⟩ + ∣ 1 n ⟩) , since no qubit can be correlated with the entire system. But this argument is no longer effective once circuits are allowed enough depth or global operations. Beyond this regime, we have far fewer general techniques to certify that a state is difficult to prepare.
Why has it been so difficult to prove stronger lower bounds? One clue comes from classical circuit complexity. Rosenthal showed that state-preparation lower bounds against constant-depth circuits with many-qubit fanout gates would imply breakthrough classical circuit lower bounds [2 ] . In particular, this would prove that some explicit Boolean function cannot be implemented in the circuit model T C 0 \mathrm{TC}^{0} TC 0 , a classical circuit class for which no superpolynomial lower bounds for explicit Boolean functions are known, even for depth 4.
Not only has proving T C 0 \mathrm{TC}^{0} TC 0 lower bounds been a longstanding open problem for decades, but also classical complexity theory gives evidence that a broad class of natural approaches will not suffice. In their seminal work, Razborov and Rudich established the natural proofs barrier , a “meta-theorem” showing that, under a cryptographic assumption, so called natural proof techniques cannot establish lower bounds against sufficiently powerful classical circuits [3 ] . Under suitable cryptographic assumptions, this obstruction can apply even to T C 0 \mathrm{TC}^{0} TC 0 circuits. Their result is unusual in that it places a limitation not on the circuits being studied, but on the kinds of arguments that can prove lower bounds against them.
In this work we ask: are there analogous limitations on how we can prove quantum lower bounds? Their connection to classical circuit complexity discussed above suggest that strong quantum circuit lower bounds should be difficult to prove, but this does not help us to identify proof approaches for circuit lower bounds that are themselves subject to cryptographic barriers. In this paper, we establish a large class of general proof approaches that cannot be useful for proving stronger state preparation lower bounds without breaking some cryptographic assumption.
A general proof strategy is to first identify a property of the target state and then show that no state prepared by the allowed circuits has that property. Following the style of Razborov and Rudich, we informally call a property of quantum states natural if it satisfies the following two conditions:
Constructivity: Given a list of all the amplitudes of a state up to sufficiently high precision, a classical algorithm can decide efficiently whether the state has the property. Here, efficient means polynomial in the length of the amplitude list (and thus may be exponential in the number of qubits).
Finally, we call a property useful against a circuit model C C C if no state approximately preparable by C C C has the property. We say that a lower-bound proof against C C C is natural if it can be recast as identifying a natural property that is useful against C C C .
We emphasize that constructivity is meant to capture a classical mathematical test of a state property, rather than an efficient physical procedure for verifying the property. The amplitude list is analogous to the truth table of a Boolean function in the formulation of classical natural proofs. This is a deliberately permissive notion: the algorithm may inspect all 2 n 2^n 2 n amplitudes and run in time polynomial in the list length.
Example: Pauli expectations. As an example, we describe a lower bound against Clifford circuits that is a natural proof. Consider states with the property that the magnitudes of all nonidentity Pauli expectations are bounded away from one: max P ≠ I ∣ ⟨ ψ ∣ P ∣ ψ ⟩ ∣ < 0.9 \max_{P \ne I} \lvert\langle\psi\lvert P\lvert\psi\rangle\rvert< 0.9 max P = I ∣⟨ ψ ∣ P ∣ ψ ⟩∣ < 0.9 . This condition can be tested from the amplitude list in polynomial time (constructivity) and holds for Haar-random states with high probability (largeness). In contrast, every state prepared by a Clifford circuit has many nonidentity Pauli expectations with absolute value one (usefulness). This example shows how a natural property can certify hardness for a restricted state preparation model: Clifford circuits.
Our result Our main result places limits on the extent to which these natural-proof approaches can establish lower bounds against more powerful quantum circuit models. Our barrier already applies to a restricted circuit model: the magic hierarchy , whose circuits alternate between arbitrary Clifford circuits and constant-depth circuits of one- and two-qubit gates [Par25]. Its levels bound the number of alternations.
Theorem 1.1 (Informal, natural proofs barrier against state preparation, see Theorem 5.6 ). Assuming that classically subexponentially secure pseudorandom functions 1 can be implemented by polynomial-size, depth-d d d threshold circuits, then no natural property can be used to prove that a state cannot be e − n e^{-n} e − n -approximately prepared by polynomial-size circuits in the ( 8 d + 20 ) (8d + 20) ( 8 d + 20 ) th level of the magic hierarchy.
We previously already knew that state-preparation lower bounds at fixed levels of the magic hierarchy imply lower bounds for fixed-depth classical threshold circuits [2 Par25] , but this does not by itself imply our theorem. [2 Par25] do not show any connection between any notion of a natural property of quantum states to the a natural property of Boolean functions. Our theorem avoids the need for such a correspondence by placing the obstruction directly on properties of quantum states.
We emphasize that our cryptographic assumption is entirely classical . It is also the same assumption used to get the classical natural proofs barrier against T C 0 \mathrm{TC}^{0} TC 0 circuits. A concrete psuedorandom function (PRF) construction makes the level of our barrier explicit. The construction of Naor and Reingold [5 ] admits polynomial-size, depth-four threshold circuits, as shown by Krause and Lucks [KL02]. Assuming this construction is classically subexponentially secure2 , we obtain the following corollary.
Corollary 1.1.1 (Informal). If the Naor-Reingold PRF construction [5 ] is classically subexponentially secure, then no natural property is useful against polynomial-sized circuits in the 52 52 52 nd level of the Magic Hierarchy for state preparation.
For reference, [Par25] already showed that a lower bound against level 64 64 64 of the magic hierarchy implies a lower bound against depth-4 T C 0 \mathrm{TC}^{0} TC 0 circuits, which themselves encounter the natural proofs barrier.
Unitary implementation. We also formulate natural proofs for unitary implementation, replacing the amplitude list by a finite-precision description of the full unitary matrix. Pseudorandom matrix descriptions supported on efficiently implementable unitaries would yield an analogous barrier (Proposition 7.1), but we do not obtain such a cryptographic construction here.
There is, however, a concrete reason that directly extending our state construction is nontrivial. Our proof first uses a random function to produce statistically Haar-like amplitude lists, and then replaces it by a PRF. Using the argument of Brakerski and Yuen [7 ] , we show that reproducing this statistical state for full unitary matrices, with efficient Boolean-oracle implementations, would already resolve the Aaronson-Kuperberg unitary synthesis problem (Proposition 7.2).
Technical overview
To obtain a natural proofs barrier, the key is to construct ensembles of states that admit small approximate preparation circuits, but whose complete finite-precision amplitude lists look Haar-random to the allowed classical algorithms. A useful natural property would reject these states, while largeness would make it accept a sufficiently large fraction of Haar-random states. Its recognition algorithm from constructivity would therefore distinguish the two ensembles, contradicting pseudorandomness.
Definition 1.1 (Pseudorandom amplitude-list (PRAL) family, informal, see Definition 2.3 ). A pseudorandom amplitude-list (PRAL) family consists of pure-state ensembles that look Haar random even to a classical algorithm given the entire finite-precision amplitude list and time polynomial in its length. The family supports any polynomially bounded amplitude precision.
We call such a family ε \varepsilon ε -approximately C \mathcal{C} C preparable if each of its states can be prepared to error ε \varepsilon ε by a polynomial-size circuit in C \mathcal{C} C . Note that this requires a small preparation circuit for each state, not an efficient procedure for sampling the ensemble.
Theorem 1.2 (Informal, see Theorem 2.1). If a P R A L PRAL P R A L family can be ε \varepsilon ε -approximately prepared by polynomial-size circuits in C \mathcal{C} C , then no natural property is ε \varepsilon ε -useful against C \mathcal{C} C for state preparation.
The main technical task is therefore to construct a PRAL family whose states can be approximately prepared within a fixed level of the magic hierarchy. Standard pseudorandom-state constructions do not immediately suffice for this purpose. For example, consider the binary phase state,
1 2 n ∑ x ∈ { 0 , 1 } n ( − 1 ) f k ( x ) ∣ x ⟩ , \frac{1}{\sqrt{2^n}}\sum_{x\in\{0,1\}^n}(-1)^{f_k(x)}|x\rangle, 2 n 1 x ∈ { 0 , 1 } n ∑ ( − 1 ) f k ( x ) ∣ x ⟩ ,
for a pseudorandom function f k : { 0 , 1 } n → { 0 , 1 } f_k:\{0,1\}^n\to\{0,1\} f k : { 0 , 1 } n → { 0 , 1 } with a randomly chosen key k k k . Assuming the function family is secure against quantum queries, this ensemble is indistinguishable from Haar random states to polynomial-time quantum adversaries given polynomially many copies [8 ] . However, the security we want here is against adversaries who can look at the entire amplitude list . In this case, it is very easy to see that this state is not Haar random because all of its amplitudes have the same magnitude 2 − n / 2 2^{-n/2} 2 − n /2 , whereas Haar random states have varying amplitude magnitudes.
We therefore follow the Gaussian-based framework of Brakerski and Shmueli [9 ] , generating approximate complex Gaussian entries and normalizing the resulting vector. Our task is to obtain the required pseudorandomness of the complete amplitude list while keeping the preparation circuit within a fixed level of the magic hierarchy.
1. Random amplitudes from a random function. A Haar random state can be generated by choosing independent complex Gaussian amplitudes and normalizing. We mimic this process with a random function H : { 0 , 1 } n → { 0 , 1 } R H:\{0,1\}^n\to\{0,1\}^R H : { 0 , 1 } n → { 0 , 1 } R by using the function value H ( x ) H(x) H ( x ) as the random bits that determine the amplitude at index x x x . We set
∣ ψ H ⟩ ∝ ∑ x Samp ( H ( x ) ) ∣ x ⟩ , |\psi_H\rangle\propto\sum_x \operatorname{Samp}(H(x))|x\rangle, ∣ ψ H ⟩ ∝ x ∑ Samp ( H ( x )) ∣ x ⟩ ,
where Samp converts random bits into an approximate Gaussian sample. When H H H is random, its values H ( x ) H(x) H ( x ) are independent, so the amplitudes v x v_x v x behave like independent Gaussian samples. After normalization, we show that the resulting truncated amplitude lists are statistically close to those of Haar-random states.
This statistical random-function step is one point at which the state-preparation setting differs sharply from the unitary setting: as discussed in § 9.3 , an analogous statistically Haar-like construction for full unitary matrices with efficient oracle implementations would already imply unitary synthesis.
2. Preparing the target states in MH. The challenge is that knowing how H ( x ) H(x) H ( x ) determines the amplitude v x v_x v x does not immediately give a circuit that prepares ∣ ψ H ⟩ ∝ ∑ x v x ∣ x ⟩ |\psi_H\rangle\propto\sum_x v_x|x\rangle ∣ ψ H ⟩ ∝ ∑ x v x ∣ x ⟩ . Our state preparation has two conceptual components. A coherent sampler computes a numerical description of the amplitude v x v_x v x associated with input x x x , and our amplitude loader turns those descriptions into the actual amplitudes of the state. We implement both within a fixed level of the magic hierarchy.
Our sampler generates Gaussian-like values using comparisons of random numbers. Our loader reconstructs each complex amplitude from its encoded magnitude and phase. We implement these operations so that, when H H H can be evaluated in a fixed level of the magic hierarchy, the full preparation also remains in a fixed level.
3. Replacing the random function with a PRF. Finally, we replace H H H with a sufficiently secure PRF. We show how a test distinguishing the resulting amplitude lists could be used to distinguish the PRF from a random function: just compute the amplitude list from the function, then run the test. The reduction constructs the classical amplitude list directly from evaluations of the function; it does not simulate the quantum preparation circuit.
Constructing the entire amplitude list takes 2 O ( n ) 2^{O(n)} 2 O ( n ) time, so ordinary polynomial-time PRF security is not enough for this reduction. We choose the PRF security parameter to be a sufficiently large polynomial in the state and precision parameters, so that the assumed subexponential security covers both this runtime and the required distinguishing advantage. When the PRF can additionally be evaluated by polynomial-size T C 0 \mathrm{TC}^{0} TC 0 circuits, the preparation procedure from the previous step places the corresponding states in a fixed level of the magic hierarchy. This gives the required PRAL family and completes the natural-proofs barrier.
Related works
Relation to scalable pseudorandom states. Our construction builds on the Gaussian-based framework of Brakerski and Shmueli [9 ] , which generates approximate Gaussian coordinates and prepares the corresponding normalized state using quantum rejection sampling [10 ] . Their goal is polynomial-time state preparation, whereas ours is to realize the sampling and amplitude-loading procedures within a fixed level of the magic hierarchy. This requires an explicit finite Gaussian sampler and an amplitude-loading implementation tailored to our restricted circuit model.
The security notions also differ. A scalable pseudorandom state with security parameter κ \kappa κ is required to fool polynomial-time quantum adversaries given polynomially many copies of the state, with κ \kappa κ independent of the number of output qubits [9 ] . A PRAL family instead has to fool a classical algorithm that is given the entire T T T -bit amplitude list. One way to convert the former access model into the latter is tomography: reconstruct the state to sufficient precision and then run the amplitude-list distinguisher.
Quantitatively, this requires a stronger guarantee than the standard scalable-PRS definition. To reconstruct an n n n -qubit state accurately enough to determine a T T T -bit amplitude list, with failure probability small compared with a desired distinguishing advantage 2 − λ 2^{-\lambda} 2 − λ , a straightforward tomography reduction uses 2 O ( n + T + λ ) 2^{O(n+T+\lambda)} 2 O ( n + T + λ ) copies and computation. Thus polynomial-time, polynomial-copy security in κ \kappa κ does not suffice when κ = poly ( n , T , λ ) \kappa= \operatorname{poly}(n,T,\lambda) κ = poly ( n , T , λ ) . By contrast, a scalable PRS secure against, say, 2 κ α 2^{\kappa^\alpha} 2 κ α quantum time and copies with advantage at most 2 − κ α 2^{-\kappa^\alpha} 2 − κ α would suffice: choosing κ \kappa κ to be a sufficiently large polynomial in n , T , λ n,T,\lambda n , T , λ covers the tomography reduction while keeping the state-generation complexity polynomial.
The statistical random-function construction of Brakerski and Shmueli already has enough quantitative strength for this route: the joint distribution of t t t copies is within O ( t / e κ ) O(t/e^\kappa) O ( t / e κ ) trace distance of t t t copies of a Haar-random state [9 ] . Hence even exponentially many copies can be supported by increasing κ \kappa κ only polynomially. Turning this into the corresponding computational guarantee, however, would require the underlying pseudorandom function to remain secure against the resulting exponential-resource quantum adversary.
Our proof avoids this stronger quantum assumption. Since the distinguisher in our framework receives a classical amplitude list, we construct that list directly from classical evaluations of the underlying function. Consequently, the computational step of our barrier requires only a classically subexponentially secure PRF.
Other mention of quantum natural proofs. An independent work by Chen et al. [11 ] uses the term quantum natural proofs in the QSETH setting, where natural properties are properties of Boolean functions whose constructivity may be quantum. Their framework is used to establish compression obliviousness from quantum-secure pseudorandom functions, whereas ours concerns properties of quantum states and state-preparation lower bounds.
Discussion
We know that various constant-time circuit models are equivalent and captured by the magic hierarchy. So our barrier also holds for other models at fixed depth. We chose to work within the magic hierarchy for convenience, and to compare with the levels in [Par25] where it is shown that the classical natural proofs barrier is encountered.
Other preparation models. The magic hierarchy provides a convenient setting in which to state a quantitative barrier, but the underlying obstruction is not specific to this model. Any preparation model that can simulate the circuits preparing the states in our PRAL family inherits the corresponding barrier. The simulations established in [Par25] therefore give consequences for constant-depth circuits with fanout and for appropriate bounded-round adaptive circuit models. We use the magic hierarchy to track the required circuit resources and compare directly with the earlier fixed-level connections to classical lower bounds.
Can the barrier extend to weaker circuit models? Our barrier applies whenever the states in our PRAL family can be prepared within the circuit model of interest. Thus, extending the barrier to weaker models amounts to asking whether comparable PRAL families can be prepared with fewer computational resources.
A particularly interesting target is QAC0 ^{0} 0 . This class is contained in the more powerful constant-depth models captured by the magic hierarchy, but is conjectured to be strictly weaker. Proving lower bounds against QAC0 ^{0} 0 has attracted substantial recent attention, yet our understanding remains limited. With polynomially many unrestricted ancillas, the strongest known lower bounds only reach very small constant depths [12 , 13 , 14 ] ; for arbitrary constant depth, known results require additional restrictions on the number of ancillas or circuit size [15 , 16 ] .
Recent work also suggests that existing techniques are approaching an interesting threshold. Anshu et al. [16 ] show that a depth-d d d QAC0 ^{0} 0 circuit computing PARITY needs at least n 1 + 3 − d n^{1+3^{-d}} n 1 + 3 − d ancillas. They further observe that if one could strengthen this to be n 1 + exp ( − o ( d ) ) n^{1+\exp(-o(d))} n 1 + e x p ( − o ( d )) that would already imply PARITY ∉ \notin ∈ / QAC0 ^{0} 0 . This raises the possibility that further progress may require qualitatively new ideas. Is there a natural proofs barrier in this regime?
Recent work shows that pseudorandom unitaries, and hence pseudorandom states in the usual copy-access sense, can be implemented with high accuracy by polynomial-size QAC0 ^{0} 0 circuits [17 , 18 ] .3 What remains insufficient for our purposes is the security guarantee: the construction in [17 ] is secure only against quasipolynomial-time adversaries, whereas a distinguisher given the entire amplitude list may run in 2 O ( n ) 2^{O(n)} 2 O ( n ) time. Strengthening this security would therefore give a promising route to a natural-proofs barrier for QAC0 ^{0} 0 .
Unitary natural proofs. It is natural to ask whether the same barrier can be established for lower bounds on implementing unitaries. In § 9 , we formulate the corresponding notion of a natural unitary property and identify the pseudorandom matrix object that would imply such a barrier. Interestingly, the unitary setting appears qualitatively more difficult than the state setting: we show that reproducing the statistical random-function stage of our state construction for full unitary matrices would already imply a positive solution to the unitary synthesis problem, via the relaxed-net argument of Brakerski and Yuen [7 ] .
Acknowledgments
Acknowledgments. We thank Henry Yuen, Miranda Christ, Tal Malkin, John Bostanci, and Ben Foxman for helpful discussions. We also thank Sabee Grewal for helpful feedback on this manuscript.
AI disclosure
AI disclosure. The main ideas and structure of this work were entirely human-generated. Before using AI, we had a full version of the result, but our use of AI significantly improved it. Using ChatGPT, we were able to optimize our preparation of the states in the PRAL family to a much lower circuit complexity, and generate some additional examples. We also used AI for assistance with improving the exposition, and checking arguments. We take full responsibility for the exposition and correctness of this manuscript.
Quantum natural proofs
Definitions
Definition 2.1 (State amplitude list, al T ( ψ ) \operatorname{al}_{T}(\psi) al T ( ψ ) ). Fix a signed binary encoding for real numbers in [ − 1 , 1 ] [-1,1] [ − 1 , 1 ] , and let c e n c c_{\mathrm{enc}} c enc be the number of sign and format bits used per complex amplitude. Let ∣ ψ ⟩ = ∑ x ∈ { 0 , 1 } n α x ∣ x ⟩ |\psi\rangle= \sum_{x\in\{0,1\}^{n}} \alpha_x |x\rangle ∣ ψ ⟩ = ∑ x ∈ { 0 , 1 } n α x ∣ x ⟩ be an n n n -qubit state. For T ∈ N T\in\mathbb{N} T ∈ N , let al T ( ψ ) \operatorname{al}_{T}(\psi) al T ( ψ ) denote the binary string obtained by writing, for every x ∈ { 0 , 1 } n x\in\{0,1\}^{n} x ∈ { 0 , 1 } n , the real and imaginary parts of α x \alpha_x α x truncated to T T T fractional bits. Thus
al T ( ψ ) ∈ ( { 0 , 1 } 2 T + c e n c ) 2 n ≅ { 0 , 1 } 2 n ( 2 T + c e n c ) . \operatorname{al}_{T}(\psi) \in\left(\{0,1\}^{2T+c_{\mathrm{enc}}}\right)^{2^n} \cong\{0,1\}^{2^n(2T+c_{\mathrm{enc}})}. al T ( ψ ) ∈ ( { 0 , 1 } 2 T + c enc ) 2 n ≅ { 0 , 1 } 2 n ( 2 T + c enc ) . We also identify al T ( ψ ) \operatorname{al}_{T}(\psi) al T ( ψ ) with the vector in C 2 n \mathbb{C}^{2^n} C 2 n obtained by interpreting this binary string as truncated complex amplitudes.
For a quantum circuit model C \mathcal{C} C , write C p o l y \mathcal{C}_{\mathrm{poly}} C poly for its polynomial-size restriction, namely, the class of circuit families { C n } n ∈ N \{\mathcal{C}_n\}_{n\in\mathbb{N}} { C n } n ∈ N such that C n ∈ C \mathcal{C}_n\in\mathcal{C} C n ∈ C and there is a polynomial q q q satisfying ∣ C n ∣ ≤ q ( n ) |\mathcal{C}_n|\leq q(n) ∣ C n ∣ ≤ q ( n ) . Thus, C \mathcal{C} C specifies the structural restrictions on the circuits, while C p o l y \mathcal{C}_{\mathrm{poly}} C poly additionally restricts their size as a function of the number of qubits.
Definition 2.2 (Natural promise property for quantum states). A promise property of n n n -qubit states is a pair of disjoint sets
P n y e s , P n n o ⊆ S ( C 2 n ) P_n^{\mathrm{yes}},P_n^{\mathrm{no}}\subseteq S(\mathbb{C}^{2^n}) P n yes , P n no ⊆ S ( C 2 n ) both invariant under global phase. The promise property { P n y e s , P n n o } n ∈ N \{P_n^{\mathrm{yes}},P_n^{\mathrm{no}}\}_{n\in\mathbb{N}} { P n yes , P n no } n ∈ N is natural if it satisfies:
Constructivity: There is a polynomial-time deterministic classical algorithm F F F and a polynomial τ : N → N \tau:\mathbb{N}\to\mathbb{N} τ : N → N such that, for every T ≥ τ ( n ) T\geq\tau(n) T ≥ τ ( n ) ,
∣ ψ ⟩ ∈ P n y e s ⟹ F ( 1 n , al T ( ψ ) ) = 1 , |\psi\rangle\in P_n^{\mathrm{yes}}\quad\Longrightarrow\quad F(1^n,\operatorname{al}_{T}(\psi))=1, ∣ ψ ⟩ ∈ P n yes ⟹ F ( 1 n , al T ( ψ )) = 1 , ∣ ψ ⟩ ∈ P n n o ⟹ F ( 1 n , al T ( ψ ) ) = 0. |\psi\rangle\in P_n^{\mathrm{no}}\quad\Longrightarrow\quad F(1^n,\operatorname{al}_{T}(\psi))=0. ∣ ψ ⟩ ∈ P n no ⟹ F ( 1 n , al T ( ψ )) = 0. Here, running time is measured in the total input length. We assume that P n y e s P_n^{\mathrm{yes}} P n yes is Haar-measurable so that the probability in the largeness condition is well-defined.
Largeness: There is a constant c > 0 c>0 c > 0 such that, for all sufficiently large n n n ,
Pr ∣ ϕ ⟩ ∼ Haar n [ ∣ ϕ ⟩ ∈ P n y e s ] ≥ 2 − c n . \Pr_{\lvert\phi\rangle\sim\operatorname{Haar}_n}\left[|\phi\rangle\in P_n^{\mathrm{yes}}\right]\geq2^{-cn}. ∣ ϕ ⟩ ∼ Haar n Pr [ ∣ ϕ ⟩ ∈ P n yes ] ≥ 2 − c n . For a quantum circuit model C \mathcal{C} C , we define usefulness against C \mathcal{C} C as follows.
Usefulness: For a quantum circuit model C \mathcal{C} C and an error bound ε : N → [ 0 , 1 ) \varepsilon:\mathbb{N}\to[0,1) ε : N → [ 0 , 1 ) , the property is ε \varepsilon ε -useful against C \mathcal{C} C if every pure-state family { ∣ ψ n ⟩ } n ∈ N \{|\psi_n\rangle\}_{n\in\mathbb{N}} { ∣ ψ n ⟩ } n ∈ N that can be ε \varepsilon ε -approximately prepared by C \mathcal{C} C is in P n n o P_n^{\mathrm{no}} P n no . Formally, if there exists a circuit family { C n } n ∈ N ∈ C \{\mathcal{C}_n\}_{n\in\mathbb{N}}\in\mathcal{C} { C n } n ∈ N ∈ C with reduced states σ n \sigma_n σ n on designated n n n -qubit output registers satisfying
1 2 ∥ ∣ ψ n ⟩ ⟨ ψ n ∣ − σ n ∥ 1 ≤ ε ( n ) (1) \frac{1}{2}\left\||\psi_n\rangle\langle\psi_n|-\sigma_n\right\|_1\leq\varepsilon(n) \tag*{(1)} 2 1 ∥ ∣ ψ n ⟩ ⟨ ψ n ∣ − σ n ∥ 1 ≤ ε ( n ) (1) for every n ∈ N n\in\mathbb{N} n ∈ N , then ∣ ψ n ⟩ ∈ P n n o |\psi_n\rangle\in P_n^{\mathrm{no}} ∣ ψ n ⟩ ∈ P n no for all sufficiently large n n n .
While the natural property is a property of pure states , the approximating states σ n \sigma_n σ n prepared by C \mathcal{C} C may be mixed . In this definition, each circuit acts on an all zero input, has a designated output register, and the remaining qubits can be traced out. In particular, the ancillary qubits need not be returned to ∣ 0 ⟩ |0\rangle ∣0 ⟩ .
Quantum natural-proofs barrier from a PRAL family
To consider the ability of classical algorithms to distinguish between states, we give them a classical description of the state. Specifically, the algorithm receives al T ( ψ ) \operatorname{al}_{T}(\psi) al T ( ψ ) , in which the real and imaginary parts of every amplitude are truncated to T T T bits of precision, as defined in Definition 2.1.
Definition 2.3 (Pseudorandom amplitude-list family). A family D = { D n , λ , T } n , T , λ ∈ N \mathcal{D} = \{D_{n,\lambda,T}\}_{n,T,\lambda\in\mathbb{N}} D = { D n , λ , T } n , T , λ ∈ N of distributions on normalized n n n -qubit state vectors is a pseudorandom amplitude-list (PRAL) family if, for every probabilistic polynomial-time classical distinguisher A A A , and every pair of polynomially bounded functions λ , T : N → N \lambda,T:\mathbb{N}\to\mathbb{N} λ , T : N → N ,
∣ Pr ∣ ψ ⟩ ← D n , λ ( n ) , T ( n ) [ A ( 1 n , 1 λ ( n ) , al T ( n ) ( ψ ) ) = 1 ] − Pr ∣ ϕ ⟩ ∼ Haar n [ A ( 1 n , 1 λ ( n ) , al T ( n ) ( ϕ ) ) = 1 ] ∣ ≤ 2 − λ ( n ) \left|\Pr_{|\psi\rangle\leftarrow D_{n,\lambda(n),T(n)}}\left[A\left(1^n,1^{\lambda(n)},\operatorname{al}_{T(n)}(\psi)\right)=1\right]-\Pr_{|\phi\rangle\sim\operatorname{Haar}_n}\left[A\left(1^n,1^{\lambda(n)},\operatorname{al}_{T(n)}(\phi)\right)=1\right]\right|\leq2^{-\lambda(n)} ∣ ψ ⟩ ← D n , λ ( n ) , T ( n ) Pr [ A ( 1 n , 1 λ ( n ) , al T ( n ) ( ψ ) ) = 1 ] − ∣ ϕ ⟩ ∼ Haar n Pr [ A ( 1 n , 1 λ ( n ) , al T ( n ) ( ϕ ) ) = 1 ] ≤ 2 − λ ( n ) for all sufficiently large n n n . The running time of A A A is measured with respect to its total input length. Efficient sampling from D n , λ , T D_{n,\lambda,T} D n , λ , T is not required.
The natural-proofs barrier only uses the linear-security regime λ ( n ) = Θ ( n ) \lambda(n)=\Theta(n) λ ( n ) = Θ ( n ) . Throughout, Haar n \operatorname{Haar}_n Haar n denotes Haar probability measure on the unit sphere in C 2 n \mathbb{C}^{2^n} C 2 n , so its samples are normalized state vectors. A PRAL is purely a pseudorandomness notion and by itself places no restriction on state preparation. For the barrier, we additionally require the following nonuniform preparation condition.
Definition 2.4 (Approximate circuit preparable). We say that a PRAL family { D n , λ , T } n , λ , T ∈ N \{D_{n,\lambda,T}\}_{n,\lambda,T\in\mathbb{N}} { D n , λ , T } n , λ , T ∈ N is efficiently ε \varepsilon ε -approximate C \mathcal{C} C -preparable if there exists a polynomial q q q such that, for every n , λ , T ∈ N n,\lambda,T\in\mathbb{N} n , λ , T ∈ N and every ∣ ψ ⟩ |\psi\rangle ∣ ψ ⟩ in the support of D n , λ , T D_{n,\lambda,T} D n , λ , T , there exists a circuit C ψ ∈ C C_\psi\in\mathcal{C} C ψ ∈ C of size at most q ( n , λ , T ) q(n,\lambda,T) q ( n , λ , T ) that when applied to the all zero state, and tracing out the non-output register prepares an n n n -qubit state σ ψ \sigma_\psi σ ψ satisfying
1 2 ∥ ∣ ψ ⟩ ⟨ ψ ∣ − σ ψ ∥ 1 ≤ ε ( n ) . \frac{1}{2}\left\||\psi\rangle\langle\psi|-\sigma_\psi\right\|_1\leq\varepsilon(n). 2 1 ∥ ∣ ψ ⟩ ⟨ ψ ∣ − σ ψ ∥ 1 ≤ ε ( n ) . The circuit C ψ C_\psi C ψ and its output σ ψ \sigma_\psi σ ψ may depend on n , λ , T n,\lambda,T n , λ , T , and ∣ ψ ⟩ |\psi\rangle ∣ ψ ⟩ , but the polynomial q q q is common to all choices. The state σ ψ \sigma_\psi σ ψ may be mixed and the discarded output qubits need not be returned to zero.
Barrier intuition. When λ \lambda λ and T T T are polynomially bounded in n n n , approximate preparation tells us there is a polynomial-size circuit that ε \varepsilon ε -approximately prepares each state in the distribution D n , λ , T D_{n,\lambda,T} D n , λ , T . An ε \varepsilon ε -useful natural property must therefore reject each of the states but also accept a nontrivial fraction of Haar-random states. Therefore, its constructivity algorithm distinguishes D n , λ , T D_{n,\lambda,T} D n , λ , T from Haar random.
Theorem 2.1 (Quantum natural-proofs barrier). Let C \mathcal{C} C be a quantum circuit model and let ε : N → [ 0 , 1 ) \varepsilon:\mathbb{N}\to[0,1) ε : N → [ 0 , 1 ) . Suppose there exists a PRAL family { D n , λ , T } \{D_{n,\lambda,T}\} { D n , λ , T } that is efficiently ε \varepsilon ε -approximate C \mathcal{C} C -preparable. Then there are no natural promise properties that are ε \varepsilon ε -useful against C p o l y \mathcal{C}_{\mathrm{poly}} C poly .
Proof. Suppose for the sake of contradiction that such a property exists, and let F F F , τ \tau τ , and c > 0 c>0 c > 0 witness its constructivity and largeness. Set T ( n ) = τ ( n ) T(n)=\tau(n) T ( n ) = τ ( n ) and λ ( n ) = ⌈ c n ⌉ + 1 \lambda(n)=\lceil cn\rceil+1 λ ( n ) = ⌈ c n ⌉ + 1 , and define A ( 1 n , 1 λ , t ) = F ( 1 n , t ) A(1^n,1^\lambda,t)=F(1^n,t) A ( 1 n , 1 λ , t ) = F ( 1 n , t ) . This is a deterministic polynomial-time classical distinguisher.
Since λ \lambda λ and T T T are polynomially bounded, there is a polynomial r r r such that every state in the support of D n , λ ( n ) , T ( n ) D_{n,\lambda(n),T(n)} D n , λ ( n ) , T ( n ) is within trace distance ε ( n ) \varepsilon(n) ε ( n ) of a state preparable by a C \mathcal{C} C circuit of size at most r ( n ) r(n) r ( n ) . We claim that by the property’s ε \varepsilon ε -usefulness against C p o l y \mathcal{C}_{\mathrm{poly}} C poly , for sufficiently large n n n , every state in this support belongs to P n o P_n^{\mathrm{o}} P n o . Otherwise, we can build a family of states { ∣ ψ n ⟩ } \{|\psi_n\rangle\} { ∣ ψ n ⟩} that contradicts usefulness as follows. For infinitely many n ∈ N n\in\mathbb{N} n ∈ N we can select ∣ ψ n ⟩ |\psi_n\rangle ∣ ψ n ⟩ to be a state in the support of D n , λ ( n ) , T ( n ) D_{n,\lambda(n),T(n)} D n , λ ( n ) , T ( n ) that is not in P n n o P_n^{\mathrm{no}} P n no , and for all other n n n we set ∣ ψ n ⟩ |\psi_n\rangle ∣ ψ n ⟩ as an arbitrary supported state. Now each of the states ∣ ψ n ⟩ |\psi_n\rangle ∣ ψ n ⟩ can be ε ( n ) \varepsilon(n) ε ( n ) -approximately prepared by a C \mathcal{C} C circuit of size r ( n ) r(n) r ( n ) , but there is no n 0 n_0 n 0 such that for all n ≥ n 0 n\geq n_0 n ≥ n 0 each ∣ ψ n ⟩ ∈ P n o |\psi_n\rangle\in P_n^{\mathrm{o}} ∣ ψ n ⟩ ∈ P n o . This contradicts ε \varepsilon ε -usefulness.
Therefore, by constructivity, for sufficiently large n n n ,
Pr ∣ ψ ⟩ ← D n , λ ( n ) , T ( n ) [ A ( 1 n , 1 λ ( n ) , al T ( n ) ( ψ ) ) = 1 ] = 0 \Pr_{|\psi\rangle\leftarrow D_{n,\lambda(n),T(n)}}\left[A\left(1^n,1^{\lambda(n)},\operatorname{al}_{T(n)}(\psi)\right)=1\right]=0 ∣ ψ ⟩ ← D n , λ ( n ) , T ( n ) Pr [ A ( 1 n , 1 λ ( n ) , al T ( n ) ( ψ ) ) = 1 ] = 0
By largeness, for all sufficiently large n n n ,
Pr ∣ ϕ ⟩ ∼ Haar n [ ∣ A ( 1 n , 1 λ ( n ) , alt T ( n ) ( ϕ ) ) = 1 ∣ ] ≥ 2 − c n > 2 − λ ( n ) . \Pr_{|\phi\rangle\sim\operatorname{Haar}_n}\left[\left|A\left(1^n,1^{\lambda(n)},\operatorname{alt}_{T(n)}(\phi)\right)=1\right|\right] \ge2^{-cn} > 2^{-\lambda(n)}. ∣ ϕ ⟩ ∼ Haar n Pr [ A ( 1 n , 1 λ ( n ) , alt T ( n ) ( ϕ ) ) = 1 ] ≥ 2 − c n > 2 − λ ( n ) .
Therefore, A A A distinguishes D n , λ ( n ) , T ( n ) D_{n,\lambda(n),T(n)} D n , λ ( n ) , T ( n ) from the Haar measure with advantage strictly greater than 2 − λ ( n ) 2^{-\lambda(n)} 2 − λ ( n ) , contradicting the security of D n , λ ( n ) , T ( n ) D_{n,\lambda(n),T(n)} D n , λ ( n ) , T ( n ) in Definition 2.3 .
Description of states in PRAL family
In this section we describe the states in our PRAL family. To sample a truly Haar-random state, we could draw each amplitude independently from a complex Gaussian distribution, and then normalize. We mimic this construction using a function H : { 0 , 1 } n → { 0 , 1 } R H : \{0,1\}^n \to\{0,1\}^R H : { 0 , 1 } n → { 0 , 1 } R . For each basis string x x x , we interpret H ( x ) H(x) H ( x ) as a finite random tape and apply a deterministic sampler Samp \operatorname{Samp} Samp to obtain a complex number v x = Samp ( H ( x ) ) v_x = \operatorname{Samp}(H(x)) v x = Samp ( H ( x )) . Thus a single function H H H determines an entire vector v = ( v x ) x ∈ { 0 , 1 } n v = (v_x)_{x\in\{0,1\}^n} v = ( v x ) x ∈ { 0 , 1 } n , and hence a target quantum state after normalization.
When H H H is a uniformly random function, the strings H ( x ) H(x) H ( x ) are independent and uniform, so the values v x v_x v x behave like independent approximate Gaussian samples. Later we will replace the random function by a pseudorandom one.
We use the sampler in both the security analysis and the eventual low-depth preparation, so it will be convenient to isolate the quantitative guarantees we need from it. The parameters below track its scaling, approximation error, and failure probability. We then use such a sampler to associate a target state ∣ ψ H ⟩ |\psi_H\rangle ∣ ψ H ⟩ with every fixed function H H H .
Finite complex Gaussian sampler
Definition 3.1 (Complex Gaussian sampler). Fix positive integers R , ℓ R,\ell R , ℓ , a scale s > 0 s>0 s > 0 , an approximation error ξ ≥ 0 \xi\ge0 ξ ≥ 0 , and a failure probability η s a m p ∈ [ 0 , 1 ] \eta_{\mathrm{samp}}\in[0,1] η samp ∈ [ 0 , 1 ] .
An ( s , ξ , η s a m p ) (s,\xi,\eta_{\mathrm{samp}}) ( s , ξ , η samp ) -complex Gaussian sampler is a deterministic map Samp : { 0 , 1 } R → { 0 , 1 } ℓ \operatorname{Samp}:\{0,1\}^R\to\{0,1\}^{\ell} Samp : { 0 , 1 } R → { 0 , 1 } ℓ whose output encodes a complex number of magnitude at most one on every input. For a uniformly random tape ω ∈ { 0 , 1 } R \omega\in\{0,1\}^R ω ∈ { 0 , 1 } R , let V = Samp ( ω ) V=\operatorname{Samp}(\omega) V = Samp ( ω ) , identifying the output encoding with its decoded complex value. We require that there exists a coupling of V V V with a standard complex Gaussian random variable G ∼ N C ( 0 , 1 ) G\sim\mathcal{N}^{\mathbb{C}}(0,1) G ∼ N C ( 0 , 1 ) such that
Pr [ ∣ s V − G ∣ > ξ ] ≤ η s a m p (2) \Pr[|sV-G|>\xi]\le\eta_{\mathrm{samp}} \tag*{(2)} Pr [ ∣ s V − G ∣ > ξ ] ≤ η samp (2)
We use the convention E ∣ G ∣ 2 = 1 \mathbb{E}|G|^2=1 E ∣ G ∣ 2 = 1 .
Although we call Samp \operatorname{Samp} Samp a sampler, it is a deterministic function of its input tape. The randomness comes from the choice of random input tape ω \omega ω . For now we treat Samp \operatorname{Samp} Samp as a black box satisfying the guarantees above. We construct an explicit sampler in the magic hierarchy later in § 7.1 .
Encoding convention. The sampler’s output represents the complex number α = r e 2 π i θ \alpha= re^{2\pi i\theta} α = r e 2 π i θ by its polar coordinates ( r , θ ) (r,\theta) ( r , θ ) up to O ( R ) O(R) O ( R ) binary fractional bits. This internal encoding is distinct from the amplitude list alt T ( ψ ) \operatorname{alt}_T(\psi) alt T ( ψ ) which records the real and imaginary parts (cartesian coordinates).
Target states from a complex-Gaussian sampler
Fix a function H : { 0 , 1 } n → { 0 , 1 } R H:\{0,1\}^n\to\{0,1\}^R H : { 0 , 1 } n → { 0 , 1 } R , and a sampler Samp : { 0 , 1 } R → { 0 , 1 } ℓ \operatorname{Samp}:\{0,1\}^R\to\{0,1\}^{\ell} Samp : { 0 , 1 } R → { 0 , 1 } ℓ . Let v ∈ C N v\in\mathbb{C}^N v ∈ C N be defined by v x = Samp ( H ( x ) ) v_x=\operatorname{Samp}(H(x)) v x = Samp ( H ( x )) for each x ∈ { 0 , 1 } n x\in\{0,1\}^n x ∈ { 0 , 1 } n . For nonzero v ∈ C N v\in\mathbb{C}^N v ∈ C N , write ∣ v ^ ⟩ : = 1 ∥ v ∥ ∑ x ∈ { 0 , 1 } n v x ∣ x ⟩ |\widehat{v}\rangle:=\frac{1}{\|v\|}\sum_{x\in\{0,1\}^n}v_x|x\rangle ∣ v ⟩ := ∥ v ∥ 1 ∑ x ∈ { 0 , 1 } n v x ∣ x ⟩ .
For a uniformly random H H H and suitable sampler parameters, the distribution of these normalized vectors approaches Haar measure. Our preparation procedure, however, requires a lower bound on the ∥ v ∥ \|v\| ∥ v ∥ in order to prepare the state efficiently. We therefore introduce a threshold γ ∈ ( 0 , 1 ] \gamma\in(0,1] γ ∈ ( 0 , 1 ] and define the target state as follows.
Definition 3.2 (Target state ∣ ψ H ⟩ |\psi_H\rangle ∣ ψ H ⟩ associated with H H H ). For v v v defined above, and some threshold γ ∈ ( 0 , 1 ] \gamma\in(0,1] γ ∈ ( 0 , 1 ] , let
∣ ψ H ⟩ = { ∣ v ^ ⟩ , if ∥ v ∥ ≥ γ N , ∣ 0 n ⟩ , if ∥ v ∥ < γ N . (3) |\psi_H\rangle=
\begin{cases}
|\hat{v}\rangle, & \text{if }\lVert v\rVert\ge\gamma\sqrt{N},\\
|0^n\rangle, & \text{if }\lVert v\rVert< \gamma\sqrt{N}.
\end{cases} \tag*{(3)} ∣ ψ H ⟩ = { ∣ v ^ ⟩ , ∣ 0 n ⟩ , if ∥ v ∥ ≥ γ N , if ∥ v ∥ < γ N . (3)
The threshold is needed only for the preparation procedure: when ∥ v ∥ ≥ γ N \lVert v\rVert\ge\gamma\sqrt{N} ∥ v ∥ ≥ γ N , our amplitude loader efficiently prepares ∣ v ^ ⟩ |\hat{v}\rangle ∣ v ^ ⟩ ; otherwise the target is defined to be the trivially preparable state ∣ 0 n ⟩ |0^n\rangle ∣ 0 n ⟩ . This case distinction is part of the target-state definition and need not itself be evaluated by the circuit.
In § 6 , we analyze distributions over these states obtained first from a uniformly random function and then from a pseudorandom function. The preparation of these states in the magic hierarchy is deferred to § 7 .
Security of the PRAL construction
We prove security in two steps. First, we show that for a uniformly random function H H H , the corresponding distribution over target states ∣ ψ H ⟩ |\psi_H\rangle ∣ ψ H ⟩ have truncated amplitude lists statistically close to Haar. The main subtlety is that nearby amplitudes can have different truncations. Second, we show how to reconstruct these lists from classical oracle access to H H H , allowing us to replace the random function by a sufficiently secure PRF.
Security with a truly random function
Let H : { 0 , 1 } n → { 0 , 1 } R H:\{0,1\}^n \to\{0,1\}^R H : { 0 , 1 } n → { 0 , 1 } R be a uniformly random function. We write D r f D_{\rm rf} D rf for the resulting distribution of target states ∣ ψ H ⟩ |\psi_H\rangle ∣ ψ H ⟩ from Definition 3.2 .
Theorem 4.1 (Random-function security). Fix n ≥ 1 n \ge1 n ≥ 1 , write N = 2 n N=2^n N = 2 n , and let γ ∈ ( 0 , 1 ] \gamma\in(0,1] γ ∈ ( 0 , 1 ] . Let Samp \operatorname{Samp} Samp be an ( s , ξ , η s a m p ) (s,\xi,\eta_{\rm samp}) ( s , ξ , η samp ) -complex Gaussian sampler, and let D r f D_{\rm rf} D rf be the target-state distribution defined by this sampler and threshold for uniformly random H H H .
Suppose there exists β ∈ ( 0 , 1 ) \beta\in(0,1) β ∈ ( 0 , 1 ) such that s γ + ξ ≤ β s\gamma+\xi\le\beta s γ + ξ ≤ β . Then, for every truncation precision T ∈ N T \in\mathbb{N} T ∈ N ,
TVD ( al T ( D r f ) , al T ( Haar n ) ) ≤ N η s a m p + e − N ( 1 − β 2 ) / 2 + C N 3 / 2 2 T ξ β , (4) \operatorname{TVD}\bigl(\operatorname{al}_T(D_{\rm rf}),\operatorname{al}_T(\operatorname{Haar}_n)\bigr)
\le N\eta_{\rm samp}+e^{-N(1-\beta^2)/2}+CN^{3/2}2^T\frac{\xi}{\beta}, \tag*{(4)} TVD ( al T ( D rf ) , al T ( Haar n ) ) ≤ N η samp + e − N ( 1 − β 2 ) /2 + C N 3/2 2 T β ξ , (4) where C > 0 C>0 C > 0 is a universal constant.
The three error terms account for sampler failure, an unusually small Gaussian norm, and proximity to a truncation boundary.
Before proving this theorem, it is useful to first prove the following lemma that bounds the probability that two nearby states will be truncated to different values in their amplitude lists.
Lemma 4.2 (Haar amplitudes avoid truncation boundaries). Let ∣ ϕ ⟩ ∼ Haar n |\phi\rangle\sim\operatorname{Haar}_n ∣ ϕ ⟩ ∼ Haar n , where N = 2 n ≥ 2 N=2^n \ge2 N = 2 n ≥ 2 , and let
B T : = { j 2 − T : j ∈ Z , − 2 T ≤ j ≤ 2 T } B_T := \{j2^{-T}: j\in\mathbb{Z},\ -2^T\le j\le2^T\} B T := { j 2 − T : j ∈ Z , − 2 T ≤ j ≤ 2 T } be the set of T T T -bit truncation boundaries on [ − 1 , 1 ] [-1,1] [ − 1 , 1 ] . For every ρ ≥ 0 \rho\ge0 ρ ≥ 0 , the probability that the real or imaginary part of any amplitude ϕ x \phi_x ϕ x lies within distance ρ \rho ρ of a boundary in B T B_T B T is at most
C N 3 / 2 2 T ρ , (5) CN^{3/2}2^T\rho, \tag*{(5)} C N 3/2 2 T ρ , (5) where C > 0 C>0 C > 0 is a universal constant.
Proof. Fix x ∈ { 0 , 1 } n x\in\{0,1\}^n x ∈ { 0 , 1 } n , and let X X X be either Re ( ϕ x ) \operatorname{Re}(\phi_x) Re ( ϕ x ) or Im ( ϕ x ) \operatorname{Im}(\phi_x) Im ( ϕ x ) . Viewing C N \mathbb{C}^N C N as R 2 N \mathbb{R}^{2N} R 2 N , a Haar-random state is uniformly distributed on the real unit sphere. By the standard slice-integration formula for the sphere [19 Corollary A.5] , X X X has density f ( y ) = c 2 N ( 1 − y 2 ) ( 2 N − 3 ) / 2 f(y)=c_{2N}(1-y^2)^{(2N-3)/2} f ( y ) = c 2 N ( 1 − y 2 ) ( 2 N − 3 ) /2 for ∣ y ∣ ≤ 1 |y|\le1 ∣ y ∣ ≤ 1 , where c 2 N = O ( N ) c_{2N}=O(\sqrt{N}) c 2 N = O ( N ) . Thus the density of X X X is bounded everywhere by C N C\sqrt{N} C N for a universal constant C C C . There are O ( 2 T ) O(2^T) O ( 2 T ) truncation boundaries, so the union of the intervals within distance ρ \rho ρ of these boundaries has total length O ( 2 T ρ ) O(2^T\rho) O ( 2 T ρ ) . Hence, for one fixed real or imaginary amplitude coordinate, the probability of lying within distance ρ \rho ρ of any boundary is at most C N 2 T ρ C\sqrt{N}2^T\rho C N 2 T ρ .
There are 2 N 2N 2 N real and imaginary amplitude coordinates in total. A union bound therefore gives Pr [ some amplitude coordinate lies within ρ of a truncation boundary ] ≤ C N 3 / 2 2 T ρ \Pr[\text{some amplitude coordinate lies within }\rho\text{ of a truncation boundary}] \le CN^{3/2}2^T\rho Pr [ some amplitude coordinate lies within ρ of a truncation boundary ] ≤ C N 3/2 2 T ρ , after absorbing constant factors into C C C .
We now proceed to the proof of Theorem 4.1.
Proof of Theorem 4.1. We first couple the sampled amplitude vector to a true Gaussian vector. Under D r f D_{\mathrm{rf}} D rf , the function H H H is uniformly random, so the tapes { H ( x ) } x ∈ { 0 , 1 } n \{H(x)\}_{x\in\{0,1\}^n} { H ( x ) } x ∈ { 0 , 1 } n are independent and uniform. Let v ∈ C N v\in\mathbb{C}^N v ∈ C N be defined by v x = Samp ( H ( x ) ) v_x=\operatorname{Samp}(H(x)) v x = Samp ( H ( x )) for each x ∈ { 0 , 1 } n x\in\{0,1\}^n x ∈ { 0 , 1 } n . By the sampler guarantee in Definition 3.1, we may couple each v x v_x v x independently to a standard complex Gaussian g x g_x g x such that
Pr [ ∣ s v x − g x ∣ > ξ ] ≤ η s a m p . (6) \Pr[|s v_x-g_x|>\xi]\le\eta_{\mathrm{samp}}. \tag*{(6)} Pr [ ∣ s v x − g x ∣ > ξ ] ≤ η samp . (6)
Let g = ( g x ) x ∈ { 0 , 1 } n g=(g_x)_{x\in\{0,1\}^n} g = ( g x ) x ∈ { 0 , 1 } n , so that g ∼ N C ( 0 , 1 ) N g\sim\mathcal{N}^{\mathbb{C}}(0,1)^N g ∼ N C ( 0 , 1 ) N . In particular, ∣ g ^ ⟩ |{\widehat{g}}\rangle ∣ g ⟩ is Haar random. By a union bound,
Pr [ ∥ s v − g ∥ 2 > ξ N ] ≤ N η s a m p . (7) \Pr\left[\lVert sv-g\rVert_2>\xi\sqrt{N}\right]\le N\eta_{\mathrm{samp}}. \tag*{(7)} Pr [ ∥ s v − g ∥ 2 > ξ N ] ≤ N η samp . (7)
We now define the following “good” event
E : = { ∥ s v − g ∥ 2 ≤ ξ N and ∥ g ∥ 2 ≥ β N } . (8) E:=\left\{\lVert sv-g\rVert_2\le\xi\sqrt{N}\text{ and }\lVert g\rVert_2\ge\beta\sqrt{N}\right\}. \tag*{(8)} E := { ∥ s v − g ∥ 2 ≤ ξ N and ∥ g ∥ 2 ≥ β N } . (8)
We show that this good event guarantees that our state ∣ ψ F ⟩ |\psi_F\rangle ∣ ψ F ⟩ actually corresponds to the state ∣ v ^ ⟩ |\widehat{v}\rangle ∣ v ⟩ and that it is close to the Gaussian sample.
Claim 4.1 (Good event implies high norm and Haar closeness). On the event E E E , we have ∥ v ∥ 2 ≥ γ N \lVert v\rVert_2\ge\gamma\sqrt{N} ∥ v ∥ 2 ≥ γ N , and hence ∣ ψ H ⟩ = ∣ v ^ ⟩ |\psi_H\rangle=|\widehat{v}\rangle ∣ ψ H ⟩ = ∣ v ⟩ . Moreover,
∥ ∣ v ^ ⟩ − ∣ g ^ ⟩ ∥ 2 ≤ 2 ξ β . (9) \left\lVert|\widehat{v}\rangle-|\widehat{g}\rangle\right\rVert_2\le\frac{2\xi}{\beta}. \tag*{(9)} ∥ ∣ v ⟩ − ∣ g ⟩ ∥ 2 ≤ β 2 ξ . (9)
Proof. On E E E , the reverse triangle inequality gives s ∥ v ∥ 2 = ∥ s v ∥ 2 ≥ ∥ g ∥ 2 − ∥ s v − g ∥ 2 ≥ ( β − ξ ) N s\lVert v\rVert_2=\lVert sv\rVert_2\ge\lVert g\rVert_2-\lVert sv-g\rVert_2\ge(\beta-\xi)\sqrt{N} s ∥ v ∥ 2 = ∥ s v ∥ 2 ≥ ∥ g ∥ 2 − ∥ s v − g ∥ 2 ≥ ( β − ξ ) N . Since s γ + ξ ≤ β s\gamma+\xi\le\beta s γ + ξ ≤ β , we have β − ξ ≥ s γ \beta-\xi\ge s\gamma β − ξ ≥ s γ , and therefore ∥ v ∥ 2 ≥ γ N \lVert v\rVert_2\ge\gamma\sqrt{N} ∥ v ∥ 2 ≥ γ N . Moreover, on E E E we have ∥ g ∥ 2 ≥ β N > 0 \lVert g\rVert_2\ge\beta\sqrt{N}>0 ∥ g ∥ 2 ≥ β N > 0 , so both ∣ v ^ ⟩ |\widehat{v}\rangle ∣ v ⟩ and ∣ g ^ ⟩ |\widehat{g}\rangle ∣ g ⟩ are well defined. By Definition 3.2 , this implies ∣ ψ F ⟩ = ∣ v ^ ⟩ |\psi_F\rangle=|\widehat{v}\rangle ∣ ψ F ⟩ = ∣ v ⟩ .
Let u : = s v u:=sv u := s v . Since s > 0 s>0 s > 0 and v ≠ 0 v\ne0 v = 0 on E E E , we have ∣ u ^ ⟩ = ∣ v ^ ⟩ |\widehat{u}\rangle=|\widehat{v}\rangle ∣ u ⟩ = ∣ v ⟩ . Therefore the triangle and reverse triangle inequalities give us
∥ ∣ u ^ ⟩ − ∣ g ^ ⟩ ∥ 2 ≤ 2 ∥ u − g ∥ 2 ∥ g ∥ 2 ≤ 2 ξ N β N = 2 ξ β . (10) \left\lVert|\widehat{u}\rangle-|\widehat{g}\rangle\right\rVert_2
\le\frac{2\lVert u-g\rVert_2}{\lVert g\rVert_2}
\le\frac{2\xi\sqrt{N}}{\beta\sqrt{N}}
=\frac{2\xi}{\beta}. \tag*{(10)} ∥ ∣ u ⟩ − ∣ g ⟩ ∥ 2 ≤ ∥ g ∥ 2 2 ∥ u − g ∥ 2 ≤ β N 2 ξ N = β 2 ξ . (10)
The final inequality uses the two conditions defining E E E .
Claim 4.2 (The good event occurs with high probability). The event E E E satisfies
Pr [ E ] ≥ 1 − N η s a m p − exp ( − N ( 1 − β 2 ) 2 2 ) . (11) \Pr[E]\ge1-N\eta_{\mathrm{samp}}-\exp\left(-\frac{N(1-\beta^2)^2}{2}\right). \tag*{(11)} Pr [ E ] ≥ 1 − N η samp − exp ( − 2 N ( 1 − β 2 ) 2 ) . (11)
Proof. By Equation (7) , ∥ s v − g ∥ 2 ≤ ξ N \lVert sv-g\rVert_2\le\xi\sqrt{N} ∥ s v − g ∥ 2 ≤ ξ N with probability at least 1 − N η s a m p 1-N\eta_{\mathrm{samp}} 1 − N η samp . Furthermore, ∥ g ∥ 2 2 = ∑ i = 1 N ∣ g i ∣ 2 \lVert g\rVert_2^2=\sum_{i=1}^{N}|g_i|^2 ∥ g ∥ 2 2 = ∑ i = 1 N ∣ g i ∣ 2 is a sum of N N N independent mean-one exponential random variables. A standard Chernoff bound therefore gives
Pr [ ∥ g ∥ 2 2 ≤ β 2 N ] ≤ exp ( − N ( 1 − β 2 ) 2 2 ) . \Pr\left[\lVert g\rVert_2^2\le\beta^2N\right]\le\exp\left(-\frac{N(1-\beta^2)^2}{2}\right). Pr [ ∥ g ∥ 2 2 ≤ β 2 N ] ≤ exp ( − 2 N ( 1 − β 2 ) 2 ) .
The event E E E fails only if either ∥ s v − g ∥ 2 > ξ N \lVert sv-g\rVert_2>\xi\sqrt{N} ∥ s v − g ∥ 2 > ξ N or ∥ g ∥ 2 < β N \lVert g\rVert_2<\beta\sqrt{N} ∥ g ∥ 2 < β N . Therefore by union bound, Pr [ E c ] ≤ N η s a m p + exp ( − N ( 1 − β 2 ) 2 / 2 ) \Pr[E^c]\le N\eta_{\mathrm{samp}}+\exp(-N(1-\beta^2)^2/2) Pr [ E c ] ≤ N η samp + exp ( − N ( 1 − β 2 ) 2 /2 ) .
Now we combine preceding bounds to complete the proof of the random-function security theorem. Let ρ = 2 ξ / β \rho= 2\xi/\beta ρ = 2 ξ / β . By Lemma 4.1, on the event E E E we have ∣ ψ F ⟩ = ∣ v ~ ⟩ \lvert\psi_F\rangle= \lvert\tilde{v}\rangle ∣ ψ F ⟩ = ∣ v ~ ⟩ and ∥ ∣ ψ F ⟩ − ∣ g ~ ⟩ ∥ 2 ≤ ρ \lVert\lvert\psi_F\rangle- \lvert\tilde{g}\rangle\rVert_2 \le\rho ∥∣ ψ F ⟩ − ∣ g ~ ⟩ ∥ 2 ≤ ρ . Since ∣ g ~ ⟩ \lvert\tilde{g}\rangle ∣ g ~ ⟩ is Haar random, Lemma 4.2 implies that, except with probability at most C N 3 / 2 2 T ρ CN^{3/2}2^T\rho C N 3/2 2 T ρ , no real or imaginary amplitude of ∣ g ~ ⟩ \lvert\tilde{g}\rangle ∣ g ~ ⟩ lies within distance ρ \rho ρ of a truncation boundary.
On the intersection of E E E with this no-boundary event, the bound ∥ ∣ ψ F ⟩ − ∣ g ~ ⟩ ∥ 2 ≤ ρ \lVert\lvert\psi_F\rangle- \lvert\tilde{g}\rangle\rVert_2 \le\rho ∥∣ ψ F ⟩ − ∣ g ~ ⟩ ∥ 2 ≤ ρ implies that every real and imaginary amplitude coordinate differs by at most ρ \rho ρ . Hence the two states have the same T T T -bit truncated amplitude list.
Therefore, under this coupling, the two truncated lists can differ only if E E E fails or if a Haar amplitude lies within distance ρ \rho ρ of a truncation boundary. By the coupling characterization of total variation distance and Lemma 4.2,
TVD ( al T ( D r f ) , al T ( H a a r n ) ) ≤ N η s a m p + exp ( − N ( 1 − β 2 ) 2 2 ) + C N 3 / 2 2 T 2 ξ β . (12) \operatorname{TVD}(\operatorname{al}_T(D_{\mathrm{rf}}),\operatorname{al}_T(\mathrm{Haar}_n)) \le N\eta_{\mathrm{samp}}+\exp\left(-\frac{N(1-\beta^2)^2}{2}\right)+CN^{3/2}2^T\frac{2\xi}{\beta}. \tag*{(12)} TVD ( al T ( D rf ) , al T ( Haar n )) ≤ N η samp + exp ( − 2 N ( 1 − β 2 ) 2 ) + C N 3/2 2 T β 2 ξ . (12)
We give a concrete parameter setting under which the random-function security theorem yields error at most ϵ \epsilon ϵ .
Corollary 4.2.1 (Parameters for random function security). Let N = 2 n ≥ 2 N=2^n\ge2 N = 2 n ≥ 2 , let T ∈ N T\in\mathbb{N} T ∈ N , and let ϵ ∈ ( 0 , 1 ) \epsilon\in(0,1) ϵ ∈ ( 0 , 1 ) satisfying ϵ ≥ 2 e − N / 8 \epsilon\ge2e^{-N/8} ϵ ≥ 2 e − N /8 . Let C ≥ 1 C\ge1 C ≥ 1 be a universal constant for which Theorem 4.1 holds, and let Samp be a complex Gaussian sampler as in Definition 3.1 with parameters
s ≥ 1 2 , ξ ≤ ϵ 16 C N 3 / 2 2 T , η s a m p ≤ ϵ 4 N . (13) s\ge\frac{1}{2},\qquad\xi\le\frac{\epsilon}{16CN^{3/2}2^T},\qquad\eta_{\mathrm{samp}}\le\frac{\epsilon}{4N}. \tag*{(13)} s ≥ 2 1 , ξ ≤ 16 C N 3/2 2 T ϵ , η samp ≤ 4 N ϵ . (13) Then for γ = 1 / ( 2 s ) \gamma=1/(2s) γ = 1/ ( 2 s ) , the state ensemble D r f D_{\mathrm{rf}} D rf defined using Samp and γ \gamma γ is ϵ \epsilon ϵ -close to the Haar measure when viewing only truncated amplitude lists at precision T T T :
TVD ( al T ( D r f ) , al T ( H a a r n ) ) ≤ ϵ . (14) \operatorname{TVD}(\operatorname{al}_T(D_{\mathrm{rf}}),\operatorname{al}_T(\mathrm{Haar}_n))\le\epsilon. \tag*{(14)} TVD ( al T ( D rf ) , al T ( Haar n )) ≤ ϵ . (14)
Proof. We set β = 1 / 2 \beta=1/\sqrt{2} β = 1/ 2 . The assumed bounds give ξ ≤ 1 / 16 \xi\le1/16 ξ ≤ 1/16 , so s γ + ξ = 1 / 2 + ξ < β s\gamma+\xi=1/2+\xi<\beta s γ + ξ = 1/2 + ξ < β . By Theorem 4.1,
TVD ( al T ( D r f ) , al T ( H a a r n ) ) ≤ N η s a m p + e − N ( 1 − β 2 ) 2 / 2 + C N 3 / 2 2 T 2 ξ β (15) \operatorname{TVD}(\operatorname{al}_T(D_{\mathrm{rf}}),\operatorname{al}_T(\mathrm{Haar}_n))\le N\eta_{\mathrm{samp}}+e^{-N(1-\beta^2)^2/2}+CN^{3/2}2^T\frac{2\xi}{\beta} \tag*{(15)} TVD ( al T ( D rf ) , al T ( Haar n )) ≤ N η samp + e − N ( 1 − β 2 ) 2 /2 + C N 3/2 2 T β 2 ξ (15)
≤ ϵ 4 + e − N / 8 + ϵ 4 ≤ ϵ . (16) \le\frac{\epsilon}{4}+e^{-N/8}+\frac{\epsilon}{4}\le\epsilon. \tag*{(16)} ≤ 4 ϵ + e − N /8 + 4 ϵ ≤ ϵ . (16)
The final inequality follows from ϵ ≥ 2 e − N / 8 \epsilon\ge2e^{-N/8} ϵ ≥ 2 e − N /8 . □
In particular, for any polynomially bounded b : N → N b:\mathbb{N}\to\mathbb{N} b : N → N , setting ϵ ( n ) = 2 − b ( n ) \epsilon(n)=2^{-b(n)} ϵ ( n ) = 2 − b ( n ) satisfies the dimension condition for all sufficiently large n n n ; hence samplers with the stated parameters give amplitude list total variation distance at most 2 − b ( n ) 2^{-b(n)} 2 − b ( n ) .
For the remainder of this section, whenever n n n , T T T , ϵ \epsilon ϵ are fixed, we use the sampler and threshold chosen in Corollary 4.2.1 . We suppress this dependence from the notation.
Reconstructing the amplitude list
We now replace the uniformly random function H H H by a pseudorandom function F k F_k F k . Fix n n n , T T T , ϵ \epsilon ϵ and use the sampler and target-state parameters fixed above. Let D p r f D_{\mathrm{prf}} D prf denote the resulting distribution of ∣ ψ F k ⟩ \lvert\psi_{F_k}\rangle ∣ ψ F k ⟩ for a uniformly random key k k k .
Our goal is to show that no efficient classical distinguisher can distinguish D p r f D_{\mathrm{prf}} D prf from the random-function distribution D r f D_{\mathrm{rf}} D rf , assuming that F \mathcal{F} F is a sufficiently secure PRF family. Together with the random-function security result above, this will imply that D p r f D_{\mathrm{prf}} D prf is indistinguishable from Haar at the level of truncated amplitude lists.
The only additional ingredient we need is the ability to reconstruct the amplitude list from classical oracle access to the underlying function.
Lemma 4.3 (Classical reconstruction of the truncated amplitude list). Fix n n n , T T T , ε \varepsilon ε and a sampler satisfying the parameter conditions of Corollary 4.2.1 . Assume that the tape length R R R and classical evaluation time of the sampler are polynomial in n n n , T T T , log ( 1 / ε ) \log(1/\varepsilon) log ( 1/ ε ) .
Given classical oracle access to any H : { 0 , 1 } n → { 0 , 1 } R H:\{0,1\}^{n}\to\{0,1\}^{R} H : { 0 , 1 } n → { 0 , 1 } R , there is a classical procedure that either outputs the exact list a l T ( ∣ ψ H ⟩ ) \mathrm{al}_{T}(\lvert\psi_H\rangle) al T (∣ ψ H ⟩) or reports failure. It makes N = 2 n N=2^{n} N = 2 n oracle queries and runs in time poly ( N , R , T , log ( 1 / ε ) ) \operatorname{poly}(N,R,T,\log(1/\varepsilon)) poly ( N , R , T , log ( 1/ ε )) . If H H H is uniformly random, the failure probability is at most ε \varepsilon ε .
Proof. Query H ( x ) H(x) H ( x ) for every x ∈ { 0 , 1 } n x\in\{0,1\}^{n} x ∈ { 0 , 1 } n and evaluate the sampler to obtain v x = Samp ( H ( x ) ) v_x=\operatorname{Samp}(H(x)) v x = Samp ( H ( x )) for all x x x . Compute ∥ v ∥ 2 2 \lVert v\rVert_2^2 ∥ v ∥ 2 2 and compare it with γ 2 N \gamma^2N γ 2 N . If ∥ v ∥ 2 2 < γ 2 N \lVert v\rVert_2^2<\gamma^2N ∥ v ∥ 2 2 < γ 2 N , then ∣ ψ H ⟩ = ∣ 0 n ⟩ \lvert\psi_H\rangle=\lvert0^n\rangle ∣ ψ H ⟩ = ∣ 0 n ⟩ by Definition 3.2 , so the procedure returns the known truncated amplitude list of ∣ 0 n ⟩ \lvert0^n\rangle ∣ 0 n ⟩ .
Otherwise, ∣ ψ H ⟩ = ∣ v ~ ⟩ \lvert\psi_H\rangle=\lvert\widetilde v\rangle ∣ ψ H ⟩ = ∣ v ⟩ . The procedure converts each normalized amplitude v x / ∥ v ∥ 2 v_x/\lVert v\rVert_2 v x / ∥ v ∥ 2 from the sampler’s polar encoding to Cartesian coordinates. For each real and imaginary component, it computes an interval of length at most 2 − p 2^{-p} 2 − p containing the exact value.
If any such interval intersects a truncation boundary in B T \mathcal{B}_T B T , the procedure reports failure. Otherwise, every interval lies entirely within a single truncation bin and therefore determines the corresponding T T T -bit encoding uniquely. Concatenating these encodings gives exactly a l T ( ∣ ψ H ⟩ ) \mathrm{al}_T(\lvert\psi_H\rangle) al T (∣ ψ H ⟩) .
We now bound the failure probability when H H H is uniformly random. By Corollary 4.2.1 , s γ + ξ ≤ 9 / 16 < 1 / 2 s\gamma+\xi\le9/16<1/\sqrt{2} s γ + ξ ≤ 9/16 < 1/ 2 , so the good-event lemmas apply with β = 1 / 2 \beta=1/\sqrt{2} β = 1/ 2 . Thus, by Claim 4.2, Pr [ E c ] ≤ N η s a m p + e − N / 8 \Pr[E^c]\le N\eta_{\mathrm{samp}}+e^{-N/8} Pr [ E c ] ≤ N η samp + e − N /8 , and by Claim 4.1, on E E E we have ∥ ∣ ψ H ⟩ − ∣ g ~ ⟩ ∥ 2 ≤ 2 2 ξ \lVert\lvert\psi_H\rangle-\lvert\widetilde g\rangle\rVert_2\le2\sqrt{2}\,\xi ∥∣ ψ H ⟩ − ∣ g ⟩ ∥ 2 ≤ 2 2 ξ .
Suppose the reconstruction procedure reports failure. Then some interval containing a real or imaginary coordinate of ∣ ψ H ⟩ \lvert\psi_H\rangle ∣ ψ H ⟩ intersects a truncation boundary, so that coordinate lies within distance 2 − p 2^{-p} 2 − p of the boundary. On E E E , the corresponding coordinate of ∣ g ~ ⟩ \lvert\widetilde g\rangle ∣ g ⟩ therefore lies within distance 2 2 ξ + 2 − p 2\sqrt{2}\,\xi+2^{-p} 2 2 ξ + 2 − p of the same boundary. Choose p = ⌈ log 2 ( 16 C N 3 / 2 2 T ε ) ⌉ p=\left\lceil\log_2\left(\frac{16CN^{3/2}2^T}{\varepsilon}\right)\right\rceil p = ⌈ log 2 ( ε 16 C N 3/2 2 T ) ⌉ . By Lemma 4.2 and our parameter choices from Corollary 4.2.1 ,
Pr [ f a i l u r e ] ≤ N η s a m p + e − N / 8 + C N 3 / 2 2 T ( 2 2 ξ + 2 − p ) (17) \Pr[\mathrm{failure}]\le N\eta_{\mathrm{samp}}+e^{-N/8}+CN^{3/2}2^T(2\sqrt{2}\,\xi+2^{-p}) \tag*{(17)} Pr [ failure ] ≤ N η samp + e − N /8 + C N 3/2 2 T ( 2 2 ξ + 2 − p ) (17)
≤ ε 4 + ε 2 + 2 2 + 1 16 ε ≤ ε . (18) \le\frac{\varepsilon}{4}+\frac{\varepsilon}{2}+\frac{2\sqrt{2}+1}{16}\varepsilon\le\varepsilon. \tag*{(18)} ≤ 4 ε + 2 ε + 16 2 2 + 1 ε ≤ ε . (18)
It remains to bound the running time. The procedure makes N N N oracle queries. Since p = O ( n + T + log ( 1 / ε ) ) p=O(n+T+\log(1/\varepsilon)) p = O ( n + T + log ( 1/ ε )) , sampler evaluation and the required finite-precision arithmetic take time polynomial in N , R , T , log ( 1 / ε ) N,R,T,\log(1/\varepsilon) N , R , T , log ( 1/ ε ) . □
Theorem 4.4 (PRF replacement). Fix n n n , T T T , λ ∈ N \lambda\in\mathbb{N} λ ∈ N , and let F = { F k : { 0 , 1 } n → { 0 , 1 } R } \mathcal{F}=\{F_k:\{0,1\}^{n}\to\{0,1\}^{R}\} F = { F k : { 0 , 1 } n → { 0 , 1 } R } be a keyed function family. Let D p r f D_{\mathrm{prf}} D prf be the distribution of ∣ ψ F k ⟩ \lvert\psi_{F_k}\rangle ∣ ψ F k ⟩ for a uniformly random key k k k , and let D r f D_{\mathrm{rf}} D rf be the corresponding distribution for a uniformly random H : { 0 , 1 } n → { 0 , 1 } R H:\{0,1\}^{n}\to\{0,1\}^{R} H : { 0 , 1 } n → { 0 , 1 } R . Suppose F \mathcal{F} F is secure against classical oracle distinguishers running in time at most t P R F t_{\mathrm{PRF}} t PRF , with distinguishing advantage at most ε P R F \varepsilon_{\mathrm{PRF}} ε PRF . Assume moreover that the reconstruction procedure of Lemma 4.3 runs in time at most t r e c t_{\mathrm{rec}} t rec and, for uniformly random H H H , reports failure with probability at most ε r e c \varepsilon_{\mathrm{rec}} ε rec .
Then every classical distinguisher A A A running in time t A t_A t A with t A + t r e c ≤ t P R F t_A+t_{\mathrm{rec}}\le t_{\mathrm{PRF}} t A + t rec ≤ t PRF satisfies
∣ Pr ψ ← D p r f [ A ( 1 n , 1 λ , a l T ( ψ ) ) = 1 ] − Pr ψ ← D r f [ A ( 1 n , 1 λ , a l T ( ψ ) ) = 1 ] ∣ ≤ ε P R F + ε r e c . \left|\Pr_{\psi\leftarrow D_{\mathrm{prf}}}\left[A(1^n,1^\lambda,\mathrm{al}_T(\psi))=1\right]-\Pr_{\psi\leftarrow D_{\mathrm{rf}}}\left[A(1^n,1^\lambda,\mathrm{al}_T(\psi))=1\right]\right|\le\varepsilon_{\mathrm{PRF}}+\varepsilon_{\mathrm{rec}}. ψ ← D prf Pr [ A ( 1 n , 1 λ , al T ( ψ )) = 1 ] − ψ ← D rf Pr [ A ( 1 n , 1 λ , al T ( ψ )) = 1 ] ≤ ε PRF + ε rec . Proof. Fix a classical distinguisher A A A satisfying the stated running-time bound. By Lemma 4.3, given classical oracle access to a function H : { 0 , 1 } n → { 0 , 1 } R H:\{0,1\}^{n}\to\{0,1\}^{R} H : { 0 , 1 } n → { 0 , 1 } R , we can either reconstruct a l T ( ∣ ψ H ⟩ ) \mathrm{al}_T(\lvert\psi_H\rangle) al T (∣ ψ H ⟩) exactly or report failure. When H H H is uniformly random, the failure probability is at most ε r e c \varepsilon_{\mathrm{rec}} ε rec .
We use this reconstruction procedure to build two classical oracle distinguishers B 0 B_0 B 0 and B 1 B_1 B 1 . For b ∈ { 0 , 1 } b\in\{0,1\} b ∈ { 0 , 1 } , the distinguisher B b B_b B b runs the reconstruction procedure. If reconstruction succeeds and returns a list z z z , it outputs A ( 1 n , 1 λ , z ) A(1^n,1^\lambda,z) A ( 1 n , 1 λ , z ) . If reconstruction fails, it outputs b b b . By the running-time bound in Lemma 4.3, each B b B_b B b runs in time at most t A + t r e c ≤ t P R F t_A+t_{\mathrm{rec}}\le t_{\mathrm{PRF}} t A + t rec ≤ t PRF .
Let a p r f a_{\mathrm{prf}} a prf and a r f a_{\mathrm{rf}} a rf denote the acceptance probabilities of A A A on exact amplitude lists drawn from D p r f D_{\mathrm{prf}} D prf and D r f D_{\mathrm{rf}} D rf , respectively. Whenever reconstruction succeeds, B 0 B_0 B 0 and B 1 B_1 B 1 both run A A A on the exact amplitude list. On failure, B 0 B_0 B 0 outputs 0 0 0 and B 1 B_1 B 1 outputs 1 1 1 . Therefore, Pr [ B 0 F k = 1 ] ≤ a p r f ≤ Pr [ B 1 F k = 1 ] \Pr[B_0^{F_k}=1]\le a_{\mathrm{prf}}\le\Pr[B_1^{F_k}=1] Pr [ B 0 F k = 1 ] ≤ a prf ≤ Pr [ B 1 F k = 1 ] . When the oracle
is a uniformly random function, reconstruction fails with probability at most ε r e c \varepsilon_{\mathrm{rec}} ε rec . Hence forcing the output on failure to be 0 or 1 changes the acceptance probability by at most ε r e c \varepsilon_{\mathrm{rec}} ε rec , so
a r f − ε r e c ≤ Pr [ B 0 H = 1 ] ≤ Pr [ B 1 H = 1 ] ≤ a r f + ε r e c , a_{\mathrm{rf}}-\varepsilon_{\mathrm{rec}}\leq\Pr[B_0^H=1]\leq\Pr[B_1^H=1]\leq a_{\mathrm{rf}}+\varepsilon_{\mathrm{rec}}, a rf − ε rec ≤ Pr [ B 0 H = 1 ] ≤ Pr [ B 1 H = 1 ] ≤ a rf + ε rec ,
where H H H is uniformly random. Since each B b B_b B b runs within the PRF security time bound, for b ∈ { 0 , 1 } b\in\{0,1\} b ∈ { 0 , 1 } we have
∣ Pr [ B b G k = 1 ] − Pr [ B b H = 1 ] ∣ ≤ ε P R F . \left|\Pr[B_b^{G_k}=1]-\Pr[B_b^H=1]\right|\leq\varepsilon_{\mathrm{PRF}}. Pr [ B b G k = 1 ] − Pr [ B b H = 1 ] ≤ ε PRF .
Combining these inequalities gives a r f − ε r e c − ε P R F ≤ a p r f ≤ a r f + ε r e c + ε P R F a_{\mathrm{rf}}-\varepsilon_{\mathrm{rec}}-\varepsilon_{\mathrm{PRF}}\leq a_{\mathrm{prf}}\leq a_{\mathrm{rf}}+\varepsilon_{\mathrm{rec}}+\varepsilon_{\mathrm{PRF}} a rf − ε rec − ε PRF ≤ a prf ≤ a rf + ε rec + ε PRF and therefore
∣ a p r f − a r f ∣ ≤ ε r e c + ε P R F . (19) |a_{\mathrm{prf}}-a_{\mathrm{rf}}|\leq\varepsilon_{\mathrm{rec}}+\varepsilon_{\mathrm{PRF}}. \tag*{(19)} ∣ a prf − a rf ∣ ≤ ε rec + ε PRF . (19)
PRAL security from a subexponentially-secure PRF
The reconstruction procedure above runs in time polynomial in N = 2 n N=2^n N = 2 n , and is therefore exponential in the number of qubits n n n . Consequently, ordinary polynomial-time PRF security is insufficient for our reduction. We therefore require a PRF family that remains secure against classical distinguishers of subexponential size in its security parameter m m m . By choosing m m m to be a sufficiently large polynomial in n n n , this security budget will cover the 2 O ( n ) 2^{O(n)} 2 O ( n ) -time reduction.
Definition 4.1 (Classically subexponentially secure PRFs). Let G = { G m , k : { 0 , 1 } m → { 0 , 1 } m } m ∈ N , k ∈ K m \mathcal{G}=\{G_{m,k}:\{0,1\}^{m}\to\{0,1\}^{m}\}_{m\in\mathbb{N},\,k\in\mathcal{K}_m} G = { G m , k : { 0 , 1 } m → { 0 , 1 } m } m ∈ N , k ∈ K m be a keyed function family whose uniform keys can be sampled in poly ( m ) \operatorname{poly}(m) poly ( m ) time and whose functions can be evaluated in poly ( m ) \operatorname{poly}(m) poly ( m ) time.
We call G \mathcal{G} G classically subexponentially secure if there exists a constant a ∈ ( 0 , 1 ) a\in(0,1) a ∈ ( 0 , 1 ) such that, for all sufficiently large m m m , every classical oracle algorithm B B B running in time at most 2 m a 2^{m^a} 2 m a satisfies
∣ Pr k ← K m [ B G m , k = 1 ] − Pr U m [ B U m = 1 ] ∣ ≤ 2 − m a , (20) \left|\Pr_{k\leftarrow\mathcal{K}_m}[B^{G_{m,k}}=1]-\Pr_{U_m}[B^{U_m}=1]\right|\leq2^{-m^a}, \tag*{(20)} k ← K m Pr [ B G m , k = 1 ] − U m Pr [ B U m = 1 ] ≤ 2 − m a , (20) where U m : { 0 , 1 } m → { 0 , 1 } m U_m:\{0,1\}^{m}\to\{0,1\}^{m} U m : { 0 , 1 } m → { 0 , 1 } m is a uniformly random function.
Remark. Classically subexponentially secure PRFs can already be constructed from subexponentially secure length-doubling pseudorandom generators. Concretely, the GGM construction [20 ] constructs a PRF from a length-doubling PRG and [21 Proposition 5] shows that if the PRG has c m ε cm^\varepsilon c m ε bits of security, then the resulting GGM PRF has c ′ m ε c'm^\varepsilon c ′ m ε bits of security for every constant c ′ < c / 2 c'<c/2 c ′ < c /2 . Thus, for any fixed a < ε a<\varepsilon a < ε , this yields a PRF satisfying Definition 4.1 for all sufficiently large m m m .
This is sufficient for the security argument in this section. However, for our ultimate magic-hierarchy implementation, we need the PRF itself to be computable by polynomial-size constant-depth threshold circuits. The standard GGM construction does not preserve constant depth: its evaluation consists of a sequential chain of PRG evaluations. We therefore assume the existence of the PRF directly when instantiating the construction in T C 0 \mathrm{TC}^0 TC 0 .
Theorem 4.5 (PRAL security from subexponentially secure PRFs). Let G \mathcal{G} G be a classically subexponentially secure PRF family in the sense of Definition 4.1.
Suppose that for every requested error tolerance ε ∈ ( 0 , 1 ) \varepsilon\in(0,1) ε ∈ ( 0 , 1 ) , there is a complex Gaussian sampler satisfying the parameter bounds of Corollary 4.2.1 , with tape length and classical evaluation time polynomial in n n n , T T T , and log ( 1 / ε ) \log(1/\varepsilon) log ( 1/ ε ) .
Then the sampler and PRF parameters can be chosen so that the resulting target-state distributions { D n , λ , T } n , λ , T ∈ N \{D_{n,\lambda,T}\}_{n,\lambda,T\in\mathbb{N}} { D n , λ , T } n , λ , T ∈ N form a PRAL family.
The proof has three steps: (1) Choose the sampler parameters and a larger internal PRF security parameter m m m , and use the PRF to define the tape functions F k F_k F k underlying our target-state ensemble. (2) Show that the classical reduction from Theorem 4.4 runs within the subexponential security budget of the PRF, which allows us to replace the pseudorandom tape function by a uniformly random one. (3) Combine this replacement with the random-function security result from Corollary 4.2.1 to conclude that the resulting ensemble is indistinguishable from Haar in the sense required by PRAL security.
Proof. (1) Defining the ensemble. Let a ∈ ( 0 , 1 ) a \in(0,1) a ∈ ( 0 , 1 ) be the constant from Definition 4.1. Fix an integer d d d such that a d > 2 ad > 2 a d > 2 . We choose our parameters so that the random-function error from Theorem 4.1, reconstruction failure from Theorem 4.4 , and PRF distinguishing advantage are each at most ϵ = 2 − λ − 3 \epsilon= 2^{-\lambda-3} ϵ = 2 − λ − 3 .
For each n n n , λ \lambda λ , T T T , choose the sampler and target threshold according to parameter choice in Corollary 4.2.1 with ϵ = 2 − λ − 3 \epsilon= 2^{-\lambda-3} ϵ = 2 − λ − 3 . By assumption, the tape length R R R and classical evaluation time are polynomially bounded in n n n , λ \lambda λ , and T T T .
Set m = ( n + λ + T + R + 4 ) d m = (n+\lambda+T+R+4)^d m = ( n + λ + T + R + 4 ) d . Then m m m is polynomially bounded in n n n , λ \lambda λ , and T T T and satisfies m ≥ max { n , R } m \ge\max\{n,R\} m ≥ max { n , R } . For a key k ∈ K m k \in\mathcal{K}_m k ∈ K m , define F k ( x ) = prefix R ( G m , k ( 0 m − n x ) ) F_k(x) = \operatorname{prefix}_R(G_{m,k}(0^{m-n}x)) F k ( x ) = prefix R ( G m , k ( 0 m − n x )) for each x ∈ { 0 , 1 } n x \in\{0,1\}^n x ∈ { 0 , 1 } n , where prefix R \operatorname{prefix}_R prefix R keeps the first R R R output bits. The padding and truncation adapt the input and output lengths of G \mathcal{G} G to those required by the sampler.
Let D n , λ , T D_{n,\lambda,T} D n , λ , T be the distribution of ∣ ψ F k ⟩ \lvert\psi_{F_k}\rangle ∣ ψ F k ⟩ for a uniformly random key k ∈ K m k \in\mathcal{K}_m k ∈ K m . Let D r f D_{\mathrm{rf}} D rf denote the random-function distribution using the same sampler parameters and target threshold as D n , λ , T D_{n,\lambda,T} D n , λ , T .
To verify security, fix a polynomial-time classical distinguisher A A A and polynomially bounded functions λ ( n ) , T ( n ) \lambda(n), T(n) λ ( n ) , T ( n ) . We suppress their dependence on n n n below. Since λ ( n ) \lambda(n) λ ( n ) is polynomially bounded, ϵ = 2 − λ − 3 ≥ 2 ϵ − 2 / 8 \epsilon= 2^{-\lambda-3} \ge2\epsilon^{-2}/8 ϵ = 2 − λ − 3 ≥ 2 ϵ − 2 /8 for all sufficiently large n n n , so Corollary 4.2.1 applies.
(2) Runtime of the PRF reduction. We next verify that the PRF-replacement reduction runs within the time bound covered by the security guarantee of G \mathcal{G} G . The input to A A A has length O ( n + λ + N ( T + 1 ) ) O(n+\lambda+N(T+1)) O ( n + λ + N ( T + 1 )) , so since A A A runs in polynomial time and the reconstruction procedure runs in time polynomial in N N N , R R R , T T T , and log ( 1 / ϵ ) \log(1/\epsilon) log ( 1/ ϵ ) , their combined running time is polynomial in N N N , n n n , λ \lambda λ , T T T , and R R R .
To simulate an oracle query to the tape function F k F_k F k , the reduction queries G m , k G_{m,k} G m , k on the padded input 0 m − n x 0^{m-n}x 0 m − n x and keeps the first R R R output bits. This adds only polynomial overhead in m m m . Hence the entire PRF distinguisher runs in time poly ( N , n , λ , T , R , m ) \operatorname{poly}(N,n,\lambda,T,R,m) poly ( N , n , λ , T , R , m ) .
Along the fixed polynomially bounded functions λ ( n ) \lambda(n) λ ( n ) and T ( n ) T(n) T ( n ) , the quantities R R R and m m m are polynomially bounded in n n n , while N = 2 n N = 2^n N = 2 n . Therefore the running time above is 2 O ( n ) 2^{O(n)} 2 O ( n ) .
On the other hand, our choice of m m m gives m a ≥ ( n + 4 ) d a m^a \ge(n+4)d^a m a ≥ ( n + 4 ) d a . Since d a > 2 da > 2 d a > 2 , for all sufficiently large n n n we have 2 O ( n ) ≤ 2 m a 2^{O(n)} \le2^{m^a} 2 O ( n ) ≤ 2 m a . Thus the reduction is covered by the subexponential PRF security guarantee in Definition 4.1.
(3) PRAL security from PRF and random-function security. When G m , k G_{m,k} G m , k is replaced by a uniformly random function U m : { 0 , 1 } m → { 0 , 1 } m U_m : \{0,1\}^m \to\{0,1\}^m U m : { 0 , 1 } m → { 0 , 1 } m , the padded inputs 0 m − n x 0^{m-n}x 0 m − n x are distinct for distinct x ∈ { 0 , 1 } n x \in\{0,1\}^n x ∈ { 0 , 1 } n . Therefore, the values U m ( 0 m − n x ) U_m(0^{m-n}x) U m ( 0 m − n x ) are independent and uniform in { 0 , 1 } m \{0,1\}^m { 0 , 1 } m .
Consequently, the induced function F ( x ) = prefix R ( U m ( 0 m − n x ) ) F(x) = \operatorname{prefix}_R(U_m(0^{m-n}x)) F ( x ) = prefix R ( U m ( 0 m − n x )) is a uniformly random function from { 0 , 1 } n \{0,1\}^n { 0 , 1 } n to { 0 , 1 } R \{0,1\}^R { 0 , 1 } R . Thus, the random-function side of the PRF experiment induces exactly the distribution D r f D_{\mathrm{rf}} D rf analyzed above.
Applying Theorem 4.4 with t P R F = 2 m a t_{\mathrm{PRF}} = 2^{m^a} t PRF = 2 m a and ϵ P R F = 2 − m a \epsilon_{\mathrm{PRF}} = 2^{-m^a} ϵ PRF = 2 − m a gives
∣ Pr ∣ ψ ⟩ ∼ D n , λ , T [ A ( 1 n , 1 λ , a T ( ψ ) ) = 1 ] − Pr ∣ ψ ⟩ ∼ D r f [ A ( 1 n , 1 λ , a T ( ψ ) ) = 1 ] ∣ ≤ 2 − m a + ϵ . (21) \left|\Pr_{\lvert\psi\rangle\sim D_{n,\lambda,T}}\left[A(1^n,1^\lambda,a_{\mathcal{T}}(\psi))=1\right]-\Pr_{\lvert\psi\rangle\sim D_{\mathrm{rf}}}\left[A(1^n,1^\lambda,a_{\mathcal{T}}(\psi))=1\right]\right|\le2^{-m^a}+\epsilon. \tag*{(21)} ∣ ψ ⟩ ∼ D n , λ , T Pr [ A ( 1 n , 1 λ , a T ( ψ )) = 1 ] − ∣ ψ ⟩ ∼ D rf Pr [ A ( 1 n , 1 λ , a T ( ψ )) = 1 ] ≤ 2 − m a + ϵ . (21)
Our choice of m m m also gives m a ≥ λ + 3 m^a \ge\lambda+3 m a ≥ λ + 3 , so 2 − m a ≤ ϵ 2^{-m^a} \le\epsilon 2 − m a ≤ ϵ . Therefore the PRF-replacement bound is at most 2 ϵ 2\epsilon 2 ϵ .
By the random-function security bound above (Corollary 4.2.1 ), TVD ( a T ( D r f ) , a T ( Haar n ) ) ≤ ϵ \operatorname{TVD}(a_{\mathcal{T}}(D_{\mathrm{rf}}),a_{\mathcal{T}}(\operatorname{Haar}_n)) \le\epsilon TVD ( a T ( D rf ) , a T ( Haar n )) ≤ ϵ . By the defining property of total variation distance, the acceptance probability of A A A on these two distributions therefore differs by at most ϵ \epsilon ϵ .
Combining the two bounds with the triangle inequality gives
∣ Pr ∣ ψ ⟩ ∼ D n , λ , T [ A ( 1 n , 1 λ , a T ( ψ ) ) = 1 ] − Pr ∣ ϕ ⟩ ∼ Haar n [ A ( 1 n , 1 λ , a T ( ϕ ) ) = 1 ] ∣ ≤ 3 ϵ < 2 − λ , (22) \left|\Pr_{\lvert\psi\rangle\sim D_{n,\lambda,T}}\left[A(1^n,1^\lambda,a_{\mathcal{T}}(\psi))=1\right]-\Pr_{\lvert\phi\rangle\sim\operatorname{Haar}_n}\left[A(1^n,1^\lambda,a_{\mathcal{T}}(\phi))=1\right]\right|\le3\epsilon< 2^{-\lambda}, \tag*{(22)} ∣ ψ ⟩ ∼ D n , λ , T Pr [ A ( 1 n , 1 λ , a T ( ψ )) = 1 ] − ∣ ϕ ⟩ ∼ Haar n Pr [ A ( 1 n , 1 λ , a T ( ϕ )) = 1 ] ≤ 3 ϵ < 2 − λ , (22)
where the final inequality uses ϵ = 2 − λ − 3 \epsilon= 2^{-\lambda-3} ϵ = 2 − λ − 3 .
This holds for every polynomial-time classical distinguisher A A A and every polynomially bounded pair of functions λ , T : N → N \lambda,T : \mathbb{N} \to\mathbb{N} λ , T : N → N , for all sufficiently large n n n . Therefore the ensemble { D n , λ , T } n , λ , T ∈ N \{D_{n,\lambda,T}\}_{n,\lambda,T\in\mathbb{N}} { D n , λ , T } n , λ , T ∈ N satisfies the PRAL security condition in Definition 2.3 . □ \square □
Preparing the states in the PRAL family in MH
In this section, we show that the target states underlying the PRAL construction can be prepared at a constant level of the magic hierarchy. We first work with an arbitrary function H : { 0 , 1 } n → { 0 , 1 } R H : \{0,1\}^n \to\{0,1\}^R H : { 0 , 1 } n → { 0 , 1 } R and then instantiate H H H with the pseudorandom functions used in Theorem 4.5 .
Let N = 2 n N = 2^n N = 2 n . Recall from Definition 3.2 that, for each x ∈ { 0 , 1 } n x \in\{0,1\}^n x ∈ { 0 , 1 } n , we interpret H ( x ) H(x) H ( x ) as the random tape of a finite complex Gaussian sampler and set v x = Samp ( H ( x ) ) v_x = \operatorname{Samp}(H(x)) v x = Samp ( H ( x )) . Writing v = ( v x ) x ∈ { 0 , 1 } n v = (v_x)_{x\in\{0,1\}^n} v = ( v x ) x ∈ { 0 , 1 } n , the target state is ∣ ψ H ⟩ = ∣ v ~ ⟩ = ∥ v ∥ − 1 ∑ x v x ∣ x ⟩ |\psi_H\rangle= |\widetilde{v}\rangle= \lVert v\rVert^{-1}\sum_x v_x|x\rangle ∣ ψ H ⟩ = ∣ v ⟩ = ∥ v ∥ − 1 ∑ x v x ∣ x ⟩ when ∥ v ∥ ≥ N γ \lVert v\rVert\ge\sqrt{N}\gamma ∥ v ∥ ≥ N γ , and is ∣ 0 n ⟩ |0^n\rangle ∣ 0 n ⟩ otherwise.
We prepare ∣ v ~ ⟩ |\widetilde{v}\rangle ∣ v ⟩ in the following two steps. First, we coherently compute the bounded amplitude v x v_x v x from H ( x ) H(x) H ( x ) . Second, we load these computed amplitudes into the data register and normalize them. The construction follows the Gaussian-sampling and rejection-sampling approach of [9 ] , but we implement both steps at low magic-hierarchy depth.
We describe how to implement amplitude computation in § 7.1 and amplitude loading in § 7.4 .
Our procedure for preparing ∣ v ~ ⟩ |\widetilde{v}\rangle ∣ v ⟩ is inspired by the approach in [9 ] for preparing scalable PRS, which consists of multivariate Gaussian sampling and quantum rejection sampling. They show how to implement these two steps in polynomial time, but for our purposes we need more efficient state preparation in the magic hierarchy.
Complex Gaussian sampler
Here we construct the finite complex Gaussian sampler from Definition 3.1 and show how to implement it in the magic hierarchy.
Our goal is to generate the amplitudes of a Haar-random state. Since a normalized vector of independent standard complex Gaussians is Haar random, it suffices to generate amplitudes from sampling standard complex Gaussians. However, there are two issues with directly doing so. First, a Gaussian is continuous, whereas a quantum circuit has to work with a finite number of bits. We will therefore need to discretize the Gaussian. Second, a Gaussian is unbounded, whereas to prepare a state with some desired amplitudes (as in § 7.4 ), we require these amplitudes to be represented on quantum registers, which means the amplitudes need to be bounded.
Therefore, we construct a finite, bounded sampler whose output distribution approximates a standard complex Gaussian after a known rescaling. The sampler itself is a deterministic map from a finite random input tape to a bounded complex number, and all its randomness is supplied through the input tape.
To construct this sampler, we first make the following observation: for a standard complex Gaussian G ∼ N C ( 0 , 1 ) G \sim\mathcal{N}^{\mathbb{C}}(0,1) G ∼ N C ( 0 , 1 ) , its phase is uniformly random, while its radius satisfies Pr [ ∣ G ∣ > r ] = e − r 2 \Pr[|G| > r] = e^{-r^2} Pr [ ∣ G ∣ > r ] = e − r 2 . Therefore to approximate G G G given uniform randomness, we just need to reproduce this radial distribution. To do so, we use a geometric construction based on a Poisson number of uniformly random points in the unit square.
In § 7.1.1 , we describe an ideal continuous version of this construction and show that its rescaled output approximates a standard complex Gaussian. We then replace the continuous randomness with finite-precision randomness and truncate the unbounded Poisson distribution in § 7.2 , and we show that the resulting finite sampler still approximates a standard complex Gaussian. Finally, in § 7.3 , we show how to evaluate this finite deterministic map coherently in the magic hierarchy.
Ideal continuous sampler
We first consider an ideal continuous construction for reproducing the radial distribution of a standard complex Gaussian, which satisfies Pr [ ∣ G ∣ > r ] = e − r 2 \Pr[|G| > r] = e^{-r^2} Pr [ ∣ G ∣ > r ] = e − r 2 .
We begin by drawing K ∼ Pois ( μ ) K \sim\operatorname{Pois}(\mu) K ∼ Pois ( μ ) , where μ \mu μ is the expected number of points. Conditioned on K K K , we then draw K K K points independently and uniformly from the unit square [ 0 , 1 ] 2 [0,1]^2 [ 0 , 1 ] 2 . At this stage, K K K can be arbitrarily large and the coordinates of the points are sampled continuously. We will introduce the finite-precision and bounded version later.
To see why this construction works, we give the following geometric intuition. Imagine expanding a square from the origin until it first reaches one of the sampled points. The required side length is min i max { U i , U i ′ } \min_i \max\{U_i,U_i'\} min i max { U i , U i ′ } . With a Poisson number of points, the probability that [ 0 , t ] 2 [0,t]^2 [ 0 , t ] 2 contains no point is e − μ t 2 e^{-\mu t^2} e − μ t 2 , matching the Gaussian radial tail after rescaling. The definition below sends the exceptional case of no sampled points to zero.
Below we formalize this sampler construction and prove that it approximates the standard complex Gaussian. We also account for the case when the Gaussian samples are greater than the truncation threshold and bound the error from this.
Definition 5.1 (Ideal Poisson sampler). For μ ≥ 1 \mu\ge1 μ ≥ 1 , the ideal Poisson sampler Samp i d \operatorname{Samp}_{\mathrm{id}} Samp id is defined as follows.
Draw K ∼ Pois ( μ ) K \sim\operatorname{Pois}(\mu) K ∼ Pois ( μ ) .
Conditioned on K K K , draw K K K independent points ( U i , 0 , U i , 1 ) (U_{i,0}, U_{i,1}) ( U i , 0 , U i , 1 ) uniformly from [ 0 , 1 ) 2 [0,1)^2 [ 0 , 1 ) 2 .
If K = 0 K=0 K = 0 , set R i d = 0 R_{\mathrm{id}}=0 R id = 0 . Otherwise, set
R i d = min i ∈ [ K ] max { U i , 0 , U i , 1 } . (23) R_{\mathrm{id}}=\min_{i\in[K]}\max\{U_{i,0},U_{i,1}\}. \tag*{(23)} R id = i ∈ [ K ] min max { U i , 0 , U i , 1 } . (23) Draw Θ i d \Theta_{\mathrm{id}} Θ id uniformly from [ 0 , 1 ) [0,1) [ 0 , 1 ) , independently of all previous randomness.
Output V i d = R i d e 2 π i Θ i d V_{\mathrm{id}}=R_{\mathrm{id}}e^{2\pi i\Theta_{\mathrm{id}}} V id = R id e 2 π i Θ id .
Next, we show that the ideal Poisson sampler has the same distribution as a standard complex Gaussian scaled down by 1 / μ 1/\sqrt{\mu} 1/ μ , except that samples with magnitude at least μ \sqrt{\mu} μ are replaced by zero.
Lemma 5.1 (Ideal sampler as a truncated Gaussian). Let V i d V_{\mathrm{id}} V id be the output of Samp i d \operatorname{Samp}_{\mathrm{id}} Samp id , and let G ∼ N C ( 0 , 1 ) G\sim\mathcal{N}^{\mathbb{C}}(0,1) G ∼ N C ( 0 , 1 ) . Define the truncation and rescaling map
T μ ( x ) = { x / μ , ∣ x ∣ < μ , 0 , ∣ x ∣ ≥ μ . (24) T_\mu(x)=
\begin{cases}
x/\sqrt{\mu}, & |x|<\sqrt{\mu},\\
0, & |x|\ge\sqrt{\mu}.
\end{cases} \tag*{(24)} T μ ( x ) = { x / μ , 0 , ∣ x ∣ < μ , ∣ x ∣ ≥ μ . (24) Then V i d V_{\mathrm{id}} V id has the same distribution as T μ ( G ) T_\mu(G) T μ ( G ) . In particular , V i d V_{\mathrm{id}} V id and G G G can be coupled by first sampling G G G and setting V i d = T μ ( G ) V_{\mathrm{id}}=T_\mu(G) V id = T μ ( G ) . Under this coupling , μ V i d = G \sqrt{\mu}V_{\mathrm{id}}=G μ V id = G except with probability η G a u s s T r u n c = e − μ \eta_{\mathrm{GaussTrunc}}=e^{-\mu} η GaussTrunc = e − μ .
Proof. We first determine the distribution of the magnitude R i d R_{\mathrm{id}} R id . Fix t ∈ [ 0 , 1 ) t\in[0,1) t ∈ [ 0 , 1 ) . For a single sampled point ( U i , 0 , U i , 1 ) (U_{i,0},U_{i,1}) ( U i , 0 , U i , 1 ) , the condition max { U i , 0 , U i , 1 } > t \max\{U_{i,0},U_{i,1}\}>t max { U i , 0 , U i , 1 } > t holds exactly when the point lies outside [ 0 , t ] 2 [0,t]^2 [ 0 , t ] 2 . Since this square has area t 2 t^2 t 2 , Pr [ max { U i , 0 , U i , 1 } > t ] = 1 − t 2 \Pr[\max\{U_{i,0},U_{i,1}\}>t]=1-t^2 Pr [ max { U i , 0 , U i , 1 } > t ] = 1 − t 2 .
Conditioned on K = k ≥ 1 K=k\ge1 K = k ≥ 1 , the event R i d > t R_{\mathrm{id}}>t R id > t occurs exactly when all k k k independent points lie outside [ 0 , t ] 2 [0,t]^2 [ 0 , t ] 2 . Hence Pr [ R i d > t ∣ K = k ] = ( 1 − t 2 ) k \Pr[R_{\mathrm{id}}>t\mid K=k]=(1-t^2)^k Pr [ R id > t ∣ K = k ] = ( 1 − t 2 ) k . Since K ∼ Pois ( μ ) K\sim\operatorname{Pois}(\mu) K ∼ Pois ( μ ) , by definition Pr [ K = k ] = e − μ μ k / k ! \Pr[K=k]=e^{-\mu}\mu^k/k! Pr [ K = k ] = e − μ μ k / k ! for k = 0 , 1 , 2 , … k=0,1,2,\ldots k = 0 , 1 , 2 , … . Thus, averaging over K ∼ Pois ( μ ) K\sim\operatorname{Pois}(\mu) K ∼ Pois ( μ ) and excluding K = 0 K=0 K = 0 , for which R i d = 0 R_{\mathrm{id}}=0 R id = 0 , gives
Pr [ R i d > t ] = ∑ k = 1 ∞ e − μ μ k k ! ( 1 − t 2 ) k = e − μ ∑ k = 1 ∞ ( μ ( 1 − t 2 ) ) k k ! = e − μ ( e μ ( 1 − t 2 ) − 1 ) = e − μ t 2 − e − μ . (25) \Pr[R_{\mathrm{id}}>t]=\sum_{k=1}^{\infty}e^{-\mu}\frac{\mu^k}{k!}(1-t^2)^k
=e^{-\mu}\sum_{k=1}^{\infty}\frac{(\mu(1-t^2))^k}{k!}
=e^{-\mu}\left(e^{\mu(1-t^2)}-1\right)
=e^{-\mu t^2}-e^{-\mu}. \tag*{(25)} Pr [ R id > t ] = k = 1 ∑ ∞ e − μ k ! μ k ( 1 − t 2 ) k = e − μ k = 1 ∑ ∞ k ! ( μ ( 1 − t 2 ) ) k = e − μ ( e μ ( 1 − t 2 ) − 1 ) = e − μ t 2 − e − μ . (25) We now compare the rescaled sampler magnitude with the magnitude of a standard complex Gaussian. For G ∼ N C ( 0 , 1 ) G\sim\mathcal{N}^{\mathbb{C}}(0,1) G ∼ N C ( 0 , 1 ) , Pr [ ∣ G ∣ > r ] = e − r 2 \Pr[|G|>r]=e^{-r^2} Pr [ ∣ G ∣ > r ] = e − r 2 . To match this with the expression e − μ t 2 e^{-\mu t^2} e − μ t 2 above, fix 0 ≤ r < μ 0\le r<\sqrt{\mu} 0 ≤ r < μ and set t = r / μ t=r/\sqrt{\mu} t = r / μ . Substituting gives Pr [ μ R i d > r ] = e − r 2 − e − μ \Pr[\sqrt{\mu}R_{\mathrm{id}}>r]=e^{-r^2}-e^{-\mu} Pr [ μ R id > r ] = e − r 2 − e − μ . Since Pr [ ∣ G ∣ ≥ μ ] = e − μ \Pr[|G|\ge\sqrt{\mu}]=e^{-\mu} Pr [ ∣ G ∣ ≥ μ ] = e − μ , we also have Pr [ r < ∣ G ∣ < μ ] = e − r 2 − e − μ \Pr[r<|G|<\sqrt{\mu}]=e^{-r^2}-e^{-\mu} Pr [ r < ∣ G ∣ < μ ] = e − r 2 − e − μ . Thus μ R i d \sqrt{\mu}R_{\mathrm{id}} μ R id matches the Gaussian radial distribution up to radius μ \sqrt{\mu} μ , while the remaining Gaussian tail of probability e − μ e^{-\mu} e − μ is mapped to zero.
The phase Θ i d \Theta_{\mathrm{id}} Θ id is independent and uniform on [ 0 , 1 ) [0,1) [ 0 , 1 ) , as is the phase of a standard complex Gaussian. Combining the magnitude and phase therefore shows that V i d V_{\mathrm{id}} V id has the same distribution as T μ ( G ) T_\mu(G) T μ ( G ) .
We can now construct the claimed coupling explicitly. First sample G ∼ N C ( 0 , 1 ) G\sim\mathcal{N}^{\mathbb{C}}(0,1) G ∼ N C ( 0 , 1 ) and set V i d = T μ ( G ) V_{\mathrm{id}}=T_\mu(G) V id = T μ ( G ) . By the distributional identity above, V i d V_{\mathrm{id}} V id in this joint experiment has exactly the output distribution of Samp i d \operatorname{Samp}_{\mathrm{id}} Samp id , so this is a valid coupling. Under this coupling, μ V i d = G \sqrt{\mu}V_{\mathrm{id}}=G μ V id = G whenever ∣ G ∣ < μ |G|<\sqrt{\mu} ∣ G ∣ < μ . The only failure event is therefore ∣ G ∣ ≥ μ |G|\ge\sqrt{\mu} ∣ G ∣ ≥ μ , which has probability η G a u s s T r u n c = e − μ \eta_{\mathrm{GaussTrunc}}=e^{-\mu} η GaussTrunc = e − μ .
Thus, after rescaling, the ideal Poisson sampler exactly reproduces a standard complex Gaussian below the truncation threshold μ \sqrt{\mu} μ . The only difference is the Gaussian tail beyond this threshold, which is replaced by zero and occurs with probability η G a u s s T r u n c = e − μ \eta_{\mathrm{GaussTrunc}}=e^{-\mu} η GaussTrunc = e − μ .
Finite-precision sampler
In this section, we describe a finite version of the ideal Poisson sampler, which is what we will actually implement to prepare the states in the PRAL family.
There are two obstacles to implementing the ideal construction directly. First, the Poisson count K K K is unbounded, so the ideal sampler may require arbitrarily many sampled points. Second, the point coordinates and phase are continuous random variables in [ 0 , 1 ) [0,1) [ 0 , 1 ) and therefore cannot be represented exactly using a finite number of bits. We therefore cap the number of candidate pairs at K max K_{\max} K m a x and represent each uniform random variable using q q q bits of precision.
To distinguish the ideal Poisson count from the finite one, throughout this section we write K i d K_{\mathrm{id}} K id for the random variable denoted by K K K in § 7.1.1 , and K f i n K_{\mathrm{fin}} K fin for the corresponding count generated by the finite sampler.
The finite sampler receives a uniformly random tape Ω ∼ Unif ( { 0 , 1 } R ) \Omega\sim\operatorname{Unif}(\{0,1\}^{R}) Ω ∼ Unif ({ 0 , 1 } R ) . The tape contains all of the randomness needed to reproduce the ideal sampling procedure with finite precision. It contains a q q q -bit integer Z Z Z used to determine the finite Poisson count K f i n K_{\mathrm{fin}} K fin , two q q q -bit binary fractions U i , 0 f i n , U i , 1 f i n U^{\mathrm{fin}}_{i,0},U^{\mathrm{fin}}_{i,1} U i , 0 fin , U i , 1 fin for each i = 1 , … , K max i=1,\ldots,K_{\max} i = 1 , … , K m a x giving the coordinates of the K max K_{\max} K m a x candidate points, and a q q q -bit binary fraction Θ f i n \Theta_{\mathrm{fin}} Θ fin used for the phase. Thus we may write
Ω = ( Z , U 1 , 0 f i n , U 1 , 1 f i n , … , U K max , 0 f i n , U K max , 1 f i n , Θ f i n ) , (26) \Omega=(Z,U^{\mathrm{fin}}_{1,0},U^{\mathrm{fin}}_{1,1},\ldots,U^{\mathrm{fin}}_{K_{\max},0},U^{\mathrm{fin}}_{K_{\max},1},\Theta_{\mathrm{fin}}), \tag*{(26)} Ω = ( Z , U 1 , 0 fin , U 1 , 1 fin , … , U K m a x , 0 fin , U K m a x , 1 fin , Θ fin ) , (26)
where the total tape length is R = ( 2 K max + 2 ) q R=(2K_{\max}+2)q R = ( 2 K m a x + 2 ) q . Here Z ∈ { 0 , … , 2 q − 1 } Z\in\{0,\ldots,2^q-1\} Z ∈ { 0 , … , 2 q − 1 } , while each phase or coordinate value is obtained by interpreting its corresponding q q q -bit string as an integer and dividing by 2 q 2^q 2 q , giving a binary fraction in [ 0 , 1 ) [0,1) [ 0 , 1 ) .
We next describe how to use the uniform integer Z Z Z to simulate the Poisson count. For each i = 1 , … , K max i=1,\ldots,K_{\max} i = 1 , … , K m a x , we want the comparison with Z Z Z to reproduce the event that the ideal Poisson draw contains at least i i i points, namely K i d ≥ i K_{\mathrm{id}}\ge i K id ≥ i . Let P i = Pr [ K i d < i ] P_i=\Pr[K_{\mathrm{id}}<i] P i = Pr [ K id < i ] . Choose an integer threshold T i T_i T i such that T i / 2 q T_i/2^q T i / 2 q approximates P i P_i P i . More precisely, for fixed parameters μ ≥ 1 \mu\ge1 μ ≥ 1 , K max ∈ N K_{\max}\in\mathbb{N} K m a x ∈ N , and q ∈ N q\in\mathbb{N} q ∈ N , choose T i ∈ { 0 , … , 2 q } T_i\in\{0,\ldots,2^q\} T i ∈ { 0 , … , 2 q } so that, for every i ∈ [ K max ] i\in[K_{\max}] i ∈ [ K m a x ] ,
∣ T i 2 q − P i ∣ ≤ 2 − q . (27) \left|\frac{T_i}{2^q}-P_i\right|\le2^{-q}. \tag*{(27)} 2 q T i − P i ≤ 2 − q . (27)
The thresholds depend only on the sampler parameters and can be precomputed classically, which we describe in the next section. Since Z Z Z is uniform on { 0 , … , 2 q − 1 } \{0,\ldots,2^q-1\} { 0 , … , 2 q − 1 } , we have Pr [ Z ≥ T i ] = 1 − T i / 2 q \Pr[Z\ge T_i]=1-T_i/2^q Pr [ Z ≥ T i ] = 1 − T i / 2 q . On the other hand, Pr [ K i d ≥ i ] = 1 − P i \Pr[K_{\mathrm{id}}\ge i]=1-P_i Pr [ K id ≥ i ] = 1 − P i . Therefore, (27) implies that the comparison Z ≥ T i Z\ge T_i Z ≥ T i reproduces the ideal event K i d ≥ i K_{\mathrm{id}}\ge i K id ≥ i up to probability error at most 2 − q 2^{-q} 2 − q . The probabilities P i P_i P i are nondecreasing in i i i , so the thresholds T i T_i T i can be chosen nondecreasing as well. Therefore, for any fixed value of Z Z Z , the comparisons Z ≥ T i Z\ge T_i Z ≥ T i consist of some number of initial true comparisons followed by only false comparisons. We set K f i n K_{\mathrm{fin}} K fin to be the number of these true comparisons. Thus K f i n K_{\mathrm{fin}} K fin is the finite sampler’s approximation to the ideal Poisson count and satisfies 0 ≤ K f i n ≤ K max 0\le K_{\mathrm{fin}}\le K_{\max} 0 ≤ K fin ≤ K m a x .
We now formalize the finite sampler and then show that it approximates the ideal sampler from § 7.1.1 , and hence, after rescaling, a standard complex Gaussian in Lemma 5.2 and Corollary 5.2.1 .
Definition 5.2 (Finite Poisson sampler). Fix μ ≥ 1 \mu\ge1 μ ≥ 1 , K max ∈ N K_{\max}\in\mathbb{N} K m a x ∈ N , and q ∈ N q\in\mathbb{N} q ∈ N , and let T 1 , … , T K max T_1,\ldots,T_{K_{\max}} T 1 , … , T K m a x be the corresponding thresholds satisfying (27) . Let R = ( 2 K max + 2 ) q R=(2K_{\max}+2)q R = ( 2 K m a x + 2 ) q , and sample the input tape uniformly as Ω ∼ Unif ( { 0 , 1 } R ) \Omega\sim\operatorname{Unif}(\{0,1\}^{R}) Ω ∼ Unif ({ 0 , 1 } R ) .
Conditioned on the sampled tape Ω \Omega Ω , the finite Poisson sampler Samp f i n \operatorname{Samp}_{\mathrm{fin}} Samp fin is deterministic and proceeds as follows.
Set Z Z Z to be the integer represented by the first q q q bits of Ω \Omega Ω . Set K f i n = ∣ { i ∈ [ K max ] : Z ≥ T i } ∣ K_{\mathrm{fin}}=|\{i\in[K_{\max}]:Z\ge T_i\}| K fin = ∣ { i ∈ [ K m a x ] : Z ≥ T i } ∣ .
For each i = 1 , … , K max i=1,\ldots,K_{\max} i = 1 , … , K m a x , set ( U i , 0 f i n , U i , 1 f i n ) ∈ [ 0 , 1 ) 2 (U^{\mathrm{fin}}_{i,0},U^{\mathrm{fin}}_{i,1})\in[0,1)^2 ( U i , 0 fin , U i , 1 fin ) ∈ [ 0 , 1 ) 2 to be the next pair of q q q -bit binary fractions in Ω \Omega Ω .
If K f i n = 0 K_{\mathrm{fin}}=0 K fin = 0 , set R f i n = 0 R_{\mathrm{fin}}=0 R fin = 0 . Otherwise, set
R f i n = min 1 ≤ i ≤ K f i n max { U i , 0 f i n , U i , 1 f i n } . (28) R_{\mathrm{fin}}=\min_{1\le i\le K_{\mathrm{fin}}}\max\{U^{\mathrm{fin}}_{i,0},U^{\mathrm{fin}}_{i,1}\}. \tag*{(28)} R fin = 1 ≤ i ≤ K fin min max { U i , 0 fin , U i , 1 fin } . (28) Set Θ f i n ∈ [ 0 , 1 ) \Theta_{\mathrm{fin}}\in[0,1) Θ fin ∈ [ 0 , 1 ) to be the binary fraction represented by the final q q q bits of Ω \Omega Ω .
Output Samp f i n ( Ω ) = ( R f i n , Θ f i n ) \operatorname{Samp}_{\mathrm{fin}}(\Omega) = (R_{\mathrm{fin}}, \Theta_{\mathrm{fin}}) Samp fin ( Ω ) = ( R fin , Θ fin ) , representing the complex number V f i n = R f i n e 2 π i Θ f i n V_{\mathrm{fin}} = R_{\mathrm{fin}}e^{2\pi i\Theta_{\mathrm{fin}}} V fin = R fin e 2 π i Θ fin .
In the state-preparation construction, the tape associated with each basis string x x x is H ( x ) H(x) H ( x ) . We therefore write Samp f i n ( H ( x ) ) = ( r x , θ x ) \operatorname{Samp}_{\mathrm{fin}}(H(x)) = (r_x, \theta_x) Samp fin ( H ( x )) = ( r x , θ x ) and v x = r x e 2 π i θ x v_x = r_xe^{2\pi i\theta_x} v x = r x e 2 π i θ x .
We now quantify how closely the finite sampler approximates a standard complex Gaussian after rescaling. There are two effects to account for. Rounding the candidate coordinates and phase to q q q bits introduces a small numerical error. Separately, the coupling guarantee can fail if the Gaussian sample lies in the truncated tail, if the ideal Poisson count exceeds K max K_{\max} K m a x , or if the finite threshold comparisons produce a different count from the ideal Poisson count. The first of these, from the Gaussian truncation, was already present in the ideal sampler. The following lemma bounds both the numerical error and the total coupling-failure probability.
Lemma 5.2 (Finite sampler approximation). Let V f i n V_{\mathrm{fin}} V fin be the output of the finite Poisson sampler Samp f i n \operatorname{Samp}_{\mathrm{fin}} Samp fin , and let G ∼ N C ( 0 , 1 ) G \sim\mathcal{N}^{\mathbb{C}}(0,1) G ∼ N C ( 0 , 1 ) . The rescaled finite-sampler output μ V f i n \sqrt{\mu}V_{\mathrm{fin}} μ V fin approximates the distribution of G G G in the following sense: V f i n V_{\mathrm{fin}} V fin and G G G can be coupled so that
∣ μ V f i n − G ∣ ≤ ε a p p r o x (29) \left|\sqrt{\mu}V_{\mathrm{fin}} - G\right| \le\varepsilon_{\mathrm{approx}} \tag*{(29)} ∣ μ V fin − G ∣ ≤ ε approx (29) except with probability at most η f a i l \eta_{\mathrm{fail}} η fail , where ε a p p r o x = ( 1 + 2 π ) μ 2 − q \varepsilon_{\mathrm{approx}} = (1 + 2\pi)\sqrt{\mu}\,2^{-q} ε approx = ( 1 + 2 π ) μ 2 − q and η f a i l = η G a u s s T r u n c + η P o i s T r u n c + η T h r e s h \eta_{\mathrm{fail}} = \eta_{\mathrm{GaussTrunc}} + \eta_{\mathrm{PoisTrunc}} + \eta_{\mathrm{Thresh}} η fail = η GaussTrunc + η PoisTrunc + η Thresh . Here η G a u s s T r u n c = e − μ \eta_{\mathrm{GaussTrunc}} = e^{-\mu} η GaussTrunc = e − μ , η P o i s T r u n c = Pr [ K i d > K max ] \eta_{\mathrm{PoisTrunc}} = \Pr[K_{\mathrm{id}} > K_{\max}] η PoisTrunc = Pr [ K id > K m a x ] , and η T h r e s h = K max 2 − q \eta_{\mathrm{Thresh}} = K_{\max}2^{-q} η Thresh = K m a x 2 − q .
Proof. We first show that the finite sampler uses the same number of candidate points as the ideal sampler except with small probability. There are two possible sources of disagreement. The ideal Poisson count K i d K_{\mathrm{id}} K id may exceed the maximum K max K_{\max} K m a x available to the finite sampler, or the finite thresholds may cause K f i n K_{\mathrm{fin}} K fin to differ from K i d K_{\mathrm{id}} K id even when K i d ≤ K max K_{\mathrm{id}} \le K_{\max} K id ≤ K m a x .
To bound the latter probability, that the finite thresholds cause K f i n K_{\mathrm{fin}} K fin to differ from K i d K_{\mathrm{id}} K id , we compare the ideal and finite counts using the same underlying randomness. We first give an equivalent way to generate the ideal Poisson count from a single uniform random variable. Draw U c o u n t ∼ Unif [ 0 , 1 ) U_{\mathrm{count}} \sim\operatorname{Unif}[0,1) U count ∼ Unif [ 0 , 1 ) . Recall that P i = Pr [ K i d < i ] P_i = \Pr[K_{\mathrm{id}} < i] P i = Pr [ K id < i ] , and set P 0 = 0 P_0 = 0 P 0 = 0 . Define K i d = k K_{\mathrm{id}} = k K id = k whenever P k ≤ U c o u n t < P k + 1 P_k \le U_{\mathrm{count}} < P_{k+1} P k ≤ U count < P k + 1 . Since U c o u n t U_{\mathrm{count}} U count is uniform, the probability of obtaining K i d = k K_{\mathrm{id}} = k K id = k is the length of this interval, P k + 1 − P k = Pr [ K i d = k ] P_{k+1} - P_k = \Pr[K_{\mathrm{id}} = k] P k + 1 − P k = Pr [ K id = k ] . Thus this procedure indeed generates K i d ∼ Pois ( μ ) K_{\mathrm{id}} \sim\operatorname{Pois}(\mu) K id ∼ Pois ( μ ) . In particular, K i d ≥ i K_{\mathrm{id}} \ge i K id ≥ i if and only if U c o u n t ≥ P i U_{\mathrm{count}} \ge P_i U count ≥ P i .
Recall that in the finite sampler, Z Z Z is required only to be uniform on { 0 , … , 2 q − 1 } \{0,\ldots,2^q-1\} { 0 , … , 2 q − 1 } . Since we are already using U c o u n t ∼ Unif [ 0 , 1 ) U_{\mathrm{count}} \sim\operatorname{Unif}[0,1) U count ∼ Unif [ 0 , 1 ) to generate Z Z Z by setting Z = ⌊ 2 q U c o u n t ⌋ Z = \lfloor2^qU_{\mathrm{count}}\rfloor Z = ⌊ 2 q U count ⌋ . This has exactly the required uniform distribution, because each value j ∈ { 0 , … , 2 q − 1 } j \in\{0,\ldots,2^q-1\} j ∈ { 0 , … , 2 q − 1 } corresponds to an interval of length 2 − q 2^{-q} 2 − q in [ 0 , 1 ) [0,1) [ 0 , 1 ) . Moreover, Z ≥ T i Z \ge T_i Z ≥ T i if and only if U c o u n t ≥ T i / 2 q U_{\mathrm{count}} \ge T_i/2^q U count ≥ T i / 2 q .
Thus the ideal and finite samplers make their i i i th count decision by comparing the same uniform random variable against the two thresholds P i P_i P i and T i / 2 q T_i/2^q T i / 2 q . By (27), these thresholds differ by at most 2 − q 2^{-q} 2 − q . Hence the two comparisons disagree only when U c o u n t U_{\mathrm{count}} U count lies between them, which occurs with probability at most 2 − q 2^{-q} 2 − q . Taking a union bound over i = 1 , … , K max i = 1,\ldots,K_{\max} i = 1 , … , K m a x , the probability that any threshold comparison disagrees is at most η T h r e s h = K max 2 − q \eta_{\mathrm{Thresh}} = K_{\max}2^{-q} η Thresh = K m a x 2 − q .
If no threshold comparison disagrees and K i d ≤ K max K_{\mathrm{id}} \le K_{\max} K id ≤ K m a x , then K f i n = K i d K_{\mathrm{fin}} = K_{\mathrm{id}} K fin = K id . The other possible disagreement is the Poisson truncation event K i d > K max K_{\mathrm{id}} > K_{\max} K id > K m a x , which occurs with probability η P o i s T r u n c = Pr [ K i d > K max ] = ∑ k = K max + 1 ∞ e − μ μ k k ! \eta_{\mathrm{PoisTrunc}} = \Pr[K_{\mathrm{id}} > K_{\max}] = \sum_{k=K_{\max}+1}^{\infty} e^{-\mu}\frac{\mu^k}{k!} η PoisTrunc = Pr [ K id > K m a x ] = ∑ k = K m a x + 1 ∞ e − μ k ! μ k .
Assume now that K f i n = K i d K_{\mathrm{fin}} = K_{\mathrm{id}} K fin = K id . We next bound the numerical error introduced by replacing the ideal continuous coordinates and phase with their q q q -bit approximations. This will give a bound on ∣ V f i n − V i d ∣ |V_{\mathrm{fin}} - V_{\mathrm{id}}| ∣ V fin − V id ∣ .
To compare the two outputs directly, we generate their coordinates and phases from the same underlying continuous randomness. For this purpose, we may equivalently realize the ideal sampler by drawing an independent sequence of uniform coordinates U i , a ∼ Unif [ 0 , 1 ) U_{i,a} \sim\operatorname{Unif}[0,1) U i , a ∼ Unif [ 0 , 1 ) and using only the first K i d K_{\mathrm{id}} K id pairs. On the event K i d ≤ K max K_{\mathrm{id}} \le K_{\max} K id ≤ K m a x , only the first K max K_{\max} K m a x pairs are relevant. Since we are assuming K f i n = K i d K_{\mathrm{fin}} = K_{\mathrm{id}} K fin = K id , the two samplers use the same first K i d K_{\mathrm{id}} K id candidate pairs. We can therefore compare their coordinates pairwise.
Take the variables U c o u n t U_{\mathrm{count}} U count , Θ i d \Theta_{\mathrm{id}} Θ id , and U i , a U_{i,a} U i , a for all i , a i,a i , a to be mutually independent. For each i = 1 , … , K max i = 1,\ldots,K_{\max} i = 1 , … , K m a x and a ∈ { 0 , 1 } a \in\{0,1\} a ∈ { 0 , 1 } , we create the finite coordinate by rounding the corresponding ideal coordinate down to q q q bits: U i , a f i n = 2 − q ⌊ 2 q U i , a ⌋ U^{\mathrm{fin}}_{i,a} = 2^{-q}\lfloor2^qU_{i,a}\rfloor U i , a fin = 2 − q ⌊ 2 q U i , a ⌋ . Similarly, we set Θ f i n = 2 − q ⌊ 2 q Θ i d ⌋ \Theta_{\mathrm{fin}} = 2^{-q}\lfloor2^q\Theta_{\mathrm{id}}\rfloor Θ fin = 2 − q ⌊ 2 q Θ id ⌋ . Since rounding a uniform random variable in [ 0 , 1 ) [0,1) [ 0 , 1 ) in this way produces a uniform q q q -bit binary fraction, these variables have exactly the distribution required by the finite sampler. By construction, ∣ U i , a f i n − U i , a ∣ ≤ 2 − q |U^{\mathrm{fin}}_{i,a} - U_{i,a}| \le2^{-q} ∣ U i , a fin − U i , a ∣ ≤ 2 − q and ∣ Θ f i n − Θ i d ∣ ≤ 2 − q |\Theta_{\mathrm{fin}} - \Theta_{\mathrm{id}}| \le2^{-q} ∣ Θ fin − Θ id ∣ ≤ 2 − q . We now propagate these rounding errors to the sampler output, and we first bound the resulting error in the magnitude. The finite coordinates are obtained by applying the same lower q q q -bit rounding operation to every ideal coordinate. This rounding operation is monotone, so it preserves the ordering of the coordinates and therefore commutes with the maxima and minimum used to construct the magnitude. Hence R f i n R_{\mathrm{fin}} R fin is exactly the lower q q q -bit approximation of R i d R_{\mathrm{id}} R id , R f i n = 2 − q ⌊ 2 q R i d ⌋ R_{\mathrm{fin}} = 2^{-q}\lfloor2^q R_{\mathrm{id}}\rfloor R fin = 2 − q ⌊ 2 q R id ⌋ . Therefore, ∣ R f i n − R i d ∣ ≤ 2 − q \lvert R_{\mathrm{fin}} - R_{\mathrm{id}}\rvert\le2^{-q} ∣ R fin − R id ∣ ≤ 2 − q .
It remains to bound the error in the phase factor. Since ∣ Θ f i n − Θ i d ∣ ≤ 2 − q \lvert\Theta_{\mathrm{fin}}-\Theta_{\mathrm{id}}\rvert\le2^{-q} ∣ Θ fin − Θ id ∣ ≤ 2 − q , and ∣ e i a − e i b ∣ ≤ ∣ a − b ∣ \lvert e^{ia}-e^{ib}\rvert\le\lvert a-b\rvert ∣ e ia − e ib ∣ ≤ ∣ a − b ∣ for real a , b a,b a , b , we have ∣ e 2 π i Θ f i n − e 2 π i Θ i d ∣ ≤ 2 π ∣ Θ f i n − Θ i d ∣ ≤ 2 π 2 − q \lvert e^{2\pi i\Theta_{\mathrm{fin}}}-e^{2\pi i\Theta_{\mathrm{id}}}\rvert\le2\pi\lvert\Theta_{\mathrm{fin}}-\Theta_{\mathrm{id}}\rvert\le2\pi2^{-q} ∣ e 2 π i Θ fin − e 2 π i Θ id ∣ ≤ 2 π ∣ Θ fin − Θ id ∣ ≤ 2 π 2 − q . Since V f i n = R f i n e 2 π i Θ f i n V_{\mathrm{fin}} = R_{\mathrm{fin}}e^{2\pi i\Theta_{\mathrm{fin}}} V fin = R fin e 2 π i Θ fin , V i d = R i d e 2 π i Θ i d V_{\mathrm{id}} = R_{\mathrm{id}}e^{2\pi i\Theta_{\mathrm{id}}} V id = R id e 2 π i Θ id , and R i d < 1 R_{\mathrm{id}} < 1 R id < 1 , the triangle inequality gives
∣ V f i n − V i d ∣ ≤ ∣ R f i n − R i d ∣ + R i d ∣ e 2 π i Θ f i n − e 2 π i Θ i d ∣ ≤ ( 1 + 2 π ) 2 − q . (30) \lvert V_{\mathrm{fin}} - V_{\mathrm{id}}\rvert\le\lvert R_{\mathrm{fin}} - R_{\mathrm{id}}\rvert+ R_{\mathrm{id}}\lvert e^{2\pi i\Theta_{\mathrm{fin}}} - e^{2\pi i\Theta_{\mathrm{id}}}\rvert\le(1+2\pi)2^{-q}. \tag*{(30)} ∣ V fin − V id ∣ ≤ ∣ R fin − R id ∣ + R id ∣ e 2 π i Θ fin − e 2 π i Θ id ∣ ≤ ( 1 + 2 π ) 2 − q . (30)
Finally, by Lemma 5.1, the rescaled ideal output μ V i d \sqrt{\mu}V_{\mathrm{id}} μ V id agrees exactly with a standard complex Gaussian G ∼ N C ( 0 , 1 ) G \sim\mathcal{N}^{\mathbb{C}}(0,1) G ∼ N C ( 0 , 1 ) except on the Gaussian truncation event, which has probability η G a u s s T r u n c = e − μ \eta_{\mathrm{GaussTrunc}}=e^{-\mu} η GaussTrunc = e − μ . Combining this guarantee with the finite-to-ideal comparison above, whenever none of the three failure events occurs, ∣ μ V f i n − G ∣ = ∣ μ V f i n − μ V i d ∣ ≤ ( 1 + 2 π ) μ 2 − q = ε a p p r o x \lvert\sqrt{\mu}V_{\mathrm{fin}}-G\rvert= \lvert\sqrt{\mu}V_{\mathrm{fin}}-\sqrt{\mu}V_{\mathrm{id}}\rvert\le(1+2\pi)\sqrt{\mu}\,2^{-q} = \varepsilon_{\mathrm{approx}} ∣ μ V fin − G ∣ = ∣ μ V fin − μ V id ∣ ≤ ( 1 + 2 π ) μ 2 − q = ε approx . By a union bound, the probability that at least one of the three failure events occurs is at most η f a i l = η G a u s s T r u n c + η P o i s T r u n c + η T h r e s h \eta_{\mathrm{fail}} = \eta_{\mathrm{GaussTrunc}}+\eta_{\mathrm{PoisTrunc}}+\eta_{\mathrm{Thresh}} η fail = η GaussTrunc + η PoisTrunc + η Thresh . Therefore, the coupling satisfies ∣ μ V f i n − G ∣ ≤ ε a p p r o x \lvert\sqrt{\mu}V_{\mathrm{fin}}-G\rvert\le\varepsilon_{\mathrm{approx}} ∣ μ V fin − G ∣ ≤ ε approx except with probability at most η f a i l \eta_{\mathrm{fail}} η fail .
Corollary 5.2.1 (Parameter choice). For any target approximation error ε a p p r o x ⋆ > 0 \varepsilon^\star_{\mathrm{approx}}>0 ε approx ⋆ > 0 and target failure probability η f a i l ⋆ ∈ ( 0 , 1 ) \eta^\star_{\mathrm{fail}}\in(0,1) η fail ⋆ ∈ ( 0 , 1 ) , the parameters μ \mu μ , K max K_{\max} K m a x , and q q q can be chosen so that ε a p p r o x ≤ ε a p p r o x ⋆ \varepsilon_{\mathrm{approx}}\le\varepsilon^\star_{\mathrm{approx}} ε approx ≤ ε approx ⋆ and η f a i l ≤ η f a i l ⋆ \eta_{\mathrm{fail}}\le\eta^\star_{\mathrm{fail}} η fail ≤ η fail ⋆ . Moreover, as ε a p p r o x ⋆ , η f a i l ⋆ → 0 \varepsilon^\star_{\mathrm{approx}},\eta^\star_{\mathrm{fail}}\to0 ε approx ⋆ , η fail ⋆ → 0 , the parameters can be chosen so that μ , K max = O ( log ( 1 / η f a i l ⋆ ) ) \mu,K_{\max}=O(\log(1/\eta^\star_{\mathrm{fail}})) μ , K m a x = O ( log ( 1/ η fail ⋆ )) and q = O ( log ( 1 / ε a p p r o x ⋆ ) + log ( 1 / η f a i l ⋆ ) ) q=O(\log(1/\varepsilon^\star_{\mathrm{approx}})+\log(1/\eta^\star_{\mathrm{fail}})) q = O ( log ( 1/ ε approx ⋆ ) + log ( 1/ η fail ⋆ )) .
Proof. Fix a target approximation error ε a p p r o x ⋆ > 0 \varepsilon^\star_{\mathrm{approx}}>0 ε approx ⋆ > 0 and a target failure probability η f a i l ⋆ ∈ ( 0 , 1 ) \eta^\star_{\mathrm{fail}}\in(0,1) η fail ⋆ ∈ ( 0 , 1 ) . By Lemma 5.2, it is enough to choose the parameters so that ε a p p r o x ≤ ε a p p r o x ⋆ \varepsilon_{\mathrm{approx}}\le\varepsilon^\star_{\mathrm{approx}} ε approx ≤ ε approx ⋆ and each of the three contributions to η f a i l \eta_{\mathrm{fail}} η fail is at most η f a i l ⋆ / 3 \eta^\star_{\mathrm{fail}}/3 η fail ⋆ /3 .
Choose
μ = ⌈ ln 3 η f a i l ⋆ ⌉ , K max = 4 μ , q = ⌈ log 2 max { 3 K max η f a i l ⋆ , ( 1 + 2 π ) μ ε a p p r o x ⋆ } ⌉ . (31) \mu=\left\lceil\ln\frac{3}{\eta^\star_{\mathrm{fail}}}\right\rceil,\qquad K_{\max}=4\mu,\qquad q=\left\lceil\log_2\max\left\{\frac{3K_{\max}}{\eta^\star_{\mathrm{fail}}},\frac{(1+2\pi)\sqrt{\mu}}{\varepsilon^\star_{\mathrm{approx}}}\right\}\right\rceil. \tag*{(31)} μ = ⌈ ln η fail ⋆ 3 ⌉ , K m a x = 4 μ , q = ⌈ log 2 max { η fail ⋆ 3 K m a x , ε approx ⋆ ( 1 + 2 π ) μ } ⌉ . (31)
We verify that these choices give the desired bounds.
First, the choice of μ \mu μ gives η G a u s s T r u n c = e − μ ≤ η f a i l ⋆ / 3 \eta_{\mathrm{GaussTrunc}}=e^{-\mu}\le\eta^\star_{\mathrm{fail}}/3 η GaussTrunc = e − μ ≤ η fail ⋆ /3 .
Next, we bound the probability that the ideal Poisson count exceeds K max K_{\max} K m a x . Since K i d ∼ Pois ( μ ) K_{\mathrm{id}}\sim\operatorname{Pois}(\mu) K id ∼ Pois ( μ ) , E [ 2 K i d ] = e − μ ∑ k = 0 ∞ ( 2 μ ) k k ! = e μ \mathbb{E}[2^{K_{\mathrm{id}}}]=e^{-\mu}\sum_{k=0}^{\infty}\frac{(2\mu)^k}{k!}=e^\mu E [ 2 K id ] = e − μ ∑ k = 0 ∞ k ! ( 2 μ ) k = e μ . Therefore, by Markov’s inequality, η P o i s T r u n c = Pr [ K i d > K max ] ≤ e μ 2 − K max = e μ 2 − 4 μ = e − ( 4 ln 2 − 1 ) μ ≤ e − μ ≤ η f a i l ⋆ / 3 \eta_{\mathrm{PoisTrunc}}=\Pr[K_{\mathrm{id}}>K_{\max}]\le e^\mu2^{-K_{\max}}=e^\mu2^{-4\mu}=e^{-(4\ln2-1)\mu}\le e^{-\mu}\le\eta^\star_{\mathrm{fail}}/3 η PoisTrunc = Pr [ K id > K m a x ] ≤ e μ 2 − K m a x = e μ 2 − 4 μ = e − ( 4 l n 2 − 1 ) μ ≤ e − μ ≤ η fail ⋆ /3 , where the penultimate inequality uses 4 ln 2 − 1 > 1 4\ln2-1>1 4 ln 2 − 1 > 1 .
It remains to control the threshold error and the numerical approximation error. The value of q q q was chosen to satisfy both the threshold-error and numerical-error requirements simultaneously. Since 2 q ≥ 3 K max / η f a i l ⋆ 2^q\ge3K_{\max}/\eta^\star_{\mathrm{fail}} 2 q ≥ 3 K m a x / η fail ⋆ , η T h r e s h = K max 2 − q ≤ η f a i l ⋆ / 3 \eta_{\mathrm{Thresh}}=K_{\max}2^{-q}\le\eta^\star_{\mathrm{fail}}/3 η Thresh = K m a x 2 − q ≤ η fail ⋆ /3 . Together with the bounds above, η f a i l ≤ η f a i l ⋆ \eta_{\mathrm{fail}}\le\eta^\star_{\mathrm{fail}} η fail ≤ η fail ⋆ .
The definition of q q q also gives 2 q ≥ ( 1 + 2 π ) μ / ε a p p r o x ⋆ 2^q\ge(1+2\pi)\sqrt{\mu}/\varepsilon^\star_{\mathrm{approx}} 2 q ≥ ( 1 + 2 π ) μ / ε approx ⋆ . Therefore ε a p p r o x = ( 1 + 2 π ) μ 2 − q ≤ ε a p p r o x ⋆ \varepsilon_{\mathrm{approx}}=(1+2\pi)\sqrt{\mu}\,2^{-q}\le\varepsilon^\star_{\mathrm{approx}} ε approx = ( 1 + 2 π ) μ 2 − q ≤ ε approx ⋆ .
Finally, we prove that the targets ε a p p r o x ⋆ \varepsilon^\star_{\mathrm{approx}} ε approx ⋆ and η f a i l ⋆ \eta^\star_{\mathrm{fail}} η fail ⋆ are achieved. From the choice of μ \mu μ , we have μ = O ( log ( 1 / η f a i l ⋆ ) ) \mu=O(\log(1/\eta^\star_{\mathrm{fail}})) μ = O ( log ( 1/ η fail ⋆ )) , and since K max = 4 μ K_{\max}=4\mu K m a x = 4 μ , the same bound holds for K max K_{\max} K m a x . Moreover, q = O ( log ( K max / η f a i l ⋆ ) + log ( μ / ε a p p r o x ⋆ ) ) q=O(\log(K_{\max}/\eta^\star_{\mathrm{fail}})+\log(\sqrt{\mu}/\varepsilon^\star_{\mathrm{approx}})) q = O ( log ( K m a x / η fail ⋆ ) + log ( μ / ε approx ⋆ )) . Since log K max \log K_{\max} log K m a x and log μ \log\mu log μ are O ( log log ( 1 / η f a i l ⋆ ) ) O(\log\log(1/\eta^\star_{\mathrm{fail}})) O ( log log ( 1/ η fail ⋆ )) , this simplifies to q = O ( log ( 1 / ε a p p r o x ⋆ ) + log ( 1 / η f a i l ⋆ ) ) q=O(\log(1/\varepsilon^\star_{\mathrm{approx}})+\log(1/\eta^\star_{\mathrm{fail}})) q = O ( log ( 1/ ε approx ⋆ ) + log ( 1/ η fail ⋆ )) .
Coherent implementation in MH
We now give a coherent implementation of the finite Poisson sampler from Definition 5.2. For a fixed input tape Ω \Omega Ω , the sampler is a deterministic computation of ( R f i n , Θ f i n ) (R_{\mathrm{fin}},\Theta_{\mathrm{fin}}) ( R fin , Θ fin ) . The phase Θ f i n \Theta_{\mathrm{fin}} Θ fin is already contained in the input tape, so the main task is to compute the magnitude R f i n = min 1 ≤ i ≤ K f i n max { U i , 0 f i n , U i , 1 f i n } R_{\mathrm{fin}}=\min_{1\le i\le K_{\mathrm{fin}}}\max\{U^{\mathrm{fin}}_{i,0},U^{\mathrm{fin}}_{i,1}\} R fin = min 1 ≤ i ≤ K fin max { U i , 0 fin , U i , 1 fin } .
A straightforward implementation would first determine K f i n K_{\mathrm{fin}} K fin , compute the maximum within each of the first K f i n K_{\mathrm{fin}} K fin candidate pairs, and then compare these maxima to find their minimum. If the minimum is computed by updating a running minimum, the comparisons are necessarily sequential, giving nonlinear depth that grows with K max K_{\max} K m a x . A balanced comparison tree reduces this to O ( log K max ) O(\log K_{\max}) O ( log K m a x ) sequential comparison stages, but this still does not give a constant magic-hierarchy level.
Instead of reducing the candidate values through a sequence of pairwise comparisons, we trade depth for size. Every candidate is tested against all other active candidates in parallel to determine whether it is the minimum. We first determine which of the K max K_{\max} K m a x candidate pairs are active from the comparisons Z ≥ T i Z \ge T_i Z ≥ T i and which coordinate is the maximum within each active pair. We then compare every resulting candidate against all other active pairs simultaneously. A fixed tie-breaking rule ensures that exactly one candidate is selected, and the bits of this winning candidate give R f i n R_{\mathrm{fin}} R fin . We refer to this as the parallel winner-selection construction.
The following lemma gives the resulting coherent implementation of the finite sampler in the magic hierarchy.
Lemma 5.3 (Coherent implementation of the finite Poisson sampler in MH). Fix sampler parameters μ \mu μ , K max K_{\max} K m a x , and q q q , and let R = ( 2 K max + 2 ) q R=(2K_{\max}+2)q R = ( 2 K m a x + 2 ) q be the random-tape length. There exists an exact nonclean coherent implementation U s a m p U_{\mathrm{samp}} U samp for the finite Poisson sampler Samp f i n : { 0 , 1 } R → { 0 , 1 } 2 q \operatorname{Samp}_{\mathrm{fin}}:\{0,1\}^{R}\to\{0,1\}^{2q} Samp fin : { 0 , 1 } R → { 0 , 1 } 2 q defined in Definition 5.2 that, for every input tape Ω ∈ { 0 , 1 } R \Omega\in\{0,1\}^{R} Ω ∈ { 0 , 1 } R , acts in the following form:
U s a m p ∣ Ω ⟩ ∣ 0 n a n c ⟩ ∣ 0 2 q ⟩ = ∣ Ω ⟩ ∣ j u n k Ω ⟩ ∣ Samp f i n ( Ω ) ⟩ . (32) U_{\mathrm{samp}}|\Omega\rangle|0^{n_{\mathrm{anc}}}\rangle|0^{2q}\rangle=|\Omega\rangle|\mathrm{junk}_{\Omega}\rangle|\operatorname{Samp}_{\mathrm{fin}}(\Omega)\rangle. \tag*{(32)} U samp ∣Ω ⟩ ∣ 0 n anc ⟩ ∣ 0 2 q ⟩ = ∣Ω ⟩ ∣ junk Ω ⟩ ∣ Samp fin ( Ω )⟩ . (32) Here n a n c n_{\mathrm{anc}} n anc is the number of ancilla qubits, ∣ j u n k Ω ⟩ |\mathrm{junk}_{\Omega}\rangle ∣ junk Ω ⟩ denotes the resulting state of these ancilla qubits, which may depend on Ω \Omega Ω , and the final 2 q 2q 2 q qubits contain the sampler output Samp f i n ( Ω ) = ( R f i n , Θ f i n ) \operatorname{Samp}_{\mathrm{fin}}(\Omega)=(R_{\mathrm{fin}},\Theta_{\mathrm{fin}}) Samp fin ( Ω ) = ( R fin , Θ fin ) , with q q q bits for each component.
The circuit U s a m p U_{\mathrm{samp}} U samp lies in A 8 C Q ⊆ M H 8 A_8\mathrm{CQ}\subseteq\mathrm{MH}_8 A 8 CQ ⊆ MH 8 , with n a n c = O ( K max 2 q 4 log ( q + 1 ) + K max 2 q log ( K max + 1 ) ) n_{\mathrm{anc}}=O\left(K_{\max}^{2}q^{4}\log(q+1)+K_{\max}^{2}q\log(K_{\max}+1)\right) n anc = O ( K m a x 2 q 4 log ( q + 1 ) + K m a x 2 q log ( K m a x + 1 ) ) ancilla qubits and circuit size.
To prove this lemma, we first formalize the efficient parallel computation of the magnitude R f i n R_{\mathrm{fin}} R fin described above. Recall that when the number of candidate points K f i n > 0 K_{\mathrm{fin}}>0 K fin > 0 , R f i n R_{\mathrm{fin}} R fin is obtained by taking the maximum within each of the first K f i n K_{\mathrm{fin}} K fin candidate pairs and then taking the minimum of these pair maxima. We therefore need to identify which pairs are active, determine the maximum within each active pair, and then select the smallest of these maxima in parallel. Recall that the input tape has the form Ω = ( Z , U 1 , 0 f i n , U 1 , 1 f i n , … , U K max , 0 f i n , U K max , 1 f i n , Θ f i n ) \Omega=(Z,U^{\mathrm{fin}}_{1,0},U^{\mathrm{fin}}_{1,1},\ldots,U^{\mathrm{fin}}_{K_{\max},0},U^{\mathrm{fin}}_{K_{\max},1},\Theta_{\mathrm{fin}}) Ω = ( Z , U 1 , 0 fin , U 1 , 1 fin , … , U K m a x , 0 fin , U K m a x , 1 fin , Θ fin ) , where Z Z Z determines the active candidate pairs, the U i , a f i n U^{\mathrm{fin}}_{i,a} U i , a fin are the candidate coordinates, and Θ f i n \Theta_{\mathrm{fin}} Θ fin is the phase.
For each candidate pair i ∈ [ K max ] i\in[K_{\max}] i ∈ [ K m a x ] , define the activity bit A i ∈ { 0 , 1 } A_i\in\{0,1\} A i ∈ { 0 , 1 } by A i = 1 A_i=1 A i = 1 if and only if Z ≥ T i Z\ge T_i Z ≥ T i , where T i T_i T i is the fixed threshold associated with pair i i i in the finite sampler. Thus A i = 1 A_i=1 A i = 1 exactly when pair i i i is one of the first K f i n K_{\mathrm{fin}} K fin pairs participating in the minimum defining R f i n R_{\mathrm{fin}} R fin . Since the thresholds T i T_i T i are nondecreasing, the activity bits consist of K f i n K_{\mathrm{fin}} K fin initial ones followed by zeros.
For each pair i i i , let M i = max { U i , 0 f i n , U i , 1 f i n } M_i=\max\{U^{\mathrm{fin}}_{i,0},U^{\mathrm{fin}}_{i,1}\} M i = max { U i , 0 fin , U i , 1 fin } denote its pair maximum. For each coordinate a ∈ { 0 , 1 } a\in\{0,1\} a ∈ { 0 , 1 } , define the selector bit S i , a ∈ { 0 , 1 } S_{i,a}\in\{0,1\} S i , a ∈ { 0 , 1 } so that S i , a = 1 S_{i,a}=1 S i , a = 1 exactly when U i , a f i n U^{\mathrm{fin}}_{i,a} U i , a fin is chosen to represent M i M_i M i . We set S i , 0 = 1 S_{i,0}=1 S i , 0 = 1 if and only if U i , 0 f i n ≥ U i , 1 f i n U^{\mathrm{fin}}_{i,0}\ge U^{\mathrm{fin}}_{i,1} U i , 0 fin ≥ U i , 1 fin and S i , 1 = 1 S_{i,1}=1 S i , 1 = 1 if and only if U i , 1 f i n > U i , 0 f i n U^{\mathrm{fin}}_{i,1}>U^{\mathrm{fin}}_{i,0} U i , 1 fin > U i , 0 fin . Thus exactly one selector bit is 1, with coordinate 0 chosen in the case of a tie.
Among the active pairs, R f i n R_{\mathrm{fin}} R fin is the smallest pair maximum M i M_i M i . We select one pair attaining this minimum, breaking ties in favor of the smaller pair index. To determine whether a candidate U i , a f i n U^{\mathrm{fin}}_{i,a} U i , a fin can be selected, we record whether another active pair blocks it. For each j ≠ i j\ne i j = i , define the blocking bit B j ; i , a ∈ { 0 , 1 } B_{j;i,a}\in\{0,1\} B j ; i , a ∈ { 0 , 1 } as follows. If j < i j<i j < i , set B j ; i , a = A j ∧ 1 { U j , 0 f i n ≤ U i , a f i n } ∧ 1 { U j , 1 f i n ≤ U i , a f i n } B_{j;i,a}=A_j\wedge\mathbb{1}\{U^{\mathrm{fin}}_{j,0}\le U^{\mathrm{fin}}_{i,a}\}\wedge\mathbb{1}\{U^{\mathrm{fin}}_{j,1}\le U^{\mathrm{fin}}_{i,a}\} B j ; i , a = A j ∧ 1 { U j , 0 fin ≤ U i , a fin } ∧ 1 { U j , 1 fin ≤ U i , a fin } . If j > i j>i j > i , set B j ; i , a = A j ∧ 1 { U j , 0 f i n < U i , a f i n } ∧ 1 { U j , 1 f i n < U i , a f i n } B_{j;i,a}=A_j\wedge\mathbb{1}\{U^{\mathrm{fin}}_{j,0}<U^{\mathrm{fin}}_{i,a}\}\wedge\mathbb{1}\{U^{\mathrm{fin}}_{j,1}<U^{\mathrm{fin}}_{i,a}\} B j ; i , a = A j ∧ 1 { U j , 0 fin < U i , a fin } ∧ 1 { U j , 1 fin < U i , a fin } , where 1 { ⋅ } \mathbb{1}\{\cdot\} 1 { ⋅ } denotes the bit indicating whether the stated condition holds. These conditions compare the pair maximum M j M_j M j with the candidate U i , a f i n U^{\mathrm{fin}}_{i,a} U i , a fin . The non-strict comparison for j < i j<i j < i enforces the tie-breaking rule by allowing an earlier pair to block a candidate with the same value, while a later pair blocks the candidate only if its pair maximum is strictly smaller. The selector bit S i , a S_{i,a} S i , a ensures that only the coordinate equal to the pair maximum M i M_i M i can ultimately be selected.
Finally, define the winner bit W i , a ∈ { 0 , 1 } W_{i,a}\in\{0,1\} W i , a ∈ { 0 , 1 } by
W i , a = A i S i , a ∏ j ≠ i ( 1 ⊕ B j ; i , a ) . (33) W_{i,a}=A_iS_{i,a}\prod_{j\ne i}(1\oplus B_{j;i,a}). \tag*{(33)} W i , a = A i S i , a j = i ∏ ( 1 ⊕ B j ; i , a ) . (33)
Thus W i , a = 1 W_{i,a}=1 W i , a = 1 exactly when pair i i i is active, U i , a f i n = M i U^{\mathrm{fin}}_{i,a}=M_i U i , a fin = M i , and no other active pair blocks it.
Claim 5.1 (Correctness of parallel winner selection). The winner bits W i , a W_{i,a} W i , a give an exact parallel representation of the magnitude R f i n R_{\mathrm{fin}} R fin . For every input tape Ω \Omega Ω , if K f i n > 0 K_{\mathrm{fin}}>0 K fin > 0 , exactly one winner bit W i , a W_{i,a} W i , a is 1, and its
corresponding value U i , a f i n U^{\mathrm{fin}}_{i,a} U i , a fin is R f i n R_{\mathrm{fin}} R fin . If K f i n = 0 K_{\mathrm{fin}}=0 K fin = 0 , all winner bits are zero. Consequently, for every b ∈ [ q ] b\in[q] b ∈ [ q ] ,
( R f i n ) b = ⨁ i = 1 K max ⨁ a ∈ { 0 , 1 } ( U i , a f i n ) b W i , a . (34) (R_{\mathrm{fin}})_b=\bigoplus_{i=1}^{K_{\max}}\bigoplus_{a\in\{0,1\}}(U^{\mathrm{fin}}_{i,a})_bW_{i,a}. \tag*{(34)} ( R fin ) b = i = 1 ⨁ K m a x a ∈ { 0 , 1 } ⨁ ( U i , a fin ) b W i , a . (34)
Proof of Claim 5.1. Suppose first that at least one pair is active. Let i ⋆ i^\star i ⋆ be the smallest index among the active pairs attaining the minimum pair maximum, and let a ⋆ a^\star a ⋆ be the coordinate selected within pair i ⋆ i^\star i ⋆ . No earlier active pair has maximum at most U i ⋆ , a ⋆ f i n U^{\mathrm{fin}}_{i^\star,a^\star} U i ⋆ , a ⋆ fin , and no later active pair has a strictly smaller maximum. Hence all blocking bits appearing in W i ⋆ , a ⋆ W_{i^\star,a^\star} W i ⋆ , a ⋆ are zero. Since A i ⋆ = S i ⋆ , a ⋆ = 1 A_{i^\star}=S_{i^\star,a^\star}=1 A i ⋆ = S i ⋆ , a ⋆ = 1 , (33) gives W i ⋆ , a ⋆ = 1 W_{i^\star,a^\star}=1 W i ⋆ , a ⋆ = 1 . Every other winner bit is zero. An inactive pair has A i = 0 A_i=0 A i = 0 , the unselected coordinate within any pair has S i , a = 0 S_{i,a}=0 S i , a = 0 , and any other selected active maximum is either strictly larger than the minimum or is an equal minimum with a larger pair index. In either case it has a blocking bit equal to 1. Thus W i ⋆ , a ⋆ W_{i^\star,a^\star} W i ⋆ , a ⋆ is the unique winner.
If no pair is active, every A i = 0 A_i=0 A i = 0 , so every winner bit is zero. Equation (34) then copies the bits of the unique winner when one exists and outputs zero otherwise, exactly giving R f i n R_{\mathrm{fin}} R fin .
The circuit uses the thresholds T i T_i T i as hardwired classical constants. We therefore also need to verify that these thresholds can be computed efficiently from the sampler parameters.
Claim 5.2 (Efficient threshold precomputation). For fixed μ \mu μ , K max K_{\max} K m a x , and q q q , the thresholds T 1 , … , T K max T_1,\ldots,T_{K_{\max}} T 1 , … , T K m a x satisfying (27) can be chosen nondecreasing and computed classically in time polynomial in μ \mu μ , K max K_{\max} K m a x , and q q q .
Proof of Claim 5.2. Recall that P i = Pr [ K i d < i ] = e − μ ∑ k = 0 i − 1 μ k / k ! P_i=\Pr[K_{\mathrm{id}}<i]=e^{-\mu}\sum_{k=0}^{i-1}\mu^k/k! P i = Pr [ K id < i ] = e − μ ∑ k = 0 i − 1 μ k / k ! . Since the finite sum is explicit, it suffices to approximate the factor e − μ e^{-\mu} e − μ to sufficiently high precision. Choose a nonnegative rational approximation e ^ μ \widehat e_\mu e μ satisfying ∣ e ^ μ − e − μ ∣ ≤ 2 − q − 2 − 2 μ \lvert\widehat e_\mu-e^{-\mu}\rvert\le2^{-q-2-2\mu} ∣ e μ − e − μ ∣ ≤ 2 − q − 2 − 2 μ , and set P ^ i = e ^ μ ∑ k = 0 i − 1 μ k / k ! \widehat P_i=\widehat e_\mu\sum_{k=0}^{i-1}\mu^k/k! P i = e μ ∑ k = 0 i − 1 μ k / k ! . Since ∑ k = 0 i − 1 μ k / k ! ≤ e μ ≤ 2 2 μ \sum_{k=0}^{i-1}\mu^k/k!\le e^\mu\le2^{2\mu} ∑ k = 0 i − 1 μ k / k ! ≤ e μ ≤ 2 2 μ , we have ∣ P ^ i − P i ∣ ≤ 2 − q − 2 \lvert\widehat P_i-P_i\rvert\le2^{-q-2} ∣ P i − P i ∣ ≤ 2 − q − 2 . Let T i T_i T i be the nearest integer to 2 q P ^ i 2^q\widehat P_i 2 q P i , clipped to { 0 , … , 2 q } \{0,\ldots,2^q\} { 0 , … , 2 q } using a fixed rule for ties. Since P i ∈ [ 0 , 1 ] P_i\in[0,1] P i ∈ [ 0 , 1 ] , clipping cannot increase the distance from P i P_i P i . Nearest-integer rounding contributes at most 2 − q − 1 2^{-q-1} 2 − q − 1 after rescaling by 2 − q 2^{-q} 2 − q , so ∣ T i / 2 q − P i ∣ < 2 − q \lvert T_i/2^q-P_i\rvert<2^{-q} ∣ T i / 2 q − P i ∣ < 2 − q , as required. Since P ^ i \widehat P_i P i is nondecreasing in i i i , nearest-integer rounding with a fixed tie rule, followed by clipping, preserves this ordering. Hence the thresholds T i T_i T i are nondecreasing. The approximation e ^ μ \widehat e_\mu e μ and the finite sums above can be computed to the required precision in time polynomial in μ \mu μ , K max K_{\max} K m a x , and q q q . This proves the claim.
We now use the two claims above to give the magic hierarchy implementation of the sampler.
Proof of Lemma 5.3. We now give the full implementation for the finite sampler from Definition 5.2 coherently in the magic hierarchy, which outputs the magnitude R f i n R_{\mathrm{fin}} R fin and phase Θ f i n \Theta_{\mathrm{fin}} Θ fin on q q q -bit registers, given an input tape Ω \Omega Ω .
We compute the magnitude R f i n R_{\mathrm{fin}} R fin using the parallel winner-selection procedure as described above in Claim 5.1. It consists of two sequential stages of multi-input conjunctions. The first computes the conjunction terms needed to obtain the activity, selector, and blocking bits. After Clifford parity operations assemble these bits, the second conjunction stage computes the masked output bits of the winning candidate. Each of these conjunction terms can be computed using the polynomial-size nonclean A 4 C Q \mathrm{A}_4\mathrm{CQ} A 4 CQ implementation of AND from the proof of Lemma 6.5 in [Par25]. By Claim 5.2, the thresholds T i T_i T i used in computing the magnitude can be efficiently computed in advance and hardwired into the circuit. Lastly, the phase Θ f i n \Theta_{\mathrm{fin}} Θ fin is already contained in the input tape and so it is copied directly to the output using CNOT gates.
[Cliff] Prepare the Boolean expressions in the comparison formulas of the activity, selector, and blocking bits appearing in the parallel winner-selection formula (33) for computing the magnitude.
The required comparisons are Z ≥ T i Z\ge T_i Z ≥ T i for the activity bits A i A_i A i ; U i , 0 f i n ≥ U i , 1 f i n U^{\mathrm{fin}}_{i,0}\ge U^{\mathrm{fin}}_{i,1} U i , 0 fin ≥ U i , 1 fin and U i , 1 f i n > U i , 0 f i n U^{\mathrm{fin}}_{i,1}>U^{\mathrm{fin}}_{i,0} U i , 1 fin > U i , 0 fin for the selector bits S i , 0 S_{i,0} S i , 0 and S i , 1 S_{i,1} S i , 1 ; and for the blocking bits B j ; i , α B_{j;i,\alpha} B j ; i , α , U j , 0 f i n ≤ U i , α f i n U^{\mathrm{fin}}_{j,0}\le U^{\mathrm{fin}}_{i,\alpha} U j , 0 fin ≤ U i , α fin and U j , 1 f i n ≤ U i , α f i n U^{\mathrm{fin}}_{j,1}\le U^{\mathrm{fin}}_{i,\alpha} U j , 1 fin ≤ U i , α fin when j < i j<i j < i , or U j , 0 f i n < U i , α f i n U^{\mathrm{fin}}_{j,0}<U^{\mathrm{fin}}_{i,\alpha} U j , 0 fin < U i , α fin and U j , 1 f i n < U i , α f i n U^{\mathrm{fin}}_{j,1}<U^{\mathrm{fin}}_{i,\alpha} U j , 1 fin < U i , α fin when j > i j>i j > i .
To express these comparisons in a form that can be evaluated in parallel, consider two q q q -bit integers a = a 1 ⋯ a q a=a_1\cdots a_q a = a 1 ⋯ a q and b = b 1 ⋯ b q b=b_1\cdots b_q b = b 1 ⋯ b q , written most significant bit first. The relation a < b a<b a < b is determined by the first bit at which a a a and b b b differ. Thus 1 { a < b } \mathbf{1}_{\{a<b\}} 1 { a < b } is the XOR over ℓ ∈ [ q ] \ell\in[q] ℓ ∈ [ q ] of ( 1 ⊕ a ℓ ) b ℓ ∏ h < ℓ ( 1 ⊕ a h ⊕ b h ) (1\oplus a_\ell)b_\ell\prod_{h<\ell}(1\oplus a_h\oplus b_h) ( 1 ⊕ a ℓ ) b ℓ ∏ h < ℓ ( 1 ⊕ a h ⊕ b h ) . Each term checks that all more significant bits agree and that the first difference has a ℓ = 0 a_\ell=0 a ℓ = 0 and b ℓ = 1 b_\ell= 1 b ℓ = 1 . Since there is at most one first differing position, these terms are mutually exclusive. Hence a < b a < b a < b is a parity of O ( q ) O(q) O ( q ) conjunctions, each containing O ( q ) O(q) O ( q ) affine Boolean expressions in the input bits. The non-strict comparisons used above are obtained by additionally including the equality case, while reversing the inputs gives the corresponding > > > and ≥ \ge ≥ comparisons. Thus all of the required comparisons have the same parity-of-conjunctions form.
Compute these affine expressions using CNOT and X gates and fan out the required values so that the conjunction terms in the next step can be evaluated in parallel. For the activity bit comparisons Z ≥ T i Z \ge T_i Z ≥ T i , represent both Z Z Z and T i T_i T i using q + 1 q+1 q + 1 bits and pad Z Z Z with a leading zero, which also covers the case T i = 2 q T_i = 2^q T i = 2 q .
[A4 _4 4 CQ] Compute the conjunction terms needed for the activity, selector, and blocking bits.
Using the polynomial-size nonclean A4 _4 4 CQ implementation of AND from the proof of [Par25, Lemma 6.5], each conjunction term from the previous step can be computed in A4 _4 4 CQ. Since all of these terms use separate workspace, they can be computed in parallel within the same A4 _4 4 CQ block.
We now identify the conjunction terms required for each type of bit. The activity and selector bits each require the terms from a single comparison. Each blocking bit B j ; i , a B_{j;i,a} B j ; i , a instead combines the activity comparison defining A j A_j A j with two coordinate comparisons against U i , a f i n U^{\mathrm{fin}}_{i,a} U i , a fin . Each of these three comparisons is a parity of O ( q ) O(q) O ( q ) conjunctions. Distributing their product over F 2 \mathbb{F}_2 F 2 therefore expresses each B j ; i , a B_{j;i,a} B j ; i , a as a parity of O ( q 3 ) O(q^3) O ( q 3 ) conjunctions, each involving O ( q ) O(q) O ( q ) affine Boolean expressions. Hence all conjunction terms needed for the A i A_i A i , S i , a S_{i,a} S i , a , and B j ; i , a B_{j;i,a} B j ; i , a can be computed simultaneously in this single A4 _4 4 CQ block.
[Cliff] Assemble the activity, selector, and blocking bits.
XOR the corresponding conjunction outputs to obtain all A i A_i A i , S i , a S_{i,a} S i , a , and B j ; i , a B_{j;i,a} B j ; i , a . Then compute the literals 1 ⊕ B j ; i , a 1 \oplus B_{j;i,a} 1 ⊕ B j ; i , a and fan out the values needed in the winner computation.
[A4 _4 4 CQ] Compute the masked output bits of the winning candidate in Equation (33) .
For every i ∈ [ K max ] i \in[K_{\max}] i ∈ [ K m a x ] , a ∈ { 0 , 1 } a \in\{0,1\} a ∈ { 0 , 1 } , and b ∈ [ q ] b \in[q] b ∈ [ q ] , compute ( U i , a f i n ) b W i , a (U^{\mathrm{fin}}_{i,a})_bW_{i,a} ( U i , a fin ) b W i , a . By (33) , each such term is a conjunction of O ( K max ) O(K_{\max}) O ( K m a x ) Boolean literals. Hence all masked output bits can be computed in parallel in A4 _4 4 CQ [Par25, Lemma 6.5].
[Cliff] Assemble the output registers for the magnitude R f i n R_{\mathrm{fin}} R fin and phase Θ f i n \Theta_{\mathrm{fin}} Θ fin .
For each b ∈ [ q ] b \in[q] b ∈ [ q ] , XOR the masked output bits over i i i and a a a . By (34) , this gives exactly R f i n R_{\mathrm{fin}} R fin . Copy the q q q input bits representing Θ f i n \Theta_{\mathrm{fin}} Θ fin into the phase-output register.
By merging the adjacent Clifford layers around the A4 _4 4 CQ blocks from the conjunction computation, this overall circuit lies in A8 _8 8 CQ ⊆ \subseteq ⊆ MH8 _8 8 .
We finally bound the circuit size and number of auxiliary qubits. There are O ( K max 2 ) O(K_{\max}^2) O ( K m a x 2 ) blocking bits. Expanding the three comparison predicates defining each blocking bit gives O ( K max 2 q 3 ) O(K_{\max}^2q^3) O ( K m a x 2 q 3 ) conjunctions in the first conjunction stage, each involving O ( q ) O(q) O ( q ) affine expressions. This contributes O ( K max 2 q 4 log ( q + 1 ) ) O(K_{\max}^2q^4\log(q+1)) O ( K m a x 2 q 4 log ( q + 1 )) gates and auxiliary qubits. The second conjunction stage contains O ( K max q ) O(K_{\max}q) O ( K m a x q ) conjunctions, one for each candidate and output bit, and each contains O ( K max ) O(K_{\max}) O ( K m a x ) literals. Its cost is therefore O ( K max 2 q log ( K max + 1 ) ) O(K_{\max}^2q\log(K_{\max}+1)) O ( K m a x 2 q log ( K m a x + 1 )) . The intervening Clifford computations are asymptotically smaller. Hence the complete implementation has size and auxiliary-qubit count O ( K max 2 q 4 log ( q + 1 ) + K max 2 q log ( K max + 1 ) ) O(K_{\max}^2q^4\log(q+1)+K_{\max}^2q\log(K_{\max}+1)) O ( K m a x 2 q 4 log ( q + 1 ) + K m a x 2 q log ( K m a x + 1 )) .
Combining the approximation guarantee of Lemma 5.2, the parameter choices of Corollary 5.2.1 , and the coherent magic-hierarchy implementation of Lemma 5.3 gives the following summary guarantee for the finite Poisson sampler.
Corollary 5.3.1 (Complex Gaussian sampler guarantees). For any target approximation error ε a p p r o x ⋆ > 0 \varepsilon^\star_{\mathrm{approx}}>0 ε approx ⋆ > 0 and target failure probability η f a i l ⋆ ∈ ( 0 , 1 ) \eta^\star_{\mathrm{fail}}\in(0,1) η fail ⋆ ∈ ( 0 , 1 ) , the parameters μ \mu μ , K max K_{\max} K m a x , and q q q can be chosen so that, with s = μ s=\sqrt{\mu} s = μ and R = ( 2 K max + 2 ) q R=(2K_{\max}+2)q R = ( 2 K m a x + 2 ) q , the finite Poisson sampler Samp f i n : { 0 , 1 } R → { 0 , 1 } 2 q \operatorname{Samp}_{\mathrm{fin}}:\{0,1\}^R\to\{0,1\}^{2q} Samp fin : { 0 , 1 } R → { 0 , 1 } 2 q is an ( s , ε a p p r o x ⋆ , η f a i l ⋆ ) (s,\varepsilon^\star_{\mathrm{approx}},\eta^\star_{\mathrm{fail}}) ( s , ε approx ⋆ , η fail ⋆ ) -complex Gaussian sampler in the sense of Definition 3.1.
Moreover, every sampler output has magnitude ∣ V f i n ∣ < 1 |V_{\mathrm{fin}}|<1 ∣ V fin ∣ < 1 , R R R and q q q are polynomial in log ( 1 / ε a p p r o x ⋆ ) + log ( 1 / η f a i l ⋆ ) \log(1/\varepsilon^\star_{\mathrm{approx}})+\log(1/\eta^\star_{\mathrm{fail}}) log ( 1/ ε approx ⋆ ) + log ( 1/ η fail ⋆ ) , the sampler can be evaluated classically in polynomial time, and it has an exact nonclean coherent implementation in A8 _8 8 CQ ⊆ \subseteq ⊆ MH8 _8 8 of polynomial size using polynomially many auxiliary qubits.
Proof. Choose μ \mu μ , K max K_{\max} K m a x , and q q q according to Corollary 5.2.1 . Then Lemma 5.2 gives a coupling of V f i n V_{\mathrm{fin}} V fin with G ∼ N C ( 0 , 1 ) G \sim\mathcal{N}_{\mathbb{C}}(0,1) G ∼ N C ( 0 , 1 ) such that ∣ μ V f i n − G ∣ ≤ ϵ a p p r o x ⋆ \left|\sqrt{\mu}V_{\mathrm{fin}}-G\right|\leq\epsilon^{\star}_{\mathrm{approx}} μ V fin − G ≤ ϵ approx ⋆ except with probability at most η f a i l ⋆ \eta^{\star}_{\mathrm{fail}} η fail ⋆ . Thus, with s = μ s=\sqrt{\mu} s = μ , S a m p S_{\mathrm{amp}} S amp satisfies the approximation requirement of Definition 3.1.
By Definition 5.2, R f i n < 1 R_{\mathrm{fin}}<1 R fin < 1 , so every output V f i n = R f i n e 2 π i Θ f i n V_{\mathrm{fin}}=R_{\mathrm{fin}}e^{2\pi i\Theta_{\mathrm{fin}}} V fin = R fin e 2 π i Θ fin has magnitude strictly less than one. The parameter bounds in Corollary 5.2.1 give R = ( 2 K max + 2 ) q R=(2K_{\max}+2)q R = ( 2 K m a x + 2 ) q and q q q polynomial in log ( 1 / ϵ a p p r o x ⋆ ) + log ( 1 / η f a i l ⋆ ) \log(1/\epsilon^{\star}_{\mathrm{approx}})+\log(1/\eta^{\star}_{\mathrm{fail}}) log ( 1/ ϵ approx ⋆ ) + log ( 1/ η fail ⋆ ) . The sampler is classically evaluable in polynomial time, including the precomputation of the thresholds T i T_i T i from Claim 5.2. Finally, Lemma 5.3 gives the exact nonclean A 8 C Q A_8\mathrm{CQ} A 8 CQ implementation with polynomial size and polynomially many auxiliary qubits.
Compatibility with security parameters. We finally verify that the finite Poisson sampler satisfies the parameter and classical-computation requirements used in Corollary 4.2.1 and Theorem 4.5 . In the notation of the finite sampler above, set ϵ a p p r o x ⋆ = ξ \epsilon^{\star}_{\mathrm{approx}}=\xi ϵ approx ⋆ = ξ and η f a i l ⋆ = η s a m p \eta^{\star}_{\mathrm{fail}}=\eta_{\mathrm{samp}} η fail ⋆ = η samp , and choose ξ = ϵ / ( 16 C N 3 / 2 ) \xi=\epsilon/(16CN^{3/2}) ξ = ϵ / ( 16 C N 3/2 ) and η s a m p = ϵ / ( 4 N ) \eta_{\mathrm{samp}}=\epsilon/(4N) η samp = ϵ / ( 4 N ) . Since N = 2 n N=2^n N = 2 n , these choices give μ , K max = O ( n + log ( 1 / ϵ ) ) \mu,K_{\max}=O(n+\log(1/\epsilon)) μ , K m a x = O ( n + log ( 1/ ϵ )) and q = O ( n + T + log ( 1 / ϵ ) ) q=O(n+T+\log(1/\epsilon)) q = O ( n + T + log ( 1/ ϵ )) . Hence the tape length R = ( 2 K max + 2 ) q R=(2K_{\max}+2)q R = ( 2 K m a x + 2 ) q , the output length 2 q 2q 2 q , and the classical evaluation time are polynomial in n n n , T T T , and log ( 1 / ϵ ) \log(1/\epsilon) log ( 1/ ϵ ) . The sampler outputs finite polar coordinates ( R f i n , Θ f i n ) (R_{\mathrm{fin}},\Theta_{\mathrm{fin}}) ( R fin , Θ fin ) . The corresponding real and imaginary parts, R f i n cos ( 2 π Θ f i n ) R_{\mathrm{fin}}\cos(2\pi\Theta_{\mathrm{fin}}) R fin cos ( 2 π Θ fin ) and R f i n sin ( 2 π Θ f i n ) R_{\mathrm{fin}}\sin(2\pi\Theta_{\mathrm{fin}}) R fin sin ( 2 π Θ fin ) , can be approximated to any requested p p p bits in time polynomial in q q q and p p p . Finally, with γ = 1 / ( 2 s ) \gamma=1/(2s) γ = 1/ ( 2 s ) and s = μ s=\sqrt{\mu} s = μ , we have γ 2 = 1 / ( 4 μ ) \gamma^2=1/(4\mu) γ 2 = 1/ ( 4 μ ) , which is rational and efficiently computable. Thus the concrete finite Poisson sampler satisfies the sampler and classical-computation requirements used in Theorem 4.5 .
Amplitude loading in MH
Now that we have computed the amplitudes of our target state, we need to prepare a state with those amplitudes – to “load” in those amplitude. We first give the definition of an amplitude loader.
Definition 5.3 (Amplitude loader). Let v = ( v x ) x ∈ { 0 , 1 } n v=(v_x)_{x\in\{0,1\}^n} v = ( v x ) x ∈ { 0 , 1 } n be a complex vector, where v x = r x e 2 π i θ x v_x=r_xe^{2\pi i\theta_x} v x = r x e 2 π i θ x and r x , θ x ∈ { 0 , 1 } q r_x,\theta_x\in\{0,1\}^q r x , θ x ∈ { 0 , 1 } q encode q q q -bit binary fractions. Let U v U_v U v be an amplitude oracle that, on input ∣ x ⟩ |x\rangle ∣ x ⟩ , coherently outputs ∣ r x ⟩ |r_x\rangle ∣ r x ⟩ and ∣ θ x ⟩ |\theta_x\rangle ∣ θ x ⟩ for each x ∈ { 0 , 1 } n x\in\{0,1\}^n x ∈ { 0 , 1 } n , together with an auxiliary workspace state ∣ j u n k x ⟩ |\mathrm{junk}_x\rangle ∣ junk x ⟩ .
Fix a balance parameter γ ∈ ( 0 , 1 ] \gamma\in(0,1] γ ∈ ( 0 , 1 ] and an error parameter δ l o a d ∈ ( 0 , 1 ) \delta_{\mathrm{load}}\in(0,1) δ load ∈ ( 0 , 1 ) .
An amplitude loader is a quantum algorithm that, given forward and inverse access to U v U_v U v for amplitude vector v v v satisfying ∥ v ∥ ≥ γ N \|v\|\geq\gamma\sqrt{N} ∥ v ∥ ≥ γ N , outputs an n n n -qubit mixed state σ \sigma σ satisfying 1 2 ∥ σ − ∣ v ~ ⟩ ⟨ v ~ ∣ ∥ 1 ≤ δ l o a d \frac{1}{2}\|\sigma-|\widetilde{v}\rangle\langle\widetilde{v}|\|_1\leq\delta_{\mathrm{load}} 2 1 ∥ σ − ∣ v ⟩ ⟨ v ∣ ∥ 1 ≤ δ load , where ∣ v ~ ⟩ = 1 ∥ v ∥ ∑ x ∈ { 0 , 1 } n v x ∣ x ⟩ |\widetilde{v}\rangle=\frac{1}{\|v\|}\sum_{x\in\{0,1\}^n}v_x|x\rangle ∣ v ⟩ = ∥ v ∥ 1 ∑ x ∈ { 0 , 1 } n v x ∣ x ⟩ .
To implement the amplitude loader, we write each magnitude r x r_x r x in binary and prepare a weighted superposition over its digit positions. For each digit position, we check whether the corresponding bit of r x r_x r x is one, and only those branches contribute when the weighted reference register is unprepared, producing an amplitude proportional to r x r_x r x . The encoded phase supplies the corresponding complex phase. This follows the linear-combination-of-unitaries state-preparation approach of [22 ] . Our implementation adapts this construction to minimize the number of magic-hierarchy levels required.
We first show how to implement the base amplitude loading algorithm in § 7.4.1 , which prepares ∣ v ~ ⟩ |\widetilde{v}\rangle ∣ v ⟩ with some success probability p ≥ γ 2 p\geq\gamma^2 p ≥ γ 2 . To boost the success probability, we run multiple copies of this algorithm in parallel and select the first success one. We describe the repetition and selection procedure in § 7.5 . Finally we show how to implement the full amplitude loader in § 7.5.1 .
Amplitude loading for one trial
Lemma 5.4 (Amplitude loading for one trial). Suppose we have access to an amplitude oracle U v U_v U v and its inverse, outputting r x r_x r x and θ x \theta_x θ x on q q q qubits, with U v , U v † ∈ A σ C Q U_v,U_v^\dagger\in A_\sigma\mathrm{CQ} U v , U v † ∈ A σ CQ for even σ ≥ 2 \sigma\geq2 σ ≥ 2 . Assume ∥ v ∥ ≥ γ N \|v\|\geq\gamma\sqrt{N} ∥ v ∥ ≥ γ N .
Then there exists a circuit in A 2 σ + 2 C Q A_{2\sigma+2}\mathrm{CQ} A 2 σ + 2 CQ that prepares ∣ v ~ ⟩ = 1 ∥ v ∥ ∑ x v x ∣ x ⟩ |\widetilde{v}\rangle=\frac{1}{\|v\|}\sum_x v_x|x\rangle ∣ v ⟩ = ∥ v ∥ 1 ∑ x v x ∣ x ⟩ with probability p = ∥ v ∥ 2 2 n ( 1 − 2 − q ) 2 ≥ γ 2 p=\frac{\|v\|^2}{2^n(1-2^{-q})^2}\geq\gamma^2 p = 2 n ( 1 − 2 − q ) 2 ∥ v ∥ 2 ≥ γ 2 . This circuit uses one call each to U v U_v U v and U v † U_v^\dagger U v † , together with O ( n + q 2 log ( q + 1 ) ) O(n+q^2\log(q+1)) O ( n + q 2 log ( q + 1 )) additional gates and O ( q 2 ) O(q^2) O ( q 2 ) additional ancilla qubits.
Proof. We use the following registers: D D D is the n n n -qubit data register, M M M and P P P are the q q q -qubit magnitude and phase registers, respectively. The address register J J J introduced below has log 2 q \log_2q log 2 q qubits, and B B B is a single flag qubit.
We begin by preparing an equal superposition over x x x and applying the amplitude oracle U v U_v U v , giving 1 N ∑ x ∣ x ⟩ D ∣ r x ⟩ M ∣ θ x ⟩ P ∣ j u n k x ⟩ G \frac{1}{\sqrt{N}}\sum_x |x\rangle_D |r_x\rangle_M |\theta_x\rangle_P |\mathrm{junk}_x\rangle_G N 1 ∑ x ∣ x ⟩ D ∣ r x ⟩ M ∣ θ x ⟩ P ∣ junk x ⟩ G . Here r x r_x r x and θ x \theta_x θ x are stored as q q q -bit binary fractions. Our goal is to convert these binary descriptions into the amplitude v x = r x e 2 π i θ x v_x = r_x e^{2\pi i\theta_x} v x = r x e 2 π i θ x on each ∣ x ⟩ |x\rangle ∣ x ⟩ on the data register D D D . Applying the phase e 2 π i θ x e^{2\pi i\theta_x} e 2 π i θ x from the bits of θ x \theta_x θ x is straightforward, so we focus on the magnitudes.
Write each magnitude as a q q q -bit binary fraction r x = 0. r x , 0 r x , 1 ⋯ r x , q − 1 = ∑ j = 0 q − 1 2 − ( j + 1 ) r x , j r_x = 0.r_{x,0}r_{x,1}\cdots r_{x,q-1} = \sum_{j=0}^{q-1}2^{-(j+1)}r_{x,j} r x = 0. r x , 0 r x , 1 ⋯ r x , q − 1 = ∑ j = 0 q − 1 2 − ( j + 1 ) r x , j . Thus the j j j th magnitude bit contributes the binary weight 2 − ( j + 1 ) 2^{-(j+1)} 2 − ( j + 1 ) whenever r x , j = 1 r_{x,j}=1 r x , j = 1 . Without loss of generality, take q q q to be a power of two. Otherwise, pad the magnitude encoding with trailing zeros to the next power-of-two length and redefine q q q to be this padded length.
In the address register, we prepare a weighted superposition ∣ w ⟩ = ∑ j w j ∣ j ⟩ |w\rangle= \sum_j w_j |j\rangle ∣ w ⟩ = ∑ j w j ∣ j ⟩ over the q q q fractional-bit positions, where position j j j has amplitude proportional to the square root of its binary weight 2 − ( j + 1 ) 2^{-(j+1)} 2 − ( j + 1 ) , so w j = 2 − ( j + 1 ) / 2 1 − 2 − q w_j = \frac{2^{-(j+1)/2}}{\sqrt{1-2^{-q}}} w j = 1 − 2 − q 2 − ( j + 1 ) /2 . Note that ∣ w ⟩ |w\rangle ∣ w ⟩ depends only on the precision q q q , not on x x x or r x r_x r x .
We next introduce a flag qubit B B B initialized to ∣ 0 ⟩ |0\rangle ∣0 ⟩ which indicates which positions of r x r_x r x are 1. This will split up the state into positions which contribute to the magnitude and those that do not. For each fixed x x x , the J , B J,B J , B registers therefore become ∑ j : r x , j = 0 w j ∣ j ⟩ J ∣ 0 ⟩ B + ∑ j : r x , j = 1 w j ∣ j ⟩ J ∣ 1 ⟩ B \sum_{j:r_{x,j}=0}w_j|j\rangle_J|0\rangle_B+\sum_{j:r_{x,j}=1}w_j|j\rangle_J|1\rangle_B ∑ j : r x , j = 0 w j ∣ j ⟩ J ∣0 ⟩ B + ∑ j : r x , j = 1 w j ∣ j ⟩ J ∣1 ⟩ B . To compute r x , j r_{x,j} r x , j into the flag B B B for each position j j j , we need to perform a coherent lookup from the magnitude and address registers. Conceptually, this lookup consists of one generalized Toffoli for each j ∈ { 0 , … , q − 1 } j\in\{0,\ldots,q-1\} j ∈ { 0 , … , q − 1 } . The gate associated with j j j flips B B B exactly when J = j J=j J = j and r x , j = 1 r_{x,j}=1 r x , j = 1 . Since exactly one address value j j j is present on each computational-basis branch of J J J , the resulting flag contains precisely the addressed magnitude bit. We give the low-depth magic-hierarchy implementation of this lookup below.
Applying the phase e 2 π i θ x e^{2\pi i\theta_x} e 2 π i θ x from the phase register, the full state is now
1 N ( 1 − 2 − q ) ∑ x e 2 π i θ x ∣ x ⟩ D ( ∑ j : r x , j = 0 2 − ( j + 1 ) / 2 ∣ j ⟩ J ∣ 0 ⟩ B + ∑ j : r x , j = 1 2 − ( j + 1 ) / 2 ∣ j ⟩ J ∣ 1 ⟩ B ) ∣ r x ⟩ M ∣ θ x ⟩ P ∣ j u n k x ⟩ G . (35) \frac{1}{\sqrt{N(1-2^{-q})}}\sum_x e^{2\pi i\theta_x}|x\rangle_D\left(\sum_{j:r_{x,j}=0}2^{-(j+1)/2}|j\rangle_J|0\rangle_B+\sum_{j:r_{x,j}=1}2^{-(j+1)/2}|j\rangle_J|1\rangle_B\right)|r_x\rangle_M|\theta_x\rangle_P|\mathrm{junk}_x\rangle_G . \tag*{(35)} N ( 1 − 2 − q ) 1 x ∑ e 2 π i θ x ∣ x ⟩ D j : r x , j = 0 ∑ 2 − ( j + 1 ) /2 ∣ j ⟩ J ∣0 ⟩ B + j : r x , j = 1 ∑ 2 − ( j + 1 ) /2 ∣ j ⟩ J ∣1 ⟩ B ∣ r x ⟩ M ∣ θ x ⟩ P ∣ junk x ⟩ G . (35)
We next apply U v † U_v^\dagger U v † to erase the magnitude, phase, and oracle workspace registers. We then apply W † W^\dagger W † to the address register J J J , where W ∣ 0 ⟩ = ∣ w ⟩ W|0\rangle=|w\rangle W ∣0 ⟩ = ∣ w ⟩ . We call the branch J = 0 log 2 q J=0^{\log_2 q} J = 0 l o g 2 q and B = 1 B=1 B = 1 the successful branch.
Fix a basis string x x x . Only positions j j j with r x , j = 1 r_{x,j}=1 r x , j = 1 have B = 1 B=1 B = 1 . Before applying W † W^\dagger W † , the contribution from such a position is w j ∣ j ⟩ J ∣ 1 ⟩ B w_j|j\rangle_J|1\rangle_B w j ∣ j ⟩ J ∣1 ⟩ B . Since ⟨ 0 ∣ W † ∣ j ⟩ = ⟨ w ∣ j ⟩ = w j \langle0|W^\dagger|j\rangle=\langle w|j\rangle=w_j ⟨ 0∣ W † ∣ j ⟩ = ⟨ w ∣ j ⟩ = w j , its contribution to the successful branch after W † W^\dagger W † is weighted by w j 2 = 2 − ( j + 1 ) / ( 1 − 2 − q ) w_j^2=2^{-(j+1)}/(1-2^{-q}) w j 2 = 2 − ( j + 1 ) / ( 1 − 2 − q ) . Summing over the positions for which r x , j = 1 r_{x,j}=1 r x , j = 1 therefore gives total magnitude 1 1 − 2 − q ∑ j 2 − ( j + 1 ) r x , j = r x 1 − 2 − q \frac{1}{1-2^{-q}}\sum_j2^{-(j+1)}r_{x,j}=\frac{r_x}{1-2^{-q}} 1 − 2 − q 1 ∑ j 2 − ( j + 1 ) r x , j = 1 − 2 − q r x . Together with the phase e 2 π i θ x e^{2\pi i\theta_x} e 2 π i θ x , the contribution of basis state x x x to the successful branch is therefore v x N ( 1 − 2 − q ) \frac{v_x}{\sqrt{N(1-2^{-q})}} N ( 1 − 2 − q ) v x . Hence the full successful component is
1 N ( 1 − 2 − q ) ∑ x v x ∣ x ⟩ D ∣ 0 log 2 q ⟩ J ∣ 1 ⟩ B . (36) \frac{1}{\sqrt{N(1-2^{-q})}}\sum_x v_x|x\rangle_D|0^{\log_2 q}\rangle_J|1\rangle_B . \tag*{(36)} N ( 1 − 2 − q ) 1 x ∑ v x ∣ x ⟩ D ∣ 0 l o g 2 q ⟩ J ∣1 ⟩ B . (36)
All remaining terms are orthogonal to this component on the J , B J,B J , B registers. Therefore, conditioned on the successful branch J = 0 log 2 q J=0^{\log_2 q} J = 0 l o g 2 q and B = 1 B=1 B = 1 , the normalized state of the data register is 1 ∥ v ∥ ∑ x v x ∣ x ⟩ = ∣ v ^ ⟩ \frac{1}{\|v\|}\sum_xv_x|x\rangle=|\hat{v}\rangle ∥ v ∥ 1 ∑ x v x ∣ x ⟩ = ∣ v ^ ⟩ .
The probability of this successful outcome is the squared norm of (36) , which is p = ∥ v ∥ 2 N ( 1 − 2 − q ) 2 p=\frac{\|v\|^2}{N(1-2^{-q})^2} p = N ( 1 − 2 − q ) 2 ∥ v ∥ 2 . Since ∥ v ∥ ≥ γ N \|v\|\ge\gamma\sqrt{N} ∥ v ∥ ≥ γ N and 1 − 2 − q ≤ 1 1-2^{-q}\le1 1 − 2 − q ≤ 1 , the success probability is at least p ≥ γ 2 p\ge\gamma^2 p ≥ γ 2 .
Magic-hierarchy implementation for one amplitude loader trial. Here we show that the above implementation is in A 2 σ + 2 C Q \mathrm{A}_{2\sigma+2}\mathrm{CQ} A 2 σ + 2 CQ .
[Aσ _\sigma σ CQ] Evaluate U v U_v U v and prepare ∣ w ⟩ |w\rangle ∣ w ⟩ .
The Hadamards preparing the equal superposition over x x x are Clifford and can be absorbed into the initial Clifford block of U v U_v U v .
Recall that ∣ w ⟩ = ∑ j = 0 q − 1 w j ∣ j ⟩ |w\rangle=\sum_{j=0}^{q-1}w_j|j\rangle ∣ w ⟩ = ∑ j = 0 q − 1 w j ∣ j ⟩ , where w j = 2 − ( j + 1 ) / 2 / 1 − 2 − q w_j=2^{-(j+1)/2}/\sqrt{1-2^{-q}} w j = 2 − ( j + 1 ) /2 / 1 − 2 − q . To see that ∣ w ⟩ |w\rangle ∣ w ⟩ is a product state, write the address as j = ∑ h = 0 log 2 q − 1 j h 2 h j=\sum_{h=0}^{\log_2q-1}j_h2^h j = ∑ h = 0 l o g 2 q − 1 j h 2 h , where each j h ∈ { 0 , 1 } j_h\in\{0,1\} j h ∈ { 0 , 1 } . The unnormalized amplitude of ∣ j ⟩ |j\rangle ∣ j ⟩ then factors as 2 − ( j + 1 ) / 2 = 2 − 1 / 2 ∏ h 2 − j h 2 h / 2 2^{-(j+1)/2}=2^{-1/2}\prod_h2^{-j_h2^h/2} 2 − ( j + 1 ) /2 = 2 − 1/2 ∏ h 2 − j h 2 h /2 . Thus the contribution of each address bit factors independently. If j h = 0 j_h=0 j h = 0 , its factor is 1 1 1 , while if j h = 1 j_h=1 j h = 1 , its factor is 2 − 2 h / 2 2^{-2^h/2} 2 − 2 h /2 . Therefore the h h h th address qubit can be prepared in a state proportional to ∣ 0 ⟩ + 2 − 2 h / 2 ∣ 1 ⟩ |0\rangle+ 2^{-2^h/2}|1\rangle ∣0 ⟩ + 2 − 2 h /2 ∣1 ⟩ . Since q q q is a power of two, ∏ h = 0 log 2 q − 1 ( 1 + 2 − 2 h ) = 2 ( 1 − 2 − q ) \prod_{h=0}^{\log_2 q-1}(1+2^{-2^h})=2(1-2^{-q}) ∏ h = 0 l o g 2 q − 1 ( 1 + 2 − 2 h ) = 2 ( 1 − 2 − q ) . Therefore the resulting normalized product state is exactly
∣ w ⟩ = ⨂ h = 0 log 2 q − 1 ∣ 0 ⟩ + 2 − 2 h / 2 ∣ 1 ⟩ 1 + 2 − 2 h . |w\rangle=\bigotimes_{h=0}^{\log_2 q-1}\frac{|0\rangle+2^{-2^h/2}|1\rangle}{\sqrt{1+2^{-2^h}}}. ∣ w ⟩ = h = 0 ⨂ l o g 2 q − 1 1 + 2 − 2 h ∣0 ⟩ + 2 − 2 h /2 ∣1 ⟩ .
Hence ∣ w ⟩ |w\rangle ∣ w ⟩ can be prepared exactly by applying one single-qubit rotation to each address qubit, with all log 2 q \log_2 q log 2 q rotations performed in a single QNC0 ^0 0 layer.
The address register on which ∣ w ⟩ |w\rangle ∣ w ⟩ is prepared is disjoint from the registers on which U v U_v U v acts, so this layer can be performed at the same time as one of the QNC0 ^0 0 blocks of U v U_v U v . Thus evaluating U v U_v U v and preparing ∣ w ⟩ |w\rangle ∣ w ⟩ together remain in A σ C Q \mathrm{A}_{\sigma}\mathrm{CQ} A σ CQ .
[A 2 C Q \mathrm{A}_2\mathrm{CQ} A 2 CQ ] Perform the addressed magnitude-bit lookup and apply the phase.
For each address j ∈ { 0 , … , q − 1 } j\in\{0,\ldots,q-1\} j ∈ { 0 , … , q − 1 } , the lookup flips B B B exactly when J = j J=j J = j and r x , j = 1 r_{x,j}=1 r x , j = 1 . Conjugating B B B by Hadamards turns these q q q generalized Toffoli gates into commuting generalized controlled-Z Z Z gates. We implement these controlled phases using the parity-based exact OR construction of [23 Theorem 1] and [Par25, Lemma 6.1]. The parity terms for all q q q controlled phases are computed into separate ancillas in a Clifford block. Then, all corresponding phase rotations are applied in one QNC0 ^0 0 layer, and the parity ancillas are then uncomputed. Hence the full addressed lookup lies in A 2 C Q \mathrm{A}_2\mathrm{CQ} A 2 CQ .
In the same QNC0 ^0 0 block, apply the phase e 2 π i θ x e^{2\pi i\theta_x} e 2 π i θ x . Writing θ x = ∑ k = 0 q − 1 2 − ( k + 1 ) θ x , k \theta_x=\sum_{k=0}^{q-1}2^{-(k+1)}\theta_{x,k} θ x = ∑ k = 0 q − 1 2 − ( k + 1 ) θ x , k , this is implemented by applying a one-qubit phase rotation of angle 2 π 2 − ( k + 1 ) 2\pi2^{-(k+1)} 2 π 2 − ( k + 1 ) to each phase bit θ x , k \theta_{x,k} θ x , k .
[A σ C Q \mathrm{A}_{\sigma}\mathrm{CQ} A σ CQ ] Apply U v † U_v^\dagger U v † to uncompute and apply W † W^\dagger W † to load the magnitude.
Apply U v † U_v^\dagger U v † to return the magnitude, phase, and oracle workspace registers exactly to zero. The address register J J J is disjoint from the oracle workspace, so the single QNC0 ^0 0 layer implementing W † W^\dagger W † can be scheduled in parallel with one arbitrary-gate block of U v † U_v^\dagger U v † .
Hence, applying U v † U_v^\dagger U v † and W † W^\dagger W † in parallel is in A σ C Q \mathrm{A}_{\sigma}\mathrm{CQ} A σ CQ .
Therefore the overall circuit for this single-trial amplitude loader is in A σ C Q ∘ A 2 C Q ∘ A σ C Q ⊆ A 2 σ + 2 C Q \mathrm{A}_{\sigma}\mathrm{CQ}\circ\mathrm{A}_2\mathrm{CQ}\circ\mathrm{A}_{\sigma}\mathrm{CQ}\subseteq\mathrm{A}_{2\sigma+2}\mathrm{CQ} A σ CQ ∘ A 2 CQ ∘ A σ CQ ⊆ A 2 σ + 2 CQ .
Preparing the equal superposition uses n n n Hadamard gates. Preparing and unpreparing ∣ w ⟩ |w\rangle ∣ w ⟩ uses O ( log q ) O(\log q) O ( log q ) one-qubit rotations, and applying the phase e 2 π i θ x e^{2\pi i\theta_x} e 2 π i θ x uses O ( q ) O(q) O ( q ) one-qubit rotations. For a fixed address j j j , the generalized controlled phase acts on d = log 2 q + 2 d=\log_2 q+2 d = log 2 q + 2 qubits, which uses O ( d 2 ) = O ( q log ( q + 1 ) ) O(d^2)=O(q\log(q+1)) O ( d 2 ) = O ( q log ( q + 1 )) gates and O ( 2 d ) = O ( q ) O(2^d)=O(q) O ( 2 d ) = O ( q ) ancilla qubits. The addressed magnitude-bit computation uses O ( q 2 log ( q + 1 ) ) O(q^2\log(q+1)) O ( q 2 log ( q + 1 )) additional gates and O ( q 2 ) O(q^2) O ( q 2 ) auxiliary qubits. All remaining operations contribute at most O ( n + q ) O(n+q) O ( n + q ) gates and O ( log q ) O(\log q) O ( log q ) ancillary qubits. Hence, besides the calls to U v U_v U v and U v † U_v^\dagger U v † , the complete single-trial circuit uses O ( n + q 2 log ( q + 1 ) ) O(n+q^2\log(q+1)) O ( n + q 2 log ( q + 1 )) additional gates and O ( q 2 ) O(q^2) O ( q 2 ) additional ancillary qubits.
Boosting success probability by parallel repetition and selection
Now that we have shown how to do one trial of the amplitude loader, we will boost its success probability by running multiple copies in parallel, and then coherently selecting one successful copy.
Fix a target failure probability p f a i l ∈ ( 0 , 1 ) p_{\mathrm{fail}}\in(0,1) p fail ∈ ( 0 , 1 ) . Suppose a single trial succeeds with probability at least p ≥ γ 2 p\ge\gamma^2 p ≥ γ 2 . The probability that all t t t trials fail is ( 1 − p ) t ≤ e − p t ≤ e − γ 2 t (1-p)^t\le e^{-pt}\le e^{-\gamma^2t} ( 1 − p ) t ≤ e − pt ≤ e − γ 2 t . Therefore, choosing t = ⌈ γ − 2 ln ( 1 / p f a i l ) ⌉ t=\lceil\gamma^{-2}\ln(1/p_{\mathrm{fail}})\rceil t = ⌈ γ − 2 ln ( 1/ p fail )⌉ ensures that the probability that all trials fail is at most p f a i l p_{\mathrm{fail}} p fail .
For trial i i i , denote its data, address, and flag registers by D ( i ) D^{(i)} D ( i ) , J ( i ) J^{(i)} J ( i ) , and B ( i ) B^{(i)} B ( i ) . Recall that a single trial succeeds when J ( i ) J^{(i)} J ( i ) is in the all-zero state and B ( i ) B^{(i)} B ( i ) is in ∣ 1 ⟩ |1\rangle ∣1 ⟩ . We coherently compute the success indicator succ ( i ) = 1 [ J ( i ) = 0 log 2 q and B ( i ) = 1 ] \operatorname{succ}^{(i)}=\mathbf{1}[J^{(i)}=0^{\log_2 q}\text{ and }B^{(i)}=1] succ ( i ) = 1 [ J ( i ) = 0 l o g 2 q and B ( i ) = 1 ] into a fresh ancilla qubit. Equivalently, succ ( i ) \operatorname{succ}^{(i)} succ ( i ) is the conjunction B ( i ) ∏ k = 1 log 2 q ( 1 − J k ( i ) ) B^{(i)}\prod_{k=1}^{\log_2 q}(1-J_k^{(i)}) B ( i ) ∏ k = 1 l o g 2 q ( 1 − J k ( i ) ) , where J k ( i ) J_k^{(i)} J k ( i ) denotes the k k k -th address qubit. Conceptually, this is a generalized Toffoli with log 2 q + 1 \log_2 q+1 log 2 q + 1 controls and one target, controlled on B ( i ) = 1 B^{(i)}=1 B ( i ) = 1 and J k ( i ) = 0 J_k^{(i)}=0 J k ( i ) = 0 for every address qubit k k k . By [23 ] and [Par25, Lemma 6.1], this can be implemented in A 2 C Q \mathrm{A}_2\mathrm{CQ} A 2 CQ .
Since several trials may succeed simultaneously, we will compute a selector bit indicating the first successful trial, sel ( i ) = succ ( i ) ∏ h < i ( 1 − succ ( h ) ) \operatorname{sel}^{(i)}=\operatorname{succ}^{(i)}\prod_{h<i}(1-\operatorname{succ}^{(h)}) sel ( i ) = succ ( i ) ∏ h < i ( 1 − succ ( h ) ) . sel ( i ) = 1 \operatorname{sel}^{(i)}=1 sel ( i ) = 1 exactly when trial i i i succeeds and every earlier trial fails. Therefore at most one selector bit is equal to one, and all selector bits are zero when all trials fail. Each selector is a conjunction of at most t t t literals, so by [Par25, Lemma 6.5], all selector bits can therefore be computed in parallel by a polynomial-size nonclean A 4 C Q \mathrm{A}_{4}\mathrm{CQ} A 4 CQ circuit.
Now we need to select and transfer the data register from the successful trial into an output register. To do this, we introduce a fresh n n n -qubit output register D o u t D^{\mathrm{out}} D out , initialized to the all-zero state. Since at most one of the t t t select bits is 1, we coherently swap D o u t D^{\mathrm{out}} D out with the unique selected data register D ( j ) D^{(j)} D ( j ) when s e l ( j ) = 1 \mathrm{sel}^{(j)}=1 sel ( j ) = 1 , and act trivially if all selector bits are zero. We will use the following circuit to do this.
Claim 5.3 (Selected register swap). Using the data, selector, and output registers defined above, there is a circuit in A 4 C Q \mathrm{A}_{4}\mathrm{CQ} A 4 CQ that swaps D o u t D^{\mathrm{out}} D out with D ( j ) D^{(j)} D ( j ) when s e l ( j ) = 1 \mathrm{sel}^{(j)}=1 sel ( j ) = 1 , while leaving all other data registers unchanged. If all selector qubits are 0, the circuit acts trivially.
Proof. For each trial i ∈ [ t ] i\in[t] i ∈ [ t ] , introduce an n n n -qubit temporary register T ( i ) T^{(i)} T ( i ) initialized to ∣ 0 n ⟩ \lvert0^{n}\rangle ∣ 0 n ⟩ . The swap is implemented in two A 2 C Q \mathrm{A}_{2}\mathrm{CQ} A 2 CQ stages: the first transfers the selected data register into D o u t D^{\mathrm{out}} D out via a temporary register, and the second clears the selected source register and the temporary register.
Suppose trial j j j is selected, so s e l ( j ) = 1 \mathrm{sel}^{(j)}=1 sel ( j ) = 1 , and write the state in its data register as ∣ ψ j ⟩ = ∑ z α z ∣ z ⟩ \lvert\psi_j\rangle=\sum_z\alpha_z\lvert z\rangle ∣ ψ j ⟩ = ∑ z α z ∣ z ⟩ .
[A 2 C Q \mathrm{A}_{2}\mathrm{CQ} A 2 CQ ] Transfer the selected data register into D o u t D^{\mathrm{out}} D out .
First fan out each selector qubit s e l ( i ) \mathrm{sel}^{(i)} sel ( i ) into n n n copies. Then, for every trial i ∈ [ t ] i\in[t] i ∈ [ t ] and bit position b ∈ [ n ] b\in[n] b ∈ [ n ] , combine the AND of s e l ( i ) \mathrm{sel}^{(i)} sel ( i ) and D b ( i ) D_b^{(i)} D b ( i ) into T b ( i ) T_b^{(i)} T b ( i ) . After fanout, all n t nt n t Toffolis act on disjoint triples of qubits, so their constant-depth one- and two-qubit decompositions can be performed in parallel in a single Q N C 0 \mathrm{QNC}^{0} QNC 0 block. Reverse the selector fanout afterward.
The temporary registers now contain T b ( i ) = s e l ( i ) D b ( i ) T_b^{(i)}=\mathrm{sel}^{(i)}D_b^{(i)} T b ( i ) = sel ( i ) D b ( i ) . In particular, since s e l ( j ) = 1 \mathrm{sel}^{(j)}=1 sel ( j ) = 1 , the selected registers evolve as
∣ ψ j ⟩ D ( j ) ∣ 0 n ⟩ T ( j ) ∣ 0 n ⟩ D o u t = ∑ z α z ∣ z ⟩ D ( j ) ∣ 0 n ⟩ T ( j ) ∣ 0 n ⟩ D o u t ⟼ ∑ z α z ∣ z ⟩ D ( j ) ∣ z ⟩ T ( j ) ∣ 0 n ⟩ D o u t . (37) \lvert\psi_j\rangle_{D^{(j)}}\lvert0^n\rangle_{T^{(j)}}\lvert0^n\rangle_{D^{\mathrm{out}}}
=\sum_z\alpha_z\lvert z\rangle_{D^{(j)}}\lvert0^n\rangle_{T^{(j)}}\lvert0^n\rangle_{D^{\mathrm{out}}}
\longmapsto\sum_z\alpha_z\lvert z\rangle_{D^{(j)}}\lvert z\rangle_{T^{(j)}}\lvert0^n\rangle_{D^{\mathrm{out}}}. \tag*{(37)} ∣ ψ j ⟩ D ( j ) ∣ 0 n ⟩ T ( j ) ∣ 0 n ⟩ D out = z ∑ α z ∣ z ⟩ D ( j ) ∣ 0 n ⟩ T ( j ) ∣ 0 n ⟩ D out ⟼ z ∑ α z ∣ z ⟩ D ( j ) ∣ z ⟩ T ( j ) ∣ 0 n ⟩ D out . (37) For every i ≠ j i\ne j i = j , s e l ( i ) = 0 \mathrm{sel}^{(i)}=0 sel ( i ) = 0 , so T ( i ) T^{(i)} T ( i ) remains zero.
Next XOR all T ( i ) T^{(i)} T ( i ) registers into the initially all-zero D o u t D^{\mathrm{out}} D out using CNOTs on corresponding qubits. Since only T ( j ) T^{(j)} T ( j ) is nonzero, (37) becomes
∑ z α z ∣ z ⟩ D ( j ) ∣ z ⟩ T ( j ) ∣ z ⟩ D o u t . (38) \sum_z\alpha_z\lvert z\rangle_{D^{(j)}}\lvert z\rangle_{T^{(j)}}\lvert z\rangle_{D^{\mathrm{out}}}. \tag*{(38)} z ∑ α z ∣ z ⟩ D ( j ) ∣ z ⟩ T ( j ) ∣ z ⟩ D out . (38) The above steps have the form Cliff − - − Q N C 0 \mathrm{QNC}^{0} QNC 0 − - − Cliff, and hence lies in A 2 C Q \mathrm{A}_{2}\mathrm{CQ} A 2 CQ .
[A 2 C Q \mathrm{A}_{2}\mathrm{CQ} A 2 CQ ] Clear the selected data and temporary register.
Fan out the selector qubits and the qubits of D o u t D^{\mathrm{out}} D out into enough copies that the following gates act on disjoint triples. For every i ∈ [ t ] i\in[t] i ∈ [ t ] and b ∈ [ n ] b\in[n] b ∈ [ n ] , apply in parallel one Toffoli controlled on s e l ( i ) \mathrm{sel}^{(i)} sel ( i ) and D b o u t D_b^{\mathrm{out}} D b out , targeting D b ( i ) D_b^{(i)} D b ( i ) , and a second Toffoli with the same logical controls targeting T b ( i ) T_b^{(i)} T b ( i ) .
Since s e l ( j ) = 1 \mathrm{sel}^{(j)}=1 sel ( j ) = 1 , these gates XOR the contents of D o u t D^{\mathrm{out}} D out into both D ( j ) D^{(j)} D ( j ) and T ( j ) T^{(j)} T ( j ) . Thus (38) transforms as
∑ z α z ∣ z ⟩ D ( j ) ∣ z ⟩ T ( j ) ∣ z ⟩ D o u t ⟼ ∑ z α z ∣ 0 n ⟩ D ( j ) ∣ 0 n ⟩ T ( j ) ∣ z ⟩ D o u t = ∣ 0 n ⟩ D ( j ) ∣ 0 n ⟩ T ( j ) ∣ ψ j ⟩ D o u t . (39) \sum_z\alpha_z\lvert z\rangle_{D^{(j)}}\lvert z\rangle_{T^{(j)}}\lvert z\rangle_{D^{\mathrm{out}}}
\longmapsto\sum_z\alpha_z\lvert0^n\rangle_{D^{(j)}}\lvert0^n\rangle_{T^{(j)}}\lvert z\rangle_{D^{\mathrm{out}}}
=\lvert0^n\rangle_{D^{(j)}}\lvert0^n\rangle_{T^{(j)}}\lvert\psi_j\rangle_{D^{\mathrm{out}}}. \tag*{(39)} z ∑ α z ∣ z ⟩ D ( j ) ∣ z ⟩ T ( j ) ∣ z ⟩ D out ⟼ z ∑ α z ∣ 0 n ⟩ D ( j ) ∣ 0 n ⟩ T ( j ) ∣ z ⟩ D out = ∣ 0 n ⟩ D ( j ) ∣ 0 n ⟩ T ( j ) ∣ ψ j ⟩ D out . (39) All unselected data registers are unchanged because their selector qubits are zero.
Finally, reverse the selector and output fanout circuits, returning all fanout workspace to zero. This stage is again in A 2 C Q \mathrm{A}_{2}\mathrm{CQ} A 2 CQ .
If all selector qubits are zero, no Toffoli acts nontrivially, so the circuit acts trivially.
Both above stages have the form Cliff − - − Q N C 0 \mathrm{QNC}^{0} QNC 0 − - − Cliff. When they are composed, the adjacent Clifford blocks merge into a single Clifford circuit. Hence the complete selected-register swap circuit lies in A 4 C Q \mathrm{A}_{4}\mathrm{CQ} A 4 CQ . □ \square □
Full amplitude-loader implementation
We now combine the single-trial loading circuit with the parallel repetition and coherent-selection procedure above to obtain the full amplitude loader of Definition 5.3. Given coherent access to a collection of amplitudes { v x } x ∈ { 0 , 1 } n \{v_x\}_{x\in\{0,1\}^n} { v x } x ∈ { 0 , 1 } n , the loader prepares a state arbitrarily close to the normalized state proportional to ∑ x v x ∣ x ⟩ \sum_x v_x|x\rangle ∑ x v x ∣ x ⟩ .
Let N = 2 n N=2^n N = 2 n , and let U v U_v U v be an amplitude oracle so that on input x x x it coherently outputs the polar encoding of an amplitude v x = r x e 2 π i θ x v_x=r_x e^{2\pi i\theta_x} v x = r x e 2 π i θ x , with r x r_x r x and θ x \theta_x θ x each represented by a q q q -bit binary fraction. Let v = ( v x ) x ∈ { 0 , 1 } n v=(v_x)_{x\in\{0,1\}^n} v = ( v x ) x ∈ { 0 , 1 } n .
Lemma 5.5 (Amplitude loading in MH). Suppose we are given access to an amplitude oracle U v U_v U v for v = ( v x ) x ∈ { 0 , 1 } n v=(v_x)_{x\in\{0,1\}^n} v = ( v x ) x ∈ { 0 , 1 } n and its inverse U v † U_v^\dagger U v † , where U v , U v † ∈ A σ C Q U_v,U_v^\dagger\in A_{\sigma}\mathrm{CQ} U v , U v † ∈ A σ CQ for even σ ≥ 10 \sigma\ge10 σ ≥ 10 . Assume that max x ∣ v x ∣ ≤ 1 \max_x|v_x|\le1 max x ∣ v x ∣ ≤ 1 and ∥ v ∥ ≥ γ N \lVert v\rVert\ge\gamma\sqrt{N} ∥ v ∥ ≥ γ N for some balance parameter γ ∈ ( 0 , 1 ] \gamma\in(0,1] γ ∈ ( 0 , 1 ] , and define ∣ v ^ ⟩ = 1 ∥ v ∥ ∑ x v x ∣ x ⟩ |\widehat v\rangle=\frac{1}{\lVert v\rVert}\sum_xv_x|x\rangle ∣ v ⟩ = ∥ v ∥ 1 ∑ x v x ∣ x ⟩ . For any error parameter δ l o a d ∈ ( 0 , 1 ) \delta_{\mathrm{load}}\in(0,1) δ load ∈ ( 0 , 1 ) , there exists an amplitude loader in A 2 σ + 4 C Q A_{2\sigma+4}\mathrm{CQ} A 2 σ + 4 CQ whose reduced output state ρ v \rho_v ρ v satisfies
1 2 ∥ ρ v − ∣ v ^ ⟩ ⟨ v ^ ∣ ∥ 1 ≤ δ l o a d . (40) \frac{1}{2}\lVert\rho_v-|\widehat v\rangle\langle\widehat v|\rVert_1\le\delta_{\mathrm{load}}. \tag*{(40)} 2 1 ∥ ρ v − ∣ v ⟩ ⟨ v ∣ ∥ 1 ≤ δ load . (40) The construction uses t = ⌈ γ − 2 ln ( 1 / δ l o a d ) ⌉ t=\lceil\gamma^{-2}\ln(1/\delta_{\mathrm{load}})\rceil t = ⌈ γ − 2 ln ( 1/ δ load )⌉ parallel repetitions of the single trial from Lemma 5.4 , and hence t t t parallel calls each to U v U_v U v and U v † U_v^\dagger U v † , together with O ( t q 2 log ( q + 1 ) + t 2 log ( t + 1 ) + n t ) O(tq^2\log(q+1)+t^2\log(t+1)+nt) O ( t q 2 log ( q + 1 ) + t 2 log ( t + 1 ) + n t ) additional gates and O ( t q 2 + t 2 log ( t + 1 ) + n t ) O(tq^2+t^2\log(t+1)+nt) O ( t q 2 + t 2 log ( t + 1 ) + n t ) additional ancilla qubits.
Proof. Recall that p f a i l p_{\mathrm{fail}} p fail denotes the target upper bound on the probability that all parallel trials fail. By § 7.5 , choosing t = ⌈ γ − 2 ln ( 1 / p f a i l ) ⌉ t=\lceil\gamma^{-2}\ln(1/p_{\mathrm{fail}})\rceil t = ⌈ γ − 2 ln ( 1/ p fail )⌉ ensures that the all-trials-fail probability is at most p f a i l p_{\mathrm{fail}} p fail .
We run t t t copies of the single-trial construction of Lemma 5.4 in parallel. On success, each trial prepares the target state ∣ v ^ ⟩ |\widehat v\rangle ∣ v ⟩ in its data register. Whenever at least one trial succeeds, the first successful trial is selected and Claim 5.3 transfers its data register to D o u t D_{\mathrm{out}} D out . Hence, after tracing out all other registers, the output state has the form
ρ v = ( 1 − ( 1 − p ) t ) ∣ v ^ ⟩ ⟨ v ^ ∣ + ( 1 − p ) t ρ b a d , (41) \rho_v=\left(1-(1-p)^t\right)|\widehat v\rangle\langle\widehat v|+(1-p)^t\rho_{\mathrm{bad}}, \tag*{(41)} ρ v = ( 1 − ( 1 − p ) t ) ∣ v ⟩ ⟨ v ∣ + ( 1 − p ) t ρ bad , (41)
where ρ b a d \rho_{\mathrm{bad}} ρ bad is the reduced output state conditioned on all trials failing. Hence
1 2 ∥ ρ v − ∣ v ^ ⟩ ⟨ v ^ ∣ ∥ 1 = 1 2 ∥ ( 1 − p ) t ( ρ b a d − ∣ v ^ ⟩ ⟨ v ^ ∣ ) ∥ 1 = 1 2 ( 1 − p ) t ∥ ρ b a d − ∣ v ^ ⟩ ⟨ v ^ ∣ ∥ 1 ≤ ( 1 − p ) t ≤ p f a i l . (42) \frac{1}{2}\lVert\rho_v-|\widehat v\rangle\langle\widehat v|\rVert_1=\frac{1}{2}\lVert(1-p)^t(\rho_{\mathrm{bad}}-|\widehat v\rangle\langle\widehat v|)\rVert_1=\frac{1}{2}(1-p)^t\lVert\rho_{\mathrm{bad}}-|\widehat v\rangle\langle\widehat v|\rVert_1\le(1-p)^t\le p_{\mathrm{fail}}. \tag*{(42)} 2 1 ∥ ρ v − ∣ v ⟩ ⟨ v ∣ ∥ 1 = 2 1 ∥( 1 − p ) t ( ρ bad − ∣ v ⟩ ⟨ v ∣ ) ∥ 1 = 2 1 ( 1 − p ) t ∥ ρ bad − ∣ v ⟩ ⟨ v ∣ ∥ 1 ≤ ( 1 − p ) t ≤ p fail . (42)
Setting p f a i l = δ l o a d p_{\mathrm{fail}}=\delta_{\mathrm{load}} p fail = δ load achieves the approximation guarantee of Equation (42) .
Magic-hierarchy level. Next we give the full low-depth implementation of the amplitude loader in MH and show that it lies in A 2 σ + 4 C Q A_{2\sigma+4}\mathrm{CQ} A 2 σ + 4 CQ .
Recall that each single trial lies in A 2 σ + 2 C Q A_{2\sigma+2}\mathrm{CQ} A 2 σ + 2 CQ . Running the t t t trials in parallel does not increase the MH depth since they act on disjoint registers. Computing the success indicators is in A 2 C Q A_2\mathrm{CQ} A 2 CQ , computing the selector bits is in A 4 C Q A_4\mathrm{CQ} A 4 CQ , and performing the selected-register swap is in A 4 C Q A_4\mathrm{CQ} A 4 CQ . Naively composing these procedures sequentially would therefore give an A 2 σ + 12 C Q A_{2\sigma+12}\mathrm{CQ} A 2 σ + 12 CQ implementation.
We reduce this depth by scheduling part of the selection and transfer procedure in parallel with the U v † U_v^\dagger U v † step in each trial. After copying the computational-basis contents of each data register into a fresh register, the registers used for the success-indicator computation, selector computation, and first half of the selected-register swap are disjoint from those on which U v † U_v^\dagger U v † acts.
As in the single-trial construction, W † W^\dagger W † occupies one Q N C 0 \mathrm{QNC}^0 QNC 0 layer of U v † U_v^\dagger U v † . The success-indicator computation, selector computation, and first half of the selected-register swap require one, two, and one additional Q N C 0 \mathrm{QNC}^0 QNC 0 layers, respectively, together with their intervening Clifford circuits.
We schedule these four Q N C 0 \mathrm{QNC}^0 QNC 0 layers, together with the one layer for W † W^\dagger W † , into the first five successive Q N C 0 \mathrm{QNC}^0 QNC 0 layers of U v † U_v^\dagger U v † . The Clifford parts of these constructions are scheduled in parallel with the existing Clifford layers between the corresponding Q N C 0 \mathrm{QNC}^0 QNC 0 layers of U v † U_v^\dagger U v † . Hence, when σ ≥ 10 \sigma\ge10 σ ≥ 10 , these steps fit within the existing A σ C Q A_\sigma\mathrm{CQ} A σ CQ implementation of U v † U_v^\dagger U v † . Therefore, the parallelized trials, together with the success-indicator computation, selector computation, and first half of the selected-register swap, remain within A 2 σ + 2 C Q A_{2\sigma+2}\mathrm{CQ} A 2 σ + 2 CQ .
The only additional depth comes from the second half of the selected-register swap of Claim 5.3, which clears the selected data and temporary registers in A 2 C Q A_2\mathrm{CQ} A 2 CQ . Together with the A 2 σ + 2 C Q A_{2\sigma+2}\mathrm{CQ} A 2 σ + 2 CQ above, the overall depth of the amplitude loader is thus A 2 σ + 4 C Q A_{2\sigma+4}\mathrm{CQ} A 2 σ + 4 CQ .
For completeness, we list out the full MH implementation below:
[Aσ _\sigma σ CQ] Run the forward part of all t t t trials in parallel. This consists of preparing the equal superpositions and address states and applying all copies of U v U_v U v . Since the trials act on disjoint registers, this remains in Aσ _\sigma σ CQ.
[A2 _2 2 CQ] Perform the addressed magnitude lookup for all trials in parallel. By Lemma 5.4, the lookup and phase application for one trial lie in A2 _2 2 CQ. Performing the corresponding gates for all t t t trials in parallel does not increase the magic-hierarchy level.
[Cliff] Copy each data register D ( i ) D^{(i)} D ( i ) into a fresh n n n -qubit register C ( i ) C^{(i)} C ( i ) using bitwise CNOTs. The copy registers C ( i ) C^{(i)} C ( i ) store only the computational-basis labels of the data registers. The inverse oracle U v † U_v^\dagger U v † leaves each label x x x unchanged while erasing its oracle workspace. Thus the operations on C ( i ) C^{(i)} C ( i ) can be carried out while U v † U_v^\dagger U v † acts on the original trial registers. After U v † U_v^\dagger U v † finishes, D ( i ) D^{(i)} D ( i ) and C ( i ) C^{(i)} C ( i ) still contain the same basis label, so C ( i ) C^{(i)} C ( i ) can later be erased by bitwise CNOTs from D ( i ) D^{(i)} D ( i ) .
[Aσ _\sigma σ CQ] Apply all copies of U v † U_v^\dagger U v † in parallel while carrying out the coherent selection procedure. During the arbitrary-gate layers of U v † U_v^\dagger U v † , we also perform W † W^\dagger W † , compute the success indicators, compute the selectors, and perform the first A2 _2 2 CQ stage of Claim 5.3 using the copied registers C ( i ) C^{(i)} C ( i ) . These operations require, respectively, one, one, two, and one arbitrary-gate layers, for a total of five. Since σ ≥ 10 \sigma\ge10 σ ≥ 10 , these five layers can be absorbed into U v † U_v^\dagger U v † , while adjacent Clifford blocks are merged.
[Cliff] After U v † U_v^\dagger U v † has erased the oracle workspace, erase each copy register C ( i ) C^{(i)} C ( i ) by applying bitwise CNOTs from D ( i ) D^{(i)} D ( i ) to C ( i ) C^{(i)} C ( i ) .
[A2 _2 2 CQ] Perform the second stage of Claim 5.3, clearing the selected source and temporary registers.
Each of the t t t parallel trials makes one call each to U v U_v U v and U v † U_v^\dagger U v † . By Lemma 5.4, the trials together use O ( t q 2 log ( q + 1 ) + n t ) O(tq^2\log(q+1)+nt) O ( t q 2 log ( q + 1 ) + n t ) additional gates. Computing all success indicators costs O ( t q log ( q + 1 ) ) O(tq\log(q+1)) O ( tq log ( q + 1 )) gates, and computing all selector bits uses O ( t 2 log ( t + 1 ) ) O(t^2\log(t+1)) O ( t 2 log ( t + 1 )) gates. Finally, copying and erasing the data registers and performing the selected-register swap use O ( n t ) O(nt) O ( n t ) additional gates. Thus the total number of additional gates is O ( t q 2 log ( q + 1 ) + t 2 log ( t + 1 ) + n t ) O(tq^2\log(q+1)+t^2\log(t+1)+nt) O ( t q 2 log ( q + 1 ) + t 2 log ( t + 1 ) + n t ) .
By Lemma 5.4, each trial uses O ( q 2 ) O(q^2) O ( q 2 ) additional ancilla qubits. Since the t t t trials are run in parallel on disjoint registers, they use O ( t q 2 ) O(tq^2) O ( t q 2 ) ancillas in total. For each trial, computing the success indicator uses 2 log q + 2 − 1 = O ( q ) 2^{\log q+2}-1=O(q) 2 l o g q + 2 − 1 = O ( q ) parity ancillas since each indicator acts on log q + 2 \log q+2 log q + 2 qubits. Thus all t t t success indicators use O ( t q ) O(tq) O ( tq ) ancillas. Each selector computation uses at most O ( t log ( t + 1 ) ) O(t\log(t+1)) O ( t log ( t + 1 )) ancillas, so the selector computations use O ( t 2 log ( t + 1 ) ) O(t^2\log(t+1)) O ( t 2 log ( t + 1 )) ancillas in total. The copied data registers, temporary registers, and fanout workspace used by the selected-register swap require O ( n t ) O(nt) O ( n t ) additional qubits. Hence the total number of additional ancilla qubits is O ( t q 2 + t 2 log ( t + 1 ) + n t ) O(tq^2+t^2\log(t+1)+nt) O ( t q 2 + t 2 log ( t + 1 ) + n t ) .
Low-depth preparation of the PRAL target states
We now combine the finite Poisson sampler from § 7.1 with the amplitude loader from § 7.4 to obtain low-depth preparation circuits for the target states ∣ ψ H ⟩ |\psi_H\rangle ∣ ψ H ⟩ . We first show this for an arbitrary function H H H with a low-depth coherent evaluator, and then instantiate H H H with the pseudorandom tape functions derived from the subexponentially secure PRF family underlying the PRAL family.
Recall that for a function H : { 0 , 1 } n → { 0 , 1 } R H:\{0,1\}^n\to\{0,1\}^R H : { 0 , 1 } n → { 0 , 1 } R , we set v x = Samp f i n ( H ( x ) ) v_x=\operatorname{Samp}_{\mathrm{fin}}(H(x)) v x = Samp fin ( H ( x )) and, for a fixed balance threshold γ \gamma γ , define the target state ∣ ψ H ⟩ |\psi_H\rangle ∣ ψ H ⟩ to be the normalized amplitude state proportional to ∑ x v x ∣ x ⟩ \sum_x v_x|x\rangle ∑ x v x ∣ x ⟩ when ∥ v ∥ ≥ γ N \|v\|\ge\gamma\sqrt{N} ∥ v ∥ ≥ γ N , and ∣ 0 n ⟩ |0^n\rangle ∣ 0 n ⟩ otherwise, as in Definition 3.2 .
Corollary 5.5.1 (Low-depth preparation of the target states). Fix H : { 0 , 1 } n → { 0 , 1 } R H:\{0,1\}^n\to\{0,1\}^R H : { 0 , 1 } n → { 0 , 1 } R and let ∣ ψ H ⟩ |\psi_H\rangle ∣ ψ H ⟩ be the target state defined above. Suppose H H H has a coherent evaluation circuit U H , U H † ∈ A k H U_H,U_H^\dagger\in A_{k_H} U H , U H † ∈ A k H CQ for even k H ≥ 2 k_H\ge2 k H ≥ 2 . Then, for any error parameter δ o a d ∈ ( 0 , 1 ) \delta_{\mathrm{oad}}\in(0,1) δ oad ∈ ( 0 , 1 ) , there exists a circuit in A2 k H + 20 _{2k_H+20} 2 k H + 20 CQ whose reduced output state ρ H \rho_H ρ H satisfies
1 2 ∥ ρ H − ∣ ψ H ⟩ ⟨ ψ H ∣ ∥ 1 ≤ δ o a d . (43) \frac{1}{2}\left\|\rho_H-|\psi_H\rangle\langle\psi_H|\right\|_1\le\delta_{\mathrm{oad}}. \tag*{(43)} 2 1 ∥ ρ H − ∣ ψ H ⟩ ⟨ ψ H ∣ ∥ 1 ≤ δ oad . (43)
If the coherent evaluator for H H H has polynomial size and uses polynomially many ancilla qubits, and the sampler and loader parameters are polynomially bounded, then the preparation circuit has polynomial size and uses polynomially many ancilla qubits.
Proof. Let v x = Samp f i n ( H ( x ) ) v_x = \operatorname{Samp}_{\mathrm{fin}}(H(x)) v x = Samp fin ( H ( x )) . First coherently evaluate H ( x ) H(x) H ( x ) and then apply the nonclean finite Poisson sampler of Corollary 5.3.1 to the resulting tape. This gives an amplitude oracle
U v ∣ x ⟩ ∣ 0 ⟩ = ∣ x ⟩ ∣ junk x ⟩ ∣ enc ( v x ) ⟩ . (44) U_v \lvert x\rangle\lvert0\rangle= \lvert x\rangle\lvert\operatorname{junk}_x\rangle\lvert\operatorname{enc}(v_x)\rangle. \tag*{(44)} U v ∣ x ⟩ ∣ 0 ⟩ = ∣ x ⟩ ∣ junk x ⟩ ∣ enc ( v x )⟩ . (44)
The evaluator for H H H lies in A k H C Q \mathsf{A}_{k_H}\mathsf{CQ} A k H CQ and the sampler lies in A 8 C Q \mathsf{A}_8\mathsf{CQ} A 8 CQ . Their adjacent Clifford layers merge, so U v ∈ A k H + 8 C Q U_v \in\mathsf{A}_{k_H+8}\mathsf{CQ} U v ∈ A k H + 8 CQ . Reversing the construction gives U v † U_v^\dagger U v † at the same level.
If ∥ v ∥ ≥ γ N \lVert v\rVert\ge\gamma\sqrt{N} ∥ v ∥ ≥ γ N , then ∣ ψ H ⟩ = ∣ v ^ ⟩ \lvert\psi_H\rangle= \lvert\widehat{v}\rangle ∣ ψ H ⟩ = ∣ v ⟩ by Definition 3.2 . Since k H + 8 ≥ 10 k_H + 8 \ge10 k H + 8 ≥ 10 , Lemma 5.5 applies with σ = k H + 8 \sigma= k_H + 8 σ = k H + 8 , giving the stated approximation in A 2 ( k H + 8 ) + 4 C Q = A 2 k H + 20 C Q \mathsf{A}_{2(k_H+8)+4}\mathsf{CQ} = \mathsf{A}_{2k_H+20}\mathsf{CQ} A 2 ( k H + 8 ) + 4 CQ = A 2 k H + 20 CQ . If ∥ v ∥ < γ N \lVert v\rVert< \gamma\sqrt{N} ∥ v ∥ < γ N , then ∣ ψ H ⟩ = ∣ 0 n ⟩ \lvert\psi_H\rangle= \lvert0^n\rangle ∣ ψ H ⟩ = ∣ 0 n ⟩ and a trivial Clifford circuit prepares it exactly. Since this is an existence statement for each fixed H H H , no circuit for testing ∥ v ∥ \lVert v\rVert ∥ v ∥ is required.
Let S s a m p S_{\mathrm{samp}} S samp and A s a m p A_{\mathrm{samp}} A samp denote the gate and ancilla counts of one instance of the finite Poisson sampler, and let S l o a d S_{\mathrm{load}} S load and A l o a d A_{\mathrm{load}} A load denote the additional gate and ancilla counts of the amplitude loader, excluding its amplitude-oracle calls. If the coherent evaluator for H H H has size S H S_H S H and uses A H A_H A H ancilla qubits, then the end-to-end construction uses 2 t ( S H + S s a m p ) + S l o a d 2t(S_H + S_{\mathrm{samp}}) + S_{\mathrm{load}} 2 t ( S H + S samp ) + S load gates and t ( A H + A s a m p ) + A l o a d t(A_H + A_{\mathrm{samp}}) + A_{\mathrm{load}} t ( A H + A samp ) + A load ancilla qubits, where t = ⌈ γ − 2 ln ( 1 / δ l o a d ) ⌉ t = \lceil\gamma^{-2}\ln(1/\delta_{\mathrm{load}})\rceil t = ⌈ γ − 2 ln ( 1/ δ load )⌉ . By Corollary 5.3.1 , S s a m p S_{\mathrm{samp}} S samp and A s a m p A_{\mathrm{samp}} A samp are polynomial in q q q and K max K_{\max} K m a x , while Lemma 5.5 gives polynomial bounds on S l o a d S_{\mathrm{load}} S load and A l o a d A_{\mathrm{load}} A load in n n n , q q q , and t t t . Thus, if S H S_H S H and A H A_H A H are polynomially bounded, q q q and K max K_{\max} K m a x are polynomially bounded, and γ − 1 \gamma^{-1} γ − 1 and log ( 1 / δ l o a d ) \log(1/\delta_{\mathrm{load}}) log ( 1/ δ load ) are polynomially bounded, then the entire preparation circuit has polynomial size and uses polynomially many ancilla qubits.
We now specialize Corollary 5.5.1 to the pseudorandom tape functions used in Theorem 4.5 to establish implementability of the PRAL family.
Corollary 5.5.2 (Low-depth implementation of the PRAL family). Suppose the subexponentially secure PRF family G G G used in Theorem 4.5 is computable by polynomial-size depth-d F d_F d F T C 0 \mathsf{TC}^0 TC 0 circuits. Then the resulting PRAL family is efficiently e − n e^{-n} e − n -approximately M H 8 d F + 20 \mathsf{MH}_{8d_F+20} MH 8 d F + 20 -preparable.
Proof. For a fixed key k k k , recall that the tape function used in the construction is F k ( x ) = prefix R ( G m , k ( 0 m − n x ) ) F_k(x) = \operatorname{prefix}_R\left(G_{m,k}(0^{m-n}x)\right) F k ( x ) = prefix R ( G m , k ( 0 m − n x ) ) . Fixing the key, padding the input by zeros, and retaining only the first R R R output bits do not increase the T C 0 \mathsf{TC}^0 TC 0 depth. By the nonclean simulation of depth-d F d_F d F T C 0 \mathsf{TC}^0 TC 0 circuits in A 4 d F C Q \mathsf{A}_{4d_F}\mathsf{CQ} A 4 d F CQ from [25], Lemma 6.3, each F k F_k F k therefore has a polynomial-size coherent evaluator in A 4 d F C Q \mathsf{A}_{4d_F}\mathsf{CQ} A 4 d F CQ . For the sampler parameters of Theorem 4.5 , μ , K max = O ( n + λ ) \mu, K_{\max} = O(n+\lambda) μ , K m a x = O ( n + λ ) , q = O ( n + λ + T ) q = O(n+\lambda+T) q = O ( n + λ + T ) , and γ = 1 / ( 2 μ ) \gamma= 1/(2\sqrt{\mu}) γ = 1/ ( 2 μ ) . Set δ l o a d = e − n \delta_{\mathrm{load}} = e^{-n} δ load = e − n . Then t = ⌈ γ − 2 ln ( 1 / δ l o a d ) ⌉ = ⌈ 4 μ n ⌉ = O ( n ( n + λ ) ) t = \lceil\gamma^{-2}\ln(1/\delta_{\mathrm{load}})\rceil= \lceil4\mu n\rceil= O(n(n+\lambda)) t = ⌈ γ − 2 ln ( 1/ δ load )⌉ = ⌈ 4 μ n ⌉ = O ( n ( n + λ )) , so all resource parameters in Corollary 5.5.1 remain polynomially bounded. Applying Corollary 5.5.1 with H = F k H = F_k H = F k and k H = 4 d F k_H = 4d_F k H = 4 d F , every state in the support of the secure ensemble has a polynomial-size preparation circuit using polynomially many ancilla qubits in A 2 ( 4 d F ) + 20 C Q = A 8 d F + 20 C Q \mathsf{A}_{2(4d_F)+20}\mathsf{CQ} = \mathsf{A}_{8d_F+20}\mathsf{CQ} A 2 ( 4 d F ) + 20 CQ = A 8 d F + 20 CQ , whose reduced output is within trace distance e − n e^{-n} e − n of the corresponding target state. Hence the ensemble is efficiently e − n e^{-n} e − n -approximately M H 8 d F + 20 \mathsf{MH}_{8d_F+20} MH 8 d F + 20 -preparable.
Combining Corollary 5.5.2 with Theorem 2.1, the quantum natural-proofs barrier holds against polynomial-size M H 8 d F + 20 \mathsf{MH}_{8d_F+20} MH 8 d F + 20 circuits.
Theorem 5.6 (Main theorem: natural proofs barrier against MH). Fix a constant d F ≥ 1 d_F \ge1 d F ≥ 1 . Suppose there exists a classically subexponentially secure PRF family G G G in the sense of Definition 4.1, whose functions are computable by polynomial-size depth-d F d_F d F threshold circuits.
Then there exists a PRAL family that is efficiently e − n e^{-n} e − n -approximately M H 8 d F + 20 \mathsf{MH}_{8d_F+20} MH 8 d F + 20 -preparable. Consequently, no natural promise property is e − n e^{-n} e − n -useful against ( M H 8 d F + 20 ) (\mathsf{MH}_{8d_F+20}) ( MH 8 d F + 20 ) -poly.
Proof. Use the finite Poisson sampler of Corollary 5.3.1 , with the security parameters verified immediately afterward. This sampler satisfies the assumptions of Theorem 4.5 , so the resulting target-state distributions form a PRAL family.
For these same target distributions, Corollary 5.5.2 gives efficient e − n e^{-n} e − n -approximate preparation in M H 8 d F + 20 \mathsf{MH}_{8d_F+20} MH 8 d F + 20 . The claimed obstruction then follows from Theorem 2.1.
Examples and nonexamples of quantum natural proofs
In this section, we present several examples of natural properties satisfying Definition 2.2 .
Pauli expectations
We begin with a simple example based on Pauli expectations, expanding upon the example from the introduction. A pure stabilizer state has many nonidentity Pauli expectations with absolute value one. On the other hand, for any fixed nonidentity Pauli, a Haar-random state has almost equal weight on its + 1 +1 + 1 and − 1 -1 − 1 eigenspaces, so the corresponding expectation is overwhelmingly likely to be small. This suggests using the largest nonidentity Pauli expectation to distinguish stabilizer states from typical states.
Let P n = { I , X , Y , Z } ⊗ n \mathcal{P}_n = \{I, X, Y, Z\}^{\otimes n} P n = { I , X , Y , Z } ⊗ n be the phase-free n n n -qubit Pauli operators, and define
M ( ψ ) = max P ∈ P n ∖ { I } ∣ ⟨ ψ ∣ P ∣ ψ ⟩ ∣ 2 . (45) M(\psi) = \max_{P \in\mathcal{P}_n \setminus\{I\}} \lvert\langle\psi\vert P \vert\psi\rangle\rvert^2 . \tag*{(45)} M ( ψ ) = P ∈ P n ∖ { I } max ∣⟨ ψ ∣ P ∣ ψ ⟩ ∣ 2 . (45)
Define the associated promise property by
P n y e s = { ∣ ψ ⟩ : M ( ψ ) ≤ 1 / 4 } , P n n o = { ∣ ψ ⟩ : M ( ψ ) ≥ 3 / 4 } (46) \mathcal{P}^{\mathrm{yes}}_n = \{\lvert\psi\rangle: M(\psi) \le1/4\}, \qquad\mathcal{P}^{\mathrm{no}}_n = \{\lvert\psi\rangle: M(\psi) \ge3/4\} \tag*{(46)} P n yes = {∣ ψ ⟩ : M ( ψ ) ≤ 1/4 } , P n no = {∣ ψ ⟩ : M ( ψ ) ≥ 3/4 } (46)
These sets are disjoint and invariant under global phase. We use squared expectations here because their values can be computed exactly from a rational amplitude list. The constant gap makes the property robust to amplitude truncation and approximate state preparation.
Claim 6.1 (Pauli-expectation property). Let ε : N → [ 0 , 1 / 16 ] \varepsilon: \mathbb{N} \to[0, 1/16] ε : N → [ 0 , 1/16 ] . The above promise property ( P n y e s , P n n o ) (\mathcal{P}^{\mathrm{yes}}_n, \mathcal{P}^{\mathrm{no}}_n) ( P n yes , P n no ) is natural and is ε \varepsilon ε -useful against Clifford state preparation, even when ancillary output qubits may be discarded.
Proof. Constructivity. To satisfy constructivity, we give a deterministic tester that decides the promise property from a sufficiently precise amplitude list. Let τ ( n ) : = n + 6 \tau(n) := n + 6 τ ( n ) := n + 6 be the minimum number of fractional bits of precision required by the tester. Given 1 n 1^n 1 n and a truncated amplitude list al T ( ψ ) \operatorname{al}_T(\psi) al T ( ψ ) with T ≥ τ ( n ) T \ge\tau(n) T ≥ τ ( n ) , let v : = al T ( ψ ) v := \operatorname{al}_T(\psi) v := al T ( ψ ) denote the truncated amplitude vector. From v v v , compute M ~ ( v ) : = max P ∈ P n ∖ { I } ∣ ⟨ v ∣ P ∣ v ⟩ ∣ 2 \widetilde{M}(v) := \max_{P \in\mathcal{P}_n \setminus\{I\}} \lvert\langle v \vert P \vert v\rangle\rvert^2 M ( v ) := max P ∈ P n ∖ { I } ∣⟨ v ∣ P ∣ v ⟩ ∣ 2 , where the tilde distinguishes this truncated-input statistic from the true value M ( ψ ) M(\psi) M ( ψ ) . The tester accepts when M ~ ( v ) ≤ 1 / 2 \widetilde{M}(v) \le1/2 M ( v ) ≤ 1/2 and rejects otherwise.
We now bound the error between M ~ ( v ) \widetilde{M}(v) M ( v ) and M ( ψ ) M(\psi) M ( ψ ) . By Definition 2.1, truncating each amplitude to T T T fractional bits gives ∥ v − ∣ ψ ⟩ ∥ 2 ≤ 2 ( n + 1 ) / 2 − T \lVert v-\lvert\psi\rangle\rVert_2 \le2^{(n+1)/2-T} ∥ v − ∣ ψ ⟩ ∥ 2 ≤ 2 ( n + 1 ) /2 − T . Let δ T : = 2 ( n + 1 ) / 2 − T \delta_T := 2^{(n+1)/2-T} δ T := 2 ( n + 1 ) /2 − T denote this upper bound on the amplitude list truncation error. Since T ≥ τ ( n ) = n + 6 T \ge\tau(n) = n+6 T ≥ τ ( n ) = n + 6 , we have δ T ≤ 1 / 64 \delta_T \le1/64 δ T ≤ 1/64 . The triangle inequality then gives ∥ v ∥ 2 ≤ ∥ ψ ∥ 2 + ∥ v − ψ ∥ 2 ≤ 1 + δ T \lVert v\rVert_2 \le\lVert\psi\rVert_2 + \lVert v-\psi\rVert_2 \le1+\delta_T ∥ v ∥ 2 ≤ ∥ ψ ∥ 2 + ∥ v − ψ ∥ 2 ≤ 1 + δ T . To compare M ~ ( v ) \widetilde{M}(v) M ( v ) with M ( ψ ) M(\psi) M ( ψ ) , we first bound the change in the squared expectation of a fixed Pauli. Fix P ∈ P n ∖ { I } P \in\mathcal{P}_n \setminus\{I\} P ∈ P n ∖ { I } . Adding and subtracting ⟨ v ∣ P ∣ ψ ⟩ \langle v \vert P \vert\psi\rangle ⟨ v ∣ P ∣ ψ ⟩ gives ⟨ ψ ∣ P ∣ ψ ⟩ − ⟨ v ∣ P ∣ v ⟩ = ⟨ ψ − v ∣ P ∣ ψ ⟩ + ⟨ v ∣ P ∣ ψ − v ⟩ \langle\psi\vert P \vert\psi\rangle- \langle v \vert P \vert v\rangle= \langle\psi-v \vert P \vert\psi\rangle+ \langle v \vert P \vert\psi-v\rangle ⟨ ψ ∣ P ∣ ψ ⟩ − ⟨ v ∣ P ∣ v ⟩ = ⟨ ψ − v ∣ P ∣ ψ ⟩ + ⟨ v ∣ P ∣ ψ − v ⟩ . Applying the triangle inequality and Cauchy–Schwarz, and using that P P P is unitary, gives ∣ ⟨ ψ ∣ P ∣ ψ ⟩ − ⟨ v ∣ P ∣ v ⟩ ∣ ≤ ∥ ψ − v ∥ 2 ∥ ψ ∥ 2 + ∥ v ∥ 2 ∥ ψ − v ∥ 2 \lvert\langle\psi\vert P \vert\psi\rangle-\langle v \vert P \vert v\rangle\rvert\le\lVert\psi-v\rVert_2\lVert\psi\rVert_2 + \lVert v\rVert_2\lVert\psi-v\rVert_2 ∣⟨ ψ ∣ P ∣ ψ ⟩ − ⟨ v ∣ P ∣ v ⟩∣ ≤ ∥ ψ − v ∥ 2 ∥ ψ ∥ 2 + ∥ v ∥ 2 ∥ ψ − v ∥ 2 . Since ∥ ψ ∥ 2 = 1 \lVert\psi\rVert_2=1 ∥ ψ ∥ 2 = 1 , ∥ ψ − v ∥ 2 ≤ δ T \lVert\psi-v\rVert_2 \le\delta_T ∥ ψ − v ∥ 2 ≤ δ T , and ∥ v ∥ 2 ≤ 1 + δ T \lVert v\rVert_2 \le1+\delta_T ∥ v ∥ 2 ≤ 1 + δ T , the difference is at most δ T ( 2 + δ T ) < 3 δ T \delta_T(2+\delta_T)<3\delta_T δ T ( 2 + δ T ) < 3 δ T . Since ∣ ⟨ ψ ∣ P ∣ ψ ⟩ ∣ ≤ 1 \lvert\langle\psi\vert P \vert\psi\rangle\rvert\le1 ∣⟨ ψ ∣ P ∣ ψ ⟩∣ ≤ 1 , the bound above gives ∣ ⟨ v ∣ P ∣ v ⟩ ∣ ≤ 1 + 3 δ T \lvert\langle v \vert P \vert v\rangle\rvert\le1+3\delta_T ∣⟨ v ∣ P ∣ v ⟩∣ ≤ 1 + 3 δ T . Therefore,
∣ ∣ ⟨ ψ ∣ P ∣ ψ ⟩ ∣ 2 − ∣ ⟨ v ∣ P ∣ v ⟩ ∣ 2 ∣ ≤ ( ∣ ⟨ ψ ∣ P ∣ ψ ⟩ ∣ + ∣ ⟨ v ∣ P ∣ v ⟩ ∣ ) ∣ ∣ ⟨ ψ ∣ P ∣ ψ ⟩ ∣ − ∣ ⟨ v ∣ P ∣ v ⟩ ∣ ∣ ≤ ( 2 + 3 δ T ) 3 δ T < 1 8 . (47) \left|\lvert\langle\psi\vert P \vert\psi\rangle\rvert^2-\lvert\langle v \vert P \vert v\rangle\rvert^2\right|
\le\left(\lvert\langle\psi\vert P \vert\psi\rangle\rvert+\lvert\langle v \vert P \vert v\rangle\rvert\right)\left|\lvert\langle\psi\vert P \vert\psi\rangle\rvert-\lvert\langle v \vert P \vert v\rangle\rvert\right|
\le(2+3\delta_T)3\delta_T < \frac{1}{8}. \tag*{(47)} ∣⟨ ψ ∣ P ∣ ψ ⟩ ∣ 2 − ∣⟨ v ∣ P ∣ v ⟩ ∣ 2 ≤ ( ∣⟨ ψ ∣ P ∣ ψ ⟩∣ + ∣⟨ v ∣ P ∣ v ⟩∣ ) ∣ ∣⟨ ψ ∣ P ∣ ψ ⟩∣ − ∣⟨ v ∣ P ∣ v ⟩∣ ∣ ≤ ( 2 + 3 δ T ) 3 δ T < 8 1 . (47)
This bound holds for every nonidentity Pauli, the maximum remains bounded by < 1 / 8 <1/8 < 1/8 . If ∣ ψ ⟩ ∈ P n y e s \lvert\psi\rangle\in\mathcal{P}^{\mathrm{yes}}_n ∣ ψ ⟩ ∈ P n yes , then M ( ψ ) ≤ 1 / 4 M(\psi)\le1/4 M ( ψ ) ≤ 1/4 , so M ~ ( v ) < 3 / 8 \widetilde{M}(v)<3/8 M ( v ) < 3/8 . If ∣ ψ ⟩ ∈ P n n o \lvert\psi\rangle\in\mathcal{P}^{\mathrm{no}}_n ∣ ψ ⟩ ∈ P n no , then M ( ψ ) ≥ 3 / 4 M(\psi)\ge3/4 M ( ψ ) ≥ 3/4 , so M ~ ( v ) > 5 / 8 \widetilde{M}(v)>5/8 M ( v ) > 5/8 . The threshold 1 / 2 1/2 1/2 therefore correctly separates the two promise sets.
The tester also runs in time polynomial in the length of the amplitude list. The entries of v v v are rational complex numbers, so each value ∣ ⟨ v ∣ P ∣ v ⟩ ∣ 2 \lvert\langle v \vert P \vert v\rangle\rvert^2 ∣⟨ v ∣ P ∣ v ⟩ ∣ 2 can be computed exactly. Each n n n -qubit Pauli is a 2 n × 2 n 2^n \times2^n 2 n × 2 n matrix with entries in { 0 , ± 1 , ± i } \{0,\pm1,\pm\mathrm{i}\} { 0 , ± 1 , ± i } . More specifically, each Pauli permutation-matrix permutes computational-basis states up to phases in { ± 1 , ± i } \{\pm1,\pm\mathrm{i}\} { ± 1 , ± i } , so computing one expectation ⟨ v ∣ P ∣ v ⟩ \langle v \vert P \vert v\rangle ⟨ v ∣ P ∣ v ⟩ requires O ( 2 n ) O(2^n) O ( 2 n ) arithmetic operations. There are 4 n − 1 4^n-1 4 n − 1 nonidentity Paulis, so computing M ~ ( v ) \widetilde{M}(v) M ( v ) requires O ( 8 n ) O(8^n) O ( 8 n ) arithmetic operations, with polynomial overhead in T + n T+n T + n for exact rational arithmetic. Since the amplitude list has length Θ ( 2 n T ) \Theta(2^nT) Θ ( 2 n T ) , this running time is polynomial in the total input length.
Largeness. Fix a nonidentity Pauli P P P . Its + 1 +1 + 1 and − 1 -1 − 1 eigenspaces have equal dimension, so ⟨ ψ ∣ P ∣ ψ ⟩ \langle\psi|P|\psi\rangle ⟨ ψ ∣ P ∣ ψ ⟩ measures the imbalance of the state’s weight between two equal-dimensional halves of the Hilbert space. For a Haar-random state, this imbalance is sharply concentrated around zero. In particular, Example 54 of [24 ] shows that for every ε > 0 \varepsilon> 0 ε > 0 , Pr ψ ∼ H a a r n [ ∣ ⟨ ψ ∣ P ∣ ψ ⟩ ∣ ≥ ε ] ≤ 2 exp ( − 2 n ε 2 / ( 18 π 3 ) ) \Pr_{\psi\sim\mathrm{Haar}_n}[|\langle\psi|P|\psi\rangle|\ge\varepsilon]\le2\exp(-2^n\varepsilon^2/(18\pi^3)) Pr ψ ∼ Haar n [ ∣ ⟨ ψ ∣ P ∣ ψ ⟩ ∣ ≥ ε ] ≤ 2 exp ( − 2 n ε 2 / ( 18 π 3 )) . Taking ε = 1 / 2 \varepsilon=1/2 ε = 1/2 , and using that ∣ ⟨ ψ ∣ P ∣ ψ ⟩ ∣ 2 ≥ 1 / 4 |\langle\psi|P|\psi\rangle|^2\ge1/4 ∣ ⟨ ψ ∣ P ∣ ψ ⟩ ∣ 2 ≥ 1/4 if and only if ∣ ⟨ ψ ∣ P ∣ ψ ⟩ ∣ ≥ 1 / 2 |\langle\psi|P|\psi\rangle|\ge1/2 ∣ ⟨ ψ ∣ P ∣ ψ ⟩ ∣ ≥ 1/2 , we obtain Pr ψ ∼ H a a r n [ ∣ ⟨ ψ ∣ P ∣ ψ ⟩ ∣ 2 ≥ 1 / 4 ] ≤ 2 exp ( − 2 n / ( 72 π 3 ) ) ≤ exp ( − Ω ( 2 n ) ) \Pr_{\psi\sim\mathrm{Haar}_n}[|\langle\psi|P|\psi\rangle|^2\ge1/4]\le2\exp(-2^n/(72\pi^3))\le\exp(-\Omega(2^n)) Pr ψ ∼ Haar n [ ∣ ⟨ ψ ∣ P ∣ ψ ⟩ ∣ 2 ≥ 1/4 ] ≤ 2 exp ( − 2 n / ( 72 π 3 )) ≤ exp ( − Ω ( 2 n )) . There are 4 n − 1 4^n-1 4 n − 1 nonidentity Paulis, so taking a union bound gives Pr ψ ∼ H a a r n [ M ( ψ ) ≥ 1 / 4 ] ≤ 2 ( 4 n − 1 ) exp ( − 2 n / ( 72 π 3 ) ) ≤ exp ( − Ω ( 2 n ) ) \Pr_{\psi\sim\mathrm{Haar}_n}[M(\psi)\ge1/4]\le2(4^n-1)\exp(-2^n/(72\pi^3))\le\exp(-\Omega(2^n)) Pr ψ ∼ Haar n [ M ( ψ ) ≥ 1/4 ] ≤ 2 ( 4 n − 1 ) exp ( − 2 n / ( 72 π 3 )) ≤ exp ( − Ω ( 2 n )) . Hence a Haar-random state lies in P n o \mathcal{P}_n^{\mathrm{o}} P n o with overwhelming probability.
Usefulness. Fix n n n . Suppose a Clifford circuit acting on an all-zero input has reduced output σ \sigma σ on the designated n n n -qubit output register, after discarding any ancillary output qubits, and let ∣ ψ ⟩ |\psi\rangle ∣ ψ ⟩ be a pure target state satisfying D ( ∣ ψ ⟩ ⟨ ψ ∣ , σ ) = 1 2 ∥ ∣ ψ ⟩ ⟨ ψ ∣ − σ ∥ 1 ≤ ε ( n ) D(|\psi\rangle\langle\psi|,\sigma)=\frac{1}{2}\lVert|\psi\rangle\langle\psi|-\sigma\rVert_1\le\varepsilon(n) D ( ∣ ψ ⟩ ⟨ ψ ∣ , σ ) = 2 1 ∥ ∣ ψ ⟩ ⟨ ψ ∣ − σ ∥ 1 ≤ ε ( n ) , where ε ( n ) ≤ 1 / 16 \varepsilon(n)\le1/16 ε ( n ) ≤ 1/16 . We show that this forces ∣ ψ ⟩ |\psi\rangle ∣ ψ ⟩ to lie in P n o \mathcal{P}_n^{\mathrm{o}} P n o .
The joint output state before discarding the ancillary qubits is a pure stabilizer state. A reduced state of a pure stabilizer state is a normalized projector onto a stabilizer subspace. Thus σ = Π / r \sigma=\Pi/r σ = Π/ r , where Π \Pi Π is a projector onto a stabilizer subspace of rank r r r . We first show that the approximation guarantee forces r = 1 r=1 r = 1 . Consider the two-outcome measurement with projectors ∣ ψ ⟩ ⟨ ψ ∣ |\psi\rangle\langle\psi| ∣ ψ ⟩ ⟨ ψ ∣ and I − ∣ ψ ⟩ ⟨ ψ ∣ I-|\psi\rangle\langle\psi| I − ∣ ψ ⟩ ⟨ ψ ∣ . It accepts ∣ ψ ⟩ |\psi\rangle ∣ ψ ⟩ with probability 1 1 1 and σ \sigma σ with probability ⟨ ψ ∣ σ ∣ ψ ⟩ \langle\psi|\sigma|\psi\rangle ⟨ ψ ∣ σ ∣ ψ ⟩ . Since a measurement cannot increase trace distance, D ( ∣ ψ ⟩ ⟨ ψ ∣ , σ ) ≥ 1 − ⟨ ψ ∣ σ ∣ ψ ⟩ D(|\psi\rangle\langle\psi|,\sigma)\ge1-\langle\psi|\sigma|\psi\rangle D ( ∣ ψ ⟩ ⟨ ψ ∣ , σ ) ≥ 1 − ⟨ ψ ∣ σ ∣ ψ ⟩ . Since σ = Π / r \sigma=\Pi/r σ = Π/ r and Π \Pi Π is a projector, ⟨ ψ ∣ σ ∣ ψ ⟩ = 1 r ⟨ ψ ∣ Π ∣ ψ ⟩ ≤ 1 r \langle\psi|\sigma|\psi\rangle=\frac{1}{r}\langle\psi|\Pi|\psi\rangle\le\frac{1}{r} ⟨ ψ ∣ σ ∣ ψ ⟩ = r 1 ⟨ ψ ∣Π∣ ψ ⟩ ≤ r 1 . Therefore D ( ∣ ψ ⟩ ⟨ ψ ∣ , σ ) ≥ 1 − 1 r D(|\psi\rangle\langle\psi|,\sigma)\ge1-\frac{1}{r} D ( ∣ ψ ⟩ ⟨ ψ ∣ , σ ) ≥ 1 − r 1 . If r ≥ 2 r\ge2 r ≥ 2 , then 1 − 1 / r ≥ 1 / 2 1-1/r\ge1/2 1 − 1/ r ≥ 1/2 , so D ( ∣ ψ ⟩ ⟨ ψ ∣ , σ ) ≥ 1 / 2 D(|\psi\rangle\langle\psi|,\sigma)\ge1/2 D ( ∣ ψ ⟩ ⟨ ψ ∣ , σ ) ≥ 1/2 , contradicting ε ( n ) ≤ 1 / 16 \varepsilon(n)\le1/16 ε ( n ) ≤ 1/16 . Therefore r = 1 r=1 r = 1 , and σ \sigma σ is itself a pure stabilizer state.
A pure stabilizer state is stabilized by a nonidentity Pauli, so there exists P ∈ P n ∖ { I } P\in\mathcal{P}_n\setminus\{I\} P ∈ P n ∖ { I } such that ∣ Tr ( P σ ) ∣ = 1 |\operatorname{Tr}(P\sigma)|=1 ∣ Tr ( P σ ) ∣ = 1 . Since ∥ P ∥ o p = 1 \lVert P\rVert_{\mathrm{op}}=1 ∥ P ∥ op = 1 , trace-norm duality gives 1 2 ∣ Tr ( P σ ) − ⟨ ψ ∣ P ∣ ψ ⟩ ∣ ≤ D ( σ , ∣ ψ ⟩ ⟨ ψ ∣ ) ≤ ε ( n ) \frac{1}{2}|\operatorname{Tr}(P\sigma)-\langle\psi|P|\psi\rangle|\le D(\sigma,|\psi\rangle\langle\psi|)\le\varepsilon(n) 2 1 ∣ Tr ( P σ ) − ⟨ ψ ∣ P ∣ ψ ⟩ ∣ ≤ D ( σ , ∣ ψ ⟩ ⟨ ψ ∣ ) ≤ ε ( n ) . Hence ∣ ⟨ ψ ∣ P ∣ ψ ⟩ ∣ ≥ 1 − 2 ε ( n ) ≥ 7 / 8 |\langle\psi|P|\psi\rangle|\ge1-2\varepsilon(n)\ge7/8 ∣ ⟨ ψ ∣ P ∣ ψ ⟩ ∣ ≥ 1 − 2 ε ( n ) ≥ 7/8 , and therefore M ( ψ ) ≥ ( 7 / 8 ) 2 = 49 / 64 > 3 / 4 M(\psi)\ge(7/8)^2=49/64>3/4 M ( ψ ) ≥ ( 7/8 ) 2 = 49/64 > 3/4 . Thus ∣ ψ ⟩ ∈ P n o |\psi\rangle\in\mathcal{P}_n^{\mathrm{o}} ∣ ψ ⟩ ∈ P n o . Since n n n was arbitrary, this holds for every positive n n n , and in particular proves the required eventual membership. Hence the property is ε \varepsilon ε -useful against Clifford state preparation.
Approximate Pauli degree: CAT states and felinity
Anshu, Dong, Ou, and Yao [16 ] show that states prepared by constant-depth Q A C 0 \mathrm{QAC}^0 QAC 0 circuits with limited ancilla admit low-degree approximations in operator norm. For any state that does not admit such an approximation this implies a circuit lower bound.
We formalize this as a “high approximate degree” property, and explain why CAT states and, more generally, pure states with high felinity [25 ] satisfy this property. We then show that the certificate is natural. Throughout, the approximation is in operator norm; this is not a concentration statement about squared Pauli coefficients.
Distance from low-degree operators Let V k \mathcal{V}_k V k be the subspace of all n n n -qubit operators that are a sum of Hermitian operators that act nontrivially on at most k k k qubits. Equivalently, we could define it as the span of all Paulis of weight at most k k k .
For a pure state ∣ ψ ⟩ |\psi\rangle ∣ ψ ⟩ , write ψ = ∣ ψ ⟩ ⟨ ψ ∣ \psi=|\psi\rangle\langle\psi| ψ = ∣ ψ ⟩ ⟨ ψ ∣ and define Δ k ( ψ ) = inf A ∈ V k ∥ ψ − A ∥ o p \Delta_k(\psi)=\inf_{A\in\mathcal{V}_k}\lVert\psi-A\rVert_{\mathrm{op}} Δ k ( ψ ) = inf A ∈ V k ∥ ψ − A ∥ op , where ∥ ⋅ ∥ o p \lVert\cdot\rVert_{\mathrm{op}} ∥ ⋅ ∥ op denotes operator norm. Thus a large value of Δ k ( ψ ) \Delta_k(\psi) Δ k ( ψ ) means that no low-degree operator approximates the state’s density matrix well. Note that the approximating operator A A A need not be positive or have unit trace.
CAT states. Let ∣ C A T n ⟩ = ( ∣ 0 n ⟩ + ∣ 1 n ⟩ ) / 2 |\mathrm{CAT}_n\rangle=(|0^n\rangle+|1^n\rangle)/\sqrt{2} ∣ CAT n ⟩ = ( ∣ 0 n ⟩ + ∣ 1 n ⟩) / 2 and ρ C A T n = ∣ C A T n ⟩ ⟨ C A T n ∣ \rho_{\mathrm{CAT}_n}=|\mathrm{CAT}_n\rangle\langle\mathrm{CAT}_n| ρ CAT n = ∣ CAT n ⟩ ⟨ CAT n ∣ . Its projector has coherence between two strings that differ on every qubit: ⟨ 0 n ∣ ρ C A T n ∣ 1 n ⟩ = 1 / 2 \langle0^n|\rho_{\mathrm{CAT}_n}|1^n\rangle=1/2 ⟨ 0 n ∣ ρ CAT n ∣ 1 n ⟩ = 1/2 . No Pauli string of weight less than n n n can contribute to this matrix element. Such a string has an identity factor on some qubit, giving a factor ⟨ 0 ∣ I ∣ 1 ⟩ = 0 \langle0|I|1\rangle=0 ⟨ 0∣ I ∣1 ⟩ = 0 . Consequently, ⟨ 0 n ∣ A ∣ 1 n ⟩ = 0 \langle0^n|A|1^n\rangle=0 ⟨ 0 n ∣ A ∣ 1 n ⟩ = 0 for every A ∈ V k A\in\mathcal{V}_k A ∈ V k , k < n k<n k < n .
The link to approximate degree is that operator norm bounds every matrix element between normalized vectors. Hence every such A A A satisfies ∥ ρ C A T n − A ∥ o p ≥ ∣ ⟨ 0 n ∣ ( ρ C A T n − A ) ∣ 1 n ⟩ ∣ = 1 / 2 \lVert\rho_{\mathrm{CAT}_n}-A\rVert_{\mathrm{op}}\ge|\langle0^n|(\rho_{\mathrm{CAT}_n}-A)|1^n\rangle|=1/2 ∥ ρ CAT n − A ∥ op ≥ ∣ ⟨ 0 n ∣ ( ρ CAT n − A ) ∣ 1 n ⟩ ∣ = 1/2 . The degree-zero operator I / 2 I/2 I /2 attains this error, so Δ k ( C A T n ) = 1 / 2 \Delta_k(\mathrm{CAT}_n)=1/2 Δ k ( CAT n ) = 1/2 for every 0 ≤ k < n 0\le k<n 0 ≤ k < n . Thus approximation error strictly below 1 / 2 1/2 1/2 requires Pauli degree n n n .
Felinity. The CAT-state argument, which uses coherence between the specific complementary pair ∣ 0 n ⟩ \lvert0^n\rangle ∣ 0 n ⟩ and ∣ 1 n ⟩ \lvert1^n\rangle ∣ 1 n ⟩ , extends more generally to arbitrary complementary computational-basis pairs through the notion of felinity. For an n n n -qubit state ρ \rho ρ , write p x = ⟨ x ∣ ρ ∣ x ⟩ p_x=\langle x\lvert\rho\lvert x\rangle p x = ⟨ x ∣ ρ ∣ x ⟩ and let x ˉ \bar{x} x ˉ be the bitwise complement of x x x . The felinity introduced by Gretta, Gupta, and Joshi [25 ] is
F n ( ρ ) = 2 ∑ x ∈ { 0 , 1 } n p x p x ˉ . \mathcal{F}_n(\rho)=2\sum_{x\in\{0,1\}^n}p_xp_{\bar{x}}. F n ( ρ ) = 2 x ∈ { 0 , 1 } n ∑ p x p x ˉ .
For a pure state, a large felinity guarantees a large off-diagonal matrix element between some complementary pair ( x , x ˉ ) (x,\bar{x}) ( x , x ˉ ) . Just as the CAT state, no operator of degree less than n n n can reproduce that matrix element.
Lemma 6.1 (Felinity implies high approximate Pauli degree). Let ψ = ∣ ψ ⟩ ⟨ ψ ∣ \psi=\lvert\psi\rangle\langle\psi\rvert ψ = ∣ ψ ⟩ ⟨ ψ ∣ be an n n n -qubit pure state. For every 0 ≤ k < n 0\le k<n 0 ≤ k < n ,
Δ k ( ψ ) ≥ max x p x p x ˉ ≥ F n ( ψ ) 2 . \Delta_k(\psi)\ge\max_x\sqrt{p_xp_{\bar{x}}}\ge\frac{\mathcal{F}_n(\psi)}{2}. Δ k ( ψ ) ≥ x max p x p x ˉ ≥ 2 F n ( ψ ) .
Proof. For every A ∈ V k A\in\mathcal{V}_k A ∈ V k and every x x x , the argument above gives ⟨ x ∣ A ∣ x ˉ ⟩ = 0 \langle x\lvert A\lvert\bar{x}\rangle=0 ⟨ x ∣ A ∣ x ˉ ⟩ = 0 . Since ψ \psi ψ is pure, ∥ ψ − A ∥ o p ≥ ∣ ⟨ x ∣ ψ ∣ x ˉ ⟩ ∣ = p x p x ˉ \lVert\psi-A\rVert_{\mathrm{op}}\ge\lvert\langle x\lvert\psi\lvert\bar{x}\rangle\rvert=\sqrt{p_xp_{\bar{x}}} ∥ ψ − A ∥ op ≥ ∣⟨ x ∣ ψ ∣ x ˉ ⟩∣ = p x p x ˉ . Taking the maximum over x x x and the infimum over A A A proves the first inequality. For the second inequality, set q x = p x p x ˉ q_x=\sqrt{p_xp_{\bar{x}}} q x = p x p x ˉ . Cauchy–Schwarz gives ∑ x q x ≤ 1 \sum_xq_x\le1 ∑ x q x ≤ 1 , so
F n ( ψ ) 2 = ∑ x q x 2 ≤ ( max x q x ) ∑ x q x ≤ max x q x . \frac{\mathcal{F}_n(\psi)}{2}=\sum_xq_x^2\le\left(\max_xq_x\right)\sum_xq_x\le\max_xq_x. 2 F n ( ψ ) = x ∑ q x 2 ≤ ( x max q x ) x ∑ q x ≤ x max q x .
:::
A natural property from approximate Pauli degree. We now describe our natural property that applies to these states. Let ℓ n = ⌊ n / 10 ⌋ \ell_n=\lfloor n/10\rfloor ℓ n = ⌊ n /10 ⌋ and define
P n y e s = { ∣ ψ ⟩ : Δ ℓ n ( ψ ) ≥ 1 / 4 } , P n n o = { ∣ ψ ⟩ : Δ ℓ n ( ψ ) ≤ 1 / 8 } . (48) P_n^{\mathrm{yes}}=\{\lvert\psi\rangle:\Delta_{\ell_n}(\psi)\ge1/4\},\qquad
P_n^{\mathrm{no}}=\{\lvert\psi\rangle:\Delta_{\ell_n}(\psi)\le1/8\}. \tag*{(48)} P n yes = {∣ ψ ⟩ : Δ ℓ n ( ψ ) ≥ 1/4 } , P n no = {∣ ψ ⟩ : Δ ℓ n ( ψ ) ≤ 1/8 } . (48)
CAT states belong to the YES-set, as do pure states with felinity at least 1 / 2 1/2 1/2 .
Constructivity. To decide the promise property from an amplitude list, we need to efficiently estimate Δ ℓ n ( ψ ) \Delta_{\ell_n}(\psi) Δ ℓ n ( ψ ) , the distance from the input state to the space of low-degree operators. Since this distance is defined by minimizing an operator-norm error over V ℓ n \mathcal{V}_{\ell_n} V ℓ n , the minimization can be formulated as a semidefinite program.
Given an amplitude list with rational amplitude vector v v v , if v = 0 v=0 v = 0 , reject. Otherwise, form ρ ^ = v v † / ⟨ v , v ⟩ \hat{\rho}=vv^\dagger/\langle v,v\rangle ρ ^ = v v † / ⟨ v , v ⟩ . The density-matrix representation keeps all input entries rational. Compute the optimum of
minimize u subject to − u I ⪯ ρ ^ − ∑ ∣ P ∣ ≤ ℓ n c P P ⪯ u I , − 2 ≤ c P ≤ 2 , 0 ≤ u ≤ 2. (49) \begin{aligned}
&\text{minimize}\quad u\\
&\text{subject to}\quad-uI\preceq\hat{\rho}-\sum_{\lvert P\rvert\le\ell_n}c_PP\preceq uI,\\
&\hspace{55mm}-2\le c_P\le2,\qquad0\le u\le2. \tag*{(49)}
\end{aligned} minimize u subject to − u I ⪯ ρ ^ − ∣ P ∣ ≤ ℓ n ∑ c P P ⪯ u I , − 2 ≤ c P ≤ 2 , 0 ≤ u ≤ 2. (49)
where all coefficients c P c_P c P are real. The constraints are included only to make the feasible region explicitly bounded; they do not change the optimum. Indeed, I / 2 ∈ V ℓ n I/2\in\mathcal{V}_{\ell_n} I /2 ∈ V ℓ n and ∥ ρ ^ − I / 2 ∥ o p = 1 / 2 \lVert\hat{\rho}-I/2\rVert_{\mathrm{op}}=1/2 ∥ ρ ^ − I /2 ∥ op = 1/2 , so the optimum is at most 1 / 2 1/2 1/2 . Consequently, an optimal approximant A A A may be chosen with
∥ A ∥ o p ≤ ∥ ρ ^ − A ∥ o p + ∥ ρ ^ ∥ o p ≤ 3 2 . \lVert A\rVert_{\mathrm{op}}\le\lVert\hat{\rho}-A\rVert_{\mathrm{op}}+\lVert\hat{\rho}\rVert_{\mathrm{op}}\le\frac{3}{2}. ∥ A ∥ op ≤ ∥ ρ ^ − A ∥ op + ∥ ρ ^ ∥ op ≤ 2 3 .
Its Pauli coefficients therefore satisfy
∣ c P ∣ = ∣ Tr ( P A ) ∣ N ≤ ∥ A ∥ o p ≤ 3 2 . \lvert c_P\rvert=\frac{\lvert\operatorname{Tr}(PA)\rvert}{N}\le\lVert A\rVert_{\mathrm{op}}\le\frac{3}{2}. ∣ c P ∣ = N ∣ Tr ( P A )∣ ≤ ∥ A ∥ op ≤ 2 3 .
Thus the looser bounds ∣ c P ∣ ≤ 2 \lvert c_P\rvert\le2 ∣ c P ∣ ≤ 2 and u ≤ 2 u\le2 u ≤ 2 preserve the optimum.
The program has at most N 2 N^2 N 2 variables and two N × N N \times N N × N positive-semidefinite constraints, so its description size is polynomial in N N N and in the input bit length. The constraints make the feasible region bounded. Since 0 ⪯ ρ ^ ⪯ I 0 \preceq\hat{\rho} \preceq I 0 ⪯ ρ ^ ⪯ I , the choice c P = 0 c_P = 0 c P = 0 and u = 3 / 2 u = 3/2 u = 3/2 is strictly feasible, with spectral slack at least 1 / 2 1/2 1/2 . Standard semidefinite optimization therefore approximates the optimum to additive error 1 / 64 1/64 1/64 in time polynomial in N N N and the input bit length [26 ] .
We next bound the error introduced by truncating the amplitude list. If each real and imaginary part is truncated to T T T fractional bits, let η = 2 N 2 − T \eta= \sqrt{2N}2^{-T} η = 2 N 2 − T , so ∥ v − ∣ ψ ⟩ ∥ 2 ≤ η \lVert v - |\psi\rangle\rVert_2 \leq\eta ∥ v − ∣ ψ ⟩ ∥ 2 ≤ η . The reverse triangle inequality gives ∣ ∥ v ∥ 2 − 1 ∣ ≤ η \left|\lVert v\rVert_2 - 1\right| \leq\eta ∣ ∥ v ∥ 2 − 1 ∣ ≤ η . For η < 1 \eta< 1 η < 1 , define the normalized truncated state ∣ ψ ^ ⟩ : = v / ∥ v ∥ 2 |\hat{\psi}\rangle:= v/\lVert v\rVert_2 ∣ ψ ^ ⟩ := v / ∥ v ∥ 2 . Then ∥ ∣ ψ ^ ⟩ − ∣ ψ ⟩ ∥ 2 ≤ ∣ 1 − ∥ v ∥ 2 ∣ + ∥ v − ∣ ψ ⟩ ∥ 2 ≤ 2 η \lVert|\hat{\psi}\rangle- |\psi\rangle\rVert_2 \leq|1-\lVert v\rVert_2|+\lVert v-|\psi\rangle\rVert_2 \leq2\eta ∥ ∣ ψ ^ ⟩ − ∣ ψ ⟩ ∥ 2 ≤ ∣1 − ∥ v ∥ 2 ∣ + ∥ v − ∣ ψ ⟩ ∥ 2 ≤ 2 η . Since ρ ^ = ∣ ψ ^ ⟩ ⟨ ψ ^ ∣ \hat{\rho}=|\hat{\psi}\rangle\langle\hat{\psi}| ρ ^ = ∣ ψ ^ ⟩ ⟨ ψ ^ ∣ ,
∥ ρ ^ − ψ ∥ o p ≤ ∥ ρ ^ − ψ ∥ 1 ≤ 2 ∥ ∣ ψ ^ ⟩ − ∣ ψ ⟩ ∥ 2 ≤ 4 η . \lVert\hat{\rho}-\psi\rVert_{\mathrm{op}}\leq\lVert\hat{\rho}-\psi\rVert_1\leq2\lVert|\hat{\psi}\rangle-|\psi\rangle\rVert_2\leq4\eta. ∥ ρ ^ − ψ ∥ op ≤ ∥ ρ ^ − ψ ∥ 1 ≤ 2 ∥ ∣ ψ ^ ⟩ − ∣ ψ ⟩ ∥ 2 ≤ 4 η .
The triangle inequality further implies
∣ inf A ∈ V ℓ n ∥ ρ ^ − A ∥ o p − inf A ∈ V ℓ n ∥ ψ − A ∥ o p ∣ ≤ ∥ ρ ^ − ψ ∥ o p . \left|\inf_{A\in\mathcal{V}_{\ell_n}}\lVert\hat{\rho}-A\rVert_{\mathrm{op}}-\inf_{A\in\mathcal{V}_{\ell_n}}\lVert\psi-A\rVert_{\mathrm{op}}\right|\leq\lVert\hat{\rho}-\psi\rVert_{\mathrm{op}}. A ∈ V ℓ n inf ∥ ρ ^ − A ∥ op − A ∈ V ℓ n inf ∥ ψ − A ∥ op ≤ ∥ ρ ^ − ψ ∥ op .
Therefore, replacing ψ \psi ψ by ρ ^ \hat{\rho} ρ ^ changes the optimal approximation error by at most 4 η 4\eta 4 η .
Thus T ≥ n + 10 T\geq n+10 T ≥ n + 10 , together with the numerical error 1 / 64 1/64 1/64 , gives total error less than 1 / 32 1/32 1/32 in our estimation of Δ ℓ n ( ψ ) \Delta_{\ell_n}(\psi) Δ ℓ n ( ψ ) . Accepting when the computed value is at least 3 / 16 3/16 3/16 separates the two promise sets. The running time is polynomial in the full amplitude list length for every such T T T .
Largeness. For a Haar-random state ∣ ψ ⟩ |\psi\rangle ∣ ψ ⟩ , let
L ( ψ ) = ∑ 1 ≤ ∣ P ∣ ≤ ℓ n ∣ ⟨ ψ ∣ P ∣ ψ ⟩ ∣ 2 . L(\psi)=\sum_{1\leq|P|\leq\ell_n}|\langle\psi|P|\psi\rangle|^2. L ( ψ ) = 1 ≤ ∣ P ∣ ≤ ℓ n ∑ ∣ ⟨ ψ ∣ P ∣ ψ ⟩ ∣ 2 .
For every nonidentity Pauli P P P , E ∣ ⟨ ψ ∣ P ∣ ψ ⟩ ∣ 2 = 1 / ( N + 1 ) \mathbb{E}|\langle\psi|P|\psi\rangle|^2=1/(N+1) E ∣ ⟨ ψ ∣ P ∣ ψ ⟩ ∣ 2 = 1/ ( N + 1 ) . Let M : = ∑ j ≤ n / 10 ( n j ) 3 j M:=\sum_{j\leq n/10}\binom{n}{j}3^j M := ∑ j ≤ n /10 ( j n ) 3 j . Since h 2 ( 1 / 10 ) + ( 1 / 10 ) log 2 3 < 0.628 h_2(1/10)+(1/10)\log_2 3<0.628 h 2 ( 1/10 ) + ( 1/10 ) log 2 3 < 0.628 , we have M ≤ 2 0.628 n M\leq2^{0.628n} M ≤ 2 0.628 n , so there are at most 2 0.628 n 2^{0.628n} 2 0.628 n nonidentity Paulis of weight at most ℓ n \ell_n ℓ n . Therefore,
E [ L ( ψ ) ] = M N + 1 = 2 − Ω ( n ) . (50) \mathbb{E}[L(\psi)]=\frac{M}{N+1}=2^{-\Omega(n)}. \tag*{(50)} E [ L ( ψ )] = N + 1 M = 2 − Ω ( n ) . (50)
Now we will show that if ψ \psi ψ were approximately low degree: Δ ℓ n ( ψ ) < 1 / 4 \Delta_{\ell_n}(\psi)<1/4 Δ ℓ n ( ψ ) < 1/4 then it must also have some concentration of low degree Pauli mass: L ( ψ ) ≥ 1 / 10 L(\psi)\geq1/10 L ( ψ ) ≥ 1/10 .
Suppose that Δ ℓ n ( ψ ) < 1 / 4 \Delta_{\ell_n}(\psi)<1/4 Δ ℓ n ( ψ ) < 1/4 , so some A = ∑ P c P P ∈ V ℓ n A=\sum_P c_P P\in\mathcal{V}_{\ell_n} A = ∑ P c P P ∈ V ℓ n satisfies ∥ ψ − A ∥ o p < 1 / 4 \lVert\psi-A\rVert_{\mathrm{op}}<1/4 ∥ ψ − A ∥ op < 1/4 . Then
1 − ⟨ ψ ∣ A ∣ ψ ⟩ ≤ ∥ ψ − A ∥ o p < 1 / 4. 1-\langle\psi|A|\psi\rangle\leq\lVert\psi-A\rVert_{\mathrm{op}}<1/4. 1 − ⟨ ψ ∣ A ∣ ψ ⟩ ≤ ∥ ψ − A ∥ op < 1/4.
so ⟨ ψ ∣ A ∣ ψ ⟩ ≥ 3 / 4 \langle\psi|A|\psi\rangle\geq3/4 ⟨ ψ ∣ A ∣ ψ ⟩ ≥ 3/4 . Also 1 N Tr ( A − ψ ) ≤ ∥ A − ψ ∥ o p ≤ 1 4 \frac{1}{N}\operatorname{Tr}(A-\psi)\leq\lVert A-\psi\rVert_{\mathrm{op}}\leq\frac14 N 1 Tr ( A − ψ ) ≤ ∥ A − ψ ∥ op ≤ 4 1 , so Tr ( A ) / N ≤ 1 / 4 + 1 / N \operatorname{Tr}(A)/N\leq1/4+1/N Tr ( A ) / N ≤ 1/4 + 1/ N . And by triangle inequality ∥ A ∥ o p ≤ 5 / 4 \lVert A\rVert_{\mathrm{op}}\leq5/4 ∥ A ∥ op ≤ 5/4 . Hence, by Pauli orthogonality and Cauchy–Schwarz,
3 4 ≤ ⟨ ψ ∣ A ∣ ψ ⟩ = c I + ∑ 1 ≤ ∣ P ∣ ≤ ℓ n c P ⟨ ψ ∣ P ∣ ψ ⟩ ≤ Tr ( A ) N + ( ∑ 1 ≤ ∣ P ∣ ≤ ℓ n ∣ c P ∣ 2 ) 1 / 2 ( ∑ 1 ≤ ∣ P ∣ ≤ ℓ n ∣ ⟨ ψ ∣ P ∣ ψ ⟩ ∣ 2 ) 1 / 2 ≤ 1 4 + 1 N + 5 4 L ( ψ ) . \begin{aligned}
\frac34\leq\langle\psi|A|\psi\rangle=c_I+\sum_{1\leq|P|\leq\ell_n}c_P\langle\psi|P|\psi\rangle\leq\frac{\operatorname{Tr}(A)}{N}+\left(\sum_{1\leq|P|\leq\ell_n}|c_P|^2\right)^{1/2}\left(\sum_{1\leq|P|\leq\ell_n}|\langle\psi|P|\psi\rangle|^2\right)^{1/2} \\
&\leq\frac14+\frac1N+\frac54\sqrt{L(\psi)}.
\end{aligned} 4 3 ≤ ⟨ ψ ∣ A ∣ ψ ⟩ = c I + 1 ≤ ∣ P ∣ ≤ ℓ n ∑ c P ⟨ ψ ∣ P ∣ ψ ⟩ ≤ N Tr ( A ) + 1 ≤ ∣ P ∣ ≤ ℓ n ∑ ∣ c P ∣ 2 1/2 1 ≤ ∣ P ∣ ≤ ℓ n ∑ ∣ ⟨ ψ ∣ P ∣ ψ ⟩ ∣ 2 1/2 ≤ 4 1 + N 1 + 4 5 L ( ψ ) .
In the last inequality we used Pauli orthogonality, which gives ∑ P ∣ c P ∣ 2 = Tr ( A 2 ) / N ≤ ∥ A ∥ o p 2 ≤ ( 5 / 4 ) 2 \sum_P|c_P|^2=\operatorname{Tr}(A^2)/N\leq\lVert A\rVert_{\mathrm{op}}^2\leq(5/4)^2 ∑ P ∣ c P ∣ 2 = Tr ( A 2 ) / N ≤ ∥ A ∥ op 2 ≤ ( 5/4 ) 2 . Therefore, L ( ψ ) ≥ ( 2 N − 4 5 N ) 2 L(\psi)\geq\left(\frac{2N-4}{5N}\right)^2 L ( ψ ) ≥ ( 5 N 2 N − 4 ) 2 . For N ≥ 16 N\geq16 N ≥ 16 , this implies L ( ψ ) ≥ 1 / 10 L(\psi)\geq1/10 L ( ψ ) ≥ 1/10 . Therefore, by Markov’s inequality and Equation (50) ,
Pr ψ ∼ H a a r [ Δ ℓ n ( ψ ) < 1 / 4 ] ≤ Pr [ L ( ψ ) ≥ 1 / 10 ] ≤ 10 E [ L ( ψ ) ] = 2 − Ω ( n ) . \Pr_{\psi\sim\mathrm{Haar}}\left[\Delta_{\ell_n}(\psi)<1/4\right]\leq\Pr[L(\psi)\geq1/10]\leq10\mathbb{E}[L(\psi)]=2^{-\Omega(n)}. ψ ∼ Haar Pr [ Δ ℓ n ( ψ ) < 1/4 ] ≤ Pr [ L ( ψ ) ≥ 1/10 ] ≤ 10 E [ L ( ψ )] = 2 − Ω ( n ) .
Thus the YES-set has Haar measure 1 − 2 − Ω ( n ) 1-2^{-\Omega(n)} 1 − 2 − Ω ( n ) .
Usefulness against QAC0 ^{0} 0 with limited ancilla. We apply the state-synthesis theorem of Anshu, Dong, Ou, and Yao [16 Theorem 6.4 and Corollary 6.5] . In the regime of fixed depth and O ( n ) O(n) O ( n ) ancillary qubits, the cited result gives an o ( n ) o(n) o ( n ) -degree Pauli approximation with operator-norm error o ( 1 ) o(1) o ( 1 ) for any pure target prepared with fidelity at least 1 − e − n 1-e^{-n} 1 − e − n , even when auxiliary output qubits are discarded.
Let ψ = ∣ ψ ⟩ ⟨ ψ ∣ \psi= |\psi\rangle\langle\psi| ψ = ∣ ψ ⟩ ⟨ ψ ∣ , and let σ \sigma σ be the circuit’s reduced output. If 1 2 ∥ σ − ψ ∥ 1 ≤ e − n \frac{1}{2}\lVert\sigma-\psi\rVert_{1}\le e^{-n} 2 1 ∥ σ − ψ ∥ 1 ≤ e − n , then ⟨ ψ ∣ σ ∣ ψ ⟩ = Tr ( ψ σ ) ≥ 1 − e − n \langle\psi|\sigma|\psi\rangle=\operatorname{Tr}(\psi\sigma)\ge1-e^{-n} ⟨ ψ ∣ σ ∣ ψ ⟩ = Tr ( ψ σ ) ≥ 1 − e − n . Thus the fidelity hypothesis of the cited approximation theorem is satisfied. The theorem therefore gives an operator A n ∈ V d n A_n\in\mathcal{V}_{d_n} A n ∈ V d n such that d n = o ( n ) d_n=o(n) d n = o ( n ) and ∥ ψ − A n ∥ o p = o ( 1 ) \lVert\psi-A_n\rVert_{\mathrm{op}}=o(1) ∥ ψ − A n ∥ op = o ( 1 ) . Since ℓ n = ⌊ n / 10 ⌋ \ell_n=\lfloor n/10\rfloor ℓ n = ⌊ n /10 ⌋ , for all sufficiently large n n n we have d n ≤ ℓ n d_n\le\ell_n d n ≤ ℓ n and ∥ ψ − A n ∥ o p ≤ 1 / 8 \lVert\psi-A_n\rVert_{\mathrm{op}}\le1/8 ∥ ψ − A n ∥ op ≤ 1/8 . Therefore Δ ℓ n ( ψ ) ≤ ∥ ψ − A n ∥ o p ≤ 1 / 8 \Delta_{\ell_n}(\psi)\le\lVert\psi-A_n\rVert_{\mathrm{op}}\le1/8 Δ ℓ n ( ψ ) ≤ ∥ ψ − A n ∥ op ≤ 1/8 and hence ∣ ψ ⟩ ∈ P n n o |\psi\rangle\in P_n^{\mathrm{no}} ∣ ψ ⟩ ∈ P n no .
Constant felinity. The thresholds 1 / 4 1/4 1/4 and 1 / 8 1/8 1/8 here were chosen only for convenience. More generally, for any fixed f 0 > 0 f_0>0 f 0 > 0 , the same largeness, constructivity, and usefulness arguments apply after replacing these thresholds by f 0 / 4 f_0/4 f 0 /4 and f 0 / 8 f_0/8 f 0 /8 . By Lemma 6.1, every pure state with F n ( ψ ) ≥ f 0 F_n(\psi)\ge f_0 F n ( ψ ) ≥ f 0 satisfies Δ ℓ n ( ψ ) ≥ f 0 / 2 \Delta_{\ell_n}(\psi)\ge f_0/2 Δ ℓ n ( ψ ) ≥ f 0 /2 and therefore lies in the new YES-set.
Thus, although high felinity does not itself satisfy the largeness condition, it implies the broader property of high approximate Pauli degree, which is natural.
Unique ground states of local Hamiltonians
Another example of a natural proof comes from local Hamiltonians. A shallow circuit state is automatically the unique ground state of a local Hamiltonian: if ∣ ψ ⟩ = U ∣ 0 n ⟩ |\psi\rangle=U|0^n\rangle ∣ ψ ⟩ = U ∣ 0 n ⟩ and U U U is a depth-d d d circuit of two-qubit gates, then
H U = 1 n ∑ i = 1 n U ( I − ∣ 0 ⟩ ⟨ 0 ∣ i ) U † (51) H_U=\frac{1}{n}\sum_{i=1}^{n}U\left(I-|0\rangle\langle0|_i\right)U^\dagger \tag*{(51)} H U = n 1 i = 1 ∑ n U ( I − ∣0 ⟩ ⟨ 0 ∣ i ) U † (51)
has ∣ ψ ⟩ |\psi\rangle ∣ ψ ⟩ as its unique ground state. Each term acts on at most 2 d 2^d 2 d qubits, and H U H_U H U has operator norm at most one and spectral gap 1 / n 1/n 1/ n . Thus, a robust obstruction to being the unique ground state of such a local, gapped Hamiltonian gives a shallow-circuit lower bound.
Let P ≤ k \mathcal{P}_{\le k} P ≤ k denote the nonidentity Pauli strings of weight at most k k k , and let m k = ∣ P ≤ k ∣ = n O ( k ) m_k=|\mathcal{P}_{\le k}|=n^{O(k)} m k = ∣ P ≤ k ∣ = n O ( k ) for constant k k k . For ρ ψ = ∣ ψ ⟩ ⟨ ψ ∣ \rho_\psi=|\psi\rangle\langle\psi| ρ ψ = ∣ ψ ⟩ ⟨ ψ ∣ , define
d k ( ψ ) = min σ ⪰ 0 , Tr σ = 1 Tr ( ρ ψ σ ) ≤ 1 / 4 max P ∈ P ≤ k ∣ Tr [ P ( σ − ρ ψ ) ] ∣ . (52) d_k(\psi)=\min_{\substack{\sigma\succeq0,\ \operatorname{Tr}\sigma=1\\ \operatorname{Tr}(\rho_\psi\sigma)\le1/4}}\ \max_{P\in\mathcal{P}_{\le k}}\left|\operatorname{Tr}\left[P(\sigma-\rho_\psi)\right]\right|. \tag*{(52)} d k ( ψ ) = σ ⪰ 0 , Tr σ = 1 Tr ( ρ ψ σ ) ≤ 1/4 min P ∈ P ≤ k max ∣ Tr [ P ( σ − ρ ψ ) ] ∣ . (52)
Thus d k ( ψ ) d_k(\psi) d k ( ψ ) measures how well a state that is globally far from ∣ ψ ⟩ |\psi\rangle ∣ ψ ⟩ can reproduce all of its k k k -local Pauli expectation values. In particular, d k ( ψ ) = 0 d_k(\psi)=0 d k ( ψ ) = 0 whenever there is a state with overlap at most 1 / 4 1/4 1/4 with ∣ ψ ⟩ |\psi\rangle ∣ ψ ⟩ and exactly the same k k k -local expectation values.
For fixed k k k , consider the promise property
P n y e s = { ∣ ψ ⟩ : d k ( ψ ) ≤ 2 − n / 5 } , P n n o = { ∣ ψ ⟩ : d k ( ψ ) ≥ 1 2 n m k } . (53) P_n^{\mathrm{yes}}=\left\{|\psi\rangle:d_k(\psi)\le2^{-n/5}\right\},\qquad P_n^{\mathrm{no}}=\left\{|\psi\rangle:d_k(\psi)\ge\frac{1}{2nm_k}\right\}. \tag*{(53)} P n yes = { ∣ ψ ⟩ : d k ( ψ ) ≤ 2 − n /5 } , P n no = { ∣ ψ ⟩ : d k ( ψ ) ≥ 2 n m k 1 } . (53)
For sufficiently large n n n these sets are disjoint.
Constructivity. The quantity d k ( ψ ) d_k(\psi) d k ( ψ ) is the optimum of a semidefinite program. Given ρ ψ \rho_\psi ρ ψ , introduce variables σ \sigma σ and t t t and minimize t t t subject to
σ ⪰ 0 , Tr σ = 1 , Tr ( ρ ψ σ ) ≤ 1 4 , − t ≤ Tr [ P ( σ − ρ ψ ) ] ≤ t (54) \sigma\succeq0,\qquad\operatorname{Tr}\sigma=1,\qquad\operatorname{Tr}(\rho_\psi\sigma)\le\frac{1}{4},\qquad-t\le\operatorname{Tr}\left[P(\sigma-\rho_\psi)\right]\le t \tag*{(54)} σ ⪰ 0 , Tr σ = 1 , Tr ( ρ ψ σ ) ≤ 4 1 , − t ≤ Tr [ P ( σ − ρ ψ ) ] ≤ t (54)
for every P ∈ P ≤ k P\in\mathcal{P}_{\le k} P ∈ P ≤ k . For constant k k k there are only n O ( k ) n^{O(k)} n O ( k ) Pauli constraints and the matrix dimension is 2 n 2^n 2 n , so the SDP can be solved in time polynomial in the length of the complete amplitude list. The inverse-polynomial gap between the YES and NO thresholds also leaves ample room for the finite-precision error in the input and the numerical optimization. Hence the property is constructive.
Largeness. For a Haar-random state, take
σ = I − ρ ψ 2 n − 1 . \sigma= \frac{I-\rho_\psi}{2^n-1}. σ = 2 n − 1 I − ρ ψ .
This state is orthogonal to ∣ ψ ⟩ \lvert\psi\rangle ∣ ψ ⟩ , and for every nonidentity Pauli P P P ,
∣ Tr [ P ( σ − ρ ψ ) ] ∣ = 2 n 2 n − 1 ∣ ⟨ ψ ∣ P ∣ ψ ⟩ ∣ . \left|\operatorname{Tr}[P(\sigma-\rho_\psi)]\right|=\frac{2^n}{2^n-1}\left|\langle\psi|P|\psi\rangle\right|. ∣ Tr [ P ( σ − ρ ψ )] ∣ = 2 n − 1 2 n ∣ ⟨ ψ ∣ P ∣ ψ ⟩ ∣ .
For Haar-random ∣ ψ ⟩ \lvert\psi\rangle ∣ ψ ⟩ , E ∣ ⟨ ψ ∣ P ∣ ψ ⟩ ∣ 2 = 1 / ( 2 n + 1 ) \mathbb{E}|\langle\psi|P|\psi\rangle|^2=1/(2^n+1) E ∣ ⟨ ψ ∣ P ∣ ψ ⟩ ∣ 2 = 1/ ( 2 n + 1 ) . Since there are only m k = poly ( n ) m_k=\operatorname{poly}(n) m k = poly ( n ) Paulis of weight at most k k k , a union bound and Markov’s inequality give
Pr ψ ∼ H a a r [ max P ∈ P ≤ k ∣ ⟨ ψ ∣ P ∣ ψ ⟩ ∣ > 2 − n / 5 ] = 2 − Ω ( n ) . \Pr_{\psi\sim\mathrm{Haar}}\left[\max_{P\in\mathcal{P}_{\leq k}}|\langle\psi|P|\psi\rangle|>2^{-n/5}\right]=2^{-\Omega(n)}. ψ ∼ Haar Pr [ P ∈ P ≤ k max ∣ ⟨ ψ ∣ P ∣ ψ ⟩ ∣ > 2 − n /5 ] = 2 − Ω ( n ) .
Thus d k ( ψ ) ≤ 2 − n / 5 d_k(\psi)\leq2^{-n/5} d k ( ψ ) ≤ 2 − n /5 with probability 1 − 2 − Ω ( n ) 1-2^{-\Omega(n)} 1 − 2 − Ω ( n ) , so the YES-set is Haar-large.
Usefulness. Suppose ∣ ψ ⟩ \lvert\psi\rangle ∣ ψ ⟩ is the unique ground state of a k k k -local Hamiltonian H H H with ∥ H ∥ o p ≤ 1 \lVert H\rVert_{\mathrm{op}}\leq1 ∥ H ∥ op ≤ 1 and spectral gap γ \gamma γ . For every state σ \sigma σ satisfying Tr ( ρ ψ σ ) ≤ 1 / 4 \operatorname{Tr}(\rho_\psi\sigma)\leq1/4 Tr ( ρ ψ σ ) ≤ 1/4 , Tr ( H σ ) − ⟨ ψ ∣ H ∣ ψ ⟩ ≥ 3 4 γ \operatorname{Tr}(H\sigma)-\langle\psi|H|\psi\rangle\geq\frac{3}{4}\gamma Tr ( H σ ) − ⟨ ψ ∣ H ∣ ψ ⟩ ≥ 4 3 γ . Writing H = ∑ P c P P H=\sum_P c_P P H = ∑ P c P P , we have ∣ c P ∣ ≤ 1 |c_P|\leq1 ∣ c P ∣ ≤ 1 , and therefore
3 4 γ ≤ ∑ P ∈ P ≤ k ∣ c P ∣ ∣ Tr [ P ( σ − ρ ψ ) ] ∣ ≤ m k d k ( ψ ) . \frac{3}{4}\gamma\leq\sum_{P\in\mathcal{P}_{\leq k}}|c_P|\left|\operatorname{Tr}[P(\sigma-\rho_\psi)]\right|\leq m_kd_k(\psi). 4 3 γ ≤ P ∈ P ≤ k ∑ ∣ c P ∣ ∣ Tr [ P ( σ − ρ ψ )] ∣ ≤ m k d k ( ψ ) .
Hence d k ( ψ ) ≥ 3 γ 4 m k d_k(\psi)\geq\frac{3\gamma}{4m_k} d k ( ψ ) ≥ 4 m k 3 γ .
Now let ∣ ψ ⟩ = U ∣ 0 n ⟩ \lvert\psi\rangle=U\lvert0^n\rangle ∣ ψ ⟩ = U ∣ 0 n ⟩ for a depth-d d d circuit of two-qubit gates and set k = 2 d k=2^d k = 2 d . The Hamiltonian H U H_U H U above is k k k -local, has norm at most one, and has gap 1 / n 1/n 1/ n . Consequently
d k ( ψ ) ≥ 3 4 n m k > 1 2 n m k . d_k(\psi)\geq\frac{3}{4nm_k}>\frac{1}{2nm_k}. d k ( ψ ) ≥ 4 n m k 3 > 2 n m k 1 .
so every such shallow-circuit state lies in P n n o P_n^{\mathrm{no}} P n no . The promise property is therefore useful against depth-d d d two-qubit state preparation.
Example: CAT states. For
∣ C A T ± ⟩ = ∣ 0 n ⟩ ± ∣ 1 n ⟩ 2 , \lvert\mathrm{CAT}_{\pm}\rangle=\frac{\lvert0^n\rangle\pm\lvert1^n\rangle}{\sqrt{2}}, ∣ CAT ± ⟩ = 2 ∣ 0 n ⟩ ± ∣ 1 n ⟩ ,
the two orthogonal states have identical reduced density matrices on every proper subset of the qubits. Thus, taking σ = ∣ C A T − ⟩ ⟨ C A T − ∣ \sigma=\lvert\mathrm{CAT}_{-}\rangle\langle\mathrm{CAT}_{-}\rvert σ = ∣ CAT − ⟩ ⟨ CAT − ∣ in the definition of d k d_k d k , we obtain d k ( C A T + ) = 0 d_k(\mathrm{CAT}_{+})=0 d k ( CAT + ) = 0 for every k < n k<n k < n . Hence, ∣ C A T + ⟩ \lvert\mathrm{CAT}_{+}\rangle ∣ CAT + ⟩ lies in the YES-set for every fixed k < n k<n k < n , recovering the familiar constant-depth lower bound for CAT-state preparation through a natural property.
Approximate preparation with discarded ancillas. The usefulness statement extends to the reduced-output model used elsewhere in this paper. Suppose a depth-d d d circuit on n + a n+a n + a qubits has reduced output ω \omega ω satisfying D ( ω , ρ ψ ) ≤ ϵ D(\omega,\rho_\psi)\leq\epsilon D ( ω , ρ ψ ) ≤ ϵ . Its global pure output ∣ Φ ⟩ \lvert\Phi\rangle ∣ Φ ⟩ is the unique ground state of a 2 d 2^d 2 d -local Hamiltonian of norm at most one and gap 1 / ( n + a ) 1/(n+a) 1/ ( n + a ) . By Uhlmann’s theorem, there is an ancilla state ∣ η ⟩ \lvert\eta\rangle ∣ η ⟩ such that ∣ Φ ⟩ \lvert\Phi\rangle ∣ Φ ⟩ is within O ( ϵ ) O(\sqrt{\epsilon}) O ( ϵ ) of ∣ ψ ⟩ ∣ η ⟩ \lvert\psi\rangle\lvert\eta\rangle ∣ ψ ⟩ ∣ η ⟩ . Fixing the ancillas to ∣ η ⟩ \lvert\eta\rangle ∣ η ⟩ , define the effective output Hamiltonian H e f f = ( I ⊗ ⟨ η ∣ ) H U ( I ⊗ ∣ η ⟩ ) H_{\mathrm{eff}}=(I\otimes\langle\eta|)H_U(I\otimes|\eta\rangle) H eff = ( I ⊗ ⟨ η ∣ ) H U ( I ⊗ ∣ η ⟩) . Each local term of H U H_U H U remains supported only on the output qubits in its original support, so H e f f H_{\mathrm{eff}} H eff is still 2 d 2^d 2 d -local. The preceding argument then gives
d 2 d ( ψ ) ≥ 1 m 2 d ( 1 n + a − O ( ϵ ) ) . d_{2^d}(\psi)\geq\frac{1}{m_{2^d}}\left(\frac{1}{n+a}-O(\sqrt{\epsilon})\right). d 2 d ( ψ ) ≥ m 2 d 1 ( n + a 1 − O ( ϵ ) ) .
Hence, for polynomially many ancillas and ϵ = e − Ω ( n ) \epsilon=e^{-\Omega(n)} ϵ = e − Ω ( n ) , we have d 2 d ( ψ ) ≥ 1 / poly ( n ) d_{2^d}(\psi)\geq1/\operatorname{poly}(n) d 2 d ( ψ ) ≥ 1/ poly ( n ) . Choosing, for example, YES and NO thresholds 2 − n / 5 2^{-n/5} 2 − n /5 and 2 − n / 6 2^{-n/6} 2 − n /6 therefore makes the property useful even when arbitrary polynomially many ancillary outputs may be discarded.
Mutual information lower bounds
Our next example is based on the mutual-information lower bound of Parham [Par25] against state preparation in the first level A 1 C Q \mathrm{A}_{1}\mathrm{CQ} A 1 CQ of the magic hierarchy, which consists of an arbitrary-size Clifford circuit followed by a Q N C 0 \mathrm{QNC}^{0} QNC 0 circuit. The lower bound applies to states for which the mutual information between every pair of qubits is bounded below, while the mutual information between sufficiently small disjoint subsets of qubits is bounded above.
For disjoint subsets A , B ⊆ [ n ] A, B \subseteq[n] A , B ⊆ [ n ] of qubit indices, recall that their mutual information is defined by I ψ ( A : B ) = S ( ρ A ) + S ( ρ B ) − S ( ρ A B ) I_{\psi}(A:B)=S(\rho_{A})+S(\rho_{B})-S(\rho_{AB}) I ψ ( A : B ) = S ( ρ A ) + S ( ρ B ) − S ( ρ A B ) , where ρ A \rho_{A} ρ A , ρ B \rho_{B} ρ B , and ρ A B \rho_{AB} ρ A B are the corresponding reduced states and S ( ρ ) = − Tr ( ρ log 2 ρ ) S(\rho)=-\operatorname{Tr}(\rho\log_{2}\rho) S ( ρ ) = − Tr ( ρ log 2 ρ ) is the von Neumann entropy in bits.
Theorem 3.6 of [Par25] considers an n n n -qubit state ∣ ψ ⟩ |\psi\rangle ∣ ψ ⟩ for which there exist integers k ≥ 0 k\geq0 k ≥ 0 and s ≥ 1 s\geq1 s ≥ 1 and parameters k < α ≤ β < k + 1 k<\alpha\leq\beta<k+1 k < α ≤ β < k + 1 satisfying
I ψ ( i : j ) ≥ α I_{\psi}(i:j)\geq\alpha I ψ ( i : j ) ≥ α for every pair of distinct qubits i , j i,j i , j .
I ψ ( A : B ) ≤ β I_{\psi}(A:B)\leq\beta I ψ ( A : B ) ≤ β for every pair of disjoint subsets A , B ⊆ [ n ] A,B\subseteq[n] A , B ⊆ [ n ] with ∣ A ∣ , ∣ B ∣ < s |A|,|B|<s ∣ A ∣ , ∣ B ∣ < s .
The theorem gives lower bounds on any approximate A 1 C Q \mathrm{A}_{1}\mathrm{CQ} A 1 CQ preparation of a state satisfying these conditions. We define a promise property by choosing explicit parameters in the case k = 0 k=0 k = 0 and introducing gaps around the two mutual-information conditions.
Definition 6.1 (Mutual information promise property). For each n n n , set α n y e s : = 2 − 2 n \alpha_{n}^{\mathrm{yes}}:=2^{-2n} α n yes := 2 − 2 n , α n n o : = 2 − 2 n − 1 \alpha_{n}^{\mathrm{no}}:=2^{-2n-1} α n no := 2 − 2 n − 1 , β n y e s : = 1 / 4 \beta_{n}^{\mathrm{yes}}:=1/4 β n yes := 1/4 , β n n o : = 1 / 2 \beta_{n}^{\mathrm{no}}:=1/2 β n no := 1/2 , and s n : = max { 2 , ⌊ n / 4 ⌋ } s_{n}:=\max\{2,\lfloor n/4\rfloor\} s n := max { 2 , ⌊ n /4 ⌋} . The mutual information promise property P M I = { ( P n y e s , P n n o ) } n ∈ N \mathrm{P}_{\mathrm{MI}}=\{(P_{n}^{\mathrm{yes}},P_{n}^{\mathrm{no}})\}_{n\in\mathbb{N}} P MI = {( P n yes , P n no ) } n ∈ N is defined by
P n y e s : = { ∣ ψ ⟩ ∈ S ( C 2 n ) : I ψ ( i : j ) ≥ α n y e s for every i ≠ j , P_{n}^{\mathrm{yes}}:=\left\{|\psi\rangle\in S(\mathbb{C}^{2^{n}}): I_{\psi}(i:j)\geq\alpha_{n}^{\mathrm{yes}}\text{ for every }i\neq j,\right. P n yes := { ∣ ψ ⟩ ∈ S ( C 2 n ) : I ψ ( i : j ) ≥ α n yes for every i = j , I ψ ( A : B ) ≤ β n y e s for all disjoint A , B ⊆ [ n ] with ∣ A ∣ , ∣ B ∣ < s n } , (55) \left.I_{\psi}(A:B)\leq\beta_{n}^{\mathrm{yes}}\text{ for all disjoint }A,B\subseteq[n]\text{ with }|A|,|B|<s_{n}\right\}, \tag*{(55)} I ψ ( A : B ) ≤ β n yes for all disjoint A , B ⊆ [ n ] with ∣ A ∣ , ∣ B ∣ < s n } , (55) and
P n n o : = { ∣ ψ ⟩ ∈ S ( C 2 n ) : I ψ ( i : j ) ≤ α n n o for some i ≠ j P_{n}^{\mathrm{no}}:=\{|\psi\rangle\in S(\mathbb{C}^{2^{n}}): I_{\psi}(i:j)\leq\alpha_{n}^{\mathrm{no}}\text{ for some }i\neq j P n no := { ∣ ψ ⟩ ∈ S ( C 2 n ) : I ψ ( i : j ) ≤ α n no for some i = j or I ψ ( A : B ) ≥ β n n o for some disjoint A , B ⊆ [ n ] with ∣ A ∣ , ∣ B ∣ < s n } . (56) \left.\text{or }I_{\psi}(A:B)\geq\beta_{n}^{\mathrm{no}}\text{ for some disjoint }A,B\subseteq[n]\text{ with }|A|,|B|<s_{n}\right\}. \tag*{(56)} or I ψ ( A : B ) ≥ β n no for some disjoint A , B ⊆ [ n ] with ∣ A ∣ , ∣ B ∣ < s n } . (56)
Since α n n o < α n y e s \alpha_{n}^{\mathrm{no}}<\alpha_{n}^{\mathrm{yes}} α n no < α n yes and β n y e s < β n n o \beta_{n}^{\mathrm{yes}}<\beta_{n}^{\mathrm{no}} β n yes < β n no , the sets P n y e s P_{n}^{\mathrm{yes}} P n yes and P n n o P_{n}^{\mathrm{no}} P n no are disjoint. Both sets are invariant under global phase.
Claim 6.2 (Mutual information property). The mutual information promise property of Definition 6.1 is natural in the sense of Definition 2.2 and is ε M I \varepsilon_{\mathrm{MI}} ε MI -useful against clean-output A 1 C Q \mathrm{A}_{1}\mathrm{CQ} A 1 CQ state preparation, where ε M I ( n ) : = 2 − 4 n − 10 \varepsilon_{\mathrm{MI}}(n):=2^{-4n-10} ε MI ( n ) := 2 − 4 n − 10 .
In the following sections, we first prove that the mutual information promise property satisfies largeness and constructivity, and then prove its usefulness against clean-output A 1 C Q \mathrm{A}_{1}\mathrm{CQ} A 1 CQ state preparation.
Largeness. Let N : = 2 n N:=2^{n} N := 2 n . The definition of P n y e s P_{n}^{\mathrm{yes}} P n yes imposes two conditions, which we analyze separately. Let E L E_{L} E L be the event that I ϕ ( i : j ) ≥ N − 2 = 2 − 2 n I_{\phi}(i:j)\geq N^{-2}=2^{-2n} I ϕ ( i : j ) ≥ N − 2 = 2 − 2 n for every pair of distinct qubits i , j i,j i , j , and let E U E_{U} E U be the event that I ϕ ( A : B ) ≤ 1 / 4 I_{\phi}(A:B)\leq1/4 I ϕ ( A : B ) ≤ 1/4 for every pair of disjoint subsets A , B ⊆ [ n ] A,B\subseteq[n] A , B ⊆ [ n ] with ∣ A ∣ , ∣ B ∣ < s n |A|,|B|<s_{n} ∣ A ∣ , ∣ B ∣ < s n . By Definition 6.1, ∣ ϕ ⟩ ∈ P n y e s |\phi\rangle\in P_{n}^{\mathrm{yes}} ∣ ϕ ⟩ ∈ P n yes exactly when both E L E_{L} E L and E U E_{U} E U occur.
We first show that a Haar-random state satisfies the pairwise mutual-information condition E L E_{L} E L with high probability.
Claim 6.3 (Pairwise mutual information lower bound). For all sufficiently large n n n , Pr ϕ ∼ Haar n [ E L c ] = O ( n 2 2 − n / 4 ) = o ( 1 ) \Pr_{\phi\sim\operatorname{Haar}_{n}}[E_{L}^{c}]=O(n^{2}2^{-n/4})=o(1) Pr ϕ ∼ Haar n [ E L c ] = O ( n 2 2 − n /4 ) = o ( 1 ) .
Proof. We first establish the two facts about Haar-random Pauli expectations used below. Fix P ∈ P n ∖ { I } P\in\mathcal{P}_{n}\setminus\{I\} P ∈ P n ∖ { I } and let X P : = ⟨ ϕ ∣ P ∣ ϕ ⟩ X_{P}:=\langle\phi|P|\phi\rangle X P := ⟨ ϕ ∣ P ∣ ϕ ⟩ for ∣ ϕ ⟩ ∼ Haar n |\phi\rangle\sim\operatorname{Haar}_{n} ∣ ϕ ⟩ ∼ Haar n .
First, we show an anti-concentration bound for Haar-random Pauli expectations. Every nonidentity Pauli has eigenvalues + 1 +1 + 1 and − 1 -1 − 1 , each with multiplicity N / 2 N/2 N /2 . In an eigenbasis of P P P , the squared amplitudes of a Haar-random state are Dirichlet( 1 , … , 1 ) (1,\ldots,1) ( 1 , … , 1 ) distributed [27 ] , so ( 1 + X P ) / 2 ∼ Beta ( N / 2 , N / 2 ) (1+X_P)/2 \sim\operatorname{Beta}(N/2,N/2) ( 1 + X P ) /2 ∼ Beta ( N /2 , N /2 ) . Consequently, X P X_P X P has density
f N ( x ) = Γ ( N ) 2 N − 1 Γ ( N / 2 ) 2 ( 1 − x 2 ) N / 2 − 1 f_N(x) = \frac{\Gamma(N)}{2^{N-1}\Gamma(N/2)^2}(1-x^2)^{N/2-1} f N ( x ) = 2 N − 1 Γ ( N /2 ) 2 Γ ( N ) ( 1 − x 2 ) N /2 − 1
for − 1 < x < 1 -1 < x < 1 − 1 < x < 1 . This density is maximized at zero. To bound its maximum, write N = 2 m N=2m N = 2 m and define a m : = ( 2 m m ) / 4 m a_m := \binom{2m}{m}/4^m a m := ( m 2 m ) / 4 m . Then f N ( 0 ) = m a m f_N(0)=ma_m f N ( 0 ) = m a m . Moreover, a 1 ≤ 1 / 2 a_1 \le1/\sqrt{2} a 1 ≤ 1/ 2 and a m + 1 = a m ( 2 m + 1 ) / ( 2 m + 2 ) ≤ a m ( m + 1 ) / ( m + 2 ) a_{m+1}=a_m(2m+1)/(2m+2)\le a_m\sqrt{(m+1)/(m+2)} a m + 1 = a m ( 2 m + 1 ) / ( 2 m + 2 ) ≤ a m ( m + 1 ) / ( m + 2 ) , so induction gives a m ≤ 1 / m + 1 < 1 / m a_m\le1/\sqrt{m+1}<1/\sqrt{m} a m ≤ 1/ m + 1 < 1/ m . Hence f N ( 0 ) ≤ N f_N(0)\le\sqrt{N} f N ( 0 ) ≤ N , and therefore, for every 0 < δ ≤ 1 0<\delta\le1 0 < δ ≤ 1 , Pr [ ∣ X P ∣ ≤ δ ] ≤ 2 δ N \Pr[|X_P|\le\delta]\le2\delta\sqrt{N} Pr [ ∣ X P ∣ ≤ δ ] ≤ 2 δ N .
We also use the Haar second-moment identity E [ X P 2 ] = 1 / ( N + 1 ) \mathbb{E}[X_P^2]=1/(N+1) E [ X P 2 ] = 1/ ( N + 1 ) , from Example 51 of [24 ] .
Now fix distinct qubits i i i and j j j . Define their connected Z Z Z -correlation by C i j : = ⟨ ϕ ∣ Z i Z j ∣ ϕ ⟩ − ⟨ ϕ ∣ Z i ∣ ϕ ⟩ ⟨ ϕ ∣ Z j ∣ ϕ ⟩ C_{ij}:=\langle\phi|Z_iZ_j|\phi\rangle-\langle\phi|Z_i|\phi\rangle\langle\phi|Z_j|\phi\rangle C ij := ⟨ ϕ ∣ Z i Z j ∣ ϕ ⟩ − ⟨ ϕ ∣ Z i ∣ ϕ ⟩ ⟨ ϕ ∣ Z j ∣ ϕ ⟩ . Equation (5) of [28 ] , after converting the mutual information to bits, gives I ϕ ( i : j ) ≥ C i j 2 / ( 2 ln 2 ) I_\phi(i:j)\ge C_{ij}^2/(2\ln2) I ϕ ( i : j ) ≥ C ij 2 / ( 2 ln 2 ) . Thus, if I ϕ ( i : j ) < N − 2 I_\phi(i:j)<N^{-2} I ϕ ( i : j ) < N − 2 , then ∣ C i j ∣ < δ N |C_{ij}|<\delta_N ∣ C ij ∣ < δ N , where δ N : = 2 ln 2 / N \delta_N:=\sqrt{2\ln2}/N δ N := 2 ln 2 / N . Set X : = ⟨ ϕ ∣ Z i Z j ∣ ϕ ⟩ X:=\langle\phi|Z_iZ_j|\phi\rangle X := ⟨ ϕ ∣ Z i Z j ∣ ϕ ⟩ , U : = ⟨ ϕ ∣ Z i ∣ ϕ ⟩ U:=\langle\phi|Z_i|\phi\rangle U := ⟨ ϕ ∣ Z i ∣ ϕ ⟩ , and V : = ⟨ ϕ ∣ Z j ∣ ϕ ⟩ V:=\langle\phi|Z_j|\phi\rangle V := ⟨ ϕ ∣ Z j ∣ ϕ ⟩ , so that C i j = X − U V C_{ij}=X-UV C ij = X − U V . Define the good event G : = { ∣ U ∣ ≤ N − 3 / 8 , ∣ V ∣ ≤ N − 3 / 8 } G:=\{|U|\le N^{-3/8},|V|\le N^{-3/8}\} G := { ∣ U ∣ ≤ N − 3/8 , ∣ V ∣ ≤ N − 3/8 } . On G G G , ∣ U V ∣ ≤ N − 3 / 4 |UV|\le N^{-3/4} ∣ U V ∣ ≤ N − 3/4 . Thus, if ∣ C i j ∣ < δ N |C_{ij}|<\delta_N ∣ C ij ∣ < δ N and G G G occurs, then ∣ X ∣ ≤ ∣ C i j ∣ + ∣ U V ∣ < δ N + N − 3 / 4 |X|\le|C_{ij}|+|UV|<\delta_N+N^{-3/4} ∣ X ∣ ≤ ∣ C ij ∣ + ∣ U V ∣ < δ N + N − 3/4 . Equivalently,
{ ∣ C i j ∣ < δ N } ⊆ { ∣ X ∣ ≤ δ N + N − 3 / 4 } ∪ G c . (57) \{|C_{ij}|<\delta_N\}\subseteq\{|X|\le\delta_N+N^{-3/4}\}\cup G^c. \tag*{(57)} { ∣ C ij ∣ < δ N } ⊆ { ∣ X ∣ ≤ δ N + N − 3/4 } ∪ G c . (57)
For sufficiently large n n n , δ N + N − 3 / 4 ≤ 1 \delta_N+N^{-3/4}\le1 δ N + N − 3/4 ≤ 1 . Applying the anti-concentration bound above to the nonidentity Pauli Z i Z j Z_iZ_j Z i Z j gives Pr [ ∣ X ∣ ≤ δ N + N − 3 / 4 ] ≤ 2 ( δ N + N − 3 / 4 ) N = O ( N − 1 / 4 ) \Pr[|X|\le\delta_N+N^{-3/4}]\le2(\delta_N+N^{-3/4})\sqrt{N}=O(N^{-1/4}) Pr [ ∣ X ∣ ≤ δ N + N − 3/4 ] ≤ 2 ( δ N + N − 3/4 ) N = O ( N − 1/4 ) . For the second event, E [ U 2 ] = E [ V 2 ] = 1 / ( N + 1 ) \mathbb{E}[U^2]=\mathbb{E}[V^2]=1/(N+1) E [ U 2 ] = E [ V 2 ] = 1/ ( N + 1 ) . Markov's inequality gives Pr [ ∣ U ∣ > N − 3 / 8 ] = Pr [ U 2 > N − 3 / 4 ] ≤ N 3 / 4 E [ U 2 ] ≤ N − 1 / 4 \Pr[|U|>N^{-3/8}]=\Pr[U^2>N^{-3/4}]\le N^{3/4}\mathbb{E}[U^2]\le N^{-1/4} Pr [ ∣ U ∣ > N − 3/8 ] = Pr [ U 2 > N − 3/4 ] ≤ N 3/4 E [ U 2 ] ≤ N − 1/4 , and the same holds for V V V . Thus Pr [ G c ] ≤ 2 N − 1 / 4 \Pr[G^c]\le2N^{-1/4} Pr [ G c ] ≤ 2 N − 1/4 . Combining these bounds with Eq. (57) gives Pr [ ∣ C i j ∣ < δ N ] = O ( N − 1 / 4 ) \Pr[|C_{ij}|<\delta_N]=O(N^{-1/4}) Pr [ ∣ C ij ∣ < δ N ] = O ( N − 1/4 ) , and therefore Pr [ I ϕ ( i : j ) < N − 2 ] = O ( N − 1 / 4 ) \Pr[I_\phi(i:j)<N^{-2}]=O(N^{-1/4}) Pr [ I ϕ ( i : j ) < N − 2 ] = O ( N − 1/4 ) . A union bound over the ( n 2 ) \binom{n}{2} ( 2 n ) pairs gives Pr [ E L c ] = O ( n 2 N − 1 / 4 ) = O ( n 2 2 − n / 4 ) = o ( 1 ) \Pr[E_L^c]=O(n^2N^{-1/4})=O(n^2 2^{-n/4})=o(1) Pr [ E L c ] = O ( n 2 N − 1/4 ) = O ( n 2 2 − n /4 ) = o ( 1 ) .
We next show that a Haar-random state satisfies the small-region mutual-information condition E U E_U E U with high probability.
Claim 6.4 (Small-region mutual information upper bound). For all sufficiently large n n n , Pr ϕ ∼ Haar n [ E U c ] ≤ exp ( − Ω ( 2 n / n 2 ) ) = o ( 1 ) \Pr_{\phi\sim\operatorname{Haar}_n}[E_U^c]\le\exp(-\Omega(2^n/n^2))=o(1) Pr ϕ ∼ Haar n [ E U c ] ≤ exp ( − Ω ( 2 n / n 2 )) = o ( 1 ) .
Proof. Fix disjoint subsets A , B ⊆ [ n ] A,B\subseteq[n] A , B ⊆ [ n ] with ∣ A ∣ , ∣ B ∣ < s n |A|,|B|<s_n ∣ A ∣ , ∣ B ∣ < s n , and let ρ A \rho_A ρ A and ρ B \rho_B ρ B denote the corresponding reduced states of ∣ ϕ ⟩ |\phi\rangle ∣ ϕ ⟩ . Assume both subsets are nonempty. Let R : = A ∪ B R:=A\cup B R := A ∪ B , r : = ∣ R ∣ = ∣ A ∣ + ∣ B ∣ r:=|R|=|A|+|B| r := ∣ R ∣ = ∣ A ∣ + ∣ B ∣ , and let ρ R \rho_R ρ R denote the reduced state on R R R . Since S ( ρ A ) ≤ ∣ A ∣ S(\rho_A)\le|A| S ( ρ A ) ≤ ∣ A ∣ and S ( ρ B ) ≤ ∣ B ∣ S(\rho_B)\le|B| S ( ρ B ) ≤ ∣ B ∣ , we have I ϕ ( A : B ) ≤ r − S ( ρ R ) I_\phi(A:B)\le r-S(\rho_R) I ϕ ( A : B ) ≤ r − S ( ρ R ) . It is therefore enough to show that every relevant R R R satisfies S ( ρ R ) > r − 1 / 4 S(\rho_R)>r-1/4 S ( ρ R ) > r − 1/4 .
For all sufficiently large n n n , s n = ⌊ n / 4 ⌋ s_n=\lfloor n/4\rfloor s n = ⌊ n /4 ⌋ , and hence r ≤ 2 s n − 2 ≤ n / 2 − 2 r\le2s_n-2\le n/2-2 r ≤ 2 s n − 2 ≤ n /2 − 2 . Corollary VI.1 of [29 ] implies that, for every fixed α > 0 \alpha>0 α > 0 , except with probability 2 − n − 2 2^{-n-2} 2 − n − 2 , every subsystem R ⊆ [ n ] R\subseteq[n] R ⊆ [ n ] simultaneously satisfies S ( ρ R ) ≥ x R − α β R S(\rho_R)\ge x_R-\alpha\beta_R S ( ρ R ) ≥ x R − α β R , where x R : = min { ∣ R ∣ , n − ∣ R ∣ } x_R:=\min\{|R|,n-|R|\} x R := min { ∣ R ∣ , n − ∣ R ∣ } and β R : = ( ln 2 ) − 1 2 2 x R − n \beta_R:=(\ln2)^{-1}2^{2x_R-n} β R := ( ln 2 ) − 1 2 2 x R − n . For every subsystem relevant to E U E_U E U , we have x R = r x_R=r x R = r and β R ≤ 1 / ( 16 ln 2 ) < 1 / 8 \beta_R\le1/(16\ln2)<1/8 β R ≤ 1/ ( 16 ln 2 ) < 1/8 . Taking α = 1 / 8 \alpha=1/8 α = 1/8 , except with probability exp ( − Ω ( 2 n / n 2 ) ) \exp(-\Omega(2^n/n^2)) exp ( − Ω ( 2 n / n 2 )) , every relevant R R R simultaneously satisfies S ( ρ R ) > r − 1 / 4 S(\rho_R)>r-1/4 S ( ρ R ) > r − 1/4 . Hence I ϕ ( A : B ) < 1 / 4 I_\phi(A:B)<1/4 I ϕ ( A : B ) < 1/4 for every tested pair A , B A,B A , B , which proves Pr [ E U c ] ≤ exp ( − Ω ( 2 n / n 2 ) ) = o ( 1 ) \Pr[E_U^c]\le\exp(-\Omega(2^n/n^2))=o(1) Pr [ E U c ] ≤ exp ( − Ω ( 2 n / n 2 )) = o ( 1 ) . □
Lemma 6.2 (Largeness of the mutual information promise property). The mutual information promise property of Definition 6.1 satisfies the largeness condition of Definition 2.2.
Proof. Since P n y e s = E L ∩ E U P_n^{\mathrm{yes}}=E_L\cap E_U P n yes = E L ∩ E U , a union bound and Claims 6.3 and 6.4 give Pr ϕ ∼ Haar n [ ∣ ϕ ⟩ ∉ P n y e s ] = o ( 1 ) \Pr_{\phi\sim\operatorname{Haar}_n}[|\phi\rangle\notin P_n^{\mathrm{yes}}]=o(1) Pr ϕ ∼ Haar n [ ∣ ϕ ⟩ ∈ / P n yes ] = o ( 1 ) . Therefore Pr ϕ ∼ Haar n [ ∣ ϕ ⟩ ∈ P n y e s ] = 1 − o ( 1 ) \Pr_{\phi\sim\operatorname{Haar}_n}[|\phi\rangle\in P_n^{\mathrm{yes}}]=1-o(1) Pr ϕ ∼ Haar n [ ∣ ϕ ⟩ ∈ P n yes ] = 1 − o ( 1 ) . In particular, this probability is at least 1 / 2 ≥ 2 − n 1/2\ge2^{-n} 1/2 ≥ 2 − n for all sufficiently large n n n . □
Constructivity. To prove constructivity, we give a deterministic classical tester that decides the promise property from a sufficiently precise amplitude list. We’ll have to bound two sources of error, from truncating and renormalizing the amplitude list, and from numerically evaluating the mutual informations of the resulting state. We will make use of the two following facts for bounding these errors.
Claim 6.5 (Continuity of mutual information). Let ρ \rho ρ and σ \sigma σ be n n n -qubit states satisfying D ( ρ , σ ) ≤ ϵ t r D(\rho,\sigma)\le\epsilon_{\mathrm{tr}} D ( ρ , σ ) ≤ ϵ tr , where ϵ t r ∈ [ 0 , 1 / 2 ] \epsilon_{\mathrm{tr}}\in[0,1/2] ϵ tr ∈ [ 0 , 1/2 ] is the trace-distance error bound. Then, for every pair of nonempty disjoint subsets A , B ⊆ [ n ] A,B\subseteq[n] A , B ⊆ [ n ] , ∣ I ρ ( A : B ) − I σ ( A : B ) ∣ ≤ 2 ϵ t r ( ∣ A ∣ + ∣ B ∣ ) + 3 h 2 ( ϵ t r ) |I_\rho(A:B)-I_\sigma(A:B)|\le2\epsilon_{\mathrm{tr}}(|A|+|B|)+3h_2(\epsilon_{\mathrm{tr}}) ∣ I ρ ( A : B ) − I σ ( A : B ) ∣ ≤ 2 ϵ tr ( ∣ A ∣ + ∣ B ∣ ) + 3 h 2 ( ϵ tr ) , where h 2 ( x ) : = − x log 2 x − ( 1 − x ) log 2 ( 1 − x ) h_2(x):=-x\log_2x-(1-x)\log_2(1-x) h 2 ( x ) := − x log 2 x − ( 1 − x ) log 2 ( 1 − x ) .
Proof. Partial trace cannot increase trace distance, so the reduced states on A A A , B B B , and A B AB A B are each at trace distance at most ε t r \varepsilon_{\mathrm{tr}} ε tr . By the Fannes–Audenaert inequality [30 ] , ∣ S ( ρ R ) − S ( σ R ) ∣ ≤ ε t r ∣ R ∣ + h 2 ( ε t r ) \lvert S(\rho_R)-S(\sigma_R)\rvert\le\varepsilon_{\mathrm{tr}}\lvert R\rvert+h_2(\varepsilon_{\mathrm{tr}}) ∣ S ( ρ R ) − S ( σ R )∣ ≤ ε tr ∣ R ∣ + h 2 ( ε tr ) for R ∈ { A , B , A B } R\in\{A,B,AB\} R ∈ { A , B , A B } . Applying the triangle inequality to I ( A : B ) = S ( ρ A ) + S ( ρ B ) − S ( ρ A B ) I(A:B)=S(\rho_A)+S(\rho_B)-S(\rho_{AB}) I ( A : B ) = S ( ρ A ) + S ( ρ B ) − S ( ρ A B ) and using that A A A and B B B are disjoint gives the claimed bound.
Claim 6.6 (Efficient numerical evaluation of mutual information). Let ω \omega ω be an n n n -qubit density matrix whose entries have rational real and imaginary parts of bit length at most ℓ \ell ℓ . Given disjoint subsets A , B ⊆ [ n ] A,B\subseteq[n] A , B ⊆ [ n ] and an integer r ≥ 1 r\ge1 r ≥ 1 , there is a deterministic classical algorithm that computes I ~ ω ( A : B ) \widetilde{I}_{\omega}(A:B) I ω ( A : B ) satisfying ∣ I ~ ω ( A : B ) − I ω ( A : B ) ∣ ≤ 2 − r \lvert\widetilde{I}_{\omega}(A:B)-I_{\omega}(A:B)\rvert\le2^{-r} ∣ I ω ( A : B ) − I ω ( A : B )∣ ≤ 2 − r in time poly ( 2 n , ℓ , r ) \operatorname{poly}(2^n,\ell,r) poly ( 2 n , ℓ , r ) .
Proof. If either A A A or B B B is empty, the algorithm outputs zero. Otherwise, it suffices to approximate S ( ω A ) S(\omega_A) S ( ω A ) , S ( ω B ) S(\omega_B) S ( ω B ) , and S ( ω A B ) S(\omega_{AB}) S ( ω A B ) . Fix R ∈ { A , B , A B } R\in\{A,B,AB\} R ∈ { A , B , A B } . The reduced density matrix ω R \omega_R ω R can be formed exactly by partial trace. It has dimension d R = 2 ∣ R ∣ ≤ 2 n d_R=2^{\lvert R\rvert}\le2^n d R = 2 ∣ R ∣ ≤ 2 n and rational entries of polynomial bit length. Deterministic finite-precision algorithms approximate the eigenvalues of a rational Hermitian matrix in time polynomial in the matrix dimension, input bit length, and requested precision [31 ] . Let λ ( R ) = ( λ 1 , … , λ d R ) \lambda^{(R)}=(\lambda_1,\ldots,\lambda_{d_R}) λ ( R ) = ( λ 1 , … , λ d R ) be the eigenvalues of ω R \omega_R ω R and set δ s p e c : = 2 − 3 ( n + r + 2 ) \delta_{\mathrm{spec}}:=2^{-3(n+r+2)} δ spec := 2 − 3 ( n + r + 2 ) . Approximate each λ i \lambda_i λ i to additive error at most δ s p e c / d R \delta_{\mathrm{spec}}/d_R δ spec / d R . The resulting eigenvalue vector is within δ s p e c \delta_{\mathrm{spec}} δ spec of λ ( R ) \lambda^{(R)} λ ( R ) in ℓ 1 \ell_1 ℓ 1 distance. After clipping negative entries to zero and renormalizing, we obtain a probability vector λ ^ ( R ) \widehat{\lambda}^{(R)} λ ( R ) within 2 δ s p e c 2\delta_{\mathrm{spec}} 2 δ spec in ℓ 1 \ell_1 ℓ 1 distance, hence within δ s p e c \delta_{\mathrm{spec}} δ spec in total variation distance. Let H ( p ) : = − ∑ i p i log 2 p i H(p):=-\sum_i p_i\log_2 p_i H ( p ) := − ∑ i p i log 2 p i denote Shannon entropy. Since von Neumann entropy is the Shannon entropy of the eigenvalues, Fannes–Audenaert [30 ] gives ∣ H ( λ ^ ( R ) ) − S ( ω R ) ∣ ≤ n δ s p e c + h 2 ( δ s p e c ) ≤ 2 − r − 3 \lvert H(\widehat{\lambda}^{(R)})-S(\omega_R)\rvert\le n\delta_{\mathrm{spec}}+h_2(\delta_{\mathrm{spec}})\le2^{-r-3} ∣ H ( λ ( R ) ) − S ( ω R )∣ ≤ n δ spec + h 2 ( δ spec ) ≤ 2 − r − 3 . The finite sum defining H ( λ ^ ( R ) ) H(\widehat{\lambda}^{(R)}) H ( λ ( R ) ) can also be evaluated to error at most 2 − r − 3 2^{-r-3} 2 − r − 3 using standard multiple-precision algorithms for the logarithm [32 ] . Thus each entropy is approximated to error at most 2 − r − 2 2^{-r-2} 2 − r − 2 , and combining the three entropy estimates gives mutual-information error less than 2 − r 2^{-r} 2 − r .
Lemma 6.3 (Constructivity of the mutual information promise property). The mutual information promise property of Definition 6.1 satisfies the constructivity condition of Definition 2.2.
Proof. The two promise gaps are Δ α , n : = α n y e s − α n n o = 2 − 2 n − 1 \Delta_{\alpha,n}:=\alpha_n^{\mathrm{yes}}-\alpha_n^{\mathrm{no}}=2^{-2n-1} Δ α , n := α n yes − α n no = 2 − 2 n − 1 and Δ β : = β n n o − β n y e s = 1 / 4 \Delta_\beta:=\beta_n^{\mathrm{no}}-\beta_n^{\mathrm{yes}}=1/4 Δ β := β n no − β n yes = 1/4 . Let Δ n : = 2 − 2 n − 1 \Delta_n:=2^{-2n-1} Δ n := 2 − 2 n − 1 denote the smaller gap, and define the midpoint thresholds m α , n : = 3 ⋅ 2 − 2 n − 2 m_{\alpha,n}:=3\cdot2^{-2n-2} m α , n := 3 ⋅ 2 − 2 n − 2 and m β : = 3 / 8 m_\beta:=3/8 m β := 3/8 . If either A A A or B B B is empty, then I ψ ( A : B ) = 0 I_\psi(A:B)=0 I ψ ( A : B ) = 0 , so the pair automatically satisfy the regional condition and do not need to be tested.
Given 1 n 1^n 1 n and a truncated amplitude list a T ( ψ ) \mathsf{a}_T(\psi) a T ( ψ ) , the tester proceeds as follows.
Interpret a T ( ψ ) \mathsf{a}_T(\psi) a T ( ψ ) as a vector v ∈ C 2 n v\in\mathbb{C}^{2^n} v ∈ C 2 n and let q : = ∥ v ∥ 2 2 q:=\lVert v\rVert_2^2 q := ∥ v ∥ 2 2 . If q = 0 q=0 q = 0 , reject. Otherwise define ρ ^ : = v v † / q \widehat{\rho}:=vv^\dagger/q ρ := v v † / q .
For every pair of distinct qubits i , j i,j i , j and every pair of nonempty disjoint subsets A , B ⊆ [ n ] A,B\subseteq[n] A , B ⊆ [ n ] with ∣ A ∣ , ∣ B ∣ < s n \lvert A\rvert,\lvert B\rvert<s_n ∣ A ∣ , ∣ B ∣ < s n , compute approximations I ~ ρ ^ ( i : j ) \widetilde{I}_{\widehat{\rho}}(i:j) I ρ ( i : j ) and I ~ ρ ^ ( A : B ) \widetilde{I}_{\widehat{\rho}}(A:B) I ρ ( A : B ) .
Accept if I ~ ρ ^ ( i : j ) ≥ m α , n \widetilde{I}_{\widehat{\rho}}(i:j)\ge m_{\alpha,n} I ρ ( i : j ) ≥ m α , n for every i ≠ j i\ne j i = j and I ~ ρ ^ ( A : B ) ≤ m β \widetilde{I}_{\widehat{\rho}}(A:B)\le m_\beta I ρ ( A : B ) ≤ m β for every tested pair A , B A,B A , B . Reject otherwise.
We first bound the error caused by truncating the input state. By Definition 2.1, ∥ ψ − ∣ ψ ⟩ T ∥ 2 ≤ 2 ( n + 1 ) / 2 − T = : δ T \lVert\psi-\lvert\psi\rangle_T\rVert_2\le2^{(n+1)/2-T}=:\delta_T ∥ ψ − ∣ ψ ⟩ T ∥ 2 ≤ 2 ( n + 1 ) /2 − T =: δ T . The reverse triangle inequality gives ∣ 1 − ∥ ∣ ψ ⟩ T ∥ 2 ∣ ≤ δ T \lvert1-\lVert\lvert\psi\rangle_T\rVert_2\rvert\le\delta_T ∣ 1 − ∥∣ ψ ⟩ T ∥ 2 ∣ ≤ δ T . Hence, for ∣ ψ ^ ⟩ : = v / ∥ v ∥ 2 \lvert\widehat{\psi}\rangle:=v/\lVert v\rVert_2 ∣ ψ ⟩ := v / ∥ v ∥ 2 , ∥ ∣ ψ ^ ⟩ − ∣ ψ ⟩ T ∥ 2 ≤ 2 δ T \lVert\lvert\widehat{\psi}\rangle-\lvert\psi\rangle_T\rVert_2\le2\delta_T ∥∣ ψ ⟩ − ∣ ψ ⟩ T ∥ 2 ≤ 2 δ T . Let ε T : = 2 δ T = 2 ( n + 3 ) / 2 − T \varepsilon_T:=2\delta_T=2^{(n+3)/2-T} ε T := 2 δ T = 2 ( n + 3 ) /2 − T . Then ρ ^ \widehat{\rho} ρ is the density matrix corresponding to ∣ ψ ^ ⟩ \lvert\widehat{\psi}\rangle ∣ ψ ⟩ , and D ( ρ ^ , ∣ ψ ⟩ ⟨ ψ ∣ ) ≤ ε T D(\widehat{\rho},\lvert\psi\rangle\langle\psi\rvert)\le\varepsilon_T D ( ρ , ∣ ψ ⟩ ⟨ ψ ∣) ≤ ε T . For ε T ≤ 1 / 2 \varepsilon_T\le1/2 ε T ≤ 1/2 , Claim 6.5 gives, for every tested pair, ∣ I ρ ^ ( A : B ) − I ψ ( A : B ) ∣ ≤ 4 n ε T + 3 h 2 ( ε T ) \lvert I_{\widehat{\rho}}(A:B)-I_\psi(A:B)\rvert\le4n\varepsilon_T+3h_2(\varepsilon_T) ∣ I ρ ( A : B ) − I ψ ( A : B )∣ ≤ 4 n ε T + 3 h 2 ( ε T ) . Set τ ( n ) : = 4 n + 11 \tau(n):=4n+11 τ ( n ) := 4 n + 11 . For every T ≥ τ ( n ) T\ge\tau(n) T ≥ τ ( n ) , using h 2 ( x ) ≤ 2 x log 2 ( 1 / x ) h_2(x)\le2x\log_2(1/x) h 2 ( x ) ≤ 2 x log 2 ( 1/ x ) and Δ n = 2 − 2 n − 1 \Delta_n=2^{-2n-1} Δ n = 2 − 2 n − 1 , 4 n ε T + 3 h 2 ( ε T ) Δ n ≤ 2 − 3 n − 2 n + 57 ≤ 1 8 \frac{4n\varepsilon_T+3h_2(\varepsilon_T)}{\Delta_n}\le2^{-3n-2}\sqrt{n+57}\le\frac18 Δ n 4 n ε T + 3 h 2 ( ε T ) ≤ 2 − 3 n − 2 n + 57 ≤ 8 1 . Thus the error due to truncating the input state satisfies ∣ I ρ ^ ( A : B ) − I ψ ( A : B ) ∣ ≤ Δ n / 8 \lvert I_{\widehat{\rho}}(A:B)-I_\psi(A:B)\rvert\le\Delta_n/8 ∣ I ρ ( A : B ) − I ψ ( A : B )∣ ≤ Δ n /8 . For the numerical evaluation error, choose r n : = 2 n + 4 r_n:=2n+4 r n := 2 n + 4 , so that 2 − r n = Δ n / 8 2^{-r_n}=\Delta_n/8 2 − r n = Δ n /8 . The entries of ρ ^ = v v † / q \widehat{\rho}=vv^\dagger/q ρ = v v † / q have rational real and imaginary parts of bit length polynomial in T T T and n n n , so Claim 6.6 gives ∣ I ~ ρ ^ ( A : B ) − I ρ ^ ( A : B ) ∣ ≤ Δ n / 8 \lvert\widetilde{I}_{\widehat{\rho}}(A:B)-I_{\widehat{\rho}}(A:B)\rvert\le\Delta_n/8 ∣ I ρ ( A : B ) − I ρ ( A : B )∣ ≤ Δ n /8 . Combining the truncation and numerical evaluation errors by the triangle inequality, every estimate used by the tester satisfies ∣ I ~ ρ ^ ( A : B ) − I ψ ( A : B ) ∣ ≤ Δ n / 4 \lvert\widetilde{I}_{\widehat{\rho}}(A:B)-I_\psi(A:B)\rvert\le\Delta_n/4 ∣ I ρ ( A : B ) − I ψ ( A : B )∣ ≤ Δ n /4 .
Since Δ n \Delta_n Δ n is the smaller of the two promise gaps, this error is strictly less than half the distance between the yes- and no-thresholds in either condition. Thus, if ∣ ψ ⟩ ∈ P n y e s \lvert\psi\rangle\in P_n^{\mathrm{yes}} ∣ ψ ⟩ ∈ P n yes , every pairwise estimate remains above m α , n m_{\alpha,n} m α , n and every regional estimate remains below m β m_{\beta} m β . If ∣ ψ ⟩ ∈ P n n o |\psi\rangle\in P_n^{\mathrm{no}} ∣ ψ ⟩ ∈ P n no , a pair or pair of subsets witnessing this remains on the rejecting side of the corresponding midpoint. Therefore the tester accepts every state in P n y e s P_n^{\mathrm{yes}} P n yes and rejects every state in P n n o P_n^{\mathrm{no}} P n no .
Finally, let L L L be the total input length. Since the amplitude list contains 2 n 2^n 2 n complex amplitudes represented to T T T bits of precision, L = Θ ( n + 2 n T ) L = \Theta(n + 2^nT) L = Θ ( n + 2 n T ) . There are O ( n 2 ) O(n^2) O ( n 2 ) qubit pairs and at most 3 n 3^n 3 n ordered disjoint subset pairs. Each mutual information can be evaluated in poly ( 2 n , T , n ) \operatorname{poly}(2^n,T,n) poly ( 2 n , T , n ) time by Claim 6.6 . Since 3 n ≤ ( 2 n ) 2 3^n \le(2^n)^2 3 n ≤ ( 2 n ) 2 and 2 n , T , n = O ( L ) 2^n,T,n = O(L) 2 n , T , n = O ( L ) , the total running time is poly ( L ) \operatorname{poly}(L) poly ( L ) .
Usefulness. We now apply the lower bound from [Par25, Theorem 3.6] to show that the mutual information promise property is useful against clean-output A 1 C Q \mathrm{A}_1\mathrm{CQ} A 1 CQ state preparation.
Lemma 6.4 (Usefulness of the mutual information promise property). The mutual information promise property of Definition 6.1 is ε M I \varepsilon_{\mathrm{MI}} ε MI -useful against clean-output A 1 C Q \mathrm{A}_1\mathrm{CQ} A 1 CQ state preparation, where ε M I ( n ) : = 2 − 4 n − 10 \varepsilon_{\mathrm{MI}}(n) := 2^{-4n-10} ε MI ( n ) := 2 − 4 n − 10 .
Proof. Let { ∣ ψ n ⟩ } \{|\psi_n\rangle\} { ∣ ψ n ⟩} be a pure-state family that is ε M I \varepsilon_{\mathrm{MI}} ε MI -approximately cleanly preparable by A 1 C Q \mathrm{A}_1\mathrm{CQ} A 1 CQ . For each n n n , let C n = U n K n C_n = U_nK_n C n = U n K n be a clean approximating circuit, where K n K_n K n is a Clifford circuit and U n U_n U n is a Q N C 0 \mathrm{QNC}^0 QNC 0 circuit of depth d n ≤ d d_n \le d d n ≤ d for some constant d d d independent of n n n . Thus, for some number a n a_n a n of work qubits, C n ∣ 0 n + a n ⟩ = ∣ ϕ n ⟩ ∣ 0 a n ⟩ C_n|0^{n+a_n}\rangle= |\phi_n\rangle|0^{a_n}\rangle C n ∣ 0 n + a n ⟩ = ∣ ϕ n ⟩ ∣ 0 a n ⟩ , and D ( ∣ ψ n ⟩ ⟨ ψ n ∣ , ∣ ϕ n ⟩ ⟨ ϕ n ∣ ) ≤ ε M I ( n ) D(|\psi_n\rangle\langle\psi_n|,|\phi_n\rangle\langle\phi_n|) \le\varepsilon_{\mathrm{MI}}(n) D ( ∣ ψ n ⟩ ⟨ ψ n ∣ , ∣ ϕ n ⟩ ⟨ ϕ n ∣ ) ≤ ε MI ( n ) .
Suppose, for contradiction, that ∣ ψ n ⟩ ∉ P n n o |\psi_n\rangle\notin P_n^{\mathrm{no}} ∣ ψ n ⟩ ∈ / P n no for infinitely many n n n . For every such n n n , Definition 6.1 gives I ψ n ( i : j ) > 2 − 2 n − 1 I_{\psi_n}(i:j) > 2^{-2n-1} I ψ n ( i : j ) > 2 − 2 n − 1 for every i ≠ j i \ne j i = j , and I ψ n ( A : B ) < 1 / 2 I_{\psi_n}(A:B) < 1/2 I ψ n ( A : B ) < 1/2 for every pair of disjoint subsets A , B ⊆ [ n ] A,B \subseteq[n] A , B ⊆ [ n ] with ∣ A ∣ , ∣ B ∣ < s n |A|,|B| < s_n ∣ A ∣ , ∣ B ∣ < s n . We apply the a = 0 a=0 a = 0 case of [Par25, Theorem 3.6] with k = 0 k=0 k = 0 , α = 2 − 2 n − 1 \alpha=2^{-2n-1} α = 2 − 2 n − 1 , β = 1 / 2 \beta=1/2 β = 1/2 , and s = s n s=s_n s = s n . The original a n a_n a n work qubits are the qubits required to be returned to ∣ 0 ⟩ |0\rangle ∣0 ⟩ .
Let δ n : = ∥ ∣ ψ n ⟩ ⟨ ψ n ∣ − ∣ ϕ n ⟩ ⟨ ϕ n ∣ ∥ 1 \delta_n := \lVert|\psi_n\rangle\langle\psi_n| - |\phi_n\rangle\langle\phi_n|\rVert_1 δ n := ∥ ∣ ψ n ⟩ ⟨ ψ n ∣ − ∣ ϕ n ⟩ ⟨ ϕ n ∣ ∥ 1 . Since our approximation error is measured in trace distance, δ n ≤ 2 ε M I ( n ) = 2 − 4 n − 9 \delta_n \le2\varepsilon_{\mathrm{MI}}(n) = 2^{-4n-9} δ n ≤ 2 ε MI ( n ) = 2 − 4 n − 9 . The resulting lower bound implies that at least one of δ n > ( 2 − 2 n − 1 1 + 3 e ) ln 4 \delta_n > \left(\frac{2^{-2n-1}}{1+3e}\right)^{\ln4} δ n > ( 1 + 3 e 2 − 2 n − 1 ) l n 4 , d n ≥ 1 4 log s n d_n \ge\frac{1}{4}\log s_n d n ≥ 4 1 log s n , or d n = Ω ( log ( 1 / δ n ) ) d_n = \Omega(\log(1/\delta_n)) d n = Ω ( log ( 1/ δ n )) must hold. For the first alternative, 1 + 3 e < 16 1+3e < 16 1 + 3 e < 16 and ln 4 < 3 / 2 \ln4 < 3/2 ln 4 < 3/2 give ( 2 − 2 n − 1 / ( 1 + 3 e ) ) ln 4 > 2 − 3 n − 8 > 2 − 4 n − 9 ≥ δ n \left(2^{-2n-1}/(1+3e)\right)^{\ln4} > 2^{-3n-8} > 2^{-4n-9} \ge\delta_n ( 2 − 2 n − 1 / ( 1 + 3 e ) ) l n 4 > 2 − 3 n − 8 > 2 − 4 n − 9 ≥ δ n . The second alternative fails for sufficiently large n n n because s n = Θ ( n ) s_n = \Theta(n) s n = Θ ( n ) while d n ≤ d d_n \le d d n ≤ d is bounded. If δ n > 0 \delta_n > 0 δ n > 0 , then δ n ≤ 2 − 4 n − 9 \delta_n \le2^{-4n-9} δ n ≤ 2 − 4 n − 9 implies log ( 1 / δ n ) ≥ 4 n + 9 \log(1/\delta_n) \ge4n + 9 log ( 1/ δ n ) ≥ 4 n + 9 , so the third alternative also fails for sufficiently large n n n . The case δ n = 0 \delta_n = 0 δ n = 0 is ruled out by the exact-preparation argument preceding Theorem 3.6 in [Par25]. Therefore ∣ ψ n ⟩ ∈ P n n o |\psi_n\rangle\in P_n^{\mathrm{no}} ∣ ψ n ⟩ ∈ P n no for all sufficiently large n n n , proving the required eventual membership and hence ε M I \varepsilon_{\mathrm{MI}} ε MI -usefulness.
Thus combining Lemma 6.2, Lemma 6.3, and Lemma 6.4, we have proved Claim 6.2. This example is formulated in the clean-output preparation model, which is required for the usefulness argument above. A corresponding natural-proofs barrier therefore uses a PRAL family that is also preparable in the clean-output model.
Discussion and non-examples
Non-example: Exact state lower bounds via transcendental numbers Jia and Wolf construct explicit states and unitaries that require exponential-size circuits to prepare/implement exactly [33 ] . Here we explain their proof technique and explain why it is not natural. They consider a state that has a large set of algebraically independent numbers: a collection of numbers is algebraically independent if it satisfies no nonzero polynomial relation with rational coefficients. Since amplitudes of a state are some polynomial expression in the entries of the individual gates, in order to have exponentially many independent algebraically independent numbers, we must have exponentially many gates.
Their proof does not fit into our framework as a natural proof because the algebraic property of containing many algebraically-independent entries is not constructive . Exact algebraic relations cannot, in general, be determined from numerical approximations. With only finite precision, we cannot even tell if an entry is irrational, regardless of runtime.
Finding a natural property containing the nonnatural property In the example in § 8.2 , high fidelity itself is not a natural property because it does not satisfy the largeness condition. Nevertheless by Lemma 6.1, high fidelity implies another property, high approximate Pauli degree, which does. Thus the lower bound for high-fidelity states can still be viewed as a natural proof, using high approximate Pauli degree as the certificate.
Natural proofs for unitary implementation
In this section we extend our natural-proofs framework to lower bounds for unitary implementation. The abstract barrier carries over directly: pseudorandom finite-precision matrix descriptions supported on efficiently implementable unitaries would rule out natural unitary lower-bound properties. Unlike in the state-preparation setting, however, we do not instantiate this pseudorandom object from a standard cryptographic assumption.
We show below that attempting to reproduce the statistical random-function stage of our state construction for full unitary matrices would already imply a positive solution to the unitary synthesis problem, via the relaxed-net argument of Brakerski and Yuen [7 ] . We therefore treat the unitary barrier conditionally, give an example of a known unitary lower-bound technique that is natural, and discuss its relation to scalable pseudorandom unitaries and unitary synthesis.
Natural unitary properties and a conditional barrier
Write N = 2 n N = 2^n N = 2 n , and let mat T ( U ) \operatorname{mat}_T(U) mat T ( U ) denote the full N × N N \times N N × N matrix obtained by truncating the real and imaginary parts of every entry of U U U to T T T fractional bits. When supplied to a classical algorithm, this matrix is represented using a fixed standard binary encoding of length O ( N 2 ( T + 1 ) ) O(N^2(T + 1)) O ( N 2 ( T + 1 )) .
Definition 7.1 (Natural unitary promise property). A unitary promise property consists of disjoint sets P n y e s , P n n o ⊆ U ( 2 n ) P_n^{\mathrm{yes}}, P_n^{\mathrm{no}} \subseteq\mathrm{U}(2^n) P n yes , P n no ⊆ U ( 2 n ) , with both sets invariant under global phase. It is natural if it satisfies:
Constructivity. There is a deterministic classical algorithm and a polynomially bounded precision threshold τ ( n ) \tau(n) τ ( n ) such that, for every T ≥ τ ( n ) T \ge\tau(n) T ≥ τ ( n ) , the algorithm accepts mat T ( U ) \operatorname{mat}_T(U) mat T ( U ) for every YES-unitary and rejects it for every NO-unitary, in time polynomial in the total input length.
Largeness. The YES-set is Haar-measurable and has probability at least 2 − c n 2^{-cn} 2 − c n under Haar measure on U ( 2 n ) \mathrm{U}(2^n) U ( 2 n ) , for some constant c > 0 c > 0 c > 0 and all sufficiently large n n n .
Outside the two promise sets the algorithm’s behavior is unrestricted.
The barrier we state below is agnostic to the particular notion of approximation for implementing the unitary. Fix any notion of ε \varepsilon ε -approximation that is invariant under global phase, and fix the notion of implementation of an n n n -qubit unitary by a circuit in C \mathcal{C} C , e.g. whether ancillas are allowed. A natural unitary property is ε \varepsilon ε -useful relative to this implementation notion if every unitary family approximately implementable by polynomial-size circuits in C \mathcal{C} C belongs to the NO-set for all sufficiently large n n n .
The unitary analogue of a PRAL family is a family with pseudorandom finite-precision matrix descriptions in the following sense.
Definition 7.2 (Pseudorandom finite-precision matrix descriptions). A family D U = { D n , λ , T U } n , λ , T ∈ N \mathcal{D}^{\mathrm{U}} = \{D^{\mathrm{U}}_{n,\lambda,T}\}_{n,\lambda,T \in\mathbb{N}} D U = { D n , λ , T U } n , λ , T ∈ N of distributions on U ( 2 n ) \mathrm{U}(2^n) U ( 2 n ) has pseudorandom finite-precision matrix descriptions if, for every probabilistic polynomial-time classical distinguisher A A A and every pair of polynomially bounded functions λ , T : N → N \lambda,T : \mathbb{N} \to\mathbb{N} λ , T : N → N ,
∣ Pr U ∼ D n , λ ( n ) , T ( n ) U [ A ( 1 n , 1 λ ( n ) , mat T ( n ) ( U ) ) = 1 ] − Pr V ∼ Haar ( U ( 2 n ) ) [ A ( 1 n , 1 λ ( n ) , mat T ( n ) ( V ) ) = 1 ] ∣ ≤ 2 − λ ( n ) \left| \Pr_{U \sim D^{\mathrm{U}}_{n,\lambda(n),T(n)}} \left[A\left(1^n,1^{\lambda(n)},\operatorname{mat}_{T(n)}(U)\right)=1\right] - \Pr_{V \sim\operatorname{Haar}(\mathrm{U}(2^n))} \left[A\left(1^n,1^{\lambda(n)},\operatorname{mat}_{T(n)}(V)\right)=1\right] \right| \leq2^{-\lambda(n)} U ∼ D n , λ ( n ) , T ( n ) U Pr [ A ( 1 n , 1 λ ( n ) , mat T ( n ) ( U ) ) = 1 ] − V ∼ Haar ( U ( 2 n )) Pr [ A ( 1 n , 1 λ ( n ) , mat T ( n ) ( V ) ) = 1 ] ≤ 2 − λ ( n ) for all sufficiently large n n n . The running time of A A A is measured with respect to its total input length. Efficient sampling from D n , λ , T U D^{\mathrm{U}}_{n,\lambda,T} D n , λ , T U is not required.
We say that such a family is ε \varepsilon ε -approximately efficiently implementable if there exists some polynomial p p p such that every unitary in the support of D n , λ , T U D^{\mathrm{U}}_{n,\lambda,T} D n , λ , T U can be ε \varepsilon ε -approximately implemented by a circuit of size at most p ( n , λ , T ) p(n,\lambda,T) p ( n , λ , T ) .
Proposition 7.1 (Conditional unitary natural-proofs barrier). Fix a notion of ε \varepsilon ε -approximate unitary implementation. If a family with pseudorandom finite-precision matrix descriptions is efficiently ε \varepsilon ε -approximately implementable by polynomial-size circuits in C \mathcal{C} C , then no natural unitary property is ε \varepsilon ε -useful against C \mathcal{C} C relative to this implementation notion.
Proof. The recognition algorithm for a useful property rejects every supported unitary, but accepts a Haar-random unitary with the probability guaranteed by largeness. Choosing the security guarantee for these descriptions stronger than this acceptance gap contradicts pseudorandomness, exactly as in the state-preparation argument.
The underlying possibility was raised by Aaronson [34 ] , who asked whether polynomial-size quantum circuits can give rise to matrices that look Haar-random even to exponential-time classical algorithms with access to their entries [34 Section 3.2] . This proposition isolates the pseudorandom object needed for such a barrier. Unlike our main state-preparation theorem, it does not by itself construct that object from a cryptographic assumption.
Example: Pauli spectrum concentration
Nadimpalli, Vasconcelos, Parham and Yuen [15 ] showed that for Q A C 0 \mathrm{QAC}^{0} QAC 0 circuits with sublinear ancillas, the Pauli spectrum of their single output observables is concentrated on low-degree Pauli strings. For an n n n -qubit unitary U U U , let Z 1 Z_1 Z 1 denote the Pauli Z Z Z operator acting on the first qubit, and consider the conjugated observable A U = U † Z 1 U A_U=U^\dagger Z_1U A U = U † Z 1 U . The Pauli expansion of A U A_U A U is
A U = U † Z 1 U = ∑ P ∈ P n a P ( U ) P , a P ( U ) = 1 N Tr ( P U † Z 1 U ) . A_U=U^\dagger Z_1U=\sum_{P\in\mathcal{P}_n}a_P(U)P,\qquad a_P(U)=\frac{1}{N}\operatorname{Tr}(PU^\dagger Z_1U). A U = U † Z 1 U = P ∈ P n ∑ a P ( U ) P , a P ( U ) = N 1 Tr ( P U † Z 1 U ) .
The Pauli weight above degree k k k is defined as
W > k ( U ) = ∑ wt ( P ) > k ∣ a P ( U ) ∣ 2 . W_{>k}(U)=\sum_{\operatorname{wt}(P)>k}|a_P(U)|^2. W > k ( U ) = wt ( P ) > k ∑ ∣ a P ( U ) ∣ 2 .
Nadimpalli, Vasconcelos, Parham and Yuen show that for Q A C 0 \mathrm{QAC}^{0} QAC 0 circuits with sublinear ancillas, W > k ( U ) W_{>k}(U) W > k ( U ) is exponentially small in n n n for k = ⌊ n / 2 ⌋ k=\lfloor n/2\rfloor k = ⌊ n /2 ⌋ . This gives a natural certificate for unitaries that cannot be implemented by such circuits.
Property: Let P n Y \mathcal{P}_n^Y P n Y be the set of unitaries with W > n / 2 ( U ) ≥ 1 / 2 W_{>n/2}(U)\geq1/2 W > n /2 ( U ) ≥ 1/2 , and P n N \mathcal{P}_n^N P n N be the set of unitaries with W > n / 2 ( U ) ≤ 1 / 4 W_{>n/2}(U)\leq1/4 W > n /2 ( U ) ≤ 1/4 .
Constructivity: W > n / 2 ( U ) W_{>n/2}(U) W > n /2 ( U ) can be computed from the full matrix description of U U U , up to the precision of the description. This is because we can for each P ∈ P n P\in\mathcal{P}_n P ∈ P n compute a P ( U ) a_P(U) a P ( U ) from the matrix description of U U U and then sum over all P P P with weight greater than n / 2 n/2 n /2 .
Largeness. When U U U is Haar-random, the expected value of the mass on each of the non-identity Paulis is the same E U ∣ a P ( U ) ∣ 2 = 1 4 n − 1 \mathbb{E}_U|a_P(U)|^2=\frac{1}{4^n-1} E U ∣ a P ( U ) ∣ 2 = 4 n − 1 1 . Therefore the expected Pauli mass on weights at most k k k is ∑ j = 1 k ( n j ) 3 j / ( 4 n − 1 ) ≤ e − Ω ( n ) \sum_{j=1}^{k}\binom{n}{j}3^j/(4^n-1)\leq e^{-\Omega(n)} ∑ j = 1 k ( j n ) 3 j / ( 4 n − 1 ) ≤ e − Ω ( n ) . Since the total Pauli mass is one, Markov’s inequality implies
Pr U ∼ H a a r [ W > k ( U ) ≥ 1 2 ] ≥ 1 − e − Ω ( n ) . \Pr_{U\sim\mathrm{Haar}}\left[W_{>k}(U)\geq\frac{1}{2}\right]\geq1-e^{-\Omega(n)}. U ∼ Haar Pr [ W > k ( U ) ≥ 2 1 ] ≥ 1 − e − Ω ( n ) .
Implications for unitary synthesis
Our state construction first produces statistically Haar-like amplitude lists using a random function, and then replaces that function by a PRF. A corresponding construction for unitary matrices would have an additional consequence: a resolution to the Aaronson–Kuperberg unitary synthesis problem [35 ] .
Brakerski and Yuen [7 ] show that scalable ROM-PRUs imply unitary synthesis. The following observation derives the same conclusion directly from statistical closeness of finite-precision matrix descriptions.
Proposition 7.2 (Statistical matrix descriptions imply oracle unitary synthesis). Suppose that, for each n n n , a uniform quantum oracle algorithm A n \mathcal{A}_n A n uses polynomially many queries to a Boolean oracle f : { 0 , 1 } n → { 0 , 1 } f:\{0,1\}^n\to\{0,1\} f : { 0 , 1 } n → { 0 , 1 } , where m ( n ) = poly ( n ) m(n)=\operatorname{poly}(n) m ( n ) = poly ( n ) . Assume that, for every f f f , its induced channel approximates an n n n -qubit unitary U f U_f U f to diamond-norm error at most 1 / 100 1/100 1/100 .
Let D n D_n D n be the distribution of U f U_f U f for uniformly random f f f . If, at precision T = n + 10 T=n+10 T = n + 10 ,
TVD ( mat T ( D n ) , mat T ( Haar n U ) ) ≤ 1 4 , \operatorname{TVD}\left(\operatorname{mat}_T(D_n),\operatorname{mat}_T(\operatorname{Haar}_n^U)\right)\leq\frac{1}{4}, TVD ( mat T ( D n ) , mat T ( Haar n U ) ) ≤ 4 1 ,
where Haar U \operatorname{Haar}_{\mathrm{U}} Haar U is Haar measure on U ( 2 n ) \mathrm{U}(2^n) U ( 2 n ) , then unitary synthesis is possible with polynomial query complexity, polynomial Boolean-oracle input length, and diamond-norm error at most 1 / 10 1/10 1/10 .
Proof. Let S = { U f : f : { 0 , 1 } m ( n ) → { 0 , 1 } } S = \{U_f : f : \{0,1\}^{m(n)} \to\{0,1\}\} S = { U f : f : { 0 , 1 } m ( n ) → { 0 , 1 }} , and let B \mathcal{B} B be the set of its truncated matrix descriptions. Since mat T ( D n ) \operatorname{mat}_{T}(D_n) mat T ( D n ) is supported on B \mathcal{B} B , statistical closeness gives
Pr U ∼ Haar U [ mat T ( U ) ∈ B ] ≥ 3 4 . \Pr_{U\sim\operatorname{Haar}_{\mathrm{U}}}\left[\operatorname{mat}_{T}(U)\in\mathcal{B}\right]\ge\frac{3}{4}. U ∼ Haar U Pr [ mat T ( U ) ∈ B ] ≥ 4 3 .
Two unitaries with the same truncated description satisfy
∥ U − V ∥ o p ≤ ∥ U − V ∥ F ≤ 2 2 2 n − T < 1 100 . \lVert U-V\rVert_{\mathrm{op}}\le\lVert U-V\rVert_{\mathrm{F}}\le2\sqrt{2}^{2n-T}<\frac{1}{100}. ∥ U − V ∥ op ≤ ∥ U − V ∥ F ≤ 2 2 2 n − T < 100 1 .
Thus a Haar-random unitary is within operator-norm distance 1 / 100 1/100 1/100 of S S S with probability at least 3 / 4 3/4 3/4 . Following the relaxed-net composition argument of [7 ] , Corollary 3.5, fix any target unitary W W W and sample Haar-random U U U . Both U † U^\dagger U † and U W UW U W are Haar distributed, so with positive probability both are within 1 / 100 1/100 1/100 of S S S . There are therefore V 1 , V 2 ∈ S V_1,V_2\in S V 1 , V 2 ∈ S satisfying
∥ V 1 V 2 − W ∥ o p ≤ ∥ V 1 − U † ∥ o p + ∥ V 2 − U W ∥ o p ≤ 2 100 . \lVert V_1V_2-W\rVert_{\mathrm{op}}\le\lVert V_1-U^\dagger\rVert_{\mathrm{op}}+\lVert V_2-UW\rVert_{\mathrm{op}}\le\frac{2}{100}. ∥ V 1 V 2 − W ∥ op ≤ ∥ V 1 − U † ∥ op + ∥ V 2 − U W ∥ op ≤ 100 2 .
Combine the Boolean oracles corresponding to V 1 , V 2 V_1,V_2 V 1 , V 2 using a selector bit, and run their implementations in the order that implements V 1 V 2 V_1V_2 V 1 V 2 . Operator-norm error δ \delta δ between unitaries gives diamond-norm error at most 2 δ 2\delta 2 δ between their channels. Including the two implementation errors, the resulting channel is within 4 / 100 + 2 / 100 < 1 / 10 4/100+2/100<1/10 4/100 + 2/100 < 1/10 of the channel of W W W . The construction uses polynomially many queries to a Boolean oracle of input length m ( n ) + 1 m(n)+1 m ( n ) + 1 .
This argument relies essentially on statistical closeness, since membership in B \mathcal{B} B need not be efficiently decidable. It therefore shows that the statistical random-function strategy would imply unitary synthesis, not that unitary synthesis follows from our computational matrix-description criterion.