Abstract 1 Introduction 2 Preliminaries 3 Unconditional pseudorandomness from 2-designs 4 Parallel-query secure PRU against local 𝗤𝗡𝗖𝟎 5 Discussion and outlook References Appendix A Design properties of random phased subspace states

Unconditional Pseudorandomness Against Shallow Quantum Circuits

Soumik Ghosh ORCID University of Chicago, IL, USA Sathyawageeswar Subramanian ORCID University of Oxford, UK Wei Zhan ORCID University of Chicago, IL, USA
Abstract

Quantum computational pseudorandomness has emerged as a fundamental notion that spans connections to complexity theory, cryptography and fundamental physics. However, all known constructions of efficient quantum-secure pseudorandom objects rely on complexity theoretic assumptions.

In this work, we establish the first unconditionally secure efficient pseudorandom constructions against shallow-depth quantum circuit classes. We prove that:

  • Any quantum state 2-design yields unconditional pseudorandomness against both 𝖰𝖭𝖢0 circuits with arbitrarily many ancillae and 𝖠𝖢0𝖰𝖭𝖢0 circuits with nearly linear ancillae.

  • Random phased subspace states, where the phases are picked using a 4-wise independent function, are unconditionally pseudoentangled against the above circuit classes.

  • Any unitary 2-design yields unconditionally secure parallel-query pseudorandom unitaries against geometrically local 𝖰𝖭𝖢0 adversaries, even with limited 𝖠𝖢0 postprocessing.

Our results stand in stark contrast to the standard guarantee of the 2-design property, which only ensures that they cannot be distinguished from Haar random ensembles using two copies or queries. Our work demonstrates that quantum computational pseudorandomness can be achieved unconditionally for natural classes of restricted adversaries, opening new directions in quantum complexity theory.

Keywords and phrases:
quantum pseudorandomness, shallow quantum circuits, pseudorandomness, t-designs
Funding:
Sathyawageeswar Subramanian: funded by a Royal Society University Research Fellowship.
Copyright and License:
[Uncaptioned image] © Soumik Ghosh, Sathyawageeswar Subramanian, and Wei Zhan; licensed under Creative Commons License CC-BY 4.0
2012 ACM Subject Classification:
Theory of computation Pseudorandomness and derandomization
; Theory of computation Quantum information theory ; Theory of computation Quantum complexity theory ; Theory of computation Quantum complexity theory
Related Version:
Full Version: https://arxiv.org/abs/2507.18796
Acknowledgements:
The authors would like to thank John Bostanci, Daniel Grier, Natalie Parham, Jack Morris, Francisca Vasconcelos, and Henry Yuen for stimulating discussions on related topics.
Editor:
Shubhangi Saraf

1 Introduction

Randomness is fundamental to both classical and quantum computation, particularly in cryptography and algorithm design. However, true randomness is often scarce or computationally impractical. The theory of pseudorandomness studies deterministic objects that appear random to resource-bounded observers. For example, classical pseudorandom generators (PRGs) produce bit strings indistinguishable from random strings for computationally limited observers. A rich theory connects hardness to pseudorandomness for complexity classes such as 𝖡𝖯𝖯 [48, 33].

Quantum pseudorandomness extends these ideas to quantum states and unitaries. Truly random quantum objects, described by the Haar measure over the unitary group [43], require exponential resources to generate. Two approaches have emerged for more efficient alternatives. First, the information-theoretic or statistical notion of efficient quantum t-designs: ensembles of states or unitaries that match the first t moments of the Haar measure, and can be prepared or implemented efficiently [18, 13, 12]. Second, the more recent computational approach: ensembles of quantum pseudorandom states (PRS) or unitaries (PRU) that appear Haar-random to computationally bounded quantum observers [35].

Classically, unconditional pseudorandomness has been successfully constructed against several restricted computational models such as constant-depth circuits [48, 14, 19], read-once branching programs [49, 33, 51], and low-degree polynomials [58, 8]. These results bypass the need for complexity theoretic assumptions, and have profound implications for cryptography [42], derandomization [53, 32], and lower bounds [31, 25].111Readers may refer to the survey by Hatami and Hoza [30] for a comprehensive review of the more recent developments on classical unconditional pseudorandomness.

In contrast, all existing quantum pseudorandom constructions target powerful adversaries such as polynomial-time quantum devices (𝖡𝖰𝖯), and rely on cryptographic assumptions such as the existence of quantum-secure one-way functions. However, it is often conjectured that the requirement for quantum pseudorandomness is weaker than the classical, and there are plenty of relativized evidences that PRS and PRU might exist in a world without one-way functions [37, 38, 39, 9]. This leads to the main question we explore in this paper: Can we demonstrate unconditional quantum pseudorandomness against restricted computational models, with similar or even weaker requirement on the objects?

Our contributions.

We establish the first unconditional efficient quantum pseudorandomness results against shallow-depth circuit classes. Such circuits model near-term quantum devices with limited coherence times and gate counts. We show that efficient pseudorandom objects, including PRS, pseudoentanglement, and PRU secure against parallel queries, can be constructed unconditionally for shallow quantum circuits. Our key insight is that due to the depth constraints, each output qubit of shallow quantum circuits locally depends only on a subset of input qubits, thus fundamentally limiting the ability of such circuits to distinguish certain structured quantum objects from Haar-random ones.

A notable aspect of our results is that the only property needed for our constructions is that of being an (approximate) 2-design. A priori, the design property only imposes conditions on the behavior of the object when few (in this case exactly two) copies of the objects are present, while pseudorandomness is a property that concerns an arbitrary polynomial number of copies. Rather surprisingly, our results bridge this gap, showing that when the power of the adversaries is restricted, information-theoretic indistinguishability on two copies is strong enough to imply computational indistinguishability on polynomially many copies.

Our work raises several open questions, ranging from constructing new classes of unconditionally pseudorandom objects against other shallow circuit classes, to applying these results to quantum cryptography and complexity theory. We discuss some of these directions in Section 5, providing new perspectives for analyzing near-term quantum devices.

1.1 Main results

In this article we construct unconditionally secure efficient pseudorandom objects against two important shallow-depth quantum circuit classes – 𝖰𝖭𝖢0 and 𝖠𝖢0𝖰𝖭𝖢0.

1.2 PRS from state designs

We first demonstrate that unconditional pseudorandomness can be derived from state designs, whose security holds against circuits up to 𝖠𝖢0𝖰𝖭𝖢0.

Theorem 1 (Informal; See Corollary 21).

Every 2-design state ensemble is an unconditionally secure PRS against 𝖰𝖭𝖢0 circuits with arbitrarily many ancillae and almost linearly many bits of output.

Theorem 2 (Informal; See Corollary 28).

Every 2-design state ensemble is an unconditionally secure PRS against 𝖠𝖢0𝖰𝖭𝖢0 circuits with almost linearly many ancillae.

We observe that the classical analogy of the above results does not hold. The classical counterpart to 2-designs, namely pairwise independent distributions, cannot be guaranteed to fool even 𝖭𝖢0 circuits. Furthermore, while k-wise independent distributions for k=logO(1)(n) can fool 𝖠𝖢0 circuits of fixed depth [14], no such construction with fixed k can fool 𝖠𝖢0 circuits of every depth, in contrast to our results above for quantum 2-designs. This gives yet another evidence that the requirement for quantum pseudorandom objects may be weaker than for classical ones.

We also note that our results stand in stark contrast to the case of BQP adversaries. For instance, in the case of random stabilizer states, which form a 3-design, a BQP adversary can distinguish between a state from this ensemble and a Haar random state [6, 27] using more than 3 but still only O(1) copies. In fact, Theorem 23 illustrates a stronger contrast: as we shall see, random phased subspace states form approximate t-designs, but can be distinguished from Haar random by a simple adversary that performs computational basis measurements followed by 𝖭𝖢2 postprocessing when given more than t copies.

Pseudoentanglement refers to the phenomenon whereby ensembles of states having very low entanglement are indistinguishable from states having very high entanglement. We also prove that unconditional pseudoentanglement can be achieved against the above shallow quantum circuits.

Theorem 3 (Informal; See Corollary 29).

There exists efficiently constructible, unconditionally secure pseudoentanglement against 𝖰𝖭𝖢0 circuits, and against 𝖠𝖢0𝖰𝖭𝖢0 circuits with poly-logarithmically many ancillae.

1.3 PRU from unitary designs

Similarly, we also prove that unitary t-designs are unconditionally pseudorandom against geometrically local shallow quantum circuits when queried only in parallel (i.e. non-adaptively).

Theorem 4 (Informal; See Theorem 35).

Every unitary 2-design is an unconditionally non-adaptive secure PRU against 1-dimensional geometrically local 𝖰𝖭𝖢0 circuits with arbitrarily many ancillae, and almost linear depth 1-dimensional geometrically local 𝖰𝖭𝖢 pre-processing.

We also extend this PRU construction to 𝖰𝖭𝖢0 circuits with 𝖠𝖢0 post-processing, with the caveat that it must be weakened slightly since we do not have a natural means to deal with ancillae in the post-processing phase.

Theorem 5 (Informal; See Theorem 36).

Every unitary 2-design on n-qubits is an unconditionally non-adaptive secure PRU against a subclass of 𝖠𝖢0𝖰𝖭𝖢0 circuits on a multiple of n qubits, where the pre-processing 𝖰𝖭𝖢0 circuit before the queries is 1-dimensional geometrically local.

1.4 Proof techniques

A recurring tool that we use in our proofs is that, over any subsystem, the reduced states of a Haar random state are close to maximally mixed with high probability (see Corollary 18). Our PRU results require the analogue of this observation for the output of non-adaptive queries to a Haar random unitary (see Corollary 33). For this, we bound the expected norm of partial traces of off-diagonal terms |vw| conjugated by a Haar random unitary (see Lemma 32).

To prove our results for 𝖰𝖭𝖢0 with 𝖠𝖢0 post-processing, we observe that when the number of ancillae in the pre-processing 𝖰𝖭𝖢0 circuit is small, the resulting output distribution has high entropy, although the output distributions are no longer k-wise independent. To deal with this, we prove a generalization of Braverman’s result [14] that 𝖠𝖢0 circuits cannot distinguish k-wise independent distributions from uniform, showing that 𝖠𝖢0 circuits also fail to distinguish k-wise indistinguishable distributions with high min-entropy (see Lemma 26).

We achieve our pseudoentanglement construction using random phased subspace states, which are superpositions over the orthonormal basis vectors of a subspace with equal amplitudes and random ±1 phases. We show that such states, when instantiated with a 4-wise independent function for the random phase, are indistinguishable from Haar random by shallow circuits, and have low von Neumann entropy across any cut (see Corollary 29).

We believe these technical developments may be of independent interest.

1.5 Related work

Quantum computational notions of pseudorandomness were introduced in [35] and have been studied in a variety of recent works. For instance, many types of pseudoentangled states have been constructed against BQP distinguishers in recent work (for examples, see [1, 10, 11, 2, 24, 34, 20]). These notions have found a wide range of applications, from cryptography [4, 26, 3] to physics [59, 28, 21, 10, 15]. A number of recent works have also considered the problem of constructing highly efficient pseudorandom unitaries that are implementable in extremely low depth [54, 16].

However, all these constructions rely on complexity theoretic assumptions to obtain pseudorandomness against polynomial-sized quantum circuits. Usually, the assumption relates to the existence of quantum-secure one way functions [60], based on computational hardness assumptions like the quantum hardness of the learning with errors (LWE) problem [52].

In contrast to this line of work, in our work the adversary is a class of shallow-depth quantum circuits against which we would like our pseudorandom constructions to be secure, and our contribution lies in showing that pseudorandomness against such circuit classes can be obtained without making any complexity theoretic assumptions.

2 Preliminaries

We first define some commonly used notations. We use [n] to denote the set {1,,n}. For two distributions 𝒟 and 𝒟 over a set X we use |𝒟𝒟|1 to denote their total variation distance. We denote a random sample x drawn according to 𝒟 by x𝒟, and we abuse the notation to denote x drawn uniformly from a set X by xX. The identity operator on n qubits is denoted as 𝕀n.

We use p to denote the Schatten-p norms of Hermitian operators. Specifically, 1, 2 and respectively refers to the trace norm, Frobenius norm and operator norm.

We use the following shorthands for asymptotic growth: poly(n)=nO(1), polylog(n)=logO(1)n and negl(n)=nω(1).

We assume the readers are familiar with the definitions of the following polynomial-sized circuit classes: 𝖰𝖭𝖢 for quantum bounded fan-in circuits, 𝖠𝖢 for classical circuits with unbounded fan-in 𝖠𝖭𝖣 gates, and 𝖰𝖠𝖢 for quantum circuits with unbounded size 𝖢𝖹 gates (but without unbounded fan-out gates). We use 𝖰𝖭𝖢0, 𝖠𝖢0 and 𝖰𝖠𝖢0 to denote their constant-depth subclasses respectively. Without loss of generality, we assume the bounded fan-in is at most 2 (otherwise the constants in some of our results will be changed). For the purpose of this paper, we do not require the quantum circuits to compute cleanly: the ancillae could start with any specified state and also could end up in arbitrary states.

Following [55], we also consider the hybrid circuits with quantum pre-processing and classical post-processing:

Definition 6.

For a class of classical circuits and a class of quantum circuits 𝒞, the circuit class 𝒞 consist of all circuits FC that are composed of a quantum circuit C𝒞, followed by computational basis measurements on all output qubits of C, and then with some F applied on the measurement outcomes. The output distribution of FC with the input state ρ is F(C(ρ)).

The class that we are specifically interested in is 𝖠𝖢0𝖰𝖭𝖢0, which is justified in Section 3.2. It is shown in [55] that parity is hard to compute in this class, assuming either no ancillae or linear size of the 𝖠𝖢0 circuit. It worth noting that we do not know yet whether 𝖠𝖢0𝖰𝖭𝖢0 is comparable with 𝖰𝖠𝖢0.

Quantum Pseudorandom Primitives

Below we generalize the commonly used definitions of quantum pseudorandom primitives to those with respect to specific classes of adversaries, rather than simply polynomial-time adversaries. The state and unitary ensembles are all discrete distributions, which we denote by their supports for succinctness.

Definition 7.

The state ensemble {|ψi} on n qubits is a pseudorandom state ensemble (PRS) against a class of quantum circuits 𝒞, if for the n-qubit Haar random state |ψ𝖧𝖺𝖺𝗋, every t=poly(n) and every circuit C𝒞, we have

|𝔼i[C(|ψiψi|t)]𝔼[C(|ψ𝖧𝖺𝖺𝗋ψ𝖧𝖺𝖺𝗋|t)]|1=negl(n).

Here C(ρ) represents the output distribution with input state ρ.

Definition 8.

We say two state ensembles {|ψi} and {|ψj} on n qubits demonstrate pseudoentanglement against a class of quantum circuits 𝒞, if for every t=poly(n) and every circuit C𝒞, we have

|𝔼i[C(|ψiψi|t)]𝔼j[C(|ψjψj|t)]|1=negl(n),

while across the same bipartition or cut of the qubits, the expected entanglement entropies of {|ψi} and {|ψj} are asymptotically different.

Definition 9.

The unitary ensemble {Ui} on n qubits is a pseudorandom unitary ensemble (PRU) against a class of quantum circuits 𝒞, if for the n-qubit Haar random unitary U𝖧𝖺𝖺𝗋 and every circuit CU𝒞U on t=poly(n) input qubits, we have

|𝔼i[CUi(|0t0t|)]𝔼[CU𝖧𝖺𝖺𝗋(|0t0t|)]|1=negl(n). (1)

Here CU stands for a circuit C which uses U as oracle gates.

In this work we are concerned with the notion of PRU when U is guaranteed to be applied in parallel, that is, (1) is only required to hold for circuits CU that apply all their U gates in a single layer. In this case, we say {Ui} on n qubits is a parallel-query (or non-adaptive-query, as defined in [44]) secure PRU against 𝒞. We refer to the part of the circuit CU before the layer of U gates as pre-processing, and the part after as post-processing.

We will also discuss some potential constructions of unconditional pseudorandom generators against shallow quantum circuits, defined as follows.

Definition 10.

The boolean function G:{0,1}{0,1}n is a t-copy pseudorandom generator (PRG) against a class of quantum circuits 𝒞, if for every circuit C𝒞, we have

|𝔼x{0,1}[C(|G(x)G(x)|t)]𝔼x{0,1}n[C(|xx|t)]|1=negl(n).

In particular, G is a pseudorandom generator against 𝒞 if it is a t-copy pseudorandom generator for every t=poly(n).

State and Unitary Designs

Here we recall the definitions and properties of exact and approximate designs, which are statistical notions of pseudorandomness.

Definition 11 (State t-design).

The state ensemble {|ψi} on n qubits is a t-design, if for the n-qubit Haar random state |ψ𝖧𝖺𝖺𝗋, we have

𝔼i[|ψiψi|t]=𝔼[|ψ𝖧𝖺𝖺𝗋ψ𝖧𝖺𝖺𝗋|t].

We say that {|ψi} is an ε-approximate t-design, if instead we have

𝔼i[|ψiψi|t]𝔼[|ψ𝖧𝖺𝖺𝗋ψ𝖧𝖺𝖺𝗋|t]1ε.
Lemma 12.

Let {|ψi} be an ϵ-approximate state 2-design on n qubits, and let B be a subsystem of containing nk qubits. We have

𝔼i[TrB[|ψiψi|]22]𝔼[TrB[|ψ𝖧𝖺𝖺𝗋ψ𝖧𝖺𝖺𝗋|]22]+ε.
Proof.

Denote the complementary subsystem to B by A, which contains k qubits. Define the swap operator R by the identity

Tr[TrBρ1TrBρ2]=Tr[(ρ1ρ2)R],

where one can check that

R=x,y{0,1}k|xy|A|yx|A𝕀BB.

Here A and B are identical copies of A and B respectively.

Since R is a permutation matrix, the operator norm of R is exactly 1. As a result, by Hölder’s inequality we have

𝔼i[TrB[|ψiψi|]22]𝔼[TrB[|ψ𝖧𝖺𝖺𝗋ψ𝖧𝖺𝖺𝗋|]22]
= Tr[(𝔼i[|ψiψi|2]𝔼[|ψ𝖧𝖺𝖺𝗋ψ𝖧𝖺𝖺𝗋|2])R]
𝔼i[|ψiψi|2]𝔼[|ψ𝖧𝖺𝖺𝗋ψ𝖧𝖺𝖺𝗋|2]1Rε.

Definition 13 (Unitary t-design).

An ensemble 𝒟={Ui} of n-qubit unitaries is a unitary t-design if, for the n-qubit Haar-random unitary U𝖧𝖺𝖺𝗋, we have

𝔼i[Uit(Ui)t]=𝔼[U𝖧𝖺𝖺𝗋t(U𝖧𝖺𝖺𝗋)t].

Defining the t-th moment channels as

Φ𝒟(t)(ρ)=𝔼i[Uitρ(Ui)t],Φ𝖧𝖺𝖺𝗋(t)(ρ)=𝔼[U𝖧𝖺𝖺𝗋tρ(U𝖧𝖺𝖺𝗋)t],

we call 𝒟 is an ε-approximate unitary t-design, if for all operators ρ with ρ11 we have

Φ𝒟(t)(ρ)Φ𝖧𝖺𝖺𝗋(t)(ρ)1ε.
Lemma 14.

Let {Ui} be an ϵ-approximate unitary 2-design on n qubits, and let B be a subsystem of the n qubits. For every two n-qubit states |v and |w, we have

𝔼i[TrB[Ui|vw|Ui]22]𝔼[TrB[U𝖧𝖺𝖺𝗋|vw|U𝖧𝖺𝖺𝗋]22]+ε.
Proof.

Denote the complementary subsystem to B by A, and assume that A contains k qubits. Define the operator R the same way as the proof above for Lemma 12, and we have

TrB(U|vw|U)22=Tr[(U|vw|U)2R].

Similarly, since R=1 and |vw|21=1, by Hölder’s inequality we have

𝔼i[TrB[Ui|vw|Ui]22]𝔼[TrB[U𝖧𝖺𝖺𝗋|vw|U𝖧𝖺𝖺𝗋]22]
= Tr[(Φ𝒟(t)(|vw|2)Φ𝖧𝖺𝖺𝗋(t)(|vw|2))R]
= Φ𝒟(t)(|vw|2)Φ𝖧𝖺𝖺𝗋(t)(|vw|2)1Rε.

Schmidt Decomposition

We will need several facts about the Schmidt decomposition (listed below), whose proofs can be found in e.g. [47].

Definition 15.

Let 1,2 be two Hilbert spaces, and let x12. If we write

x=i=1rαiviwi, (2)

where αi, vi1 and wi2, we call (2) a tensor product decomposition of x. Furthermore, if both {vi} and {wi} are orthonormal and each αi is non-zero, we call (2) a Schmidt decomposition and r the Schmidt rank of x with respect to 1 and 2.

Lemma 16.

Let 1,2 be two Hilbert spaces, and let x12. Then:

  • In any tensor product decomposition of x as in (2), the number of terms r is at least the Schmidt rank of x;

  • Let {vi} and {wj} be two orthonormal basis for 1 and 2, respectively. If we write

    x=i,jαijviwj,

    then the Schmidt rank of x is exactly the rank of the matrix with entry αij at the i-th row and j-th column.

  • The von Neumann entanglement entropy of x, with respect to the subsystems 1 and 2, is at most log2r where r is the Schmidt rank of x.

3 Unconditional pseudorandomness from 2-designs

In this section, we focus on state designs which exploit the locality properties of shallow circuits in order to achieve unconditional pseudorandomness. At a high level, this resembles a quantum analog of small bias distributions (e.g. [46]), which can fool low-degree polynomials. We will begin with some facts about Haar random states, which relate the size of the subsystem with entanglement entropy, and allow us to approximate small subsystems with maximally mixed states.

Lemma 17 ([41, 40]).

Let |ψ𝖧𝖺𝖺𝗋 be an n-qubit Haar random state, and let ρA be the reduced density matrix of |ψ𝖧𝖺𝖺𝗋ψ𝖧𝖺𝖺𝗋| on the subsystem A with |A|=k qubits. Then

𝔼[Tr(ρA2)]=2k+2nk2n+1.
Corollary 18.

Let |ψ𝖧𝖺𝖺𝗋 be an n-qubit Haar random state. For any t1, let ρA be the reduced density matrix of |ψ𝖧𝖺𝖺𝗋ψ𝖧𝖺𝖺𝗋|t over a subsystem A. Then for every δ>0, with probability at least 1nO(k)2n/2δ1 over |ψ𝖧𝖺𝖺𝗋, it holds for all A with |A|=k qubits that

ρA12k𝕀k1δ.
Proof.

First consider the case when A is fully contained in one copy of the Haar random state. In this case from Lemma 17 we have

𝔼[ρA12k𝕀k1] 2k/2𝔼[ρA12k𝕀k2]
2k/2𝔼[ρA12k𝕀k22]1/2
=2k/2𝔼[Tr(ρA2)2k]1/2
=2k/2(2k2k2n+1)1/2
2kn/2.

By Markov’s inequality, we know that ρA12k𝕀k1δ/k holds with probability at least 1k2kn/2δ1. By a union bound, this holds for all A with |A|k with probability at least 1nO(k)2n/2δ1.

When A consists qubits from at most k different copies, we denote the subsystems as A=A1A2 with |Ai|=ki. Since the copies are unentangled with each other, we have ρA=ρA1ρA2, and thus

ρA12k𝕀k1 iρA1ρAiρA1ρAi112ki𝕀ki1
=iρAi12ki𝕀ki1
δ

with probability at least 1nO(k)2n/2δ1.

Notice that the proof of Corollary 18 only uses the second moment properties of |ψ𝖧𝖺𝖺𝗋, and therefore the conclusions immediately hold for approximate 2-designs with negligible error as well.

Corollary 19.

Let {|ψi} be an ε-approximate 2-design on n qubits. For any t1, let ρA be the reduced density matrix of |ψiψi|t over a subsystem A. Then for every δ>0, with probability at least 1nO(k)(ε+2n)1/2δ1 over i, it holds for all A with |A|=k qubits that

ρA12k𝕀k1δ.
Proof.

By Lemma 12, the approximate design property implies that

𝔼[Tr(ρA2)2k]1/2(ε+2kn)1/2,

and thus

𝔼[ρA12k𝕀k1]2k(ε+2n)1/2.

The rest of the proof follows the same arguments from Corollary 18.

3.1 Pseudorandomness against 𝗤𝗡𝗖𝟎

As a warm-up, we will use Corollary 18 and Corollary 19 to show that any 2-design is indistinguishable to a Haar random state, with respect to any 𝖰𝖭𝖢0 distinguisher.

Theorem 20.

Let {|ψi} be an ε-approximate 2-design on n qubits for some ε=negl(n). Then {|ψi} is a PRS against 𝖰𝖭𝖢 circuits with depth

d=min(loglog(1/ε),logn)loglognω(1)

and a single-bit output. In particular, when ε2Ω(n), {|ψi} is PRS against 𝖰𝖭𝖢 circuits up to depth d=lognloglognω(1).

Proof.

The output bit of the depth-d 𝖰𝖭𝖢 circuit depends on at most k=2d input qubits and ancillae. Let A be the subsystem of the input state on these qubits, and let m be the number of ancillae touched. Denote the reduced density matrix, over the subsystem A, of the Haar random state to be ρA𝖧𝖺𝖺𝗋 and that of the state picked from {|ψi} to be ρA. Then for the channel Φ𝒞 that maps the subsystem A to the output qubit, we have

Φ𝒞(ρA𝖧𝖺𝖺𝗋)Φ𝒞(ρA)1ρA𝖧𝖺𝖺𝗋ρA1=negl(n),

with probability at least 1negl(n) over the choice of the states. This follows from Corollary 18 and Corollary 19, and the observation that

nO(k)(ε+2n)1/2negl(n)

is equivalent to

O(k)log(1/(ε+2n))2lognω(1),

which is satisfied for every d=logk such that

dmin(loglog(1/ε),logn)loglognω(1).

The above theorem can be strengthened to work for the case when multiple output qubits are measured.

Corollary 21.

Let {|ψi} be an ε-approximate 2-design on n qubits for some ε=2Ω(n). Then |ψi is a PRS against 𝖰𝖭𝖢 circuits with depth d and k2do(n/logn) bits of output.

Proof.

The backward lightcone of the k output qubits is of at most

k2d=o(n/logn)

in size. The proof then follows from the same argument as Theorem 20.

3.2 Pseudorandomness against 𝗔𝗖𝟎𝗤𝗡𝗖𝟎

The lightcone argument in the previous section renders most parts of a 𝖰𝖭𝖢0 circuit and most input qubits unrelated. Naturally, it is more desirable to prove the statement against 𝖰𝖭𝖢0 circuits where all the output qubits are measured, that is, the output distribution is indistinguishable in total variation distance between t-designs and Haar random states. However, our example below shows that this is too much to ask for, even when the 𝖰𝖭𝖢0 circuit does nothing and the input states get measured immediately.

Definition 22 (Random phased subspace states).

A d-dimensional random phased subspace state on n qubits is the following state:

|ψS,f=12d/2xS(1)f(x)|x,

where S𝔽2n is a random d-dimensional linear subspace, and f:S{0,1} is a random function.

Theorem 23.

For every n>d>t, {|ψS,f} is an O(2td)-approximate t-design, but |ψS,f(d+1) and |ψ𝖧𝖺𝖺𝗋(d+1) are distinguishable when measured in the computational basis, with total variation distance 1O(2d)/2n.

Proof.

The proof that {|ψS,f} is an approximate design is deferred to Appendix A. To distinguish d+1 copies of {|ψS,f} from Haar random, notice that the measurement outcome in each copy is a random xS, and thus the d+1 outcomes must be linearly dependent. On the other hand, the measurement outcomes from d+1 copies of a Haar random state, when all distinct, form a random (d+1)-element subset of {0,1}n because of symmetry, and therefore are linearly dependent with probability at most

12n+12n1++12nd12nd1.

We also know that the collision probability for a Haar random state is 2/(2n+1) [17], and thus the probability for the outcomes not being all distinct is at most d(d+1)/2n by the union bound. As a result, the total variation distance between the measurement outcomes of |ψS,f(d+1) and |ψ𝖧𝖺𝖺𝗋(d+1) is at least 11/2nd1d(d+1)/2n=1O(2d)/2n.

Notice that not only does the distinguisher in Theorem 23 apply no quantum gates, the classical post-processing on the measurement outcomes is also quite simple. It checks linear dependence whose complexity is captured by 𝖣𝖤𝖳, a complexity class between 𝖭𝖢1 and 𝖭𝖢2 containing all problems reducible to determinant. This motivates us to examine the case when the classical post-processing is restricted to some provably weaker class than 𝖣𝖤𝖳. It turns out that for 𝖠𝖢0, 2-designs are indeed still pseudorandom in this case. We crucially make use of the follow result, first proved by Braverman [14], subsequentially improved by [56] and Harsha and Srinivasan [29], that almost k-wise uniform distributions fools 𝖠𝖢0:

Lemma 24.

For every δ-almost k-wise independent distribution on m bits, any 𝖠𝖢 circuits with size s and depth d cannot distinguish it from the uniform distribution with advantage ε+mkδ, for certain k=(logs)O(d)log(1/ε).

We start out with the simple case, when no ancilla is allowed for the 𝖰𝖭𝖢0 circuit.

Theorem 25.

Let {|ψi} be an ε-approximate 2-design on n qubits for some ε=2logω(1)n. Then |ψi is a PRS against 𝖠𝖢0𝖰𝖭𝖢0 circuits with no ancilla.

Proof.

Suppose the circuit has size s and depth d. Fix some k=(logs)O(d)log2n=logO(1)n according to Lemma 24.

The output of the 𝖰𝖭𝖢0 circuit, when all qubits are measured, is a distribution 𝒟|ψ over m=poly(n) bits that depends on the input state |ψ. By Corollary 19, for both 𝒟|ψi and 𝒟|ψ𝖧𝖺𝖺𝗋, with probability 1negl(n), the marginal distribution on every k bits are δ-indistinguishable from the case when the input states are maximally mixed, for every δ>0 such that nO(k)(ε+2n)1/2δ1=negl(n).

Since there is no ancilla, the output distribution when the inputs are maximally mixed is the uniform distribution. Hence both 𝒟|ψi and 𝒟|ψ𝖧𝖺𝖺𝗋 are δ-almost k-wise independent. By Lemma 24 both distributions are indistinguishable from the uniform distribution against the 𝖠𝖢0 post-processing, as long as mkδ=nO(k)δ is negligible. Our choice of ε satisfies this, as

nO(k)(ε+2n)1/2=2logO(1)nlogω(1)n=negl(n).

Notice that for exact 2-designs, that is when ε=0, we only need k=o(n/logn), and thus Theorem 25 can be strengthened to work against 𝖠𝖢𝖰𝖭𝖢 circuits of polynomial size, 𝖰𝖭𝖢 depth up to o(logn) and 𝖠𝖢 depth up to o(logn/loglogn).

The situation becomes more complicated when ancillae are allowed. In this case, although 𝒟|ψi and 𝒟|ψ𝖧𝖺𝖺𝗋 are still almost k-wise indistinguishable (that the marginal distribution on every k bits are close in total variation distance), they are no longer k-wise independent and are not guaranteed to fool 𝖠𝖢0 circuits when k is small [7]. This happens because we have no knowledge of the output distribution of the 𝖰𝖭𝖢0 circuit with ancillae even when the inputs are maximally mixed. The saving grace is that, when the number of ancillae is small, the output distribution has high entropy and we can modify Braverman’s proof in [14] to suit such distributions:

Lemma 26.

For every two δ-almost k-wise indistinguishable distributions 𝒟1,𝒟2 on m bits, such that 𝒟1 has min-entropy at least mr, any 𝖠𝖢 circuits with size s and depth d cannot distinguish the two distributions with advantage ε+4mkδ, for certain k=(logs)O(d)(r+log(1/ε)).

Proof.

We first consider the case when δ=0. Suppose the 𝖠𝖢0 circuit with size s and depth d computes a boolean function F, Braverman showed that [14, Lemma 11] there exists a boolean function F and polynomial f of degree k=(logs)O(d)log(1/ε), such that:

  • Pr𝒟2[FF]<ε,

  • Pr𝒰[FF]<ε,

  • Ff on {0,1}m and 𝔼𝒰[Ff]<ε.

Here 𝒰 stands for the uniform distribution over {0,1}m. Since 𝒟1 has min-entropy at least mr, we have Pr𝒟1[FF]<2rε and 𝔼𝒟1[Ff]<2rε. As a result,

𝔼𝒟2[F] >𝔼𝒟2[F]ε𝔼𝒟2[f]ε
=𝔼𝒟1[f]ε>𝔼𝒟1[F](2r+1)ε
>𝔼𝒟1[F](2r+1+1)ε.

The bound in the reverse direction also holds by considering 1F. Taking ε=ε/(2r+1+1) gives us |𝔼𝒟1[F]𝔼𝒟2[F]|<ε.

For δ>0, we can assume that mkδ<1, as otherwise the lemma is trivial. By [7], there exists two k-wise indistinguishable distributions 𝒟1,𝒟2 on m bits such that |𝒟1𝒟1|12mkδ and |𝒟2𝒟2|12mkδ. Furthermore, the construction ensures that 𝒟1𝒟1+2mkδ2m, and thus 𝒟1 still has min-entropy at least mO(r). Applying the previous claim on 𝒟1,𝒟2 we have |𝔼𝒟1[F]𝔼𝒟2[F]|<ε, and thus |𝔼𝒟1[F]𝔼𝒟2[F]|<ε+4mkδ.

Theorem 27.

Let {|ψi} be an ε-approximate 2-design on n qubits for some ε=2logω(1)n. Then |ψi is a PRS against 𝖠𝖢0𝖰𝖭𝖢0 circuits with a=polylog(n) ancillae.

Proof.

The forward lightcone of the ancillae touches at most r=2da=logO(1)n output qubits. We called the these qubits corrupted, denoted as the subsystem R. We define as the distribution over {0,1}r following the measurement outcome on the corrupted qubits when the input states are maximally mixed.

Similar to the proof of Theorem 25, suppose the circuit has size s and depth d, and we fix some k=(logs)O(d)(r+log2n)=logO(1)n according to Lemma 26. Denote the output distribution of the 𝖰𝖭𝖢0 circuit as 𝒟|ψ with the input state |ψ. Let δ>0 satisfies nO(k)(ε+2n)1/2δ1=negl(n). We claim that with probability 1negl(n), both 𝒟|ψi and 𝒟|ψ𝖧𝖺𝖺𝗋 are δ-almost k-wise indistinguishable from 𝒰, where 𝒰 is the uniform distribution over the uncorrupted output bits.

Figure 1: An illustration of the proof of Theorem 27, with partial systems and unitary lightcones in an 𝖰𝖭𝖢0 circuit.

To prove the claim, let A be the ancilla qubits, and ρA be the initial state of the ancillae. Let the unitary operator UR consist of all gates in the 𝖰𝖭𝖢0 circuit that belongs to the lightcone of the ancillae. Fixing any k output qubits K, we extending K to KR so that it contains all the corrupted qubits, and denote UB as the unitary operator that consists of all gates in the backward lightcone of K but outside UR. Notice that we can think of UR as being applied after UB. At the input, the backward lightcone of K touches the set of non-ancillae qubits B with |B|=b, and we let ρB be the state of B when the input states are copies of |ψ.

Now the output state on K is a partial trace of

(𝕀ABRUR)(UBρBUBρA)(𝕀ABRUR), (3)

and it suffices to show that no matter if |ϕ is drawn from {|ψi} or |ψ𝖧𝖺𝖺𝗋, with high probability the above state is close to the case when ρB is maximally mixed. Indeed, by Corollary 18 and Corollary 19, in both former cases with probability 1negl(n) we have ρB2(ka)𝕀B1δ. This means that the state in (3) if δ-close in trace distance to

(𝕀ABRUR)(2b𝕀BρA)(𝕀ABRUR)= 2(a+br)𝕀ABR2(ra)UR(𝕀RAρA)UR.

Notice that 2(ra)UR(𝕀RAρA)UR is exactly the output state on R when the input states are maximally mixed, and therefore the measurement outcome has the distribution . Meanwhile 2(a+br)𝕀ABR is maximally mixed and will be measured to the uniform distribution. Thus we conclude that the output distributions on the k bits are δ-close to 𝒰, for both 𝒟|ψi and 𝒟|ψ𝖧𝖺𝖺𝗋.

Now we use the fact that 𝒰, as a distribution over {0,1}m, has min-entropy at least mr. By Lemma 26, both 𝒟|ψi and 𝒟|ψ𝖧𝖺𝖺𝗋 are indistinguishable from 𝒰 against the 𝖠𝖢0 post-processing, as long as mkδ=nO(k)δ is negligible. Similar to the proof of Theorem 25, this is satisfied by our choice of ε. Similar to the case of Theorem 25, for exact 2-designs, Theorem 27 can be strengthened to work against 𝖠𝖢𝖰𝖭𝖢 circuits of polynomial size, 𝖰𝖭𝖢 depth up to o(logn) and 𝖠𝖢 depth up to o(logn/loglogn). On the other hand, for constant depth circuits the number of ancillae can be strengthened close to linear.

Corollary 28.

Let {|ψi} be an exact 2-design on n qubits. Then |ψi is a PRS against 𝖠𝖢0𝖰𝖭𝖢0 circuits with a=n/logω(1)n ancillae.

Proof.

In the proof of Theorem 27, when ε=0 we can take δ=2n/4, and thus to have mkδ=negl(n) for any m=poly(n) we only need k=o(n/logn). When d=O(1), this is satisfies by any a=2dr=n/logω(1)n.

3.3 Pseudoentanglement against 𝗔𝗖𝟎𝗤𝗡𝗖𝟎

In contrast to prior works that constructed pseudoentanglement from quantum secure one-way functions, here we prove that unconditional pseudoentanglement is possible against shallow circuits, using random phased subspace states (see Definition 22). We will show that such states form good enough approximate t-designs, even when the phases are picked using a 2t-wise independent function, and thus yield pseudorandomness by our previous results.

Corollary 29.

Let {|ψS,f} be the ensemble of d-dimensional random phased subspace states, instantiated with a 4-wise independent function f:{0,1}n{0,1}. Then the following properties hold:

  • The ensemble is indistinguishable from a Haar random ensemble against:

    • 𝖰𝖭𝖢0 circuits, when d=ω(logn);

    • 𝖠𝖢0𝖰𝖭𝖢0 circuits with polylog(n) ancillae, when d=logω(1)n;

  • The von Neumann entanglement entropy across any cut is at most d.

Proof.

First notice that even when f is 4-wise independent (or in general, 2t-wise independent) instead of truly random, the proof of the design property of {|ψS,f} in Appendix A still holds. Specifically, in Equation 9:

𝔼f[|ψS,fψS,f|t]=12dtx1,,xtSy1,,ytS𝔼f[(1)f(x1)++f(xt)+f(y1)++f(yt)]|x1xty1yt|,

When f is 2t-wise independent, the expectation of (1)f(x1)++f(xt)+f(y1)++f(yt) is the same as if f is truly random. As a result, |x1xty1yt| still has non-zero coefficient out only when each element of S appears even number of times in (x1,,xt,y1,,yt). The rest of the proof is exactly the same as in Appendix A. Specifically for t=2, since {|ψS,f} is an O(2d)-approximate 2-design, the indistinguishability from Haar random states follows from Theorem 20 and Theorem 27.

On the other hand, with d the dimension of the subspace, note that the states are given by

12d/2xS(1)f(x)|x. (4)

For any cut of the qubits, Equation 4 gives a tensor product decomposition of the state with at most 2d terms. Hence, by Lemma 16, the Schmidt rank of the state is at most 2d and the corresponding von Neumann entanglement entropy is at most d.

Preparing phased subspace states.

Subspace states are known to be efficiently preparable with 𝒪(nd) gates [36]. The 4-wise independent function f:{0,1}n{0,1} can be constructed from seeds of length O(n) in poly(n) time (see e.g. [57, Section 3.5]). The phases are put into the state using an efficient controlled operation.

4 Parallel-query secure PRU against local 𝗤𝗡𝗖𝟎

In previous sections we examined the pseudorandom properties of state designs against shallow quantum circuits. In this section we turn to unitary designs and show that they are also pseudorandom when queried in parallel, but against the more restricted class of circuits that are geometrically local. Specifically, we consider the distinguisher to be a circuit C(Ut𝕀)C, where C,C are both 1-dimensional geometrically local 𝖰𝖭𝖢0 circuits, and U is either a unitary 2-design or a Haar random unitary applied on n consecutive qubits. The following folklore fact about geometrically local 𝖰𝖭𝖢0 circuits is crucial for us:

Lemma 30.

Let C be an 1-dimensional local 𝖰𝖭𝖢 circuit of depth d on n qubits. Then for every k[n1], the Schmidt rank of the state C|0n between the first k qubits and the remaining (nk) qubits is at most 4d.

Proof.

We prove this by an induction over d, and the base case when d=0 is trivial. Suppose that after the first d layer of gates we have the Schmidt decomposition i=14dαi|vi|wi, where |vi is on k qubits and |wi is on (nk) qubits. In layer d+1, only the gate U (if it exists) that acts on the k-th and the (k+1)-th qubits would affect the Schmidt rank. We can write U with an arbitrary tensor product decomposition U=j=14AjBj where Aj,Bj2×2, so that the state after applying U becomes

i=14dj=14αi(Aj|vi)(Bj|wi).

By Lemma 16 we know that the above state has Schmidt rank at most 4d+1, and it is not affected by the remaining gates in the same layer. We will make use of a stronger statement that allows us to perform the Schmidt decomposition recursively on the t blocks of n qubits (a notion that we borrow from [22]):

Lemma 31 (Recursive Schmidt Decomposition).

Let C be a 1-dimensional local 𝖰𝖭𝖢 circuit of depth d on tn qubits. Then we can write the state C|0tn as

C|0tn=i1,,it=1rαi1,,it|v1,i1|v2,i1,i2|vt,i1,,it (5)

where the Schmidt rank r4d, and |vτ,i1,,iτ is an n-qubit state. For every τ[t], i1,,iτ[r] and iτiτ, we have the orthogonality condition

vτ,i1,,iτ1,iτ|vτ,i1,,iτ1,iτ=0,

and the complex numbers αi1,,it satisfy |αi1,,it|2=1.

Proof.

Let r be the maximum Schmidt rank between the first τn and the remaining (tτ)n qubits, for any τ[t]. By Lemma 30 we have r4d. The recursive application of the Schmidt decomposition starts with the cut between the first n qubits and the remaining (t1)n qubits:

C|0tn=i1=1rαi1|v1,i1|w1,i1.

The next step is to perform a Schmidt decomposition over each |w1,i1, for which we need an upper bound on the Schmidt rank. We can also write |w1,i1 in the computational basis to get

C|0tn=i1=1rx{0,1}ny{0,1}(t2)nαi1βi1,x,y|v1,i1|x|y.

Since {|v1,i1} can be expanded into an orthonormal basis on the first n qubits, so can {|v1,i1|x} on the first 2n qubits. As a result, the Schmidt rank of C|0tn between the first 2n and the remaining (t2)n qubits is exactly the rank of the 2nr×2(t2)n matrix M, where

M((i1,x),y)=αi1βi1,x,y.

On the other hand, whenever αi10, the Schmidt rank of |w1,i1 on the same cut is the rank of the submatrix of αi11M, with the row index i1 fixed, and thus is at most r. Therefore we get

C|0tn=i1,i2=1rαi1,i2|v1,i1|v2,i1,i2|w2,i1,i2.

Continuing the process for every τ[t] results in a tree-like structure as in (5), and the sum of squares of the coefficients is guaranteed to be 1 by the orthogonality of the states.

We also need the following lemma in analogy to Lemma 17, but on cross (off-diagonal) terms conjugated with Haar random unitaries.

Lemma 32.

Let U be an n-qubit Haar random unitary, and let A be a subsystem with |A|=k qubits and B=[n]A. For every two n-qubit states |v and |w such that v|w=0, we have

𝔼[TrB[U|vw|U]22]2kn.
Proof.

Without loss of generality, we can assume that U|w=|0n, and U|v=|u is a uniformly random state orthogonal to |0n. In this case, we can write

TrB[U|vw|U] =x{0,1}nk(𝕀A|xx|B)|u0n|(𝕀A|xx|B)
=(𝕀A|0nk0nk|B)|u0n|.

And thus,

TrB[U|vw|U]22 =Tr[(𝕀A|0nk0nk|B)|u0n|0nu|(𝕀A|0nk0nk|B)]
=Tr[(𝕀A|0nk0nk|B)|uu|]
=x{0,1}k|xA0Bnk|u|2.

As a side note, this directly implies that

TrB[U|vw|U]21 (6)

regardless of the choice of |v, |w or U, which will be useful later on.

Since |u is a uniformly random state orthogonal to |0n, for every x{0,1}n{0n}, x|u has the same distribution. Therefore every term in the summation above, except |0n|u|2, has the same expectation which is 1/(2n1). Therefore we conclude that

𝔼[TrB[U|vw|U]22]=2k12n1<2kn.

The above result allows us to show that the output of non-adaptive queries of a Haar random unitary has the property that every subsystem of k qubits are almost maximally mixed, similar to Corollary 18, when the input state admits the recursive Schmidt decomposition.

Corollary 33.

Let U be an n-qubit Haar random unitary. For t1, let |ψ be a tn-qubit state that admits the recursive Schmidt decomposition with rank r as in Lemma 31. Let ρA be the reduced density matrix of Ut|ψψ|Ut over a subsystem A with |A|=k qubits. Then for every δ>0, with probability at least 1O(r)2kn/2δ1 over U, it holds that

ρA12k𝕀k1δ.
Proof.

To take the partial trace for subsystem A, we assume that A consists of k1,,kt qubits in each block of n qubits respectively, and let Bτ be the part outside A in the τ-th block. With the recursive Schmidt decomposition (5) we can write

Ut|ψψ|Ut=i1,,it,j1,,jt=1rαi1,,itαj1,,jt¯U|v1,i1v1,j1|UU|vt,i1,,itvt,j1,,jt|U. (7)

In addition, we can also write the decomposition (5) only to a certain level τ<t to get

|ψ=i1,,iτ=1rαi1,,iτ|v1,i1|v2,i1,i2|vτ,i1,,iτ|wτ,i1,,iτ,

where |wτ,i1,,iτ is a state on (tτ)n qubits such that

αi1,,iτ|wτ,i1,,iτ=iτ+1,,it=1rαi1,,it|vτ+1,i1,,iτ+1|vt,i1,,it.

Notice that it also implies

|αi1,,iτ|2=iτ+1,,it=1r|αi1,,it|2.

This way, we can group the summands in (7) depending on the smallest coordinate τ such that iτjτ (when τ=t+1, it means that (i1,,it) is identical to (j1,,jt)), and have

Ut |ψψ|Ut=τ=1t+1i1,,iτ=1rjτiταi1,,iταi1,,iτ1,jτ¯U|v1,i1v1,i1|U
U|vτ,i1,,iτvτ,i1,,iτ1,jτ|UU(tτ)|wτ,i1,,iτwτ,i1,,iτ1,jτ|U(tτ). (8)

Now consider each summand in (8) with τt. By Lemma 32, we have

𝔼[TrBτ[U|vτ,i1,,iτvτ,i1,,iτ1,jτ|U]22]2kτn.

Therefore, after taking the partial trace, with the bound (6) on the Frobenius norms of the other blocks, we can bound the expected Frobenius norm of the entire summand by |αi1,,iταi1,,iτ1,jτ¯|2(kτn)/2. Thus by linearity of expectation and triangular inequality, these summands in total has expected Frobenius norm of at most

τ=1ti1,,iτ=1rjτiτ|αi1,,iταi1,,iτ1,jτ¯|2(kτn)/2
= τ=1ti1,,iτ1=1r(iτ=1r|αi1,,iτ|)22(kτn)/2
τ=1ti1,,iτ=1r|αi1,,iτ|2r2(kτn)/2
r2(kn)/2.

The remaining summands are those with (i1,,it)=(j1,,jt), whose sum is exactly

i1,,it=1r|αi1,,it|2U|v1,i1v1,i1|UU|vt,i1,,itvt,i1,,it|U.

By Lemma 17, similarly to the deduction in Corollary 18, we know that the partial trace in each block, denoted by Mτ=TrBτ[U|vτ,i1,,iτvτ,i1,,iτ|U],satisfies that

𝔼[Mτ12kτ𝕀kτ2]2(kτn)/2.

Thus by a hybrid argument, we have

𝔼[M1Mt12k𝕀k2] τ=1t𝔼[M1Mτ1(Mτ12kτ𝕀kτ)2]
τ=1t2(kτn)/22(kn)/2.

Since |αi1,,it|2=1, we conclude that

𝔼[ρA12k𝕀k1]2k/2𝔼[ρA12k𝕀k2](r+1)2kn/2.

By Markov’s inequality, we know that ρA12k𝕀k1δ holds with probability at least 1(r+1)2kn/2δ1. Since the proof of Corollary 33 only uses the second moment properties of U (Lemma 17 and Lemma 32 to be exact), using Lemma 14 we can also conclude the following for approximate unitary 2-designs.

Corollary 34.

Let {Ui} be an ε-approximate unitary 2-design on n qubits. For t1, let |ψ be a tn-qubit state that admits the recursive Schmidt decomposition with rank r as in Lemma 31. Let ρA be the reduced density matrix of Uit|ψψ|Uit over a subsystem A with |A|=k qubits. Then for every δ>0, with probability at least 12O(k)r(ε+2n)1/2δ1 over i, it holds that

ρA12k𝕀k1δ.

Combining the above corollaries together, we obtain the desired pseudorandomness against geometrically local 𝖰𝖭𝖢0 circuits.

Theorem 35.

Let {Ui} be an ε-approximate unitary 2-design on n qubits for ε=2Ω(n). Then {Ui} is non-adaptive secure PRU against 1-dimensional geometrically local 𝖰𝖭𝖢 circuits of depth d=lognω(1). Moreover, the pre-processing part of the 𝖰𝖭𝖢 circuit (before applying Ui) could have depth up to o(n).

Proof.

The proof follows from that of Theorem 20. Since the output of the 𝖰𝖭𝖢 circuit depends on only k=2d=o(n) of the output qubits of Ut, by Corollaries 33 and 34 we know that the outputs have negl(n) trace distance between the Haar random U and unitary design {Ui}, with probability 1negl(n) over the choice of the unitaries. This is because

2O(k)r(ε+2n)1/2negl(n)

when k=o(n) and ε=2Ω(n), and r2d from Lemma 31. In addition, the circuit depth d used to bound the Schmidt rank r only concerns the depth of the pre-processing part of the circuit, which can be raised up to o(n).

Although Corollary 33 and Corollary 34 have virtually the same form as Corollary 18 and Corollary 19, we cannot use the techniques in Section 3.2 to directly obtain the similar security of PRU against 𝖰𝖭𝖢0 circuits with 𝖠𝖢0 post-processing. The reason is that in Section 3.2 we have to limit the number of ancillae, and here they correspond to the qubits that U is not applied to, which we cannot put any natural restrictions on. However, in the artificial scenario where we force the the unitary to be applied in parallel on all qubits (and therefore allow no ancillae for the post-processing 𝖠𝖢0𝖰𝖭𝖢0 circuit), we can obtain the following statement in analogy to Theorem 25:

Theorem 36.

Let {Ui} be an ε-approximate unitary 2-design on n qubits for ε=2logω(1)n. Then {Ui} is PRU against a subclass of 𝖠𝖢0𝖰𝖭𝖢0 circuits on a multiple of n qubits, where Ui is applied non-adaptively over all the qubits used by the circuit, and the pre-processing 𝖰𝖭𝖢0 circuit before applying Ui is 1-dimensional geometrically local.

5 Discussion and outlook

Our work initiates the study of unconditionally fooling shallow quantum circuits. In general, statistical and computational notions of quantum pseudorandomness – such as t-designs and PRS – are incomparable. Our work shows that in the low-complexity regime, the two notions can in fact overlap and illustrate rich connections to computational complexity theory, reminiscent of the intimate relation between hardness and randomness in classical computation. Our work leaves a number of interesting questions regarding the connections between hardness and quantum pseudorandomness. We discuss a few of these below.

Fooling stronger circuits

What are the strongest class of quantum circuits that t-designs, or in particular 2-designs, can fool? We conjecture that 2-designs are computationally secure against 𝖰𝖠𝖢0 circuits as well. To prove this, it suffices to show a 𝖰𝖠𝖢 analogy of Braverman’s result on almost k-wise maximally mixed input states. These states have the property that every subsystem on k qubits is close to being maximally mixed, and we conjecture that they cannot be distinguished from the true maximally mixed state by 𝖰𝖠𝖢 circuits of small depths.

A more immediate improvement on our results would be the removal of the constraints on ancillae in Theorem 27 and Corollary 28. The reason we require a bounded number of ancillae is purely technical: we need this to argue that the output distribution has high min-entropy, as otherwise the k-wise indistinguishability would not guarantee that we can fool 𝖠𝖢0 circuits. We note that a similar techinical issue occured in the 𝖠𝖢0𝖰𝖭𝖢0 lower bound lower bound result of [55].

Stronger security for PRU

The unconditional security we proved for PRU is quite limited. Specifically, in Theorem 35 we could only show security when the unitaries are queried non-adaptively, while the adversaries are 1-dimensional geometrically local 𝖰𝖭𝖢 circuits. Can we lift the requirement of non-adaptivity or geometric locality?

We conjecture that new constructions are necessary in order to achieve security against adaptive queries. In other words, there exist (approximate) t-designs that are not PRU against 𝖰𝖭𝖢0 circuits with adaptive queries. Such an example that works for arbitrary tpoly(n) would also give a separation between non-adaptive and adaptive PRU.

Optimal pseudoentanglement

It is known that the optimal entanglement entropy gap for pseudoentanglement is ω(logn) versus O(n), which is achievable across every cut when assuming the existence of post-quantum one way functions [1]. In Corollary 29 we showed explicit examples of unconditional pseudoentanglement, which is optimal across every cut against 𝖰𝖭𝖢0 distinguishers, but only logω(1)n versus O(n) against an 𝖠𝖢0𝖰𝖭𝖢0 adversary. Can we also construct unconditional optimal pseudoentanglement against 𝖠𝖢0𝖰𝖭𝖢0, or even stronger circuits?

PRG against shallow circuits

In this work we did not consider classical pseudorandom primitives, such as PRGs. One of the reasons is that we need to be careful about the definition when the adversaries are shallow quantum circuits, since it makes a difference whether or not we allow access to multiple copies of the PRG output. In fact, if the adversary could only access a single copy, then the classical Nisan-Wigderson generator [49, 50] instantiated by the parity function would directly give an unconditional PRG with polylog(n) seed length against 𝖰𝖠𝖢0 circuits with bounded number of ancillae, using recent results on the hardness of parity against 𝖰𝖠𝖢0 [45, 5]. However, the hardness proofs in these works, which examine the Pauli spectrum of the 𝖰𝖠𝖢0 circuit, break down when allowing multi-copy access to the input, as even a single classical fan-out gate could significantly increase the Pauli weight of the overall circuit.

As a result, designing unconditional multi-copy secure PRG against 𝖰𝖠𝖢0 circuits remains to be an intriguing open problem. A follow-up direction is to use such PRG to construct other pseudorandom primitives such as pseudorandom functions or even PRS and PRU. Notice that we have recipes for these constructions against polynomial-sized adversaries, but in order to work against bounded adversaries, the construction needs to be super-efficient and such constructions are largely unknown.

Fooling other models

Finally, an open-ended question is to find unconditional pseudorandom objects against other restricted models of quantum computation, with or without our constructions and techniques. It was shown in [23] that the INW generator [33] is secure against space-bounded quantum computation. To study PRS or PRU against such models, the first challenge lies in finding the most relevant and useful definition, which we leave for future work.

References

  • [1] Scott Aaronson, Adam Bouland, Bill Fefferman, Soumik Ghosh, Umesh Vazirani, Chenyi Zhang, and Zixin Zhou. Quantum Pseudoentanglement. In Venkatesan Guruswami, editor, 15th Innovations in Theoretical Computer Science Conference (ITCS 2024), volume 287 of Leibniz International Proceedings in Informatics (LIPIcs), pages 2:1–2:21, Dagstuhl, Germany, 2024. Schloss Dagstuhl – Leibniz-Zentrum für Informatik. doi:10.4230/LIPIcs.ITCS.2024.2.
  • [2] Chris Akers, Adam Bouland, Lijie Chen, Tamara Kohler, Tony Metger, and Umesh Vazirani. Holographic pseudoentanglement and the complexity of the ads/cft dictionary, 2024. arXiv:2411.04978.
  • [3] Prabhanjan Ananth, Aditya Gulati, Luowen Qian, and Henry Yuen. Pseudorandom (function-like) quantum state generators: New definitions and applications, 2023. doi:10.48550/arXiv.2211.01444.
  • [4] Prabhanjan Ananth, Luowen Qian, and Henry Yuen. Cryptography from pseudorandom quantum states, 2022. arXiv:2112.10020.
  • [5] Anurag Anshu, Yangjing Dong, Fengning Ou, and Penghui Yao. On the computational power of qac0 with barely superlinear ancillae, 2024. arXiv:2410.06499.
  • [6] Srinivasan Arunachalam and Arkopal Dutt. Polynomial-time tolerant testing stabilizer states. In Proceedings of the 57th Annual ACM Symposium on Theory of Computing, STOC ’25, pages 1234–1241. ACM, June 2025. doi:10.1145/3717823.3718277.
  • [7] Andrej Bogdanov, Yuval Ishai, Emanuele Viola, and Christopher Williamson. Bounded indistinguishability and the complexity of recovering secrets. In Advances in Cryptology - CRYPTO 2016 - 36th Annual International Cryptology Conference, volume 9816 of Lecture Notes in Computer Science, pages 593–618. Springer, 2016. doi:10.1007/978-3-662-53015-3_21.
  • [8] Andrej Bogdanov and Emanuele Viola. Pseudorandom bits for polynomials. SIAM J. Comput., 39(6):2464–2486, 2010. doi:10.1137/070712109.
  • [9] John Bostanci, Boyang Chen, and Barak Nehoran. Oracle separation between quantum commitments and quantum one-wayness. In Serge Fehr and Pierre-Alain Fouque, editors, Advances in Cryptology - EUROCRYPT 2025 - 44th Annual International Conference on the Theory and Applications of Cryptographic Techniques, volume 15607 of Lecture Notes in Computer Science, pages 3–22. Springer, 2025. doi:10.1007/978-3-031-91098-2_1.
  • [10] Adam Bouland, Bill Fefferman, Soumik Ghosh, Tony Metger, Umesh Vazirani, Chenyi Zhang, and Zixin Zhou. Public-key pseudoentanglement and the hardness of learning ground state entanglement structure, 2023. doi:10.48550/arXiv.2311.12017.
  • [11] Adam Bouland, Chenyi Zhang, and Zixin Zhou. On the hardness of learning ground state entanglement of geometrically local hamiltonians, 2024. doi:10.48550/arXiv.2411.04353.
  • [12] Fernando G. S. L. Brandão, Aram W. Harrow, and Michał Horodecki. Local random quantum circuits are approximate polynomial-designs. Communications in Mathematical Physics, 346(2):397–434, August 2016. doi:10.1007/s00220-016-2706-8.
  • [13] Fernando G.S.L. Brandão, Aram W. Harrow, and Michał Horodecki. Efficient quantum pseudorandomness. Physical Review Letters, 116(17), April 2016. doi:10.1103/physrevlett.116.170502.
  • [14] Mark Braverman. Polylogarithmic independence fools 𝖠𝖢0 circuits. J. ACM, 57(5), 2008. doi:10.1145/1754399.1754401.
  • [15] Shantanav Chakraborty, Soonwon Choi, Soumik Ghosh, and Tudor Giurgică-Tiron. Fast computational deep thermalization, 2025. doi:10.48550/arXiv.2507.13670.
  • [16] Laura Cui, Thomas Schuster, Fernando Brandao, and Hsin-Yuan Huang. Unitary designs in nearly optimal depth, 2025. doi:10.48550/arXiv.2507.06216.
  • [17] Alexander M Dalzell, Nicholas Hunter-Jones, and Fernando GSL Brandão. Random quantum circuits anticoncentrate in log depth. PRX Quantum, 3(1):010333, 2022.
  • [18] Christoph Dankert, Richard Cleve, Joseph Emerson, and Etera Livine. Exact and approximate unitary 2-designs and their application to fidelity estimation. Physical Review A, 80(1), July 2009. doi:10.1103/physreva.80.012304.
  • [19] Anindya De, Omid Etesami, Luca Trevisan, and Madhur Tulsiani. Improved pseudorandom generators for depth 2 circuits. In Approximation, Randomization, and Combinatorial Optimization. Algorithms and Techniques, APPROX/RANDOM 2010, volume 6302 of Lecture Notes in Computer Science, pages 504–517. Springer, 2010. doi:10.1007/978-3-642-15369-3_38.
  • [20] Xiaozhou Feng and Matteo Ippoliti. Dynamics of pseudoentanglement, 2024. arXiv:2403.09619.
  • [21] Xiaozhou Feng and Matteo Ippoliti. Dynamics of pseudoentanglement. Journal of High Energy Physics, 2025(2), February 2025. doi:10.1007/jhep02(2025)128.
  • [22] Sevag Gharibian and Julia Kempe. Approximation algorithms for QMA-complete problems. SIAM J. Comput., 41(4):1028–1050, 2012. doi:10.1137/110842272.
  • [23] Uma Girish and Ran Raz. Eliminating intermediate measurements using pseudorandom generators. In 13th Innovations in Theoretical Computer Science Conference, ITCS 2022, volume 215 of LIPIcs, pages 76:1–76:18. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2022. doi:10.4230/LIPIcs.ITCS.2022.76.
  • [24] Tudor Giurgica-Tiron and Adam Bouland. Pseudorandomness from subset states, 2023. doi:10.48550/arXiv.2312.09206.
  • [25] Parikshit Gopalan, Raghu Meka, Omer Reingold, Luca Trevisan, and Salil P. Vadhan. Better pseudorandom generators from milder pseudorandom restrictions. In 53rd Annual IEEE Symposium on Foundations of Computer Science, FOCS 2012, pages 120–129. IEEE Computer Society, 2012. doi:10.1109/FOCS.2012.77.
  • [26] Manuel Goulão and David Elkouss. Pseudo-entanglement is necessary for efi pairs, 2024. doi:10.48550/arXiv.2406.06881.
  • [27] David Gross, Sepehr Nezami, and Michael Walter. Schur–weyl duality for the clifford group with applications: Property testing, a robust hudson theorem, and de finetti representations. Communications in Mathematical Physics, 385(3):1325–1393, June 2021. doi:10.1007/s00220-021-04118-7.
  • [28] Andi Gu, Lorenzo Leone, Soumik Ghosh, Jens Eisert, Susanne F. Yelin, and Yihui Quek. Pseudomagic quantum states. Physical Review Letters, 132(21), May 2024. doi:10.1103/physrevlett.132.210602.
  • [29] Prahladh Harsha and Srikanth Srinivasan. On polynomial approximations to 𝖠𝖢0. Random Struct. Algorithms, 54(2):289–303, 2019. doi:10.1002/RSA.20786.
  • [30] Pooya Hatami and William Hoza. Paradigms for unconditional pseudorandom generators. Found. Trends Theor. Comput. Sci., 16(1-2):1–210, 2024. doi:10.1561/0400000109.
  • [31] Alexander Healy, Salil P. Vadhan, and Emanuele Viola. Using nondeterminism to amplify hardness. SIAM J. Comput., 35(4):903–931, 2006. doi:10.1137/S0097539705447281.
  • [32] William M. Hoza. Better pseudodistributions and derandomization for space-bounded computation. In Approximation, Randomization, and Combinatorial Optimization. Algorithms and Techniques, APPROX/RANDOM 2021, volume 207 of LIPIcs, pages 28:1–28:23. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2021. doi:10.4230/LIPIcs.APPROX/RANDOM.2021.28.
  • [33] Russell Impagliazzo, Noam Nisan, and Avi Wigderson. Pseudorandomness for network algorithms. In Proceedings of the Twenty-Sixth Annual ACM Symposium on Theory of Computing, pages 356–364. ACM, 1994. doi:10.1145/195058.195190.
  • [34] Fernando Granha Jeronimo, Nir Magrafta, and Pei Wu. Pseudorandom and pseudoentangled states from subset states, 2024. arXiv:2312.15285.
  • [35] Zhengfeng Ji, Yi-Kai Liu, and Fang Song. Pseudorandom Quantum States, pages 126–152. Springer International Publishing, 2018. doi:10.1007/978-3-319-96878-0_5.
  • [36] Iordanis Kerenidis and Anupam Prakash. Quantum machine learning with subspace states, 2022. arXiv:2202.00054.
  • [37] William Kretschmer. Quantum Pseudorandomness and Classical Complexity. In Min-Hsiu Hsieh, editor, 16th Conference on the Theory of Quantum Computation, Communication and Cryptography (TQC 2021), volume 197 of Leibniz International Proceedings in Informatics (LIPIcs), pages 2:1–2:20, Dagstuhl, Germany, 2021. Schloss Dagstuhl – Leibniz-Zentrum für Informatik. doi:10.4230/LIPIcs.TQC.2021.2.
  • [38] William Kretschmer, Luowen Qian, Makrand Sinha, and Avishay Tal. Quantum cryptography in algorithmica. In Barna Saha and Rocco A. Servedio, editors, Proceedings of the 55th Annual ACM Symposium on Theory of Computing, STOC 2023, pages 1589–1602. ACM, 2023. doi:10.1145/3564246.3585225.
  • [39] William Kretschmer, Luowen Qian, and Avishay Tal. Quantum-computable one-way functions without one-way functions. In Michal Koucký and Nikhil Bansal, editors, Proceedings of the 57th Annual ACM Symposium on Theory of Computing, STOC 2025, pages 189–200. ACM, 2025. doi:10.1145/3717823.3718144.
  • [40] Zi-Wen Liu, Seth Lloyd, Elton Zhu, and Huangjun Zhu. Entanglement, quantum randomness, and complexity beyond scrambling. Journal of High Energy Physics, 2018(7):1–62, 2018.
  • [41] Elihu Lubkin. Entropy of an n-system from its correlation with a k-reservoir. Journal of Mathematical Physics, 19(5):1028–1031, 1978.
  • [42] Michael George Luby. Pseudorandomness and Cryptographic Applications. Princeton University Press, USA, 1994.
  • [43] Antonio Anna Mele. Introduction to haar measure tools in quantum information: A beginner’s tutorial. Quantum, 8:1340, 2024. doi:10.22331/Q-2024-05-08-1340.
  • [44] Tony Metger, Alexander Poremba, Makrand Sinha, and Henry Yuen. Pseudorandom unitaries with non-adaptive security, 2024. doi:10.48550/arXiv.2402.14803.
  • [45] Shivam Nadimpalli, Natalie Parham, Francisca Vasconcelos, and Henry Yuen. On the Pauli spectrum of QAC0. In Proceedings of the 56th Annual ACM Symposium on Theory of Computing, STOC 2024, pages 1498–1506, New York, NY, USA, 2024. Association for Computing Machinery. doi:10.1145/3618260.3649662.
  • [46] Joseph Naor and Moni Naor. Small-bias probability spaces: Efficient constructions and applications. SIAM J. Comput., 22(4):838–856, 1993. doi:10.1137/0222053.
  • [47] Michael A Nielsen and Isaac L Chuang. Quantum computation and quantum information. Cambridge university press, 2010.
  • [48] Noam Nisan. Pseudorandom bits for constant depth circuits. Combinatorica, 11(1):63–70, March 1991. doi:10.1007/bf01375474.
  • [49] Noam Nisan. Pseudorandom generators for space-bounded computation. Combinatorica, 12(4):449–461, 1992. doi:10.1007/BF01305237.
  • [50] Noam Nisan and Avi Wigderson. Hardness vs randomness. J. Comput. Syst. Sci., 49(2):149–167, 1994. doi:10.1016/S0022-0000(05)80043-1.
  • [51] Noam Nisan and David Zuckerman. Randomness is linear in space. J. Comput. Syst. Sci., 52(1):43–52, 1996. doi:10.1006/JCSS.1996.0004.
  • [52] Oded Regev. On lattices, learning with errors, random linear codes, and cryptography, 2024. doi:10.48550/arXiv.2401.03703.
  • [53] Michael E. Saks and Shiyu Zhou. 𝖡𝖯𝖧𝖲𝖯𝖠𝖢𝖤(s)𝖣𝖲𝖯𝖠𝖢𝖤(s3/2). J. Comput. Syst. Sci., 58(2):376–403, 1999. doi:10.1006/JCSS.1998.1616.
  • [54] Thomas Schuster, Jonas Haferkamp, and Hsin-Yuan Huang. Random unitaries in extremely low depth. Science, 389(6755):92–96, July 2025. doi:10.1126/science.adv8590.
  • [55] Joseph Slote. Parity vs. AC0 with simple quantum preprocessing. In 15th Innovations in Theoretical Computer Science Conference, ITCS 2024, volume 287 of LIPIcs, pages 92:1–92:21. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2024. doi:10.4230/LIPIcs.ITCS.2024.92.
  • [56] Avishay Tal. Tight bounds on the fourier spectrum of 𝖠𝖢0. In 32nd Computational Complexity Conference, CCC 2017, volume 79 of LIPIcs, pages 15:1–15:31. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2017. doi:10.4230/LIPIcs.CCC.2017.15.
  • [57] Salil P Vadhan. Pseudorandomness. Foundations and Trends® in Theoretical Computer Science, 7(1–3):1–336, 2012. doi:10.1561/0400000010.
  • [58] Emanuele Viola. The sum of d small-bias generators fools polynomials of degree d. Comput. Complex., 18(2):209–217, 2009. doi:10.1007/S00037-009-0273-5.
  • [59] Lisa Yang and Netta Engelhardt. The complexity of learning (pseudo)random dynamics of black holes and other chaotic systems, 2023. arXiv:2302.11013.
  • [60] Mark Zhandry. How to construct quantum random functions. J. ACM, 68(5), August 2021. doi:10.1145/3450745.

Appendix A Design properties of random phased subspace states

Here we show that the random phased subspace states |ψS,f, defined in Definition 22, form an approximate design. Fixing the subspace S and taking the average over the random function f:S{0,1}, we have

𝔼f[|ψS,fψS,f|t]=12dtx1,,xtSy1,,ytS𝔼f[(1)f(x1)++f(xt)+f(y1)++f(yt)]|x1xty1yt|, (9)

where the term |x1xty1yt| has non-zero coefficient only when each element of S appears an even number of times in (x1,,xt,y1,,yt). Among those let us consider the ones such that x1,,xt are all distinct (so that y1,,yt is a permutation of x1,,xt); the partial summation over these terms is

12dtx1,,xtSxixj,i<jπ𝒮t|x1xtxπ(1)xπ(t)|
= 12dt{x1,,xt}S(π𝒮t|xπ(1)xπ(t))(π𝒮txπ(1)xπ(t)|)
= t!2dtXS,|X|=t|𝖲𝗒𝗆𝖷𝖲𝗒𝗆X|.

Here 𝒮t is the symmetric group on [t], and |𝖲𝗒𝗆𝖷=1t!π𝒮t|xπ(1)xπ(t) for X={x1,,xt}. As a result, the above partial sum has trace

t!2dt(2dt)=2d(2d1)(2dt+1)2dt1t22d.

Also notice that the partial sum can be thought as the projection of 𝔼f[|ψS,fψS,f|t] onto the subspace spanned by {|𝖲𝗒𝗆X}XS,|X|=t, implying that the remaining part is still positive-definite. This allows us to bound the trace distance:

𝔼f[|ψS,fψS,f|t](2dt)1XS,|X|=t|𝖲𝗒𝗆𝖷𝖲𝗒𝗆X|1
𝔼f[|ψS,fψS,f|t]t!2dtXS,|X|=t|𝖲𝗒𝗆𝖷𝖲𝗒𝗆X|1+|t!2dt(2dt)1|2t22d.

Now we think of S as a uniformly random d-dimensional subspace of {0,1}n. For a uniformly random XS with |X|=t, the elements in X are linearly dependent with probability at most

12d+12d1++12dt+1<12dt.

Similarly, when X is a uniformly random size-t subset of {0,1}n, the elements in X are linearly dependent with probability at most 2tn. When conditioned on linear independence, the distributions of X in both cases are the same, and thus
𝔼S[(2dt)1XS,|X|=t|𝖲𝗒𝗆𝖷𝖲𝗒𝗆X|](2nt)1X{0,1}n,|X|=t|𝖲𝗒𝗆𝖷𝖲𝗒𝗆X|12td+2tn.

Hence we conclude that
𝔼S,f[|ψS,fψS,f|t](2nt)1X{0,1}n,|X|=t|𝖲𝗒𝗆𝖷𝖲𝗒𝗆X|12t22d+2td+2tn=O(2td).

On the other hand, for the Haar random state |ψ𝖧𝖺𝖺𝗋, it is well known that (see e.g. [43])

𝔼[|ψ𝖧𝖺𝖺𝗋ψ𝖧𝖺𝖺𝗋|t]=(2n+t1t)1Π𝗌𝗒𝗆(t,2n),

where Π𝗌𝗒𝗆(t,2n) is the projection onto the symmetric subspace of (2n)t. Since all the |𝖲𝗒𝗆X take up (2nt) dimensions in the subspace, their weight in Π𝗌𝗒𝗆(t,2n) is at least

(2nt)/(2n+t1t)=2n(2n1)(2nt+1)2n(2n+1)(2n+t1)1t22n.

This means that

𝔼[|ψ𝖧𝖺𝖺𝗋ψ𝖧𝖺𝖺𝗋|t](2nt)1X{0,1}n,|X|=t|𝖲𝗒𝗆𝖷𝖲𝗒𝗆X|12t22n,

and we can finally obtain that

𝔼S,f[|ψS,fψS,f|t]𝔼[|ψ𝖧𝖺𝖺𝗋ψ𝖧𝖺𝖺𝗋|t]12t22n+O(2td)O(2td).