Introduction
Although all unitary transformations are allowed by the laws of nature, only a tiny sliver of them can actually be implemented efficiently on a quantum computer. This distinction, between n n n -qubit unitaries U U U which are easy to implement and those which are hard, is at the heart of many of the most fundamental questions in quantum computing, as there are many important unitaries for which we still cannot determine which of the two cases they fall into. A similar question has been deeply studied in the world of classical computing, where it is just as unclear how to determine precisely which Boolean functions f : { 0 , 1 } n → { 0 , 1 } f : \{0,1\}^{n} \to\{0,1\} f : { 0 , 1 } n → { 0 , 1 } are hard to compute. It is therefore a matter of great interest to understand whether there is a rigorous connection between the hardness of unitaries and functions , or whether the similarity is merely superficial.
This question, known as the Unitary Synthesis Problem , was first posed by Aaronson and Kuperberg [1 ] , who asked whether for every unitary U U U there exists a Boolean function f f f such that we can efficiently compute U U U given an oracle to f f f . If true, it would mean that behind every hard-to-compute unitary, there is an equally hard-to-compute function; if false, it would mean some unitaries remain hard, even in a world where all functions are easy. Answering this question has become especially urgent in recent years due to the advent of quantum cryptography, where the underlying security is based on the hardness of computing certain unitaries U U U [12 , 10 ] . Without a resolution to the Unitary Synthesis Problem, it is unclear whether traditional complexity theory (which is about the hardness of computing Boolean functions) has anything to say about such questions, or whether we will need to invent a new, intrinsically quantum, complexity theory [2 , 28 ] .
Progress on the Unitary Synthesis Problem has so far been rather modest. The best evidence against it comes from a lower bound that states that one cannot in general efficiently synthesize U U U with just a single query to the function f f f [13 ] . However, it was recently shown that the proof techniques behind this result can be extended to apply to unitaries U U U which can be synthesized with two (!) queries [7 ] , so it is not clear how strong a piece of evidence this is.
On the flip side, designing algorithms for unitary synthesis has also proven challenging, and what we have so far is a motley crew of upper bounds for different parameter regimes. There is, for example, a simple procedure for unitary synthesis based on the Bernstein-Vazirani algorithm [4 ] which only makes one query to the function f f f , but it is inefficient as it requires exponentially many ancilla qubits [13 ] . On the other hand, the best known result for a polynomial space algorithm, due to Rosenthal [19 ] , makes exponentially many queries to the function f f f . Our computationally efficient unitary synthesis algorithms are even more limited: they are few in number, and they can only synthesize small, highly structured classes of unitaries (see [26 , 27 ] for a good survey of these), none of which resemble general unitaries.
This was at least the case until the recent remarkable construction of pseudorandom unitaries (PRUs ) due to [16 , 14 ] . A PRU is a family of efficiently-computable n n n -qubit unitaries { U k } k \{U_k\}_k { U k } k such that a randomly chosen U k U_k U k is indistinguishable from a Haar-random unitary to query-bounded adversaries. The particular family that the work [16 ] introduced is known as the PFC ensemble, and a random unitary in this ensemble can be computed efficiently in the Random Oracle Model (ROM ), in which one is given oracle access to a uniformly random function f f f . The breakthrough work of Ma and Huang [14 ] established that a random U k U_k U k drawn from this ensemble is indistinguishable from a Haar-random unitary to arbitrary algorithms that make up to o ( N ) o(\sqrt{N}) o ( N ) queries (where N = 2 n N = 2^n N = 2 n ). This gave the first evidence that polynomial-time quantum algorithms can exploit access to a function f f f to synthesize a large class of unitaries which, while not completely generic, still possess many features of Haar-random unitaries.
But can we do better ? In previous constructions, the query-security of a pseudorandom unitary depended upon the number of qubits that the unitary acts on. What cryptographers would really like is to decouple the security of the PRU from the number of qubits involved. This notion, known as a scalable PRU, would be a PRU which is parameterized by κ \kappa κ , the desired security parameter.1 While the PFC ensemble is known to be distinguishable from a Haar-random unitary with O ( N ) O(\sqrt{N}) O ( N ) queries, by choosing κ \kappa κ appropriately, a scalable PRU can achieve any poly ( N ) \operatorname{poly}(N) poly ( N ) security.
This question was considered in the recent work of Brakerski and Yuen [5 ] , who showed that designing sufficiently good scalable PRUs in the random oracle model would resolve the Unitary Synthesis Problem in the positive direction! In fact, they showed something even stronger: once you have designed a PRU in the random oracle model secure against O ( N 2 ) O(N^2) O ( N 2 ) queries, you must have solved the Unitary Synthesis Problem. The reason is simple: once you are allowed to make O ( N 2 ) O(N^2) O ( N 2 ) queries, you can run the unitary tomography algorithm of [11 ] and learn the unitary up to some approximation error. So the only way a PRU can be secure against O ( N 2 ) O(N^2) O ( N 2 ) queries is if it closely mimics a Haar-random unitary, which immediately yields a circuit that can approximately synthesize most unitaries.
This result suggests two equally tantalizing possibilities. On the one hand, if one believes that efficient unitary synthesis is not possible in general, then it may suggest that scalable PRUs do not exist. This would rule out the only existing approach to construct what is a very natural cryptographic object. On the other hand, if one believes that efficient unitary synthesis is possible, then this result provides a clear route for achieving it: “simply” take the PFC construction and modify it to improve its security by a mere polynomial factor, from o ( N ) o(\sqrt{N}) o ( N ) queries to O ( N 2 ) O(N^2) O ( N 2 ) .
So which is it? This is the question we study in this work.
Our Results
To state our results, let us begin by highlighting a key difference between many unitary synthesis algorithms and those that arise from PRU constructions in the random oracle model. As we have already seen, to compute a unitary U U U , a unitary synthesis algorithm is given query access to a Boolean function f U f_U f U to help it, and this function may be highly structured and may depend on the unitary U U U in arbitrary and complicated ways. For example, the Bernstein-Vazirani-based unitary synthesis algorithm takes an N × N N \times N N × N unitary U U U , represents it as a bitstring of length O ~ ( N 2 ) \widetilde{O}(N^2) O ( N 2 ) , takes the 2 O ~ ( N 2 ) 2^{\widetilde{O}(N^2)} 2 O ( N 2 ) -bit-long Hadamard encoding of this string, and uses this as the highly structured function f U f_U f U . On the other hand, a PRU algorithm in the random oracle model, such as the algorithm which synthesizes PFC unitaries, takes in a uniformly random oracle f f f , which has no structure to speak of, and is still expected to convert it to a (somewhat) random-looking unitary. Motivated by this, we introduce the definition of a random-oracle unitary synthesis algorithm , which is one that converts random bits into Haar random unitaries.
Definition 1.1 (Random-oracle unitary synthesis, informal; see Definition 3.6 ). Let A ( ⋅ ) A^{(\cdot)} A ( ⋅ ) be an oracle algorithm with n n n qubits of input and n n n qubits of output, and let A ( f ) A^{(f)} A ( f ) be the channel it computes given oracle access to the Boolean function f f f . Then A ( ⋅ ) A^{(\cdot)} A ( ⋅ ) is a random-oracle unitary synthesis algorithm with error ϵ \epsilon ϵ if there is a coupling ( f , U ) (f,U) ( f , U ) between a uniformly random Boolean function f f f and a Haar random unitary U ∈ U ( N ) U \in U(N) U ∈ U ( N ) such that
E ( f , U ) D ⋄ ( A ( f ) , Φ U ) ≤ ϵ , \mathbb{E}_{(f,U)} D_{\diamond}\left(A^{(f)},\Phi_U\right) \le\epsilon, E ( f , U ) D ⋄ ( A ( f ) , Φ U ) ≤ ϵ , where Φ U \Phi_U Φ U is the unitary channel corresponding to U U U .
This definition is meant to capture the type of unitary synthesis algorithm we could hope for if it was possible to extend the PFC ensemble to a full unitary synthesis algorithm. It is inspired by the definition of ROM-PRUs due to Brakerski and Yuen [5 ] , and the two definitions can be found formally stated in § 3 , where we compare them. Our first main result is that there is no efficient algorithm for random-oracle unitary synthesis, so long as the error ϵ \epsilon ϵ is even slightly nontrivial (meaning that it is bounded away from 1 by a 1 / poly ( n ) 1/\operatorname{poly}(n) 1/ poly ( n ) factor).
Theorem 1.2 (No random-oracle unitary synthesis). Suppose A ( ⋅ ) A(\cdot) A ( ⋅ ) is an n n n -qubit random-oracle unitary synthesis algorithm with error ϵ \epsilon ϵ , and ϵ ≤ 1 − 1 / poly ( n ) \epsilon\le1 - 1/\operatorname{poly}(n) ϵ ≤ 1 − 1/ poly ( n ) . Then if k k k is the number of queries A ( ⋅ ) A(\cdot) A ( ⋅ ) makes to the random oracle, we must have
k ≥ N poly ( n ) . k \ge\frac{\sqrt{N}}{\operatorname{poly}(n)}. k ≥ poly ( n ) N .
Hence, any efficient unitary synthesis algorithm must use Boolean functions which are highly structured. Via the results of Brakerski and Yuen, this also tells us, intuitively, that although there are PRUs in the random oracle model secure against adversaries which make o ( N ) o(\sqrt{N}) o ( N ) queries, they cannot be secure against adversaries which make O ( N 2 ) O(N^2) O ( N 2 ) queries. For our next results, we will identify the number of queries between these two extremes at which PRUs must become insecure.
First, why are all of our PRUs “stuck” at being secure against only o ( N ) o(\sqrt{N}) o ( N ) queries? For the PFC ensemble, the answer is simply that it is insecure against any larger number of queries. But for other candidate PRUs, the answer is in the dominant paradigm for analyzing PRUs, which is to focus on the so-called “distinct subspace”. The distinct subspace arises naturally if we imagine a T T T -query adversary that prepares T T T standard basis vectors ∣ x 1 ⟩ … ∣ x T ⟩ \lvert x_1\rangle\ldots\lvert x_T\rangle ∣ x 1 ⟩ … ∣ x T ⟩ in tensor product and then queries the unknown unitary in parallel across these states. In this case, the distinct subspace corresponds to the tensor products where the elements x 1 , … , x T ∈ [ N ] x_1,\ldots,x_T \in[N] x 1 , … , x T ∈ [ N ] are all distinct. When the number of queries T = o ( N ) T = o(\sqrt{N}) T = o ( N ) , there are often tricks we can play to pretend as though we are in the distinct subspace, and doing so can make the remaining analysis significantly easier. However, once T = Ω ( N ) T = \Omega(\sqrt{N}) T = Ω ( N ) , one is forced to consider non-distinct subspaces as well, and we have not had any luck in analyzing PRUs in this regime. It has therefore been an open question if the reason we are stuck at o ( N ) o(\sqrt{N}) o ( N ) -query security is merely technical, or if something more fundamental is going on. We show that it is merely a technical obstruction after all, and that one can push the security all the way to T = O ( N ) T = O(N) T = O ( N ) queries.
Theorem 1.3 (An O ( N ) O(N) O ( N ) -query secure PRU). There is a PRU in the random oracle model which is secure against any adversary which makes O ( N ) O(N) O ( N ) queries.
We note that the PRU in this construction is efficient in the sense that the number of times it needs to query the random oracle is only poly ( n ) \operatorname{poly}(n) poly ( n ) ; however, unlike in the case of the PFC ensemble, we do not know how to implement it in a computationally efficient manner. We do believe that this is only a technical barrier, however, and that O ( N ) O(N) O ( N ) -query security should be achievable even by PRU algorithms which are query-efficient and computationally efficient.
The PRU-synthesizing algorithm in this construction is easy to describe: it computes the unitary
U = F n H n ⋯ F 1 H 1 F 0 , U = F_nH_n\cdots F_1H_1F_0, U = F n H n ⋯ F 1 H 1 F 0 ,
where each H i H_i H i is a fixed n n n -qubit unitary, and each F i F_i F i can be viewed as a query to a separate n n n -bit random function f i f_i f i . This unitary U U U is generated from O ~ ( N ) \widetilde{O}(N) O ( N ) random bits. To push beyond O ~ ( N ) \widetilde{O}(N) O ( N ) -query security, we would need our PRU algorithm to use more than O ~ ( N ) \widetilde{O}(N) O ( N ) random bits, and the only way to do so with poly ( n ) \operatorname{poly}(n) poly ( n ) queries is to include additional ancilla qubits in the oracle’s input register. But performing queries on the ancilla qubits is fraught with danger, as it is easy to do so in a way which creates entanglement between the first n n n qubits and the ancilla qubits, which would mean we are no longer computing a unitary on the first n n n qubits, as we are intending to. This ancilla issue has proven to be a significant barrier in designing even general unitary synthesis algorithms, but it seems especially challenging in the random oracle model, where we have no control over the form the oracle can take.
Our final result shows that this issue is not just a technical barrier: no query-efficient PRU in the random oracle model can achieve security beyond O ~ ( N ) \widetilde{O}(N) O ( N ) queries.
Theorem 1.4 (No query-efficient ROM-PRUs beyond O ~ ( N ) \widetilde{O}(N) O ( N ) -query security). Fix a constant γ > 0 . \gamma> 0\text{.} γ > 0 . Suppose there is an n n n -qubit PRU in the random oracle model which is secure against T = Ω ( N 1 + γ ) T = \Omega(N^{1+\gamma}) T = Ω ( N 1 + γ ) queries. Then if k k k *is the number of queries to the random oracle needed to synthesize the PRU, we must have
k ≥ N min { γ , 1 } / 2 poly ( n ) . k \ge\frac{N^{\min\{\gamma,1\}/2}}{\operatorname{poly}(n)}. k ≥ poly ( n ) N m i n { γ , 1 } /2 .
This result smoothly interpolates between Theorems 1.2 and 1.3 : it rules out security beyond O ~ ( N ) \widetilde{O}(N) O ( N ) queries for query-efficient PRUs in the random oracle model. Thus, the query security achieved by the construction in Theorem 1.3 is optimal up to factors polynomial in n n n . And for PRUs which are T = Ω ( N 2 ) T = \Omega(N^2) T = Ω ( N 2 ) -query secure, it shows that the synthesizing algorithm must use roughly N 1 / 2 N^{1/2} N 1/2 queries, matching the bound in Theorem 1.2 .
Technical Overview
Lower Bounds
Modeling the algorithm. To discuss our lower bounds, let us begin with how we mathematically model unitary synthesis algorithms in the random oracle model. An algorithm which synthesizes n n n -qubit unitaries using m m m total qubits can be represented as a quantum circuit of the form
W f = V k O f ⋯ O f V 0 . (1) W_f = V_k \mathcal{O}_f \cdots\mathcal{O}_f V_0. \tag*{(1)} W f = V k O f ⋯ O f V 0 . (1)
Here, V 0 , … , V k ∈ U ( 2 m ) V_0,\ldots,V_k \in U(2^m) V 0 , … , V k ∈ U ( 2 m ) are fixed unitaries on m m m qubits. In addition, O f \mathcal{O}_f O f is the diagonal phase unitary corresponding to a random function f : { 0 , 1 } m 0 → { 0 , 1 } f:\{0,1\}^{m_0} \to\{0,1\} f : { 0 , 1 } m 0 → { 0 , 1 } for m 0 ≤ m m_0 \le m m 0 ≤ m , which acts as
O f ∣ x 0 m − m 0 ⟩ = ( − 1 ) f ( x ) ∣ x 0 m − m 0 ⟩ . \mathcal{O}_f \lvert x0^{m-m_0}\rangle= (-1)^{f(x)}\lvert x0^{m-m_0}\rangle. O f ∣ x 0 m − m 0 ⟩ = ( − 1 ) f ( x ) ∣ x 0 m − m 0 ⟩ .
The operation of the algorithm is therefore to implement the following n n n -qubit channel: on input an n n n qubit state ∣ ψ ⟩ \lvert\psi\rangle ∣ ψ ⟩ , (i) append m − n m-n m − n ancilla qubits initialized to ∣ 0 ⟩ \lvert0\rangle ∣ 0 ⟩ , (ii) apply the circuit, resulting in W f ∣ ψ 0 m − n ⟩ W_f\lvert\psi0^{m-n}\rangle W f ∣ ψ 0 m − n ⟩ , (iii) trace out the m − n m-n m − n ancilla qubits, and (iv) output the rest.
If U U U is the unitary that this algorithm is meant to implement, we will assume for the time being that it does so cleanly , meaning that it resets the ancilla qubits to ∣ 0 ⟩ \lvert0\rangle ∣ 0 ⟩ prior to them being traced out; in other words,
W f ∣ ψ 0 m − n ⟩ ≈ ( U ∣ ψ ⟩ ) ∣ 0 m − n ⟩ . W_f\lvert\psi0^{m-n}\rangle\approx(U\lvert\psi\rangle)\lvert0^{m-n}\rangle. W f ∣ ψ 0 m − n ⟩ ≈ ( U ∣ ψ ⟩) ∣ 0 m − n ⟩ .
Equivalently, if J J J is the isometry that takes ∣ ψ ⟩ \lvert\psi\rangle ∣ ψ ⟩ on n n n qubits to ∣ ψ 0 m − n ⟩ \lvert\psi0^{m-n}\rangle ∣ ψ 0 m − n ⟩ , then the algorithm cleanly implements U U U if
A f : = J † W f J ≈ U . A_f := J^\dagger W_fJ \approx U. A f := J † W f J ≈ U .
Assuming this will help simplify our analysis, but we will see how to remove this assumption later.
The case of one query. Our goal is to prove a lower bound on the number of queries needed to obtain ROM-PRUs or a random-oracle unitary synthesis algorithm. To do so, we need to constrain the number of unitaries that can be synthesized by a circuit of the form given in Equation (1) . At a high level, we will do this by arguing that even though the algorithm takes in a large number of random bits from the random oracle—2 m 0 2^{m_0} 2 m 0 of them, in fact—only a small number of these bits actually impact the final unitary that the algorithm computes. If this is the case, then we can argue that the number of random bits the algorithm depends on is actually significantly smaller than N 2 N^2 N 2 , in which case it cannot be simulating a Haar random unitary.
To illustrate the strategy we take to accomplish this, let us first consider the simplest case, in which the circuit only makes one query to the random oracle f f f . In this case, A f A_f A f can be written as
A f = J † V 1 O f V 0 J . A_f = J^\dagger V_1 O_f V_0 J. A f = J † V 1 O f V 0 J .
Now, for a fixed f f f , we would like to understand the extent to which changing its value at a given location x ∈ { 0 , 1 } m 0 x \in\{0,1\}^{m_0} x ∈ { 0 , 1 } m 0 affects the unitary A f A_f A f that the algorithm computes. If f ⊕ x f^{\oplus x} f ⊕ x denotes the function f f f with its value at x x x flipped, then
A f ⊕ x − A f = ± 2 J † V 1 Π x V 0 J . A_{f^{\oplus x}} - A_f = \pm2J^\dagger V_1\Pi_x V_0J. A f ⊕ x − A f = ± 2 J † V 1 Π x V 0 J .
We can therefore bound the Hilbert-Schmidt distance between these two cases as
∥ A f ⊕ x − A f ∥ F 2 = 4 ∥ J † V 1 Π x V 0 J ∥ F 2 ≤ 4 ∥ J † V 1 Π x ∥ F 2 ∥ Π x V 0 J ∥ F 2 . (2) \lVert A_{f^{\oplus x}} - A_f \rVert_F^2 = 4\lVert J^\dagger V_1\Pi_x V_0J\rVert_F^2 \le4\lVert J^\dagger V_1\Pi_x\rVert_F^2\lVert\Pi_x V_0J\rVert_F^2. \tag*{(2)} ∥ A f ⊕ x − A f ∥ F 2 = 4 ∥ J † V 1 Π x V 0 J ∥ F 2 ≤ 4 ∥ J † V 1 Π x ∥ F 2 ∥ Π x V 0 J ∥ F 2 . (2)
Motivated by this, let us define a vector of weights w w w via
w ( x ) = ∥ J † V 1 Π x ∥ F 2 + ∥ Π x V 0 J ∥ F 2 , (3) w(x) = \lVert J^\dagger V_1\Pi_x\rVert_F^2 + \lVert\Pi_x V_0J\rVert_F^2, \tag*{(3)} w ( x ) = ∥ J † V 1 Π x ∥ F 2 + ∥ Π x V 0 J ∥ F 2 , (3)
which we will interpret as representing how much one can affect the unitary A f A_f A f by changing f ( x ) f(x) f ( x ) . This vector is very similar to the “weight vector” from [13 ] .2
We would like these weights to satisfy two properties. First, it should be the case that on a given input f f f , very few coordinates have high weight. In particular, let us consider how many bitstrings x x x satisfy a certain weight threshold
w ( x ) > τ , w(x) > \tau, w ( x ) > τ ,
where we will typically imagine τ \tau τ to be some sufficiently small constant. Note that we can bound the sum of all weights via
∑ x ∈ { 0 , 1 } m 0 w ( x ) = ( ∑ x ∥ J † V 1 Π x ∥ F 2 ) + ( ∑ x ∥ Π x V 0 J ∥ F 2 ) = ∥ J † V 1 ∥ F 2 + ∥ V 0 J ∥ F 2 = 2 N , \begin{aligned}
\sum_{x \in\{0,1\}^{m_0}} w(x)
&= \left(\sum_x \lVert J^\dagger V_1\Pi_x\rVert_F^2\right) + \left(\sum_x \lVert\Pi_x V_0J\rVert_F^2\right) \\
&= \lVert J^\dagger V_1\rVert_F^2 + \lVert V_0J\rVert_F^2 \\
&= 2N,
\end{aligned} x ∈ { 0 , 1 } m 0 ∑ w ( x ) = ( x ∑ ∥ J † V 1 Π x ∥ F 2 ) + ( x ∑ ∥ Π x V 0 J ∥ F 2 ) = ∥ J † V 1 ∥ F 2 + ∥ V 0 J ∥ F 2 = 2 N ,
since V 0 J V_0J V 0 J and ( J † V 1 ) † (J^\dagger V_1)^\dagger ( J † V 1 ) † are both isometries with input dimension N N N . So, while there are M 0 = 2 m 0 M_0 = 2^{m_0} M 0 = 2 m 0 choices for x x x , only O ( N ) O(N) O ( N ) of them can satisfy w ( x ) > τ w(x) > \tau w ( x ) > τ when τ \tau τ is a constant. That is to say, nearly all inputs have low weight.
Second, it should be the case that on a given input f f f , flipping the value of f f f on one or more coordinates with low weight should not change the unitary computed by A f A_f A f by a significant amount. Starting with one coordinate at a time, for any x x x such that w ( x ) ≤ τ w(x) \le\tau w ( x ) ≤ τ ,
∥ A f ⊕ x − A f ∥ F 2 ≤ 4 ∥ J † V 1 Π x ∥ F 2 ∥ Π x V 0 J ∥ F 2 ≤ 4 w ( x ) 2 ≤ 4 τ w ( x ) . \lVert A_{f^{\oplus x}} - A_f\rVert_F^2 \le4\lVert J^\dagger V_1\Pi_x\rVert_F^2\lVert\Pi_x V_0J\rVert_F^2 \le4w(x)^2 \le4\tau w(x). ∥ A f ⊕ x − A f ∥ F 2 ≤ 4 ∥ J † V 1 Π x ∥ F 2 ∥ Π x V 0 J ∥ F 2 ≤ 4 w ( x ) 2 ≤ 4 τ w ( x ) .
Generalizing this, suppose that f f f and f ′ f' f ′ only differ at inputs x ∈ S : = { x 1 , … , x ∣ S ∣ } x \in S := \{x_1,\ldots,x_{|S|}\} x ∈ S := { x 1 , … , x ∣ S ∣ } that satisfy the weight threshold. Letting f ⊕ T f^{\oplus T} f ⊕ T denote the function which is equal to f f f outside of T T T and has its bits flipped on coordinates in T T T , we see that
∥ A f ′ − A f ∥ F 2 ≤ ∣ S ∣ ∑ i = 1 ∣ S ∣ ∥ A f ⊕ { x 1 , … , x i } − A f ⊕ { x 1 , … , x i − 1 } ∥ F 2 ( using ∥ ∑ i = 1 L C i ∥ F 2 ≤ L ∑ i = 1 L ∥ C i ∥ F 2 ) \lVert A_{f'}-A_f\rVert_F^2 \leq|S| \sum_{i=1}^{|S|} \lVert A_{f^{\oplus\{x_1,\ldots,x_i\}}}-A_{f^{\oplus\{x_1,\ldots,x_{i-1}\}}}\rVert_F^2 \qquad\left(\text{using }\left\lVert\sum_{i=1}^{L}C_i\right\rVert_F^2\leq L\sum_{i=1}^{L}\lVert C_i\rVert_F^2\right) ∥ A f ′ − A f ∥ F 2 ≤ ∣ S ∣ i = 1 ∑ ∣ S ∣ ∥ A f ⊕ { x 1 , … , x i } − A f ⊕ { x 1 , … , x i − 1 } ∥ F 2 using i = 1 ∑ L C i F 2 ≤ L i = 1 ∑ L ∥ C i ∥ F 2
≤ 4 ∣ S ∣ τ ∑ i = 1 ∣ S ∣ w ( x i ) \leq4|S|\tau\sum_{i=1}^{|S|}w(x_i) ≤ 4∣ S ∣ τ i = 1 ∑ ∣ S ∣ w ( x i )
≤ 8 τ M 0 N . (because ∣ S ∣ ≤ M 0 ) \leq8\tau M_0N. \qquad\text{(because }|S|\leq M_0\text{)} ≤ 8 τ M 0 N . (because ∣ S ∣ ≤ M 0 )
If the ∣ S ∣ |S| ∣ S ∣ were not in the expression above, i.e. if the upper bound were simply 8 τ N 8\tau N 8 τ N , then it would be a strong upper bound. This would mean that every A f ′ A_{f'} A f ′ reachable from A f A_f A f by flipping low-weight coordinates is at most 8 τ N \sqrt{8\tau N} 8 τ N in Hilbert-Schmidt distance away from A f A_f A f . For τ \tau τ sufficiently small, this would place every such A f ′ A_{f'} A f ′ in a nontrivial ball around A f A_f A f , since the Hilbert-Schmidt diameter of the unitary group is O ( N ) O(\sqrt{N}) O ( N ) . In doing so, it would show that there are only O ( N ) O(N) O ( N ) inputs of f f f that can change A f A_f A f significantly—however, O ( N ) O(N) O ( N ) degrees of freedom is not sufficient to cover all unitaries, or even unitary designs for T = N 1 + γ T=N^{1+\gamma} T = N 1 + γ .
However, ∣ S ∣ |S| ∣ S ∣ is in the expression above, and its presence expresses the possibility that altering the value of f f f at different inputs could lead to matrix differences
A f ⊕ { x 1 , … , x i } − A f ⊕ { x 1 , … , x i − 1 } A_{f^{\oplus\{x_1,\ldots,x_i\}}}-A_{f^{\oplus\{x_1,\ldots,x_{i-1}\}}} A f ⊕ { x 1 , … , x i } − A f ⊕ { x 1 , … , x i − 1 }
which constructively interfere. Instead, what we would like to show is that these differences behave as though they are pairwise orthogonal, in which case we would not pick up the additional factor of ∣ S ∣ |S| ∣ S ∣ .
Proving orthogonality. How do we ensure that these matrix distances are orthogonal? We solve the problem by considering our norm
∥ A f ′ − A f ∥ F 2 \lVert A_{f'}-A_f\rVert_F^2 ∥ A f ′ − A f ∥ F 2
in expectation over f f f and f ′ f' f ′ . We consider a uniformly random f f f , and resample its value f ( x ) f(x) f ( x ) iteratively at every single choice of x ∈ { 0 , 1 } m 0 x\in\{0,1\}^{m_0} x ∈ { 0 , 1 } m 0 which has low weight. The process of resampling a uniformly random f f f at each index sequentially is a (time-inhomogeneous) symmetric Markov chain. It is symmetric because at each step, the probability that f f f transitions to f ′ f' f ′ and the probability that f ′ f' f ′ transitions to f f f are equal. If W W W is the number of low-weight coordinates in f f f , consider the sequence A f , A f 1 , … , A f W A_f,A_{f_1},\ldots,A_{f_W} A f , A f 1 , … , A f W of blocks corresponding to the iterative process that resamples f f f on each coordinate, one at a time. There are known techniques [18 ] that can use the symmetry of the Markov chain to decompose this sequence into a “forward martingale” and a “backward martingale”, and the operators in each sequence can be shown to be pairwise-orthogonal in expectation. This orthogonality is what allows us to complete the result.
How does it work? Instead of considering each term
A f i − A f i − 1 , (4) A_{f_i}-A_{f_{i-1}}, \tag*{(4)} A f i − A f i − 1 , (4)
we consider
( A f i − A ‾ i ) + ( A ‾ i − A f i − 1 ) . (5) (A_{f_i}-\overline{A}_i)+(\overline{A}_i-A_{f_{i-1}}). \tag*{(5)} ( A f i − A i ) + ( A i − A f i − 1 ) . (5)
Here, A ‾ i \overline{A}_i A i is the average of the possible values of A f i A_{f_i} A f i , given f i − 1 f_{i-1} f i − 1 . Now, notice that for any f j f_j f j before f i f_i f i , E [ A f i − A ‾ i ∣ f j ] = 0 \mathbb{E}[A_{f_i}-\overline{A}_i\mid f_j]=0 E [ A f i − A i ∣ f j ] = 0 . As a consequence, ( A f i − A ‾ i ) i (A_{f_i}-\overline{A}_i)_i ( A f i − A i ) i form a martingale difference sequence , which immediately implies that
E [ ( A f i − A ‾ i ) ( A f j − A ‾ j ) ] = 0. (6) \mathbb{E}\left[(A_{f_i}-\overline{A}_i)(A_{f_j}-\overline{A}_j)\right]=0. \tag*{(6)} E [ ( A f i − A i ) ( A f j − A j ) ] = 0. (6)
Hence, this first sequence of operators is orthogonal in expectation. On the other hand, A ‾ i − A f i − 1 \overline{A}_i-A_{f_{i-1}} A i − A f i − 1 is also a martingale difference sequence, although it is less obvious to see why. Because our Markov chain is symmetric, we can consider A f , … , A f W A_f,\ldots,A_{f_W} A f , … , A f W backwards, and it is still a Markov chain. After doing so, A ‾ i − A f i − 1 \overline{A}_i-A_{f_{i-1}} A i − A f i − 1 is completely analogous to A f i − A ‾ i A_{f_i}-\overline{A}_i A f i − A i , and orthogonality follows for the second sequence as a consequence.
Hence, taking an expectation over f f f resolves the orthogonality issue—our original sum decomposes as the sum of two orthogonal sequences, which is enough to obtain the sufficient bound
E [ ∥ A f ′ − A f ∥ F 2 ] ≤ 2 E [ ∑ x ∈ S ∥ A f ⊕ x − A f ∥ F 2 ] . \mathbb{E}\left[\left\lVert A_{f'}-A_f\right\rVert_F^2\right]\leq2\mathbb{E}\left[\sum_{x\in S}\left\lVert A_{f\oplus x}-A_f\right\rVert_F^2\right]. E [ ∥ A f ′ − A f ∥ F 2 ] ≤ 2 E [ x ∈ S ∑ ∥ A f ⊕ x − A f ∥ F 2 ] .
If we did not take the expectation, our argument would have implied worst-case unitary synthesis is not possible. Thus, in taking the expectation, we sacrifice the possibility of a worst-case result, but obtain a strong statement about a uniformly random f f f .
The case of multiple queries. All of these arguments work for one query, but what happens if there are more? In this case, there are two important qualitative changes. First, if the algorithm makes k k k queries, then we must now express A f ⊕ x − A f A_{f\oplus x}-A_f A f ⊕ x − A f as a sum of k k k hybrids:
A f ⊕ x − A f = ∑ i = 1 k H i . A_{f\oplus x}-A_f=\sum_{i=1}^{k}H_i. A f ⊕ x − A f = i = 1 ∑ k H i .
In each hybrid, one of the oracle queries, O f O_f O f , is replaced by O f ′ O_{f'} O f ′ . This is a relatively minor change, although the hybrid introduces an extra factor of k 2 k^2 k 2 , which is where the query-dependence of our theorems arises from. We also must define our weight function differently now. If L f , i = J † V k O f ⋯ V i L_{f,i}=J^\dagger V_kO_f\cdots V_i L f , i = J † V k O f ⋯ V i and R f , i = V i − 1 ⋯ V 1 O f V 0 J R_{f,i}=V_{i-1}\cdots V_1O_fV_0J R f , i = V i − 1 ⋯ V 1 O f V 0 J , then we define
w f ( x ) = ∑ i = 1 k ( ∥ L f , i Π x ∥ F 2 + ∥ Π x R f , i ∥ F 2 ) . (7) w_f(x)=\sum_{i=1}^{k}\left(\left\lVert L_{f,i}\Pi_x\right\rVert_F^2+\left\lVert\Pi_xR_{f,i}\right\rVert_F^2\right). \tag*{(7)} w f ( x ) = i = 1 ∑ k ( ∥ L f , i Π x ∥ F 2 + ∥ Π x R f , i ∥ F 2 ) . (7)
Now, the weight function is a sum of the influence of every input x ∈ { 0 , 1 } m 0 x\in\{0,1\}^{m_0} x ∈ { 0 , 1 } m 0 , for each of the queries. But notably, the weight function now depends on f f f . This is the second qualitative difference, and it forces the resampling algorithm for f f f to be adaptive. Indeed, whenever an output of f f f is resampled, the weights of other inputs change. Despite this complication, all the subsequent analysis survives, and we can still obtain the result that resampling most inputs of f f f only perturbs A f A_f A f .
Recall that all the arguments described in this section applied only to clean synthesis. While they are strong enough to prove strong lower bounds against both unitary designs and random-oracle unitary synthesis in this setting, we need to consider the possibility that the unitary is implemented while introducing garbage into the ancilla. If the channel corresponding to W f W_f W f has small diamond distance ϵ ≈ 0 \epsilon\approx0 ϵ ≈ 0 from the channel corresponding to a unitary U ∈ U ( N ) U\in\mathcal{U}(N) U ∈ U ( N ) , we can consider the circuit
W f † ( P ⊗ I ) W f . W_f^\dagger(P\otimes I)W_f. W f † ( P ⊗ I ) W f .
for any fixed Pauli P ∈ P n P\in\mathcal{P}_n P ∈ P n . This is a rotation of the Pauli operator P P P , but W f † W_f^\dagger W f † erases the garbage ancilla that W f W_f W f introduced. This circuit is therefore close to a clean implementation of U † P U U^\dagger P U U † P U , and hence a low error dirty algorithm can implement a very large class of reflections, which is sufficient to apply the clean lower bound described above. However, this argument fails at a diamond distance of 1 2 \frac{1}{2} 2 1 , since there are two copies of W f W_f W f included, which can blow up the error by a factor of two. We are able to handle this extra technicality by adapting the argument, instead considering the expectation over a random Pauli to overcome the obstacle and extend our impossibility to the full dirty regime.
Upper Bound
Recall that our goal is to show that the ensemble { F n H n … F 1 H 1 F 0 } F 0 , … , F n \{F_nH_n \ldots F_1H_1F_0\}_{F_0,\ldots,F_n} { F n H n … F 1 H 1 F 0 } F 0 , … , F n is an O ( N ) O(N) O ( N ) -query secure PRU for some choice of H 1 , … , H n H_1,\ldots,H_n H 1 , … , H n . In fact, we will be able to show that with high probability over the choice of H = ( H 1 , … , H n ) ∼ μ H a a r N H=(H_1,\ldots,H_n)\sim\mu_{\mathrm{Haar}}^N H = ( H 1 , … , H n ) ∼ μ Haar N , the distribution μ H ∼ F n H n … F 1 H 1 F 0 \mu_H\sim F_nH_n\ldots F_1H_1F_0 μ H ∼ F n H n … F 1 H 1 F 0 is indistinguishable from μ H a a r \mu_{\mathrm{Haar}} μ Haar to T T T -query distinguishers for T ≤ c N T\le cN T ≤ c N (for some c > 0 c>0 c > 0 ). By an application of Markov’s inequality, it will suffice to show that
E H 1 , … , H n ∼ μ H a a r [ max T -query A ∣ Pr U ∼ μ H [ A U , U † , U ‾ , U T = 1 ] − Pr U ∼ μ H a a r [ A U , U † , U ‾ , U T = 1 ] ∣ ] ≤ negl ( n ) . \mathbb{E}_{H_1,\ldots,H_n\sim\mu_{\mathrm{Haar}}}\left[\max_{T\text{-query }A}\left|\Pr_{U\sim\mu_H}\left[A^{U,U^\dagger,\overline{U},U^T}=1\right]-\Pr_{U\sim\mu_{\mathrm{Haar}}}\left[A^{U,U^\dagger,\overline{U},U^T}=1\right]\right|\right]\le\operatorname{negl}(n). E H 1 , … , H n ∼ μ Haar [ T -query A max U ∼ μ H Pr [ A U , U † , U , U T = 1 ] − U ∼ μ Haar Pr [ A U , U † , U , U T = 1 ] ] ≤ negl ( n ) .
For simplicity we assume that our adversaries only make forward queries to U U U , but it turns out that our proof will apply equally well to conjugate/inverse/transpose queries as well.
We begin by considering the situation for a fixed choice of H H H . We observe that the acceptance probability of any adversary A \mathcal{A} A which makes at most T T T queries to U U U can be written as the linear combination of entries of the matrices { U ⊗ q ⊗ U ‾ ⊗ q } 0 ≤ q ≤ T \{U^{\otimes q}\otimes\overline{U}^{\otimes q}\}_{0\le q\le T} { U ⊗ q ⊗ U ⊗ q } 0 ≤ q ≤ T . A well-known fact in representation theory known as mixed Schur-Weyl duality therefore implies that the acceptance probability of A \mathcal{A} A can actually be expressed in terms of the irreducible representations (irreps) { ρ λ , ν } λ , ν \{\rho_{\lambda,\nu}\}_{\lambda,\nu} { ρ λ , ν } λ , ν of the maps
U ↦ U ⊗ q ⊗ U ‾ ⊗ q , 0 ≤ q ≤ T U\mapsto U^{\otimes q}\otimes\overline{U}^{\otimes q},\qquad0\le q\le T U ↦ U ⊗ q ⊗ U ⊗ q , 0 ≤ q ≤ T
which are indexed by partitions λ , ν ⊢ r \lambda,\nu\vdash r λ , ν ⊢ r where 0 ≤ r ≤ T 0\le r\le T 0 ≤ r ≤ T .
Our high-level proof strategy will therefore be to show that our ensemble μ H \mu_H μ H “fools” all such “low-degree” (nontrivial) irreps. Roughly speaking, our goal will be to bound E F 0 , … , F n [ ρ λ , ν ( F n H n … F 1 H 1 F 0 ) ] \mathbb{E}_{F_0,\ldots,F_n}[\rho_{\lambda,\nu}(F_nH_n\ldots F_1H_1F_0)] E F 0 , … , F n [ ρ λ , ν ( F n H n … F 1 H 1 F 0 )] for each irrep ρ λ , ν \rho_{\lambda,\nu} ρ λ , ν . By the independence of F 0 , … , F n F_0,\ldots,F_n F 0 , … , F n , we can factor our expression as follows:
E F 0 , … , F n [ ρ λ , ν ( F n H n … F 1 H 1 F 0 ) ] = E F n [ ρ λ , ν ( F n ) ] ρ λ , ν ( H n ) … E F 1 [ ρ λ , ν ( F 1 ) ] ρ λ , ν ( H 1 ) E F 0 [ ρ λ , ν ( F 0 ) ] . \mathbb{E}_{F_0,\ldots,F_n}[\rho_{\lambda,\nu}(F_nH_n\ldots F_1H_1F_0)]=\mathbb{E}_{F_n}[\rho_{\lambda,\nu}(F_n)]\rho_{\lambda,\nu}(H_n)\ldots\mathbb{E}_{F_1}[\rho_{\lambda,\nu}(F_1)]\rho_{\lambda,\nu}(H_1)\mathbb{E}_{F_0}[\rho_{\lambda,\nu}(F_0)]. E F 0 , … , F n [ ρ λ , ν ( F n H n … F 1 H 1 F 0 )] = E F n [ ρ λ , ν ( F n )] ρ λ , ν ( H n ) … E F 1 [ ρ λ , ν ( F 1 )] ρ λ , ν ( H 1 ) E F 0 [ ρ λ , ν ( F 0 )] .
Let us examine the term E F i [ ρ λ , ν ( F i ) ] \mathbb{E}_{F_i}[\rho_{\lambda,\nu}(F_i)] E F i [ ρ λ , ν ( F i )] . Since F i F_i F i is drawn randomly from the set of all possible phase functions (which form a group), it turns out that E F i [ ρ λ , ν ( F i ) ] \mathbb{E}_{F_i}[\rho_{\lambda,\nu}(F_i)] E F i [ ρ λ , ν ( F i )] is actually equal to a projection , which we denote by P λ , ν P_{\lambda,\nu} P λ , ν . If F i F_i F i were actually a Haar-random unitary, then this projection would act as the zero projection for all nontrivial representations, which reflects the fact that a Haar-random unitary is a secure PRU under any number of queries. Our hope would be that P λ , ν P_{\lambda,\nu} P λ , ν is close to zero in the sense that it is relatively low-rank for all irreps ρ λ , ν \rho_{\lambda,\nu} ρ λ , ν .
Unfortunately, although one can show that P λ , ν P_{\lambda,\nu} P λ , ν projects onto an exponentially small part of the overall Hilbert space, there are also an exponential number of irreps! And indeed, it must be the case that this bound cannot suffice, as a single random phase F i F_i F i is trivial to distinguish from a Haar-random unitary.
Likewise, if we just iteratively applied more random phases, this would not change our ensemble since applying the projection P λ , ν P_{\lambda,\nu} P λ , ν a second time does not have any effect. This leads us to introduce the interleaving unitaries ( H 1 , … , H n ) (H_1,\ldots,H_n) ( H 1 , … , H n ) , so that we can leverage their mixing properties . Intuitively, since H 1 , … , H n H_1,\ldots,H_n H 1 , … , H n are generic, they effectively scramble any state in the image of P λ , ν P_{\lambda,\nu} P λ , ν , so that each time we apply it, all but an exponentially small part of the adversary’s state gets killed by the projection. By compounding this effect O ( n ) O(n) O ( n ) times, we obtain an exponentially improved bound, which is sufficient to compensate for the exponential number of irreps.
Due to the fact that for all choices of ( H 1 , … , H n ) (H_1,\ldots,H_n) ( H 1 , … , H n ) , the ensemble { F n H n … F 1 H 1 F 0 } F 0 , … , F n \{F_nH_n\ldots F_1H_1F_0\}_{F_0,\ldots,F_n} { F n H n … F 1 H 1 F 0 } F 0 , … , F n is invariant under global (complex) phases, the reduction of [24 ] immediately yields security against controlled queries as well.
Crucially, although each instantiation of our ensemble does not use any randomness in the choice of ( H 1 , … , H n ) (H_1,\ldots,H_n) ( H 1 , … , H n ) , we are only able to show that there exists a choice (and in fact, most choices) of ( H 1 , … , H n ) (H_1,\ldots,H_n) ( H 1 , … , H n ) that makes { F n H n … F 1 H 1 F 0 } F 0 , … , F n \{F_nH_n\ldots F_1H_1F_0\}_{F_0,\ldots,F_n} { F n H n … F 1 H 1 F 0 } F 0 , … , F n an O ( N ) O(N) O ( N ) -secure PRU, which is why our construction is only query-efficient but not computationally efficient. Preliminary exploration has indicated that our general approach can be leveraged for an appropriate choice of efficiently implementable (deterministic) unitaries ( H 1 , … , H n ) (H_1,\ldots,H_n) ( H 1 , … , H n ) ,3 to obtain an O ( N ) O(\sqrt{N}) O ( N ) -secure strong pseudorandom unitary, which would be a significant improvement over the bounds shown for existing constructions of strong PRUs [14 ] .4 However, since we have not verified all such proofs, we have chosen not to include the results here.
To our knowledge, this is the first time that the idea of bounding the bias of the unitary distribution at each irreducible representation has been used to show the security of unitary designs. Unlike previous proof techniques for analyzing designs (e.g. the path recording oracle of [14 , 8 ] ), our proof easily handles the strong query case as it does not distinguish between query types. Finally, we note that the idea of finding constructions that “fool low-degree irreducible representations” bears some light resemblance to the construction of epsilon-biased sets for nonabelian groups [CMR13], although the goal there is to bound the maximum bias over all irreducible representations (rather than their sum).
AI Use Disclosure
In this section, we will describe the precise work contributed by models, and contributed by human authors.
We (the human authors) were inspired by the connection between PRUs in the random-oracle model and unitary synthesis described in [5 ] . We believed that formulating and attacking unitary synthesis in an average-case setting (with random oracles in place of an arbitrary oracle) would be natural, and could be a stepping stone to impossibility results for unitary synthesis and ROM-PRUs. We created a usable definition of random-oracle unitary synthesis and deployed GPT 5.6 Sol for several hours. It was able to solve the problem and an additional prompt obtained the ROM-PRU lower bound as well. We then engaged in interactive sessions with GPT 6 Astra to understand the proof and simplify its structure.
Concurrently, we were working on constructing efficient unitary designs to surpass the N \sqrt{N} N -query barrier in the random-oracle model. GPT 5.6 Sol was able to prove the O ( N ) O(N) O ( N ) -query security of a target construction that the authors proposed, for a query-efficient unitary design. This construction provides a matching upper bound to our lower bound against ROM-PRUs.
After digesting and organizing the result, we produced a draft, which was then verified with AI assistance. We take full accountability for the correctness of the results in this work.
Organization. In § 2 , we establish the preliminaries for our work, including standard notation and the essential background in representation theory. In § 3 , we recall the definitions of unitary synthesis and pseudorandom unitaries before proposing our new definition of random-oracle unitary synthesis. In § 4 , we prove the impossibility of efficient random-oracle unitary synthesis and (forward non-adaptive) pseudorandom unitaries in the random-oracle model with security against more than O ~ ( N ) \tilde{O}(N) O ~ ( N ) queries. In § 5 , we construct a strong pseudorandom unitary in the random-oracle model secure against O ( N ) O(N) O ( N ) queries.
Preliminaries
Notation
For an n n n qubit system, we sometimes denote the dimension N = 2 n N = 2^n N = 2 n . In general, we use capitalization to denote the dimension of a system of qubits, including m m m and M M M as well as m 0 m_0 m 0 and M 0 M_0 M 0 . We denote the set of n n n -qubit Pauli operators by
P n = { P 1 ⊗ ⋯ ⊗ P n : P j ∈ { I , X , Y , Z } } . \mathcal{P}_n = \{P_1 \otimes\cdots\otimes P_n : P_j \in\{I, X, Y, Z\}\}. P n = { P 1 ⊗ ⋯ ⊗ P n : P j ∈ { I , X , Y , Z }} .
In particular, ∣ P n ∣ = 4 n |\mathcal{P}_n| = 4^n ∣ P n ∣ = 4 n , and every element is Hermitian and unitary. For n ≤ m n \le m n ≤ m , let J J J be the isometry defined by J ∣ ψ ⟩ = ∣ ψ ⟩ ⊗ ∣ 0 m − n ⟩ J|\psi\rangle= |\psi\rangle\otimes|0^{m-n}\rangle J ∣ ψ ⟩ = ∣ ψ ⟩ ⊗ ∣ 0 m − n ⟩ . For a unitary U U U , write Φ U \Phi_U Φ U for the channel Φ U ( ρ ) = U ρ U † \Phi_U(\rho) = U\rho U^\dagger Φ U ( ρ ) = U ρ U † . We write ι ( ρ ) = J ρ J † \iota(\rho) = J\rho J^\dagger ι ( ρ ) = J ρ J † for the channel that appends m − n m-n m − n zero ancillas, while we denote the partial trace over the last m − n m-n m − n qubits by π \pi π . Thus, for an m m m -qubit unitary W W W , the channel π ∘ Φ W ∘ ι \pi\circ\Phi_W \circ\iota π ∘ Φ W ∘ ι appends zero ancillas, applies W W W , and discards the ancillas.
We will often consider a function f : { 0 , 1 } m 0 → { 0 , 1 } f : \{0,1\}^{m_0} \to\{0,1\} f : { 0 , 1 } m 0 → { 0 , 1 } , for m 0 ≤ m m_0 \le m m 0 ≤ m where m m m is the total number of qubits. Then, define the phase oracle O f \mathcal{O}_f O f acting on m m m qubits by
O f = ∑ x ( − 1 ) f ( x ) ∣ x ⟩ ⟨ x ∣ ⊗ I m − m 0 . \mathcal{O}_f = \sum_x (-1)^{f(x)} |x\rangle\langle x| \otimes I_{m-m_0}. O f = x ∑ ( − 1 ) f ( x ) ∣ x ⟩ ⟨ x ∣ ⊗ I m − m 0 .
For a matrix A A A , we write ∥ A ∥ \|A\| ∥ A ∥ for its operator norm, equal to its largest singular value. Its trace norm and Frobenius norm are, respectively,
∥ A ∥ 1 = tr A † A , and ∥ A ∥ F = tr ( A † A ) . \|A\|_1 = \operatorname{tr}\sqrt{A^\dagger A}, \qquad\text{and} \qquad\|A\|_F = \sqrt{\operatorname{tr}(A^\dagger A)}. ∥ A ∥ 1 = tr A † A , and ∥ A ∥ F = tr ( A † A ) .
For density operators ρ \rho ρ , σ \sigma σ and quantum channels Φ \Phi Φ , Ψ \Psi Ψ , we use the trace and diamond distances,
D ( ρ , σ ) = 1 2 ∥ ρ − σ ∥ 1 , D ⋄ ( Φ , Ψ ) = 1 2 ∥ Φ − Ψ ∥ ⋄ . D(\rho,\sigma) = \frac{1}{2}\|\rho-\sigma\|_1, \qquad D_\diamond(\Phi,\Psi) = \frac{1}{2}\|\Phi-\Psi\|_\diamond. D ( ρ , σ ) = 2 1 ∥ ρ − σ ∥ 1 , D ⋄ ( Φ , Ψ ) = 2 1 ∥Φ − Ψ ∥ ⋄ .
For channels Φ \Phi Φ , Ψ \Psi Ψ acting on system A A A , the diamond distance is
D ⋄ ( Φ , Ψ ) = sup B , ρ A B D ( ( Φ ⊗ id B ) ( ρ A B ) , ( Ψ ⊗ id B ) ( ρ A B ) ) , D_\diamond(\Phi,\Psi) = \sup_{B,\rho_{AB}} D\bigl((\Phi\otimes\operatorname{id}_B)(\rho_{AB}),(\Psi\otimes\operatorname{id}_B)(\rho_{AB})\bigr), D ⋄ ( Φ , Ψ ) = B , ρ A B sup D ( ( Φ ⊗ id B ) ( ρ A B ) , ( Ψ ⊗ id B ) ( ρ A B ) ) ,
where the supremum ranges over all finite-dimensional reference systems B B B and density operators ρ A B \rho_{AB} ρ A B on A ⊗ B A \otimes B A ⊗ B .
Unitary Designs
We consider two different notions of unitary designs. The first we provide is a standard/forward non-adaptive design, the weakest commonly used definition and the one that we will consider for our lower bound. Our upper bound uses the strong adaptive notion defined below.
Definition 2.1 (Standard non-adaptive T T T -query design). Let ν \nu ν be a distribution over U ( N ) U(N) U ( N ) . We say that ν \nu ν is a δ \delta δ -approximate standard non-adaptive unitary T T T -design if
1 2 ∥ T ν ( T ) − T H a a r ( T ) ∥ ⋄ ≤ δ . \frac{1}{2}\left\|\mathcal{T}^{(T)}_{\nu} - \mathcal{T}^{(T)}_{\mathrm{Haar}}\right\|_\diamond\le\delta. 2 1 T ν ( T ) − T Haar ( T ) ⋄ ≤ δ . where
T D ( T ) ( ρ ) : = E U ∼ D [ U ⊗ T ρ ( U † ) ⊗ T ] . \mathcal{T}^{(T)}_{\mathcal{D}}(\rho) := \mathbb{E}_{U \sim\mathcal{D}}\left[U^{\otimes T}\rho(U^\dagger)^{\otimes T}\right]. T D ( T ) ( ρ ) := E U ∼ D [ U ⊗ T ρ ( U † ) ⊗ T ] . Equivalently, no distinguisher that prepares an arbitrary joint state on T T T query registers and an arbitrary reference system, applies U ⊗ T U^{\otimes T} U ⊗ T in parallel, and then performs an arbitrary joint measurement can distinguish U ∼ ν U \sim\nu U ∼ ν from Haar with advantage greater than δ \delta δ .
We now define a strong adaptive unitary design. In this case, the unitary no longer has to be queried in parallel—furthermore, we allow access to the unitary, its inverse, its conjugate and transpose, as well as controlled access to each of these oracles.
Definition 2.2 (Strong adaptive design). Let ν \nu ν be a distribution over U ( N ) U(N) U ( N ) . For U ∈ U ( N ) U \in U(N) U ∈ U ( N ) , define the oracle family
S U = { U , U † , U ‾ , U T , c U , c U † , c U ‾ , c U T } . \mathcal{S}_U = \left\{ U, U^\dagger, \overline{U}, U^T, cU, cU^\dagger, c\overline{U}, cU^T \right\}. S U = { U , U † , U , U T , c U , c U † , c U , c U T } . where
c V : = ∣ 0 ⟩ ⟨ 0 ∣ ⊗ I + ∣ 1 ⟩ ⟨ 1 ∣ ⊗ V . cV := \lvert0\rangle\langle0\rvert\otimes I + \lvert1\rangle\langle1\rvert\otimes V. c V := ∣ 0 ⟩ ⟨ 0 ∣ ⊗ I + ∣ 1 ⟩ ⟨ 1 ∣ ⊗ V . We say that ν \nu ν is a δ \delta δ -approximate strong adaptive unitary T T T -design if, for every quantum algorithm A \mathcal{A} A making at most T T T total oracle calls to members of S U \mathcal{S}_U S U ,
∣ Pr U ∼ ν [ A S U = 1 ] − Pr U ∼ H a a r [ A S U = 1 ] ∣ ≤ δ . \left| \Pr_{U\sim\nu}\left[\mathcal{A}^{\mathcal{S}_U}=1\right] - \Pr_{U\sim\mathrm{Haar}}\left[\mathcal{A}^{\mathcal{S}_U}=1\right] \right| \le\delta. U ∼ ν Pr [ A S U = 1 ] − U ∼ Haar Pr [ A S U = 1 ] ≤ δ . The oracle calls may be chosen adaptively, and arbitrary ancillary systems and intermediate quantum operations are allowed.
Representation Theory
We review the representation definitions and results we will need for the proof of our unitary design construction. For more details, see [25 , 17 , 21 ] .
The unitary group U ( d ) U(d) U ( d ) is the group of d × d d \times d d × d unitary matrices. More generally, for V V V a complex, finite-dimensional Hilbert space, U ( V ) U(V) U ( V ) is the group of unitary operators on V V V .
Definition 2.3 (Representations). Let G G G be a group. A complex, unitary, finite-dimensional representation (henceforth, a representation ) of G G G is a pair ( μ , V ) (\mu, V) ( μ , V ) , where V V V is a finite-dimensional complex Hilbert space and μ : G → U ( V ) \mu: G \to U(V) μ : G → U ( V ) is a group homomorphism. The dimension of V V V is called the dimension of the representation μ \mu μ and is denoted dim ( μ ) \dim(\mu) dim ( μ ) .
Definition 2.4 (Characters). Let ( μ , V ) (\mu, V) ( μ , V ) be a representation of a group G G G . The character of μ \mu μ is the map χ μ : G → C \chi_\mu: G \to\mathbb{C} χ μ : G → C given by χ μ ( g ) : = Tr μ ( g ) \chi_\mu(g) := \operatorname{Tr}\mu(g) χ μ ( g ) := Tr μ ( g ) .
Definition 2.5 (Irreducible representations). Let ( μ , V ) (\mu, V) ( μ , V ) be a representation of a group G G G . A subspace W ⊆ V W \subseteq V W ⊆ V is an invariant subspace of V V V if μ ( g ) ⋅ W ⊆ W \mu(g) \cdot W \subseteq W μ ( g ) ⋅ W ⊆ W for all g ∈ G g \in G g ∈ G . An invariant subspace is trivial if W = { 0 } W = \{0\} W = { 0 } or W = V W = V W = V . If V V V has a nontrivial invariant subspace, it is called reducible , and otherwise is called irreducible . An irreducible representation is also called an irrep . The set of equivalence classes of irreps of G G G will be written G ^ \widehat{G} G .
Moving forward, we will fix a representative μ ^ i \widehat{\mu}_i μ i from each isomorphism class of irreps and identify G ^ \widehat{G} G with the set { μ ^ i } \{\widehat{\mu}_i\} { μ i } .
Lemma 2.6 (Schur’s lemma). Let G G G be a group, and let ( μ , V ) (\mu, V) ( μ , V ) be an irreducible representation of G G G . Let T : V → V T : V \to V T : V → V be a linear map such that T μ ( g ) = μ ( g ) T T\mu(g) = \mu(g)T T μ ( g ) = μ ( g ) T for all g ∈ G g \in G g ∈ G . Then T = Tr T dim ( μ ) ⋅ I V T = \frac{\operatorname{Tr}T}{\dim(\mu)} \cdot I_V T = d i m ( μ ) Tr T ⋅ I V .
Definition 2.7 (Direct sum of representations). Let G G G be a group, and let ( μ 1 , V 1 ) , … , ( μ k , V k ) (\mu_1, V_1), \ldots, (\mu_k, V_k) ( μ 1 , V 1 ) , … , ( μ k , V k ) be representations of G G G . Then the direct sum of μ 1 , … , μ k \mu_1,\ldots,\mu_k μ 1 , … , μ k is the representation ( μ , V ) (\mu,V) ( μ , V ) , where V = ⨁ i = 1 k V i V = \bigoplus_{i=1}^k V_i V = ⨁ i = 1 k V i and μ ( g ) : = ⨁ i = 1 k μ i ( g ) \mu(g) := \bigoplus_{i=1}^k \mu_i(g) μ ( g ) := ⨁ i = 1 k μ i ( g ) for all g ∈ G g \in G g ∈ G . Each representation μ i \mu_i μ i may appear multiple times. If μ i \mu_i μ i appears m i m_i m i times, we also write μ = ⨁ i = 1 k m i ⋅ μ i \mu= \bigoplus_{i=1}^k m_i \cdot\mu_i μ = ⨁ i = 1 k m i ⋅ μ i , and refer to m i m_i m i as the multiplicity of μ i \mu_i μ i .
Definition 2.8 (Complete reducibility). Let G G G be a group, and let ( μ , V ) (\mu,V) ( μ , V ) be a representation of G G G . Then μ \mu μ is completely reducible if
μ ≅ ⨁ μ ^ i ∈ G ^ m i ⋅ μ ^ i \mu\cong\bigoplus_{\hat{\mu}_i \in\widehat{G}} m_i \cdot\hat{\mu}_i μ ≅ μ ^ i ∈ G ⨁ m i ⋅ μ ^ i for some nonnegative integers { m i } \{m_i\} { m i } .
Finite-dimensional unitary representations are completely reducible.
Definition 2.9 (Partitions). Let n n n be a non-negative integer. A partition of n n n is a finite list λ = ( λ 1 , … , λ m ) \lambda= (\lambda_1,\ldots,\lambda_m) λ = ( λ 1 , … , λ m ) of positive integers such that λ 1 ≥ λ 2 ≥ … ≥ λ m \lambda_1 \ge\lambda_2 \ge\ldots\ge\lambda_m λ 1 ≥ λ 2 ≥ … ≥ λ m and λ 1 + ⋯ + λ m = n \lambda_1+\cdots+\lambda_m=n λ 1 + ⋯ + λ m = n . We write λ ⊢ n \lambda\vdash n λ ⊢ n to denote that λ \lambda λ is a partition of n n n . The size of λ \lambda λ is ∣ λ ∣ = n |\lambda|=n ∣ λ ∣ = n , and the length of λ \lambda λ , denoted ℓ ( λ ) = m \ell(\lambda)=m ℓ ( λ ) = m .
Note that the empty partition λ = ∅ \lambda=\varnothing λ = ∅ is the only partition of n = 0 n=0 n = 0 .
Partitions can be represented pictorially with Young diagrams.
Definition 2.10 (Young diagrams). Let λ ⊢ n \lambda\vdash n λ ⊢ n . A Young diagram of shape λ \lambda λ is a diagram consisting of n n n boxes, arranged into ℓ ( λ ) \ell(\lambda) ℓ ( λ ) left-justified rows, such that the i i i ’th row contains λ i \lambda_i λ i boxes. The box in the i i i ’th row and j j j ’th column is denoted by ( i , j ) (i,j) ( i , j ) .
Figure 1. The Young diagram associated with a partition λ = ( 6 , 3 , 1 ) \lambda=(6,3,1) λ = ( 6 , 3 , 1 ) of n = 10 n=10 n = 10 .
Definition 2.11 (Standard Young tableau). A standard Young tableau (SYT) of shape λ ⊢ n \lambda\vdash n λ ⊢ n is a bijective labeling of the boxes of λ \lambda λ with the numbers in [ n ] [n] [ n ] , such that the labels are strictly increasing rightwards along rows, and downwards along columns. The set of all SYTs of shape λ \lambda λ is denoted S Y T ( λ ) SYT(\lambda) S Y T ( λ ) .
Definition 2.12 (Semistandard Young tableaux). Fix a positive integer d d d . A semistandard Young tableau (SSYT) of shape λ \lambda λ and alphabet [ d ] [d] [ d ] is a labelling of the boxes of λ \lambda λ , such that the labels are weakly increasing rightwards along rows, and strictly increasing downwards along columns. The set of all SSYTs of shape λ \lambda λ and alphabet [ d ] [d] [ d ] is denoted S S Y T ( λ , d ) SSYT(\lambda,d) S S Y T ( λ , d ) .
Enumerating how many times each number in [ d ] [d] [ d ] appears in tableau T T T gives a sequence known as the weight of T T T , denoted as w ( T ) = ( w 1 ( T ) , … , w d ( T ) ) w(T)=(w_1(T),\ldots,w_d(T)) w ( T ) = ( w 1 ( T ) , … , w d ( T )) . The label of box ( i , j ) (i,j) ( i , j ) in a tableau T T T is denoted by T ( i , j ) T(i,j) T ( i , j ) .
Definition 2.13 (Rational tableaux). Fix a positive integer d d d . For partitions λ , ν \lambda,\nu λ , ν where ℓ ( λ ) + ℓ ( ν ) ≤ d \ell(\lambda)+\ell(\nu)\le d ℓ ( λ ) + ℓ ( ν ) ≤ d , a rational tableau of shape ( λ , ν ) (\lambda,\nu) ( λ , ν ) and alphabet [ d ] [d] [ d ] is a pair
( A , B ) ∈ S S Y T ( λ , d ) × S S Y T ( ν , d ) (A,B) \in SSYT(\lambda,d) \times SSYT(\nu,d) ( A , B ) ∈ S S Y T ( λ , d ) × S S Y T ( ν , d ) such that for all 1 ≤ i ≤ d 1\le i\le d 1 ≤ i ≤ d , ∣ { j : A ( j , 1 ) ≤ i } ∣ + ∣ { j : B ( j , 1 ) ≤ i } ∣ ≤ i |\{j:A(j,1)\le i\}|+|\{j:B(j,1)\le i\}|\le i ∣ { j : A ( j , 1 ) ≤ i } ∣ + ∣ { j : B ( j , 1 ) ≤ i } ∣ ≤ i . We denote the set of all rational tableaux of shape ( λ , ν ) (\lambda,\nu) ( λ , ν ) and alphabet [ d ] [d] [ d ] by R T ( λ , ν , d ) RT(\lambda,\nu,d) R T ( λ , ν , d ) .
Figure 2. On the left, a standard Young tableau of shape ( 4 , 3 , 1 ) (4, 3, 1) ( 4 , 3 , 1 ) . In the middle, a semistandard Young tableau of shape ( 6 , 2 , 1 ) (6, 2, 1) ( 6 , 2 , 1 ) with alphabet [ 4 ] [4] [ 4 ] and weight ( 2 , 3 , 1 , 3 ) (2, 3, 1, 3) ( 2 , 3 , 1 , 3 ) . On the right, a rational tableau of shape ( ( 5 , 2 , 1 ) , ( 4 , 2 , 2 ) ) ((5, 2, 1),(4, 2, 2)) (( 5 , 2 , 1 ) , ( 4 , 2 , 2 )) with alphabet [ 6 ] [6] [ 6 ] .
Definition 2.14 (Polynomial and rational representations). Let ( μ , V ) (\mu,V) ( μ , V ) be a representation of U ( N ) U(N) U ( N ) . Then μ \mu μ is a polynomial representation if we can pick a basis for V V V such that the entries of the matrix μ ( U ) \mu(U) μ ( U ) are polynomials in the entries of U U U for all U ∈ U ( N ) U \in U(N) U ∈ U ( N ) . Similarly, μ \mu μ is a rational representation if we can pick a basis for V V V such that the entries of the matrix μ ( U ) \mu(U) μ ( U ) are polynomials in the entries of U U U and U ‾ \overline{U} U for all U ∈ U ( N ) U \in U(N) U ∈ U ( N ) .
Note that a representation being polynomial or rational is a basis-independent notion.
Theorem 2.15. The polynomial irreps of U ( d ) U(d) U ( d ) are in bijection with partitions λ \lambda λ of length at most d d d . The irrep corresponding to λ \lambda λ is denoted by ( ρ λ , V λ d ) (\rho_\lambda,V^d_\lambda) ( ρ λ , V λ d ) , where V λ d V^d_\lambda V λ d is called the Schur module. Similarly, the rational irreps of U ( d ) U(d) U ( d ) are in bijection with pairs of partitions ( λ , ν ) (\lambda,\nu) ( λ , ν ) satisfying ℓ ( λ ) + ℓ ( ν ) ≤ d \ell(\lambda)+\ell(\nu)\le d ℓ ( λ ) + ℓ ( ν ) ≤ d . The irrep corresponding to ( λ , ν ) (\lambda,\nu) ( λ , ν ) is denoted by ( ρ λ , ν , V λ , ν d ) (\rho_{\lambda,\nu},V^d_{\lambda,\nu}) ( ρ λ , ν , V λ , ν d ) .
Theorem 2.16. There is a basis of V λ d V^d_\lambda V λ d for which each basis element is bijectively associated with an SSYT of shape λ \lambda λ and alphabet [ d ] [d] [ d ] , so that dim ( V λ d ) = ∣ S S Y T ( λ , d ) ∣ \dim(V^d_\lambda)=|SSYT(\lambda,d)| dim ( V λ d ) = ∣ S S Y T ( λ , d ) ∣ .
Theorem 2.17 ([23 Proposition 2.4] ). There is a basis of V λ , ν d V^d_{\lambda,\nu} V λ , ν d for which each basis element is bijectively associated with a rational tableau of shape ( λ , ν ) (\lambda,\nu) ( λ , ν ) and alphabet [ d ] [d] [ d ] , so that dim ( V λ , ν d ) = ∣ R T ( λ , ν , d ) ∣ \dim(V^d_{\lambda,\nu})=|RT(\lambda,\nu,d)| dim ( V λ , ν d ) = ∣ R T ( λ , ν , d ) ∣ .
Definition 2.18 (Rational Schur polynomial). Let x 1 , … , x d x_1,\ldots,x_d x 1 , … , x d be indeterminates. For partitions λ \lambda λ and ν \nu ν where ℓ ( λ ) + ℓ ( ν ) ≤ d \ell(\lambda)+\ell(\nu)\le d ℓ ( λ ) + ℓ ( ν ) ≤ d , the rational Schur polynomial s λ , ν ( x 1 , … , x d ) s_{\lambda,\nu}(x_1,\ldots,x_d) s λ , ν ( x 1 , … , x d ) is the symmetric Laurent polynomial defined as
s λ , ν ( x 1 , … , x d ) : = ∑ ( T , T ′ ) ∈ R T ( λ , ν , d ) ∏ i = 1 d x i w i ( T ) − w i ( T ′ ) . s_{\lambda,\nu}(x_1,\ldots,x_d):=\sum_{(T,T')\in RT(\lambda,\nu,d)}\prod_{i=1}^{d}x_i^{w_i(T)-w_i(T')}. s λ , ν ( x 1 , … , x d ) := ( T , T ′ ) ∈ R T ( λ , ν , d ) ∑ i = 1 ∏ d x i w i ( T ) − w i ( T ′ ) .
Theorem 2.19. Let M ∈ U ( d ) M\in U(d) M ∈ U ( d ) have eigenvalues α 1 , … , α d \alpha_1,\ldots,\alpha_d α 1 , … , α d . Then χ ρ λ , ν ( M ) = s λ , ν ( α 1 , … , α d ) \chi_{\rho_{\lambda,\nu}}(M)=s_{\lambda,\nu}(\alpha_1,\ldots,\alpha_d) χ ρ λ , ν ( M ) = s λ , ν ( α 1 , … , α d ) .
Theorem 2.20 (Mixed Schur-Weyl duality, [17 , 9 ] ). Fix 2 r < N 2r<N 2 r < N and consider the Hilbert space V = ( C N ) ⊗ r ⊗ ( C ‾ N ) ⊗ r V=(\mathbb{C}^{N})^{\otimes r}\otimes(\overline{\mathbb{C}}^{N})^{\otimes r} V = ( C N ) ⊗ r ⊗ ( C N ) ⊗ r . Define the representation ( ϕ r N , V ) (\phi^N_r,V) ( ϕ r N , V ) of U ( N ) U(N) U ( N ) where
ϕ r N ( U ) ∣ x 1 , … , x r , x r + 1 , … , x 2 r ⟩ = ( U ⊗ r ⊗ U ‾ ⊗ r ) ∣ x 1 , … , x r , x r + 1 , … , x 2 r ⟩ . \phi^N_r(U)|x_1,\ldots,x_r,x_{r+1},\ldots,x_{2r}\rangle=(U^{\otimes r}\otimes\overline{U}^{\otimes r})|x_1,\ldots,x_r,x_{r+1},\ldots,x_{2r}\rangle. ϕ r N ( U ) ∣ x 1 , … , x r , x r + 1 , … , x 2 r ⟩ = ( U ⊗ r ⊗ U ⊗ r ) ∣ x 1 , … , x r , x r + 1 , … , x 2 r ⟩ . Then ϕ r N \phi^N_r ϕ r N has the following decomposition:
ϕ r N ≅ ⨁ k = 0 r ⨁ λ ⊢ k , ν ⊢ r − k ρ λ , ν ⊗ I m λ , ν ( r , N ) . \phi^N_r\cong\bigoplus_{k=0}^{r}\ \bigoplus_{\lambda\vdash k,\ \nu\vdash r-k}\rho_{\lambda,\nu}\otimes I_{m^{(r,N)}_{\lambda,\nu}}. ϕ r N ≅ k = 0 ⨁ r λ ⊢ k , ν ⊢ r − k ⨁ ρ λ , ν ⊗ I m λ , ν ( r , N ) .
Random-Oracle Unitary Synthesis
We write N = 2 n N=2^n N = 2 n for the dimension of the target system, M = 2 m M=2^m M = 2 m for the total Hilbert-space dimension, and M 0 = 2 m 0 M_0=2^{m_0} M 0 = 2 m 0 for the number of oracle inputs. We begin by recalling the definition of unitary synthesis, following the convention from [13 ] .
Definition 3.1 (Unitary Synthesis). An n n n -qubit unitary synthesis algorithm with error ε \varepsilon ε which uses k k k queries and m m m qubits is a list of unitaries V 0 , … , V k ∈ U ( M ) V_0,\ldots,V_k \in U(M) V 0 , … , V k ∈ U ( M ) such that for any unitary U ∈ U ( N ) U \in U(N) U ∈ U ( N ) , there exists m 0 ≤ m m_0 \le m m 0 ≤ m and a function f : { 0 , 1 } m 0 → { 0 , 1 } f:\{0,1\}^{m_0} \to\{0,1\} f : { 0 , 1 } m 0 → { 0 , 1 } such that the unitary
W = V k O f V k − 1 ⋯ V 1 O f V 0 , W = V_k \mathcal{O}_f V_{k-1}\cdots V_1 \mathcal{O}_f V_0, W = V k O f V k − 1 ⋯ V 1 O f V 0 , satisfies
D ⋄ ( π ∘ Φ W ∘ i , Φ U ) ≤ ε ( n ) . D_{\diamond}(\pi\circ\Phi_W \circ i,\Phi_U) \le\varepsilon(n). D ⋄ ( π ∘ Φ W ∘ i , Φ U ) ≤ ε ( n ) . Here, π ∘ Φ W ∘ i \pi\circ\Phi_W \circ i π ∘ Φ W ∘ i appends m − n m-n m − n zero ancillas to the input state, applies W W W , and discards the last m − n m-n m − n qubits, as defined in the notation section.
Remark 3.2. A unitary synthesis algorithm is efficient if k , m = poly ( n ) k,m=\operatorname{poly}(n) k , m = poly ( n ) . We call its approximation guarantee nontrivial if 1 − ε ≥ 1 / poly ( n ) 1-\varepsilon\ge1/\operatorname{poly}(n) 1 − ε ≥ 1/ poly ( n ) .
We now state the definition of a ROM-PRU, given in [5 ] .
Definition 3.3 (ROM-PRU). A T T T -query-secure n n n -qubit pseudorandom unitary in the random-oracle model, implemented in k k k queries with oracle input length m 0 m_0 m 0 and m m m total qubits, with design error δ \delta δ and implementation error ε \varepsilon ε , is a sequence of unitaries V 0 , … , V k ∈ U ( M ) V_0,\ldots,V_k \in U(M) V 0 , … , V k ∈ U ( M ) such that for a random function f : { 0 , 1 } m 0 → { 0 , 1 } f:\{0,1\}^{m_0} \to\{0,1\} f : { 0 , 1 } m 0 → { 0 , 1 } , the random variable
W = V k O f V k − 1 ⋯ V 1 O f V 0 W = V_k \mathcal{O}_f V_{k-1}\cdots V_1 \mathcal{O}_f V_0 W = V k O f V k − 1 ⋯ V 1 O f V 0 satisfies the following condition: there exists a joint random variable ( Φ 1 , Φ 2 ) (\Phi_1,\Phi_2) ( Φ 1 , Φ 2 ) such that:
The marginal distribution of Φ 1 \Phi_1 Φ 1 is equal to that of π ∘ Φ W ∘ i \pi\circ\Phi_W \circ i π ∘ Φ W ∘ i .
The marginal distribution of Φ 2 \Phi_2 Φ 2 is that of Φ U \Phi_U Φ U for an ensemble such that no algorithm making at most T T T adaptive forward queries to U U U can distinguish it from Haar with advantage greater than δ \delta δ .
D ⋄ ( Φ 1 , Φ 2 ) ≤ ε D_{\diamond}(\Phi_1,\Phi_2) \le\varepsilon D ⋄ ( Φ 1 , Φ 2 ) ≤ ε .
We additionally require that each oracle f f f determine a single target unitary U f ∈ U ( N ) U_f \in U(N) U f ∈ U ( N ) in the coupling. More precisely, there must exist a deterministic assignment f ↦ U f f \mapsto U_f f ↦ U f such that ( Φ 1 , Φ 2 ) (\Phi_1,\Phi_2) ( Φ 1 , Φ 2 ) has the joint distribution of ( π ∘ Φ W ∘ i , Φ U f ) (\pi\circ\Phi_W \circ i,\Phi_{U_f}) ( π ∘ Φ W ∘ i , Φ U f ) for uniformly random f f f , where W W W is the circuit above evaluated at f f f .
Conditions (1)–(3) alone are equivalent to requiring that the Wasserstein (diamond) ∞ \infty ∞ -distance between the distribution of π ∘ Φ W ∘ i \pi\circ\Phi_W \circ i π ∘ Φ W ∘ i and that of Φ U \Phi_U Φ U be at most ε \varepsilon ε .
Remark 3.4. The requirement that each oracle f f f determine a single target unitary U f U_f U f follows the definition of Brakerski and Yuen [5 ] . Our lower bounds do not require this restriction: they hold slightly more generally for arbitrary couplings satisfying conditions (1)–(3), even when the target unitary is not determined by f f f .
The ROM-PRU model encapsulates one strategy to build pseudorandom unitaries. Say that V 0 , … , V k V_0,\ldots,V_k V 0 , … , V k are efficient unitaries, and that ε − 1 = Ω ( exp ( 2 κ ) ) \varepsilon^{-1}=\Omega(\exp(2\kappa)) ε − 1 = Ω ( exp ( 2 κ )) and δ − 1 , T = Ω ( exp ( κ ) ) \delta^{-1},T=\Omega(\exp(\kappa)) δ − 1 , T = Ω ( exp ( κ )) for some κ \kappa κ . Then, one can use a ROM-PRU to build a pseudorandom unitary secure to exp ( κ ) \exp(\kappa) exp ( κ ) queries—by replacing the random function with a quantum-secure pseudorandom function, such that the distinguishing advantage with exp ( κ ) \exp(\kappa) exp ( κ ) queries is O ( exp ( − κ ) ) O(\exp(-\kappa)) O ( exp ( − κ )) .
While there have been many recent PRU constructions [14 , 20 ] , they all lack a property called scalability . In particular, these constructions are only able to achieve security parameter κ ≤ n / 2 \kappa\le n/2 κ ≤ n /2 with k = poly ( n ) k=\operatorname{poly}(n) k = poly ( n ) queries. This means that to achieve a desired security parameter one must necessarily increase the number of qubits that the PRU applies to. Of course, it could be desirable to obtain security that scales independently of the number of qubits, especially at low dimensions. A scalable PRU is accordingly defined to be a pseudorandom unitary that can achieve κ \kappa κ bits of security with k = poly ( n , κ ) k = \operatorname{poly}(n,\kappa) k = poly ( n , κ ) queries.
A priori, it is not clear if there is a formal relationship between unitary synthesis and the existence of ROM-PRUs. Intuitively, both describe the type of unitaries that can be implemented with circuits of the form V k O f ⋯ O f V 0 V_k O_f \cdots O_f V_0 V k O f ⋯ O f V 0 . However, while unitary synthesis requires a worst-case condition over all unitaries U ∈ U ( N ) U \in U(N) U ∈ U ( N ) but allows the corresponding function f f f to depend on U U U , in a ROM-PRU, the random variable V k O f ⋯ O f V 0 V_k O_f \cdots O_f V_0 V k O f ⋯ O f V 0 for a random function f f f must be close to a T T T -design.
Despite these differences, Brakerski and Yuen recently showed that these two notions can be connected in a rigorous manner:
Theorem 3.5 ([5 ] , proof of Lemma 4.7 and Remark 4.9). There are universal constants c 1 , c 2 , c 3 > 0 c_1,c_2,c_3 > 0 c 1 , c 2 , c 3 > 0 such that the following holds. Suppose there exists an n n n -qubit ROM-PRU secure against T ≥ c 3 N 2 T \ge c_3N^2 T ≥ c 3 N 2 queries, implemented using m m m total qubits, oracle input length m 0 m_0 m 0 , and k k k oracle queries, with design error δ ≤ c 1 \delta\le c_1 δ ≤ c 1 and implementation error ε ≤ c 2 \varepsilon\le c_2 ε ≤ c 2 . Then there exists a unitary synthesis algorithm using at most 2 m − n + 1 2m-n+1 2 m − n + 1 total qubits, oracle input length m 0 + 1 m_0+1 m 0 + 1 , and 2 k 2k 2 k oracle queries, with implementation error at most 1 / 2 1/2 1/2 .
This theorem shows in particular that scalable PRUs in the ROM-PRU model would imply unitary synthesis—the authors use this result as evidence that such a construction would be highly nontrivial. But since there are no known lower bounds to unitary synthesis algorithms that make more than one query, this result does not unconditionally rule out the possibility of scalable PRUs in the ROM-PRU model.
Inspired by the connection, we will define the notion of random-oracle unitary synthesis below, as an average-case version of unitary synthesis. Just like the ROM-PRU model, average-case unitary synthesis only queries a uniformly random function, instead of an arbitrary one—as we see, this will allow us to apply similar techniques to analyze both settings, and eventually deduce lower-bounds that we are unable to extend to the general worst-case regime. In this section, we define a natural version of unitary synthesis when given access to a random-oracle. This question is closely related to the ROM-PRU model of [5 ] ; indeed, by using our techniques for ruling out scalable ROM-PRUs, we can also demonstrate that efficient random-oracle unitary synthesis is impossible.
Definition 3.6 (Random-Oracle Unitary Synthesis). An n n n -qubit random-oracle unitary synthesis algorithm with error ε \varepsilon ε , using k k k queries, m m m total qubits, and oracle input length m 0 ≤ m m_0 \le m m 0 ≤ m , is a list of unitaries V 0 , … , V k ∈ U ( M ) V_0,\ldots,V_k \in U(M) V 0 , … , V k ∈ U ( M ) with the following property: for the random variable
W = V k O f V k − 1 ⋯ V 1 O f V 0 , W = V_k O_f V_{k-1} \cdots V_1 O_f V_0, W = V k O f V k − 1 ⋯ V 1 O f V 0 , where f : { 0 , 1 } m 0 → { 0 , 1 } f:\{0,1\}^{m_0} \to\{0,1\} f : { 0 , 1 } m 0 → { 0 , 1 } is a uniformly random function on the first m 0 m_0 m 0 qubits, there exists a joint random variable ( Φ 1 , Φ 2 ) (\Phi_1,\Phi_2) ( Φ 1 , Φ 2 ) such that:
The marginal distribution of Φ 1 \Phi_1 Φ 1 is equal to that of π ∘ Φ W ∘ i \pi\circ\Phi_W \circ i π ∘ Φ W ∘ i .
The marginal distribution of Φ 2 \Phi_2 Φ 2 is equal to the distribution of Φ U \Phi_U Φ U for a Haar random unitary U ∈ U ( N ) U \in U(N) U ∈ U ( N ) .
E [ D ⋄ ( Φ 1 , Φ 2 ) ] ≤ ε \mathbb{E}[D_{\diamond}(\Phi_1,\Phi_2)] \le\varepsilon E [ D ⋄ ( Φ 1 , Φ 2 )] ≤ ε .
Equivalently to conditions (1)-(3), the Wasserstein (diamond) 1-distance of π ∘ Φ W ∘ i \pi\circ\Phi_W \circ i π ∘ Φ W ∘ i and Φ U \Phi_U Φ U is at most $\varepsilon.
This random-oracle definition of unitary synthesis is very similar to the standard one (Definition 3.1 ), except rather than measuring the diamond distance between the channels induced by W W W and U U U , one considers the analogous Wasserstein distance between their random variables.
Likewise, it is similar to the definition of a ROM-PRU, except (1) the approximate T T T -design is replaced with a Haar random distribution, (2) the constraint E [ D ⋄ ( Φ 1 , Φ 2 ) ] ≤ ε \mathbb{E}[D_{\diamond}(\Phi_1,\Phi_2)] \le\varepsilon E [ D ⋄ ( Φ 1 , Φ 2 )] ≤ ε replaces D ⋄ ( Φ 1 , Φ 2 ) ≤ ε D_{\diamond}(\Phi_1,\Phi_2) \le\varepsilon D ⋄ ( Φ 1 , Φ 2 ) ≤ ε , and (3) the coupling need not be induced by a deterministic assignment f ↦ U f f \mapsto U_f f ↦ U f .
Note that this makes a random-oracle unitary synthesis algorithm and a ROM-PRU technically incomparable: while a Haar random unitary is a perfect T T T -design for any T T T , bounding the expected diamond distance (equivalently, considering the Wasserstein 1-distance instead of the ∞ \infty ∞ -distance) is a weaker criterion. In particular, a random-oracle unitary synthesis algorithm can implement just a 1 poly ( n ) \frac{1}{\operatorname{poly}(n)} poly ( n ) 1 fraction of unitaries to non-negligible precision.
Impossibility of Random-Oracle Unitary Synthesis
Our main result in this section is the impossibility of random-oracle unitary synthesis.
Theorem 4.1 (Random-Oracle Unitary Synthesis Query Bound). Suppose that there is an n n n -qubit random-oracle unitary synthesis algorithm with error ε \varepsilon ε satisfying 1 − ε = ω ( N − 2 ) 1-\varepsilon=\omega(N^{-2}) 1 − ε = ω ( N − 2 ) , which makes k k k queries and uses m m m total qubits. Then
k 2 ( 1 − ε ) − 6 = Ω ( N ) . k^2(1-\varepsilon)^{-6}=\Omega(N). k 2 ( 1 − ε ) − 6 = Ω ( N ) . In particular, if 1 − ε ≥ 1 / poly ( n ) 1-\varepsilon\ge1/\operatorname{poly}(n) 1 − ε ≥ 1/ poly ( n ) , then
k ≥ N poly ( n ) . k \ge\frac{\sqrt{N}}{\operatorname{poly}(n)}. k ≥ poly ( n ) N .
The bound shows that the regime k = poly ( n ) k=\operatorname{poly}(n) k = poly ( n ) and error ε = 1 − 1 poly ( n ) \varepsilon=1-\frac{1}{\operatorname{poly}(n)} ε = 1 − poly ( n ) 1 is impossible, for any choice of m m m . Notably, this m m m -independent result cannot be true in the original model of unitary synthesis—there is a known algorithm with k = 1 k=1 k = 1 , m = O ~ ( N 2 ) m=\widetilde{O}(N^2) m = O ( N 2 ) , and constant ε < 1 \varepsilon<1 ε < 1 [4 , 13 ] . Our result therefore demonstrates that the presence of structure in the oracle queries is necessary for efficient unitary synthesis, even in the regime of unbounded ancilla qubits.
Using similar techniques, we demonstrate that no query-efficient ROM-PRU can obtain security beyond O ( N ) O(N) O ( N ) queries under the error assumptions below.
Theorem 4.2 (ROM-PRU Query Bound). Fix γ > 0 \gamma>0 γ > 0 . Suppose there is an n n n -qubit ROM-PRU secure against T = Ω ( N 1 + γ ) T=\Omega(N^{1+\gamma}) T = Ω ( N 1 + γ ) queries, implemented using k ≥ 1 k\ge1 k ≥ 1 oracle queries and m m m total qubits, with implementation error ε \varepsilon ε and design error δ \delta δ . Assume 0 ≤ ε , δ < 1 0\le\varepsilon,\delta<1 0 ≤ ε , δ < 1 and 1 − ε = ω ( N − 2 ) 1-\varepsilon=\omega(N^{-2}) 1 − ε = ω ( N − 2 ) . Then
k 2 ( 1 − δ ) − 2 ( 1 − ε ) − 6 = Ω ( N min { γ , 1 } ) . k^2(1-\delta)^{-2}(1-\varepsilon)^{-6}=\Omega\left(N^{\min\{\gamma,1\}}\right). k 2 ( 1 − δ ) − 2 ( 1 − ε ) − 6 = Ω ( N m i n { γ , 1 } ) . In particular, if ( 1 − ε ) − 1 (1-\varepsilon)^{-1} ( 1 − ε ) − 1 and ( 1 − δ ) − 1 (1-\delta)^{-1} ( 1 − δ ) − 1 are polynomially bounded in n n n , then
k ≥ N min { γ , 1 } / 2 poly ( n ) . k\ge\frac{N^{\min\{\gamma,1\}/2}}{\operatorname{poly}(n)}. k ≥ poly ( n ) N m i n { γ , 1 } /2 .
Remark 4.3. (Query-access models). The lower bound holds even for standard non-adaptive designs (Definition 2.1 ), whereas the upper bound in Theorem 5.1 uses strong adaptive designs (Definition 2.2).
Remark 4.4. The proof applies immediately to a slightly strengthened statement, showing that k 2 ( 1 − δ ) − 2 ( 1 − ε ) − 6 = Ω ( min ( N , T N ) ) k^2(1-\delta)^{-2}(1-\varepsilon)^{-6}=\Omega\left(\min\left(N,\frac{T}{N}\right)\right) k 2 ( 1 − δ ) − 2 ( 1 − ε ) − 6 = Ω ( min ( N , N T ) ) . This version precludes efficient, nontrivial ROM-PRUs from achieving T T T -designs whenever T N \frac{T}{N} N T is superpolynomial in n n n .
Clean Synthesis
The intermediate step to our proof is to reformulate the central question. We write M = 2 m M = 2^m M = 2 m for the total Hilbert-space dimension and M 0 = 2 m 0 M_0 = 2^{m_0} M 0 = 2 m 0 for the number of oracle inputs.
Theorem 4.5. Let V 0 , … , V k ∈ U ( M ) V_0,\ldots,V_k \in U(M) V 0 , … , V k ∈ U ( M ) be a sequence of unitaries, and let J J J be the isometry taking an n n n -qubit state ∣ ψ ⟩ |\psi\rangle ∣ ψ ⟩ to ∣ ψ ⟩ ∣ 0 m − n ⟩ |\psi\rangle|0^{m-n}\rangle ∣ ψ ⟩ ∣ 0 m − n ⟩ . For a uniformly random function f : { 0 , 1 } m 0 → { 0 , 1 } f:\{0,1\}^{m_0}\to\{0,1\} f : { 0 , 1 } m 0 → { 0 , 1 } , define the random variable
A f = J † V k O f … O f V 0 J . A_f = J^\dagger V_k O_f \ldots O_f V_0 J. A f = J † V k O f … O f V 0 J . For every 0 < r ≤ 1 0 < r \le1 0 < r ≤ 1 , there exists a randomized algorithm Resample that takes as input f f f and produces a subset S ⊆ { 0 , 1 } m 0 S \subseteq\{0,1\}^{m_0} S ⊆ { 0 , 1 } m 0 and a function f S : { 0 , 1 } m 0 → { 0 , 1 } f_S:\{0,1\}^{m_0}\to\{0,1\} f S : { 0 , 1 } m 0 → { 0 , 1 } such that
H ( f S ∣ f ) ≥ M 0 − 3 k 2 N r 2 H(f_S|f) \ge M_0 - \frac{3k^2N}{r^2} H ( f S ∣ f ) ≥ M 0 − r 2 3 k 2 N and
E f , ( S , f S ) ← Resample ( f ) [ ∥ A f − A f S ∥ F 2 ] ≤ 2 N r 2 . \mathbb{E}_{f,(S,f_S)\leftarrow\operatorname{Resample}(f)}\left[\lVert A_f-A_{f_S}\rVert_F^2\right] \le2Nr^2. E f , ( S , f S ) ← Resample ( f ) [ ∥ A f − A f S ∥ F 2 ] ≤ 2 N r 2 .
The N × N N \times N N × N submatrix A f A_f A f of the circuit V k O f … O f V 0 V_kO_f\ldots O_fV_0 V k O f … O f V 0 can be understood as approximately implementing a unitary U U U . Indeed, say that A f A_f A f is near some unitary U U U on n n n qubits—then, V k O f … O f V 0 V_kO_f\ldots O_fV_0 V k O f … O f V 0 approximately takes a state ∣ ψ ⟩ ⊗ ∣ 0 m − n ⟩ |\psi\rangle\otimes|0^{m-n}\rangle ∣ ψ ⟩ ⊗ ∣ 0 m − n ⟩ to U ∣ ψ ⟩ ⊗ ∣ 0 m − n ⟩ U|\psi\rangle\otimes|0^{m-n}\rangle U ∣ ψ ⟩ ⊗ ∣ 0 m − n ⟩ . This is an approximate clean implementation of U U U , since the ancilla state is unchanged by the unitary.
Theorem 4.5 is a compelling argument that cleanly synthesizing many unitaries with access to a random oracle f f f cannot be done efficiently. The theorem states that one can stochastically alter f f f at almost all inputs, while the value of A f A_f A f changes by a small amount. Indeed, the conditional entropy of f S f_S f S with respect to f f f is nearly M 0 M_0 M 0 , meaning it is almost fully resampled. Informally, A f A_f A f can only contain O ( N k 2 r 2 ) O\left(\frac{Nk^2}{r^2}\right) O ( r 2 N k 2 ) bits of entropy, since the other degrees of freedom only perturb A f A_f A f by a bounded Frobenius distance.
This result nearly yields our desired lower bounds. Indeed, it is known that a ROM-PRU secure against T = Ω ( N 1 + γ ) T = \Omega(N^{1+\gamma}) T = Ω ( N 1 + γ ) queries for 0 < γ ≤ 1 0 < \gamma\le1 0 < γ ≤ 1 must have a support with entropy of Ω ( N 1 + γ ) \Omega(N^{1+\gamma}) Ω ( N 1 + γ ) , while a random-oracle unitary synthesis algorithm requires an entropy of Ω ( N 2 ) \Omega(N^2) Ω ( N 2 ) . However, there are two limitations to this approach. Firstly, the simplest entropy bounds are not necessarily robust to perturbing the support by bounded Frobenius distance—it is hypothetically possible that doing so could collapse the entropy. This issue is eventually handled, as we show how to carry forward the argument in a manner that is robust to perturbations.
Secondly, and more troublingly, a ROM-PRU and a random-oracle unitary synthesis algorithm may implement unitaries dirtily , changing the ancilla state from ∣ 0 m − n ⟩ |0^{m-n}\rangle ∣ 0 m − n ⟩ in the process of the implementation. The existence of such an algorithm cannot be immediately invalidated by a lower bound against clean synthesis. To resolve this problem, we demonstrate that a dirty synthesis algorithm can still indirectly imply a contradiction to Theorem 4.5 . In particular, we will show that the action of a dirty synthesis channel Φ \Phi Φ on a Pauli observable P ⊗ I P \otimes I P ⊗ I produces an N × N N \times N N × N output that contradicts Theorem 4.5 . Hence, while our intermediate theorem more straightforwardly proves the nonexistence of a clean synthesis algorithm, the additional technical trick allows us to complete our main theorems in full generality.
Definition 4.6. Consider any sequence of unitaries V 0 , … , V k ∈ U ( M ) V_0,\ldots,V_k \in U(M) V 0 , … , V k ∈ U ( M ) , function f : { 0 , 1 } m 0 → { 0 , 1 } f:\{0,1\}^{m_0}\to\{0,1\} f : { 0 , 1 } m 0 → { 0 , 1 } and bitstring x ∈ { 0 , 1 } m 0 x\in\{0,1\}^{m_0} x ∈ { 0 , 1 } m 0 . Let Π x : = ∣ x ⟩ ⟨ x ∣ ⊗ I m − m 0 \Pi_x := |x\rangle\langle x|\otimes I_{m-m_0} Π x := ∣ x ⟩ ⟨ x ∣ ⊗ I m − m 0 be the projector onto the first m 0 m_0 m 0 qubits being ∣ x ⟩ |x\rangle ∣ x ⟩ . Define the influence w f ( x ) w_f(x) w f ( x ) to be
w f ( x ) = ∑ i = 1 k ( ∥ L f , i Π x ∥ F 2 + ∥ Π x R f , i ∥ F 2 ) , w_f(x) = \sum_{i=1}^{k}\left(\lVert L_{f,i}\Pi_x\rVert_F^2+\lVert\Pi_xR_{f,i}\rVert_F^2\right), w f ( x ) = i = 1 ∑ k ( ∥ L f , i Π x ∥ F 2 + ∥ Π x R f , i ∥ F 2 ) ,
where i = 1 , … , k i=1,\ldots,k i = 1 , … , k indexes the oracle calls from right to left,
L f , i = J † V k O f ⋯ V i L_{f,i}=J^\dagger V_k O_f\cdots V_i L f , i = J † V k O f ⋯ V i
and
R f , i = V i − 1 O f ⋯ V 0 J . R_{f,i}=V_{i-1}O_f\cdots V_0J. R f , i = V i − 1 O f ⋯ V 0 J .
This quantity is a measure of the extent to which the output of f f f at any given input x ∈ { 0 , 1 } m 0 x\in\{0,1\}^{m_0} x ∈ { 0 , 1 } m 0 influences the final block A f A_f A f . We can record a simple lemma which bounds the sum of the influences over all x x x for a given function f f f :
Lemma 4.7. For any function f f f as in Definition 4.6,
∑ x ∈ { 0 , 1 } m 0 w f ( x ) = 2 k N . \sum_{x\in\{0,1\}^{m_0}} w_f(x)=2kN. x ∈ { 0 , 1 } m 0 ∑ w f ( x ) = 2 k N .
Proof. We can expand the sum as
∑ x w f ( x ) = ∑ x ∈ { 0 , 1 } m 0 ∑ i = 1 k ( ∥ L f , i Π x ∥ F 2 + ∥ Π x R f , i ∥ F 2 ) = ∑ i = 1 k ( ∑ x ∈ { 0 , 1 } m 0 ∥ L f , i Π x ∥ F 2 + ∑ x ∈ { 0 , 1 } m 0 ∥ Π x R f , i ∥ F 2 ) = ∑ i = 1 k ( ∥ L f , i ∥ F 2 + ∥ R f , i ∥ F 2 ) = ∑ i = 1 k ( Tr L f , i L f , i † + Tr R f , i R f , i † ) = ∑ i = 1 k ( N + N ) = 2 k N . \begin{aligned}
\sum_x w_f(x)=\sum_{x\in\{0,1\}^{m_0}}\sum_{i=1}^{k}\left(\lVert L_{f,i}\Pi_x\rVert_F^2+\lVert\Pi_xR_{f,i}\rVert_F^2\right) \\
&=\sum_{i=1}^{k}\left(\sum_{x\in\{0,1\}^{m_0}}\lVert L_{f,i}\Pi_x\rVert_F^2+\sum_{x\in\{0,1\}^{m_0}}\lVert\Pi_xR_{f,i}\rVert_F^2\right) \\
&=\sum_{i=1}^{k}\left(\lVert L_{f,i}\rVert_F^2+\lVert R_{f,i}\rVert_F^2\right) \\
&=\sum_{i=1}^{k}\left(\operatorname{Tr}L_{f,i}L_{f,i}^{\dagger}+\operatorname{Tr}R_{f,i}R_{f,i}^{\dagger}\right) \\
&=\sum_{i=1}^{k}(N+N)=2kN.
\end{aligned} x ∑ w f ( x ) = x ∈ { 0 , 1 } m 0 ∑ i = 1 ∑ k ( ∥ L f , i Π x ∥ F 2 + ∥ Π x R f , i ∥ F 2 ) = i = 1 ∑ k x ∈ { 0 , 1 } m 0 ∑ ∥ L f , i Π x ∥ F 2 + x ∈ { 0 , 1 } m 0 ∑ ∥ Π x R f , i ∥ F 2 = i = 1 ∑ k ( ∥ L f , i ∥ F 2 + ∥ R f , i ∥ F 2 ) = i = 1 ∑ k ( Tr L f , i L f , i † + Tr R f , i R f , i † ) = i = 1 ∑ k ( N + N ) = 2 k N .
In the third equality, we use the fact that the operators L f , i Π x L_{f,i}\Pi_x L f , i Π x (resp. Π x R f , i \Pi_xR_{f,i} Π x R f , i ) for different values of x x x are orthogonal under the Hilbert-Schmidt inner product. □
Lemma 4.8. Consider any sequence of unitaries V 0 , … , V k ∈ U ( M ) V_0,\ldots,V_k\in U(M) V 0 , … , V k ∈ U ( M ) , function f : { 0 , 1 } m 0 → { 0 , 1 } f:\{0,1\}^{m_0}\to\{0,1\} f : { 0 , 1 } m 0 → { 0 , 1 } and bitstring x ∈ { 0 , 1 } m 0 x\in\{0,1\}^{m_0} x ∈ { 0 , 1 } m 0 . Let f ′ f' f ′ be the same function, but with f ′ ( x ) = 1 − f ( x ) f'(x)=1-f(x) f ′ ( x ) = 1 − f ( x ) . Then ∥ A f ′ − A f ∥ F 2 ≤ 4 w f ( x ) w f ′ ( x ) \lVert A_{f'}-A_f\rVert_F^2\leq4w_f(x)w_{f'}(x) ∥ A f ′ − A f ∥ F 2 ≤ 4 w f ( x ) w f ′ ( x ) .
Proof. Assume without loss of generality that f ( x ) = 1 f(x)=1 f ( x ) = 1 . We can first expand A f ′ − A f A_{f'}-A_f A f ′ − A f as a telescoping sum, by defining a hybrid H i H_i H i , for 0 ≤ i ≤ k 0\leq i\leq k 0 ≤ i ≤ k , in which the first i i i oracle calls (counted from right to left) use f ′ f' f ′ and the remaining queries use f f f . Thus H 0 = A f H_0=A_f H 0 = A f and H k = A f ′ H_k=A_{f'} H k = A f ′ , giving the identity
A f ′ − A f = ∑ i = 1 k ( H i − H i − 1 ) . A_{f'}-A_f=\sum_{i=1}^{k}(H_i-H_{i-1}). A f ′ − A f = i = 1 ∑ k ( H i − H i − 1 ) .
Since H i = L f , i O f ′ R f ′ , i H_i=L_{f,i}O_{f'}R_{f',i} H i = L f , i O f ′ R f ′ , i and H i − 1 = L f , i O f R f ′ , i H_{i-1}=L_{f,i}O_fR_{f',i} H i − 1 = L f , i O f R f ′ , i for 1 ≤ i ≤ k 1\leq i\leq k 1 ≤ i ≤ k , the sum expands to
A f ′ − A f = ∑ i = 1 k ( L f , i O f ′ R f ′ , i − L f , i O f R f ′ , i ) = 2 ∑ i = 1 k L f , i Π x R f ′ , i . \begin{aligned}
A_{f'}-A_f=\sum_{i=1}^{k}\left(L_{f,i}O_{f'}R_{f',i}-L_{f,i}O_fR_{f',i}\right) \\
&=2\sum_{i=1}^{k}L_{f,i}\Pi_xR_{f',i}.
\end{aligned} A f ′ − A f = i = 1 ∑ k ( L f , i O f ′ R f ′ , i − L f , i O f R f ′ , i ) = 2 i = 1 ∑ k L f , i Π x R f ′ , i .
Now, we may rewrite this sum as
2 [ L f , 1 Π x ⋯ L f , k Π x ] ⏟ L [ Π x R f ′ , 1 ⋮ Π x R f ′ , k ] ⏟ R ′ . 2\underbrace{\begin{bmatrix} L_{f,1}\Pi_x & \cdots& L_{f,k}\Pi_x \end{bmatrix}}_{L}
\underbrace{\begin{bmatrix} \Pi_xR_{f',1} \\ \vdots\\ \Pi_xR_{f',k} \end{bmatrix}}_{R'}. 2 L [ L f , 1 Π x ⋯ L f , k Π x ] R ′ Π x R f ′ , 1 ⋮ Π x R f ′ , k .
Notice that ∥ L ∥ F 2 = ∑ i = 1 k ∥ L f , i Π x ∥ F 2 ≤ w f ( x ) \lVert L\rVert_F^2=\sum_{i=1}^k\lVert L_{f,i}\Pi_x\rVert_F^2\le w_f(x) ∥ L ∥ F 2 = ∑ i = 1 k ∥ L f , i Π x ∥ F 2 ≤ w f ( x ) , and likewise ∥ R ′ ∥ F 2 ≤ w f ′ ( x ) \lVert R'\rVert_F^2\le w_{f'}(x) ∥ R ′ ∥ F 2 ≤ w f ′ ( x ) . In particular,
4 ∥ ∑ i = 1 k L f , i Π x R f ′ , i ∥ F 2 = 4 ∥ L R ′ ∥ F 2 ≤ 4 ∥ L ∥ F 2 ∥ R ′ ∥ F 2 ≤ 4 w f ( x ) w f ′ ( x ) , 4\left\lVert\sum_{i=1}^k L_{f,i}\Pi_xR_{f',i}\right\rVert_F^2=4\lVert LR'\rVert_F^2
\le4\lVert L\rVert_F^2\lVert R'\rVert_F^2
\le4w_f(x)w_{f'}(x), 4 i = 1 ∑ k L f , i Π x R f ′ , i F 2 = 4 ∥ L R ′ ∥ F 2 ≤ 4 ∥ L ∥ F 2 ∥ R ′ ∥ F 2 ≤ 4 w f ( x ) w f ′ ( x ) ,
completing the proof. □
With this lemma, we are now prepared to give the main proof of this section.
Proof of Theorem 4.5 . We will define a random process that produces the random variable S S S in the theorem statement. By analyzing this random process, we will be able to conclude both conditions,
H ( f S ∣ f ) ≥ M 0 − 32 k 2 N r 2 H(f_S|f)\ge M_0-\frac{32k^2N}{r^2} H ( f S ∣ f ) ≥ M 0 − r 2 32 k 2 N
and
E [ ∥ A f − A f S ∥ F 2 ] ≤ 2 N r 2 . \mathbb{E}[\lVert A_f-A_{f_S}\rVert_F^2]\le2Nr^2. E [∥ A f − A f S ∥ F 2 ] ≤ 2 N r 2 .
Our random process takes a parameter τ = r 2 8 k \tau=\frac{r^2}{8k} τ = 8 k r 2 as input, and proceeds as follows:
Let f 0 : = f f_0:=f f 0 := f , and initialize S = ∅ S=\varnothing S = ∅ .
Iterate over the bitstrings in { 0 , 1 } m 0 \{0,1\}^{m_0} { 0 , 1 } m 0 in some fixed order x 1 , … , x M 0 x_1,\ldots,x_{M_0} x 1 , … , x M 0 . For i = 1 , … , M 0 i=1,\ldots,M_0 i = 1 , … , M 0 .
(a) Set f i : = f i − 1 f_i:=f_{i-1} f i := f i − 1 . Let f i − 1 − f_{i-1}^{-} f i − 1 − and f i − 1 + f_{i-1}^{+} f i − 1 + denote f i − 1 f_{i-1} f i − 1 , with the value of x i x_i x i set to 0 and 1 respectively. If w f i − 1 − ( x i ) ≤ τ w_{f_{i-1}^{-}}(x_i)\le\tau w f i − 1 − ( x i ) ≤ τ and w f i − 1 + ( x i ) ≤ τ w_{f_{i-1}^{+}}(x_i)\le\tau w f i − 1 + ( x i ) ≤ τ , resample the output of f i f_i f i on x i x_i x i randomly, and add x i x_i x i to S S S .
Set f S : = f M 0 f_S:=f_{M_0} f S := f M 0 .
The procedure greedily resamples the values of the original function f f f , when it observes that the index of interest has a sufficiently small influence over the output. Notice that each f i f_i f i has the same distribution as f f f , that of a uniformly random function. Indeed, f 0 = f f_0=f f 0 = f is just a uniformly random function. Conditioned on f 0 + f_0^{+} f 0 + and f 0 − f_0^{-} f 0 − , the value of f 0 f_0 f 0 at x 1 x_1 x 1 is uniformly random. Therefore, in the update step to f 1 f_1 f 1 , the value either remains uniformly random, or is resampled. Neither of these choices changes the distribution, and this argument can be applied inductively to any f i f_i f i . So, the expectation of random variable M 0 − ∣ S ∣ M_0-|S| M 0 − ∣ S ∣ can be expressed as
E [ M 0 − ∣ S ∣ ] = ∑ i = 1 M 0 Pr [ w f i − 1 + ( x i ) > τ or w f i − 1 − ( x i ) > τ ] \mathbb{E}[M_0-|S|]=\sum_{i=1}^{M_0}\Pr[w_{f_{i-1}^{+}}(x_i)>\tau\ \text{or}\ w_{f_{i-1}^{-}}(x_i)>\tau] E [ M 0 − ∣ S ∣ ] = i = 1 ∑ M 0 Pr [ w f i − 1 + ( x i ) > τ or w f i − 1 − ( x i ) > τ ]
≤ 2 ∑ x ∈ { 0 , 1 } m 0 Pr [ w f ( x ) > τ ] , (8) \le2\sum_{x\in\{0,1\}^{m_0}}\Pr[w_f(x)>\tau], \tag*{(8)} ≤ 2 x ∈ { 0 , 1 } m 0 ∑ Pr [ w f ( x ) > τ ] , (8)
where the factor of two arises by a union bound over f i − 1 + f_{i-1}^{+} f i − 1 + and f i − 1 − f_{i-1}^{-} f i − 1 − , or equivalently f i − 1 f_{i-1} f i − 1 and f i − 1 f_{i-1} f i − 1 with its output flipped on x i x_i x i —which are both uniformly random. This can be further bounded as
2 τ ∑ x ∈ { 0 , 1 } m 0 Pr [ w f ( x ) > τ ] ≤ 2 τ ∑ x ∈ { 0 , 1 } m 0 E [ w f ( x ) ] (9) \frac{2}{\tau}\sum_{x\in\{0,1\}^{m_0}}\Pr[w_f(x)>\tau]\leq\frac{2}{\tau}\sum_{x\in\{0,1\}^{m_0}}\mathbb{E}[w_f(x)] \tag*{(9)} τ 2 x ∈ { 0 , 1 } m 0 ∑ Pr [ w f ( x ) > τ ] ≤ τ 2 x ∈ { 0 , 1 } m 0 ∑ E [ w f ( x )] (9)
= 2 τ E [ ∑ x w f ( x ) ] (10) =\frac{2}{\tau}\mathbb{E}\left[\sum_x w_f(x)\right] \tag*{(10)} = τ 2 E [ x ∑ w f ( x ) ] (10)
= 4 k N τ (11) =\frac{4kN}{\tau} \tag*{(11)} = τ 4 k N (11)
= 32 k 2 N r 2 . (12) =\frac{32k^2N}{r^2}. \tag*{(12)} = r 2 32 k 2 N . (12)
The first inequality is an application of Markov’s inequality, while the second applies Lemma 4.7 .
Since each input is visited exactly once, the initial function f f f and the final function f S f_S f S determine every intermediate function: f i ( x j ) = f S ( x j ) f_i(x_j)=f_S(x_j) f i ( x j ) = f S ( x j ) for j ≤ i j\leq i j ≤ i , while f i ( x j ) = f ( x j ) f_i(x_j)=f(x_j) f i ( x j ) = f ( x j ) for j > i j>i j > i . Thus the full trajectory has the same conditional entropy as its final function. By the chain rule,
H ( f S ∣ f ) = H ( f 1 , … , f M 0 ∣ f ) = ∑ i = 1 M 0 H ( f i ∣ f i − 1 , … , f 0 ) . H(f_S\mid f)=H(f_1,\ldots,f_{M_0}\mid f)
=\sum_{i=1}^{M_0}H(f_i\mid f_{i-1},\ldots,f_0). H ( f S ∣ f ) = H ( f 1 , … , f M 0 ∣ f ) = i = 1 ∑ M 0 H ( f i ∣ f i − 1 , … , f 0 ) .
Note first that
H ( f i ∣ f i − 1 , … , f 0 ) = H ( f i ∣ f i − 1 ) . H(f_i\mid f_{i-1},\ldots,f_0)=H(f_i\mid f_{i-1}). H ( f i ∣ f i − 1 , … , f 0 ) = H ( f i ∣ f i − 1 ) .
Indeed, the sequence ( 0 , f 0 ) , … , ( M 0 , f M 0 ) (0,f_0),\ldots,(M_0,f_{M_0}) ( 0 , f 0 ) , … , ( M 0 , f M 0 ) forms a Markov chain, so the dependence of f i f_i f i on previous functions simplifies to a dependence on f i − 1 f_{i-1} f i − 1 . We can now consider whether x i ∈ S x_i\in S x i ∈ S and split into two cases. First, H ( f i ∣ f i − 1 , x i ∈ S ) = 1 H(f_i\mid f_{i-1},x_i\in S)=1 H ( f i ∣ f i − 1 , x i ∈ S ) = 1 , since in this case f i f_i f i has one new uniformly random bit. Meanwhile, H ( f i ∣ f i − 1 , x i ∉ S ) = 0 H(f_i\mid f_{i-1},x_i\notin S)=0 H ( f i ∣ f i − 1 , x i ∈ / S ) = 0 , since f i = f i − 1 f_i=f_{i-1} f i = f i − 1 . Hence H ( f i ∣ f i − 1 ) = Pr [ x i ∈ S ] H(f_i\mid f_{i-1})=\Pr[x_i\in S] H ( f i ∣ f i − 1 ) = Pr [ x i ∈ S ] , and therefore
H ( f S ∣ f ) = ∑ i = 1 M 0 Pr [ x i ∈ S ] = E [ ∣ S ∣ ] ≥ M 0 − 32 k 2 N r 2 , H(f_S\mid f)=\sum_{i=1}^{M_0}\Pr[x_i\in S]
=\mathbb{E}[|S|]
\geq M_0-\frac{32k^2N}{r^2}, H ( f S ∣ f ) = i = 1 ∑ M 0 Pr [ x i ∈ S ] = E [ ∣ S ∣ ] ≥ M 0 − r 2 32 k 2 N ,
where we use Equation (12) to finish the desired inequality.
We now state a lemma that gives a triangle inequality for the expected Frobenius distance squared, albeit with an extra factor of 2—this lemma will be crucial for the theorem.
Lemma 4.9.
E [ ∥ A f − A f S ∥ F 2 ] ≤ 2 ∑ i = 1 M 0 E [ ∥ A f i − A f i − 1 ∥ F 2 ] \mathbb{E}\left[\lVert A_f-A_{f_S}\rVert_F^2\right]\leq2\sum_{i=1}^{M_0}\mathbb{E}\left[\lVert A_{f_i}-A_{f_{i-1}}\rVert_F^2\right] E [ ∥ A f − A f S ∥ F 2 ] ≤ 2 i = 1 ∑ M 0 E [ ∥ A f i − A f i − 1 ∥ F 2 ]
First, let us see how assuming the lemma yields the result. Notice that each term in
2 ∑ i = 1 M 0 E [ ∥ A f i − A f i − 1 ∥ F 2 ] , (13) 2\sum_{i=1}^{M_0}\mathbb{E}\left[\lVert A_{f_i}-A_{f_{i-1}}\rVert_F^2\right], \tag*{(13)} 2 i = 1 ∑ M 0 E [ ∥ A f i − A f i − 1 ∥ F 2 ] , (13)
is either zero since x i ∉ S x_i \notin S x i ∈ / S , or we have the assurance that w f i − 1 ( x i ) ≤ τ w_{f_{i-1}}(x_i) \le\tau w f i − 1 ( x i ) ≤ τ . So, using Lemma 4.8 , we obtain the bound
∑ i = 1 M 0 E [ ∥ A f i − A f i − 1 ∥ F 2 ] ≤ ∑ i = 1 M 0 E [ 1 x i ∈ S ⋅ 4 w f i − 1 ( x i ) w f i ( x i ) ] ≤ 4 τ ∑ i = 1 M 0 E [ w f i ( x i ) ] ≤ 4 τ ∑ i = 1 M 0 E [ w f ( x i ) ] ≤ 8 τ k N ≤ N r 2 . \begin{aligned}
\sum_{i=1}^{M_0} \mathbb{E}\left[\left\|A_{f_i}-A_{f_{i-1}}\right\|_F^2\right]
&\le\sum_{i=1}^{M_0}\mathbb{E}\left[\mathbf{1}_{x_i\in S}\cdot4w_{f_{i-1}}(x_i)w_{f_i}(x_i)\right]\\
&\le4\tau\sum_{i=1}^{M_0}\mathbb{E}\left[w_{f_i}(x_i)\right]\\
&\le4\tau\sum_{i=1}^{M_0}\mathbb{E}\left[w_f(x_i)\right]\\
&\le8\tau kN\\
&\le Nr^2.
\end{aligned} i = 1 ∑ M 0 E [ ∥ A f i − A f i − 1 ∥ F 2 ] ≤ i = 1 ∑ M 0 E [ 1 x i ∈ S ⋅ 4 w f i − 1 ( x i ) w f i ( x i ) ] ≤ 4 τ i = 1 ∑ M 0 E [ w f i ( x i ) ] ≤ 4 τ i = 1 ∑ M 0 E [ w f ( x i ) ] ≤ 8 τ k N ≤ N r 2 .
The third inequality notes that since every f i f_i f i has the same distribution, we can replace them in the expression by a single uniformly random f f f . We then apply Lemma 4.7 , since we have a sum of w f ( x ) w_f(x) w f ( x ) over all x ∈ { 0 , 1 } m x\in\{0,1\}^m x ∈ { 0 , 1 } m , and substitute in the value of τ \tau τ . This inequality, after applying Lemma 4.9 , yields the result.
Proof of Lemma 4.9 . We can expand A f S − A f A_{f_S}-A_f A f S − A f as
A f S − A f = ∑ i : x i ∈ S A f i − A f i − 1 . A_{f_S}-A_f=\sum_{i:x_i\in S} A_{f_i}-A_{f_{i-1}}. A f S − A f = i : x i ∈ S ∑ A f i − A f i − 1 .
We now define
A ‾ f i = A f i − 1 + + A f i − 1 − 2 . (14) \overline{A}_{f_i}=\frac{A_{f_{i-1}^{+}}+A_{f_{i-1}^{-}}}{2}. \tag*{(14)} A f i = 2 A f i − 1 + + A f i − 1 − . (14)
For x i ∈ S x_i\in S x i ∈ S , A ‾ f i \overline{A}_{f_i} A f i is the average of the two possible values for f i f_i f i , after it is sampled from f i − 1 f_{i-1} f i − 1 . As a consequence,
E [ A f i ∣ f i − 1 , … , f 0 , x i ∈ S ] = A ‾ f i . (15) \mathbb{E}\left[A_{f_i}\mid f_{i-1},\ldots,f_0,x_i\in S\right]=\overline{A}_{f_i}. \tag*{(15)} E [ A f i ∣ f i − 1 , … , f 0 , x i ∈ S ] = A f i . (15)
Then we can rewrite
A f i − A f i − 1 = ( A f i − A ‾ f i ) ⏟ T i ( 1 ) + ( A ‾ f i − A f i − 1 ) ⏟ T i ( 2 ) . A_{f_i}-A_{f_{i-1}}=
\underbrace{\left(A_{f_i}-\overline{A}_{f_i}\right)}_{T_i^{(1)}}+
\underbrace{\left(\overline{A}_{f_i}-A_{f_{i-1}}\right)}_{T_i^{(2)}}. A f i − A f i − 1 = T i ( 1 ) ( A f i − A f i ) + T i ( 2 ) ( A f i − A f i − 1 ) .
When x i ∉ S x_i\notin S x i ∈ / S , we define T i ( 1 ) , T i ( 2 ) = 0 T_i^{(1)},T_i^{(2)}=0 T i ( 1 ) , T i ( 2 ) = 0 . By their definitions, note that when x i ∈ S x_i\in S x i ∈ S ,
∥ T i ( 1 ) ∥ F = ∥ T i ( 2 ) ∥ F = 1 2 ∥ A f i − 1 + − A f i − 1 − ∥ F , \left\|T_i^{(1)}\right\|_F=\left\|T_i^{(2)}\right\|_F=\frac{1}{2}\left\|A_{f_{i-1}^{+}}-A_{f_{i-1}^{-}}\right\|_F, T i ( 1 ) F = T i ( 2 ) F = 2 1 A f i − 1 + − A f i − 1 − F ,
since A f i , A f i − 1 ∈ { A f i − 1 + , A f i − 1 − } A_{f_i},A_{f_{i-1}}\in\{A_{f_{i-1}^{+}},A_{f_{i-1}^{-}}\} A f i , A f i − 1 ∈ { A f i − 1 + , A f i − 1 − } . From the conditional expectation of A ‾ f i \overline{A}_{f_i} A f i , it also follows that
E [ T i ( 1 ) ∣ f i − 1 , … , f 0 ] = 0 , \mathbb{E}\left[T_i^{(1)}\mid f_{i-1},\ldots,f_0\right]=0, E [ T i ( 1 ) ∣ f i − 1 , … , f 0 ] = 0 ,
and therefore for any i > j i>j i > j ,
E [ T i ( 1 ) ( T j ( 1 ) ) † ] = 0 , \mathbb{E}\left[T_i^{(1)}\left(T_j^{(1)}\right)^\dagger\right]=0, E [ T i ( 1 ) ( T j ( 1 ) ) † ] = 0 ,
since T j ( 1 ) T_j^{(1)} T j ( 1 ) depends only on f 1 , … , f j f_1,\ldots,f_j f 1 , … , f j , implying that E [ T i ( 1 ) ∣ ( T j ( 1 ) ) † ] = 0 \mathbb{E}\left[T_i^{(1)}\mid\left(T_j^{(1)}\right)^\dagger\right]=0 E [ T i ( 1 ) ∣ ( T j ( 1 ) ) † ] = 0 .
The Pythagorean theorem implies that since the T i ( 1 ) T_i^{(1)} T i ( 1 ) are orthogonal with respect to this inner product, if T ( 1 ) = ∑ i = 1 M 0 T i ( 1 ) T^{(1)}=\sum_{i=1}^{M_0}T_i^{(1)} T ( 1 ) = ∑ i = 1 M 0 T i ( 1 ) ,
E [ ∥ T ( 1 ) ∥ F 2 ] = ∑ i = 1 M 0 E [ ∥ T i ( 1 ) ∥ F 2 ] = 1 4 ∑ i = 1 M 0 E [ ∥ 1 x i ∈ S ( A f i − 1 + − A f i − 1 − ) ∥ F 2 ] = 1 2 ∑ i = 1 M 0 E [ 1 x i ∈ S ∥ A f i − A f i − 1 ∥ F 2 ] ≤ 1 2 ∑ i = 1 M 0 E [ ∥ A f i − A f i − 1 ∥ F 2 ] . \begin{aligned}
\mathbb{E}\left[\left\|T^{(1)}\right\|_{F}^{2}\right]=\sum_{i=1}^{M_0}\mathbb{E}\left[\left\|T_i^{(1)}\right\|_{F}^{2}\right] \\
&=\frac{1}{4}\sum_{i=1}^{M_0}\mathbb{E}\left[\left\|\mathbf{1}_{x_i\in S}\left(A_{f_{i-1}^{+}}-A_{f_{i-1}^{-}}\right)\right\|_{F}^{2}\right] \\
&=\frac{1}{2}\sum_{i=1}^{M_0}\mathbb{E}\left[\mathbf{1}_{x_i\in S}\left\|A_{f_i}-A_{f_{i-1}}\right\|_{F}^{2}\right] \\
&\leq\frac{1}{2}\sum_{i=1}^{M_0}\mathbb{E}\left[\left\|A_{f_i}-A_{f_{i-1}}\right\|_{F}^{2}\right].
\end{aligned} E [ T ( 1 ) F 2 ] = i = 1 ∑ M 0 E [ T i ( 1 ) F 2 ] = 4 1 i = 1 ∑ M 0 E [ 1 x i ∈ S ( A f i − 1 + − A f i − 1 − ) F 2 ] = 2 1 i = 1 ∑ M 0 E [ 1 x i ∈ S ∥ A f i − A f i − 1 ∥ F 2 ] ≤ 2 1 i = 1 ∑ M 0 E [ ∥ A f i − A f i − 1 ∥ F 2 ] .
The third equality uses that f i , f i − 1 = f i − 1 + , f i − 1 − f_i,f_{i-1}=f_{i-1}^{+},f_{i-1}^{-} f i , f i − 1 = f i − 1 + , f i − 1 − with 1 2 \frac{1}{2} 2 1 probability, and otherwise they are equal.
However, it is not so obvious how to repeat the argument for the operators T i ( 2 ) T_i^{(2)} T i ( 2 ) . The crucial observation is that our random process is fully symmetric with respect to time: the random variables are completely consistent with first sampling f M 0 f_{M_0} f M 0 at random, and then resampling the outputs at x M 0 , … , x 1 x_{M_0},\ldots,x_1 x M 0 , … , x 1 in reverse order with the same condition.
This can be verified by examining any pair f i , f i − 1 f_i,f_{i-1} f i , f i − 1 . If one starts with f i − 1 f_{i-1} f i − 1 and randomly resamples x i x_i x i if the condition on f i − 1 f_{i-1} f i − 1 and f i − 1 f_{i-1} f i − 1 is satisfied, it yields the exact same joint distribution as starting with f i f_i f i and resampling x i x_i x i if the condition on f i − 1 f_{i-1} f i − 1 and f i − 1 f_{i-1} f i − 1 (which are both functions of f i f_i f i ) is satisfied. Furthermore, f i + 1 f_{i+1} f i + 1 and f i − 1 f_{i-1} f i − 1 are independent conditioned on f i f_i f i , since as previously mentioned ( i , f i ) (i,f_i) ( i , f i ) forms a Markov chain. Therefore, since all the consecutive joint distributions are equal for the forward and backwards processes, the complete joint distributions are equal.
We may therefore adopt a reversed perspective on the sampling process. It follows that
E [ A f i − 1 ∣ f i , … , f M 0 , x i ∈ S ] = A ‾ f i . \mathbb{E}\left[A_{f_{i-1}}\mid f_i,\ldots,f_{M_0},x_i\in S\right]=\overline{A}_{f_i}. E [ A f i − 1 ∣ f i , … , f M 0 , x i ∈ S ] = A f i .
Using a symmetrical argument, we deduce that
E [ T i ( 2 ) ∣ f i , … , f M 0 ] = 0 , \mathbb{E}\left[T_i^{(2)}\mid f_i,\ldots,f_{M_0}\right]=0, E [ T i ( 2 ) ∣ f i , … , f M 0 ] = 0 ,
and therefore for any i < j i<j i < j ,
E [ T i ( 2 ) ( T j ( 2 ) ) † ] = 0. \mathbb{E}\left[T_i^{(2)}\left(T_j^{(2)}\right)^\dagger\right]=0. E [ T i ( 2 ) ( T j ( 2 ) ) † ] = 0.
Writing T ( 2 ) = ∑ i = 1 M 0 T i ( 2 ) T^{(2)}=\sum_{i=1}^{M_0}T_i^{(2)} T ( 2 ) = ∑ i = 1 M 0 T i ( 2 ) , we therefore obtain the same bound
E [ ∥ T ( 2 ) ∥ F 2 ] ≤ 1 2 ∑ i = 1 M 0 E [ ∥ A f i − A f i − 1 ∥ F 2 ] . \mathbb{E}\left[\left\|T^{(2)}\right\|_{F}^{2}\right]\leq\frac{1}{2}\sum_{i=1}^{M_0}\mathbb{E}\left[\left\|A_{f_i}-A_{f_{i-1}}\right\|_{F}^{2}\right]. E [ T ( 2 ) F 2 ] ≤ 2 1 i = 1 ∑ M 0 E [ ∥ A f i − A f i − 1 ∥ F 2 ] .
We can now conclude
E [ ∥ A f S − A f ∥ F 2 ] ≤ 2 E [ ∥ T ( 1 ) ∥ F 2 ] + 2 E [ ∥ T ( 2 ) ∥ F 2 ] \mathbb{E}\left[\left\|A_{f_S}-A_f\right\|_{F}^{2}\right]\leq2\mathbb{E}\left[\left\|T^{(1)}\right\|_{F}^{2}\right]+2\mathbb{E}\left[\left\|T^{(2)}\right\|_{F}^{2}\right] E [ ∥ A f S − A f ∥ F 2 ] ≤ 2 E [ T ( 1 ) F 2 ] + 2 E [ T ( 2 ) F 2 ]
≤ 2 ∑ i = 1 M 0 E [ ∥ A f i − A f i − 1 ∥ F 2 ] . \leq2\sum_{i=1}^{M_0}\mathbb{E}\left[\left\|A_{f_i}-A_{f_{i-1}}\right\|_{F}^{2}\right]. ≤ 2 i = 1 ∑ M 0 E [ ∥ A f i − A f i − 1 ∥ F 2 ] .
The first inequality uses A f S − A f = T ( 1 ) + T ( 2 ) A_{f_S}-A_f=T^{(1)}+T^{(2)} A f S − A f = T ( 1 ) + T ( 2 ) and the elementary bound ∥ X + Y ∥ F 2 ≤ 2 ∥ X ∥ F 2 + 2 ∥ Y ∥ F 2 \left\|X+Y\right\|_{F}^{2}\leq2\left\|X\right\|_{F}^{2}+2\left\|Y\right\|_{F}^{2} ∥ X + Y ∥ F 2 ≤ 2 ∥ X ∥ F 2 + 2 ∥ Y ∥ F 2 , which is the L = 2 L=2 L = 2 case of the bound used in the technical overview.
Having proven the lemma, the theorem follows.
To conclude this section, we use Theorem 4.5 to isolate a convenient lemma.
Corollary 4.10. Let m m m be the total number of qubits including ancilla, m 0 m_0 m 0 the oracle query length, and n n n the number of qubits in the target subsystem. Let V 0 , … , V k ∈ U ( M ) V_0,\ldots,V_k \in U(M) V 0 , … , V k ∈ U ( M ) be a sequence of unitaries with k ≥ 1 k \ge1 k ≥ 1 . Once again, we define the random variable
A f = J † V k O f … O f V 0 J , A_f=J^\dagger V_kO_f\ldots O_fV_0J, A f = J † V k O f … O f V 0 J , where f : { 0 , 1 } m 0 → { 0 , 1 } f:\{0,1\}^{m_0}\to\{0,1\} f : { 0 , 1 } m 0 → { 0 , 1 } is a uniformly random function. Then for any 0 < d < 2 0<d<2 0 < d < 2 and 0 < ζ < 1 0<\zeta<1 0 < ζ < 1 , there exists a finite set T T T of contractions such that log 2 ( ∣ T ∣ ) = O ( N k 2 ζ 2 d 2 ) \log_2(|T|)=O\left(\frac{Nk^2}{\zeta^2d^2}\right) log 2 ( ∣ T ∣ ) = O ( ζ 2 d 2 N k 2 ) , and
Pr [ min C ∈ T ∥ C − A f ∥ F > d N ] ≤ ζ . \Pr\left[\min_{C\in T}\lVert C-A_f\rVert_F>d\sqrt{N}\right]\le\zeta. Pr [ C ∈ T min ∥ C − A f ∥ F > d N ] ≤ ζ . If every A f A_f A f is Hermitian, then T T T can be chosen to consist of Hermitian contractions.
Proof. Let B f = { g : ∥ A f − A g ∥ F ≤ d N } B_f=\{g:\lVert A_f-A_g\rVert_F\le d\sqrt{N}\} B f = { g : ∥ A f − A g ∥ F ≤ d N } . We can write q f = ∣ B f ∣ 2 M 0 q_f=\frac{|B_f|}{2^{M_0}} q f = 2 M 0 ∣ B f ∣ . In other words, q f q_f q f is the proportion of functions g g g whose A g A_g A g are within d N d\sqrt{N} d N Frobenius distance of A f A_f A f .
First, we apply Theorem 4.5 with r = d ζ 6 r=d\sqrt{\frac{\zeta}{6}} r = d 6 ζ . As a consequence, for a uniformly random f f f , f S f_S f S satisfies
Pr [ ∥ A f S − A f ∥ F > d N ] = Pr [ ∥ A f S − A f ∥ F 2 > d 2 N ] ≤ 2 r 2 d 2 = ζ 3 . \Pr\left[\lVert A_{f_S}-A_f\rVert_F>d\sqrt{N}\right]=\Pr\left[\lVert A_{f_S}-A_f\rVert_F^2>d^2N\right]\le\frac{2r^2}{d^2}=\frac{\zeta}{3}. Pr [ ∥ A f S − A f ∥ F > d N ] = Pr [ ∥ A f S − A f ∥ F 2 > d 2 N ] ≤ d 2 2 r 2 = 3 ζ .
Denote the event that ∥ A f S − A f ∥ F ≤ d N \lVert A_{f_S}-A_f\rVert_F\le d\sqrt{N} ∥ A f S − A f ∥ F ≤ d N by E E E . The above equation shows that Pr [ ¬ E ] ≤ ζ 3 \Pr[\neg E]\le\frac{\zeta}{3} Pr [ ¬ E ] ≤ 3 ζ . Furthermore, we have that H ( f S ∣ f ) ≥ M 0 − 32 k 2 N r 2 H(f_S|f)\ge M_0-\frac{32k^2N}{r^2} H ( f S ∣ f ) ≥ M 0 − r 2 32 k 2 N . We now set b = 32 k 2 N r 2 b=\frac{32k^2N}{r^2} b = r 2 32 k 2 N , and define L = b + 1 ζ / 3 L=\frac{b+1}{\zeta/3} L = ζ /3 b + 1 . Let Q Q Q be the event q f ≤ 2 − L q_f\le2^{-L} q f ≤ 2 − L . The conditional entropy H ( f S ∣ f ) H(f_S|f) H ( f S ∣ f ) decomposes as
H ( f S ∣ f ) ≤ H ( f S , E ∣ f ) = H ( f S ∣ f , E ) + H ( E ∣ f ) ≤ Pr [ E ∧ Q ] H ( f S ∣ f , 1 E = 1 , 1 Q = 1 ) + ( 1 − Pr [ E ∧ Q ] ) M 0 + 1 ≤ Pr [ Q ∧ E ] ( M 0 − L ) + ( 1 − Pr [ E ∧ Q ] ) M 0 + 1 ≤ M 0 − Pr [ Q ∧ E ] L + 1. \begin{aligned}
H(f_S|f)&\le H(f_S,E|f)\\
&=H(f_S|f,E)+H(E|f)\\
&\le\Pr[E\wedge Q]H(f_S|f,\mathbf{1}_E=1,\mathbf{1}_Q=1)+(1-\Pr[E\wedge Q])M_0+1\\
&\le\Pr[Q\wedge E](M_0-L)+(1-\Pr[E\wedge Q])M_0+1\\
&\le M_0-\Pr[Q\wedge E]L+1.
\end{aligned} H ( f S ∣ f ) ≤ H ( f S , E ∣ f ) = H ( f S ∣ f , E ) + H ( E ∣ f ) ≤ Pr [ E ∧ Q ] H ( f S ∣ f , 1 E = 1 , 1 Q = 1 ) + ( 1 − Pr [ E ∧ Q ]) M 0 + 1 ≤ Pr [ Q ∧ E ] ( M 0 − L ) + ( 1 − Pr [ E ∧ Q ]) M 0 + 1 ≤ M 0 − Pr [ Q ∧ E ] L + 1.
In the second line, we use the chain rule of conditional entropy. The term H ( E ∣ f ) H(E|f) H ( E ∣ f ) is bounded by 1 1 1 subsequently, since the event E E E has at most one bit. In the third line, we split according to E E E and Q Q Q . Since Q Q Q is determined by f f f , conditioning on Q Q Q requires no additional entropy term. If E ∧ Q E\wedge Q E ∧ Q occurs, then the conditional entropy is at most M 0 − L M_0-L M 0 − L —indeed, in this case, A f S A_{f_S} A f S is within d N d\sqrt{N} d N Frobenius distance of A f A_f A f , and there are at most 2 M 0 − L 2^{M_0-L} 2 M 0 − L possible functions f S f_S f S with this property. Otherwise, there is the trivial bound on the entropy of f S f_S f S of M 0 M_0 M 0 .
Using the inequality H ( f S ∣ f ) ≥ M 0 − b H(f_S|f)\ge M_0-b H ( f S ∣ f ) ≥ M 0 − b , we obtain
M 0 − b ≤ M 0 − Pr [ Q ∧ E ] b + 1 ζ / 3 + 1 , M_0-b\le M_0-\Pr[Q\wedge E]\frac{b+1}{\zeta/3}+1, M 0 − b ≤ M 0 − Pr [ Q ∧ E ] ζ /3 b + 1 + 1 ,
which rearranges to yield
Pr [ Q ∧ E ] ≤ ζ 3 . \Pr[Q\wedge E]\le\frac{\zeta}{3}. Pr [ Q ∧ E ] ≤ 3 ζ .
We may now select the set T \mathcal{T} T to be a set of operators A g i A_{g_i} A g i for i = 1 , … , K = ⌈ 2 L ln ( 3 / ζ ) ⌉ i = 1, \ldots, K = \lceil2^L \ln(3/\zeta) \rceil i = 1 , … , K = ⌈ 2 L ln ( 3/ ζ )⌉ independently sampled, uniformly random functions g i g_i g i . Since ∣ T ∣ ≤ K |\mathcal{T}| \le K ∣ T ∣ ≤ K and L = 3 ( b + 1 ) / ζ ≥ 3 / ζ L = 3(b + 1)/\zeta\ge3/\zeta L = 3 ( b + 1 ) / ζ ≥ 3/ ζ , we have
log 2 ∣ T ∣ ≤ log 2 K = O ( L + log 2 ln ( 3 / ζ ) + 1 ) = O ( L ) = O ( k 2 N ζ 2 d 2 ) . \log_2 |\mathcal{T}| \le\log_2 K = O\left(L + \log_2 \ln(3/\zeta) + 1\right) = O(L) = O\left(\frac{k^2N}{\zeta^2d^2}\right). log 2 ∣ T ∣ ≤ log 2 K = O ( L + log 2 ln ( 3/ ζ ) + 1 ) = O ( L ) = O ( ζ 2 d 2 k 2 N ) .
where the last equality uses k ≥ 1 k \ge1 k ≥ 1 and d < 2 d < 2 d < 2 . Each of these operators is a block of a unitary, and hence has operator norm at most one, as required. If every A g A_g A g is Hermitian, then so is every element of T \mathcal{T} T . For each fixed f f f and i i i , the definition of q f q_f q f gives
Pr g i [ ∥ A g i − A f ∥ F > d N ] = 1 − q f . \Pr_{g_i}\left[\lVert A_{g_i} - A_f\rVert_F > d\sqrt{N}\right] = 1-q_f. g i Pr [ ∥ A g i − A f ∥ F > d N ] = 1 − q f .
If Q Q Q does not occur, this probability is at most 1 − 2 − L 1-2^{-L} 1 − 2 − L . Hence,
Pr [ min C ∈ T ∥ C − A f ∥ F > d N ∣ ¬ Q ] ≤ ( 1 − 2 − L ) K ≤ ( ( 1 − 2 − L ) − 2 L ) ln ( ζ / 3 ) ≤ ζ 3 . \begin{aligned}
\Pr\left[\min_{C\in\mathcal{T}}\lVert C-A_f\rVert_F>d\sqrt{N}\mathrel{\Big|}\neg Q\right]\leq(1-2^{-L})^K \\
&\leq\left((1-2^{-L})^{-2^L}\right)^{\ln(\zeta/3)} \\
&\leq\frac{\zeta}{3}.
\end{aligned} Pr [ C ∈ T min ∥ C − A f ∥ F > d N ¬ Q ] ≤ ( 1 − 2 − L ) K ≤ ( ( 1 − 2 − L ) − 2 L ) l n ( ζ /3 ) ≤ 3 ζ .
In the final inequality, we use that ( 1 − x ) − 1 / x ≥ e (1-x)^{-1/x}\geq e ( 1 − x ) − 1/ x ≥ e for 0 < x < 1 0<x<1 0 < x < 1 , with x = 2 − L x=2^{-L} x = 2 − L . We conclude that
Pr [ min C ∈ T ∥ C − A f ∥ F > d N ] ≤ ζ 3 + Pr [ Q ] ≤ ζ 3 + Pr [ Q ∧ E ] + Pr [ ¬ E ] ≤ ζ . \begin{aligned}
\Pr\left[\min_{C\in\mathcal{T}}\lVert C-A_f\rVert_F>d\sqrt{N}\right]\leq\frac{\zeta}{3}+\Pr[Q] \\
&\leq\frac{\zeta}{3}+\Pr[Q\mathbin{\wedge}E]+\Pr[\neg E] \\
&\leq\zeta.
\end{aligned} Pr [ C ∈ T min ∥ C − A f ∥ F > d N ] ≤ 3 ζ + Pr [ Q ] ≤ 3 ζ + Pr [ Q ∧ E ] + Pr [ ¬ E ] ≤ ζ .
Here the probability is over both f f f and the sampled functions g 1 , … , g K g_1,\ldots,g_K g 1 , … , g K . Averaging over the sampled functions shows that there is a fixed choice of g 1 , … , g K g_1,\ldots,g_K g 1 , … , g K for which the failure probability over f f f alone is at most ζ \zeta ζ . Fix this choice to obtain the required set T \mathcal{T} T .
Extending to Dirty Synthesis
We have now proven the central technical result, but it seemingly only applies to the clean synthesis of unitaries. Indeed, say that a circuit W f = V k O f … O f V 0 W_f=V_k\mathcal{O}_f\ldots\mathcal{O}_fV_0 W f = V k O f … O f V 0 takes ∣ ψ ⟩ ⊗ ∣ 0 m − n ⟩ |\psi\rangle\otimes|0^{m-n}\rangle ∣ ψ ⟩ ⊗ ∣ 0 m − n ⟩ close to U ∣ ψ ⟩ ⊗ ∣ 0 m − n ⟩ U|\psi\rangle\otimes|0^{m-n}\rangle U ∣ ψ ⟩ ⊗ ∣ 0 m − n ⟩ . Then U ≈ J † W f J U\approx J^\dagger W_fJ U ≈ J † W f J , since the ancilla state does not change. Hence, if a circuit could yield a clean implementation of a net of sufficiently many unitaries, then we could use it to contradict the net constructed by Corollary 4.10 .
On the other hand, if the channel π ∘ Φ W f ∘ ι \pi\circ\Phi_{W_f}\circ\iota π ∘ Φ W f ∘ ι corresponding to W f W_f W f has diamond distance ϵ ≤ 1 2 1 poly ( n ) \epsilon\leq\frac{1}{2}\frac{1}{\operatorname{poly}(n)} ϵ ≤ 2 1 poly ( n ) 1 from Φ U \Phi_U Φ U for a unitary U ∈ U ( N ) U\in U(N) U ∈ U ( N ) , we can consider the circuit
W f † ( P ⊗ I ) W f , W_f^\dagger(P\otimes I)W_f, W f † ( P ⊗ I ) W f ,
for any fixed Pauli P ∈ P n P\in\mathcal{P}_n P ∈ P n . Since W f † W_f^\dagger W f † erases the garbage introduced by W f W_f W f , a triangle inequality yields that
W f † ( P ⊗ I ) W f ( ∣ ψ ⟩ ⊗ ∣ 0 m − n ⟩ ) (16) W_f^\dagger(P\otimes I)W_f\left(|\psi\rangle\otimes|0^{m-n}\rangle\right) \tag*{(16)} W f † ( P ⊗ I ) W f ( ∣ ψ ⟩ ⊗ ∣ 0 m − n ⟩ ) (16)
has trace distance at most 1 − 1 poly ( n ) 1-\frac{1}{\operatorname{poly}(n)} 1 − poly ( n ) 1 from
( U † P U ∣ ψ ⟩ ) ⊗ ∣ 0 m − n ⟩ , (17) \left(U^\dagger P U|\psi\rangle\right)\otimes|0^{m-n}\rangle, \tag*{(17)} ( U † P U ∣ ψ ⟩ ) ⊗ ∣ 0 m − n ⟩ , (17)
which is sufficient to apply the clean obstruction. However, a random-oracle unitary synthesis algorithm only requires an expected error of 1 − 1 poly ( n ) 1-\frac{1}{\operatorname{poly}(n)} 1 − poly ( n ) 1 , in which case the above argument no longer holds. However, the lemma below shows that J W f † ( P ⊗ I ) W f J J W_f^\dagger(P\otimes I)W_f J J W f † ( P ⊗ I ) W f J , in expectation over a random Pauli P P P , has trace overlap with U † P U U^\dagger P U U † P U . This is the crucial reduction that enables all our lower bounds.
Lemma 4.11. Consider some sequence of unitaries V 0 , … , V k ∈ U ( M ) V_0,\ldots,V_k\in U(M) V 0 , … , V k ∈ U ( M ) . For some fixed boolean function f : { 0 , 1 } m 0 → { 0 , 1 } f:\{0,1\}^{m_0}\to\{0,1\} f : { 0 , 1 } m 0 → { 0 , 1 } , let
W f = V k O f V k − 1 … O f V 0 . W_f=V_k\mathcal{O}_fV_{k-1}\ldots\mathcal{O}_fV_0. W f = V k O f V k − 1 … O f V 0 . Let P P P be a uniformly random, n n n -qubit Pauli operator. Let A f , P A_{f,P} A f , P be J W f † ( P ⊗ I ) W f J J W_f^\dagger(P\otimes I)W_f J J W f † ( P ⊗ I ) W f J —i.e., the N × N N\times N N × N block of W f † ( P ⊗ I ) W f W_f^\dagger(P\otimes I)W_f W f † ( P ⊗ I ) W f corresponding to all ancilla qubits equal to zero. Then we have that for any unitary U ∈ U ( N ) U\in U(N) U ∈ U ( N ) ,
E P [ tr ( 1 N A f , P ⋅ ( U † P U ) ) ] ≥ 1 − D ⋄ ( π ∘ Φ W f ∘ ι , Φ U ) . \mathbb{E}_{P}\left[\operatorname{tr}\left(\frac{1}{N}A_{f,P}\cdot(U^\dagger P U)\right)\right]\geq1-D_{\diamond}(\pi\circ\Phi_{W_f}\circ\iota,\Phi_U). E P [ tr ( N 1 A f , P ⋅ ( U † P U ) ) ] ≥ 1 − D ⋄ ( π ∘ Φ W f ∘ ι , Φ U ) .
This lemma takes a circuit W f W_f W f , and argues that if W f W_f W f is close to a unitary U U U as a channel, then the action of W f W_f W f on a random observable P P P has significant trace overlap with the action of U U U on P P P . Notice that W f † ( P ⊗ I ) W f W_f^\dagger(P\otimes I)W_f W f † ( P ⊗ I ) W f is a 2 k 2k 2 k -query circuit—we will eventually apply our clean synthesis obstruction to this circuit.
Proof. First, we consider two Choi states. The first is
∣ U ⟩ = 1 N ( U ⊗ I ) ∑ x ∈ { 0 , 1 } n ∣ x ⟩ ⊗ ∣ x ⟩ , |U\rangle=\frac{1}{\sqrt{N}}(U\otimes I)\sum_{x\in\{0,1\}^n}|x\rangle\otimes|x\rangle, ∣ U ⟩ = N 1 ( U ⊗ I ) x ∈ { 0 , 1 } n ∑ ∣ x ⟩ ⊗ ∣ x ⟩ ,
which we can rewrite as
1 N ∑ x ∈ { 0 , 1 } n U ∣ x ⟩ ⊗ ∣ x ⟩ = ∑ x , y ∈ { 0 , 1 } n U y x ∣ y ⟩ ⊗ ∣ x ⟩ = ∑ y ∈ { 0 , 1 } n ∣ y ⟩ ⊗ U T ∣ y ⟩ . \begin{aligned}
\frac{1}{\sqrt{N}}\sum_{x\in\{0,1\}^n}U|x\rangle\otimes|x\rangle
=\sum_{x,y\in\{0,1\}^n}U_{yx}|y\rangle\otimes|x\rangle\\
&=\sum_{y\in\{0,1\}^n}|y\rangle\otimes U^T|y\rangle.
\end{aligned} N 1 x ∈ { 0 , 1 } n ∑ U ∣ x ⟩ ⊗ ∣ x ⟩ = x , y ∈ { 0 , 1 } n ∑ U y x ∣ y ⟩ ⊗ ∣ x ⟩ = y ∈ { 0 , 1 } n ∑ ∣ y ⟩ ⊗ U T ∣ y ⟩ .
The state 1 N ∑ x ∈ { 0 , 1 } n ∣ x ⟩ ⊗ ∣ x ⟩ \frac{1}{\sqrt{N}}\sum_{x\in\{0,1\}^n}|x\rangle\otimes|x\rangle N 1 ∑ x ∈ { 0 , 1 } n ∣ x ⟩ ⊗ ∣ x ⟩ has density matrix 1 N 2 ∑ P ∈ P n P ⊗ P T \frac{1}{N^2}\sum_{P\in\mathcal{P}_n}P\otimes P^T N 2 1 ∑ P ∈ P n P ⊗ P T . As a result, we may write
∣ U ⟩ ⟨ U ∣ = 1 N 2 ∑ P ∈ P n P ⊗ ( U † P U ) T . |U\rangle\langle U|=\frac{1}{N^2}\sum_{P\in\mathcal{P}_n}P\otimes(U^\dagger P U)^T. ∣ U ⟩ ⟨ U ∣ = N 2 1 P ∈ P n ∑ P ⊗ ( U † P U ) T .
Now, we will repeat the same process for W f W_f W f . We can consider the state
∣ W f ⟩ = 1 N ( ( W f J ) ⊗ I ) ∑ x ∈ { 0 , 1 } n ∣ x ⟩ ⊗ ∣ x ⟩ , |W_f\rangle=\frac{1}{\sqrt{N}}((W_fJ)\otimes I)\sum_{x\in\{0,1\}^n}|x\rangle\otimes|x\rangle, ∣ W f ⟩ = N 1 (( W f J ) ⊗ I ) x ∈ { 0 , 1 } n ∑ ∣ x ⟩ ⊗ ∣ x ⟩ ,
where J J J is the isometry taking ∣ x ⟩ |x\rangle ∣ x ⟩ to ∣ x 0 m − n ⟩ |x0^{m-n}\rangle ∣ x 0 m − n ⟩ . In this case, rather than a normal Choi state for W f W_f W f on 2 m 2m 2 m qubits, we are preparing a state on m + n m+n m + n qubits that only takes a superposition over bitstrings x ∈ { 0 , 1 } n x \in\{0,1\}^{n} x ∈ { 0 , 1 } n on n n n qubits. Using the same argument as for U U U , which applies to the isometry W f J W_fJ W f J as well, we obtain that
∣ W f ⟩ = 1 N ( I ⊗ ( W f J ) T ) ∑ y ∈ { 0 , 1 } m ∣ y ⟩ ⊗ ∣ y ⟩ . |W_f\rangle= \frac{1}{\sqrt{N}}(I \otimes(W_fJ)^T)\sum_{y\in\{0,1\}^{m}} |y\rangle\otimes|y\rangle. ∣ W f ⟩ = N 1 ( I ⊗ ( W f J ) T ) y ∈ { 0 , 1 } m ∑ ∣ y ⟩ ⊗ ∣ y ⟩ .
and therefore
∣ W f ⟩ ⟨ W f ∣ = 1 M N ∑ Q ∈ P m Q ⊗ ( J † W f † Q W f J ) T . |W_f\rangle\langle W_f| = \frac{1}{MN}\sum_{Q\in\mathcal{P}_m} Q \otimes(J^\dagger W_f^\dagger QW_fJ)^T. ∣ W f ⟩ ⟨ W f ∣ = M N 1 Q ∈ P m ∑ Q ⊗ ( J † W f † Q W f J ) T .
Let ρ W f \rho_{W_f} ρ W f be equal to ∣ W f ⟩ ⟨ W f ∣ |W_f\rangle\langle W_f| ∣ W f ⟩ ⟨ W f ∣ , with the last m − n m-n m − n qubits of the first register traced out. In doing so, all Pauli operators Q = P ⊗ R Q=P\otimes R Q = P ⊗ R where R ≠ I R\ne I R = I vanish, since tr ( R ) = 0 \operatorname{tr}(R)=0 tr ( R ) = 0 if R ≠ I R\ne I R = I . Meanwhile, if R = I R=I R = I , tr ( R ) = M / N \operatorname{tr}(R)=M/N tr ( R ) = M / N , so ρ W f \rho_{W_f} ρ W f simplifies to
ρ W f = 1 N 2 ∑ P ∈ P n P ⊗ ( J † W f † ( P ⊗ I ) W f J ) T = 1 N 2 ∑ P ∈ P n P ⊗ A f , P T . \begin{aligned}
\rho_{W_f}
&= \frac{1}{N^2}\sum_{P\in\mathcal{P}_n} P\otimes(J^\dagger W_f^\dagger(P\otimes I)W_fJ)^T \\
&= \frac{1}{N^2}\sum_{P\in\mathcal{P}_n} P\otimes A_{f,P}^T .
\end{aligned} ρ W f = N 2 1 P ∈ P n ∑ P ⊗ ( J † W f † ( P ⊗ I ) W f J ) T = N 2 1 P ∈ P n ∑ P ⊗ A f , P T .
Now using the orthogonality of the Pauli operators, along with the fact that tr ( P ⋅ P ) = N \operatorname{tr}(P\cdot P)=N tr ( P ⋅ P ) = N , we obtain
⟨ U ∣ ρ W f ∣ U ⟩ = 1 N 4 tr ( ( ∑ P ∈ P n P ⊗ A f , P T ) ( ∑ P ∈ P n P ⊗ ( U † P U ) T ) ) = 1 N 3 ∑ P ∈ P n tr ( A f , P ( U † P U ) ) = E P [ tr ( 1 N A f , P ( U † P U ) ) ] . \begin{aligned}
\langle U|\rho_{W_f}|U\rangle
&= \frac{1}{N^4}\operatorname{tr}\left(\left(\sum_{P\in\mathcal{P}_n}P\otimes A_{f,P}^T\right)\left(\sum_{P\in\mathcal{P}_n}P\otimes(U^\dagger P U)^T\right)\right) \\
&= \frac{1}{N^3}\sum_{P\in\mathcal{P}_n}\operatorname{tr}\left(A_{f,P}(U^\dagger P U)\right) \\
&= \mathbb{E}_P\left[\operatorname{tr}\left(\frac{1}{N}A_{f,P}(U^\dagger P U)\right)\right].
\end{aligned} ⟨ U ∣ ρ W f ∣ U ⟩ = N 4 1 tr ( ( P ∈ P n ∑ P ⊗ A f , P T ) ( P ∈ P n ∑ P ⊗ ( U † P U ) T ) ) = N 3 1 P ∈ P n ∑ tr ( A f , P ( U † P U ) ) = E P [ tr ( N 1 A f , P ( U † P U ) ) ] .
We now note that
1 − ⟨ U ∣ ρ W f ∣ U ⟩ ≤ D ( ρ W f , ∣ U ⟩ ⟨ U ∣ ) . (18) 1-\langle U|\rho_{W_f}|U\rangle\le D(\rho_{W_f},|U\rangle\langle U|). \tag*{(18)} 1 − ⟨ U ∣ ρ W f ∣ U ⟩ ≤ D ( ρ W f , ∣ U ⟩ ⟨ U ∣ ) . (18)
Indeed, the projection onto ∣ U ⟩ ⟨ U ∣ |U\rangle\langle U| ∣ U ⟩ ⟨ U ∣ accepts with probability 1 1 1 for the state ∣ U ⟩ |U\rangle ∣ U ⟩ , but with probability ⟨ U ∣ ρ W f ∣ U ⟩ \langle U|\rho_{W_f}|U\rangle ⟨ U ∣ ρ W f ∣ U ⟩ for the state ρ W f \rho_{W_f} ρ W f . The difference between these two probabilities is at most the trace distance, D ( ρ W f , ∣ U ⟩ ⟨ U ∣ ) D(\rho_{W_f},|U\rangle\langle U|) D ( ρ W f , ∣ U ⟩ ⟨ U ∣ ) .
But we recall that ρ W f \rho_{W_f} ρ W f corresponds to the pure state
∣ W f ⟩ = 1 N ( ( W f J ) ⊗ I ) ∑ x ∈ { 0 , 1 } n ∣ x ⟩ ⊗ ∣ x ⟩ |W_f\rangle= \frac{1}{\sqrt{N}}((W_fJ)\otimes I)\sum_{x\in\{0,1\}^{n}} |x\rangle\otimes|x\rangle ∣ W f ⟩ = N 1 (( W f J ) ⊗ I ) x ∈ { 0 , 1 } n ∑ ∣ x ⟩ ⊗ ∣ x ⟩
after discarding the m − n m-n m − n ancilla qubits in the first register, while ∣ U ⟩ |U\rangle ∣ U ⟩ can be obtained from
1 N ( ( ( U ⊗ I ) J ) ⊗ I ) ∑ x ∈ { 0 , 1 } n ∣ x ⟩ ⊗ ∣ x ⟩ \frac{1}{\sqrt{N}}(((U\otimes I)J)\otimes I)\sum_{x\in\{0,1\}^{n}} |x\rangle\otimes|x\rangle N 1 ((( U ⊗ I ) J ) ⊗ I ) x ∈ { 0 , 1 } n ∑ ∣ x ⟩ ⊗ ∣ x ⟩
by discarding the same m − n m-n m − n ancilla qubits. Thus, ρ W f \rho_{W_f} ρ W f and ∣ U ⟩ ⟨ U ∣ |U\rangle\langle U| ∣ U ⟩ ⟨ U ∣ are obtained by applying W f ⊗ I W_f\otimes I W f ⊗ I and ( U ⊗ I ) ⊗ I (U\otimes I)\otimes I ( U ⊗ I ) ⊗ I , respectively, to the same input state
1 N ( J ⊗ I ) ∑ x ∈ { 0 , 1 } n ∣ x ⟩ ⊗ ∣ x ⟩ . \frac{1}{\sqrt{N}}(J\otimes I)\sum_{x\in\{0,1\}^{n}} |x\rangle\otimes|x\rangle. N 1 ( J ⊗ I ) x ∈ { 0 , 1 } n ∑ ∣ x ⟩ ⊗ ∣ x ⟩ .
We therefore bound the trace distance between ρ W f \rho_{W_f} ρ W f and ∣ U ⟩ ⟨ U ∣ \lvert U\rangle\langle U\rvert ∣ U ⟩ ⟨ U ∣ by the diamond distance of the channels corresponding to W f W_f W f and U U U , yielding
D ( ρ W f , ∣ U ⟩ ⟨ U ∣ ) ≤ D ⋄ ( π ∘ Φ W f ∘ i , Φ U ) , D(\rho_{W_f},\lvert U\rangle\langle U\rvert) \le D_{\diamond}(\pi\circ\Phi_{W_f} \circ i,\Phi_U), D ( ρ W f , ∣ U ⟩ ⟨ U ∣) ≤ D ⋄ ( π ∘ Φ W f ∘ i , Φ U ) ,
which, together with Equation (18) , proves the lemma.
Proof of Theorem 4.1
We will first show using Corollary 4.10 and Lemma 4.11 that a unitary synthesis algorithm can be used to construct a net T \mathcal{T} T of Hermitian contractions, such that on average, every U † Q U U^{\dagger} Q U U † Q U for a fixed Pauli Q ∈ P n Q \in\mathcal{P}_n Q ∈ P n and a Haar random unitary U U U has good trace correlation with some element of T \mathcal{T} T . Then, to complete the theorem, we will give a lower bound on the size of any net that satisfies this property.
Lemma 4.12. If V 0 , … , V k ∈ U ( M ) V_0,\ldots,V_k \in U(M) V 0 , … , V k ∈ U ( M ) are a random-oracle unitary synthesis algorithm satisfying the conditions of Theorem 4.1 , there is a net T \mathcal{T} T of Hermitian contractions satisfying log 2 ( ∣ T ∣ ) = O ( N k 2 ( 1 − ϵ ) 4 ) \log_2(\lvert\mathcal{T}\rvert) = O\left(\frac{Nk^2}{(1-\epsilon)^4}\right) log 2 (∣ T ∣) = O ( ( 1 − ϵ ) 4 N k 2 ) and a nonidentity Pauli operator Q ∈ P n ∖ { I } Q \in\mathcal{P}_n \setminus\{I\} Q ∈ P n ∖ { I } such that
Pr U [ max C ∈ T 1 N tr ( C ( U † Q U ) ) ≥ 1 − ϵ 8 ] ≥ 1 − ϵ 8 . \Pr_U\left[\max_{C\in\mathcal{T}} \frac{1}{N}\operatorname{tr}\left(C(U^{\dagger} Q U)\right) \ge\frac{1-\epsilon}{8}\right] \ge\frac{1-\epsilon}{8}. U Pr [ C ∈ T max N 1 tr ( C ( U † Q U ) ) ≥ 8 1 − ϵ ] ≥ 8 1 − ϵ .
Proof. Say that V 0 , … , V k ∈ U ( M ) V_0,\ldots,V_k \in U(M) V 0 , … , V k ∈ U ( M ) is a random-oracle unitary synthesis algorithm. In particular, for
W f = V k O f ⋯ O f V 0 , W_f = V_k \mathcal{O}_f \cdots\mathcal{O}_f V_0, W f = V k O f ⋯ O f V 0 ,
we know there is a coupling of the distributions of π ∘ Φ W f ∘ i \pi\circ\Phi_{W_f} \circ i π ∘ Φ W f ∘ i and Φ U \Phi_U Φ U for a Haar random unitary U U U such that
E U ∼ H a a r , W f [ D ⋄ ( π ∘ Φ W f ∘ i , Φ U ) ] ≤ ϵ . \mathbb{E}_{U\sim\mathrm{Haar},W_f}\left[D_{\diamond}(\pi\circ\Phi_{W_f} \circ i,\Phi_U)\right] \le\epsilon. E U ∼ Haar , W f [ D ⋄ ( π ∘ Φ W f ∘ i , Φ U ) ] ≤ ϵ .
In the remainder of this proof, we consider the joint distribution ( W f , U ) (W_f,U) ( W f , U ) that satisfies these properties. Writing A f , P = J † W f † ( P ⊗ I ) W f J A_{f,P}=J^{\dagger}W_f^{\dagger}(P\otimes I)W_fJ A f , P = J † W f † ( P ⊗ I ) W f J for a uniformly random Pauli P ∈ P n P \in\mathcal{P}_n P ∈ P n , we can use Lemma 4.11 to write
E P ∈ P n [ 1 N tr ( A f , P ( U † P U ) ) ] ≥ 1 − D ⋄ ( π ∘ Φ W f ∘ i , Φ U ) , \mathbb{E}_{P\in\mathcal{P}_n}\left[\frac{1}{N}\operatorname{tr}\left(A_{f,P}(U^{\dagger} P U)\right)\right] \ge1-D_{\diamond}(\pi\circ\Phi_{W_f} \circ i,\Phi_U), E P ∈ P n [ N 1 tr ( A f , P ( U † P U ) ) ] ≥ 1 − D ⋄ ( π ∘ Φ W f ∘ i , Φ U ) ,
and taking expectations in W f W_f W f and U U U ,
E P ∈ P n , W f , U [ 1 N tr ( A f , P ( U † P U ) ) ] ≥ 1 − ϵ . \mathbb{E}_{P\in\mathcal{P}_n,W_f,U}\left[\frac{1}{N}\operatorname{tr}\left(A_{f,P}(U^{\dagger} P U)\right)\right] \ge1-\epsilon. E P ∈ P n , W f , U [ N 1 tr ( A f , P ( U † P U ) ) ] ≥ 1 − ϵ .
In particular, we may fix some Pauli Q ∈ P n Q \in\mathcal{P}_n Q ∈ P n such that the inequality holds. However, we must enforce that Q ≠ I Q \ne I Q = I . If Q = I Q=I Q = I , then the expression
1 N tr ( A f , Q ( U † Q U ) ) = 1 N tr ( I ) = 1. \frac{1}{N}\operatorname{tr}\left(A_{f,Q}(U^{\dagger} Q U)\right)=\frac{1}{N}\operatorname{tr}(I)
=1. N 1 tr ( A f , Q ( U † Q U ) ) = N 1 tr ( I ) = 1.
Hence, if we are forced to choose Q Q Q among P n ∖ { I } \mathcal{P}_n\setminus\{I\} P n ∖ { I } , the lower bound becomes
E W f , U [ 1 N tr ( A f , Q ( U † Q U ) ) ] ≥ ( 1 − ϵ ) − N − 2 1 − N − 2 ≥ 1 − ϵ 2 , \mathbb{E}_{W_f,U}\left[\frac{1}{N}\operatorname{tr}\left(A_{f,Q}(U^{\dagger} Q U)\right)\right]\ge\frac{(1-\epsilon)-N^{-2}}{1-N^{-2}}
\ge\frac{1-\epsilon}{2}, E W f , U [ N 1 tr ( A f , Q ( U † Q U ) ) ] ≥ 1 − N − 2 ( 1 − ϵ ) − N − 2 ≥ 2 1 − ϵ ,
where the second inequality holds by the theorem assumption that 1 − ε = ω ( N − 2 ) 1-\varepsilon=\omega(N^{-2}) 1 − ε = ω ( N − 2 ) . Now, we use Corollary 4.10 on the circuit W f † ( Q ⊗ I ) W f W_f^\dagger(Q\otimes I)W_f W f † ( Q ⊗ I ) W f to produce a net T \mathcal{T} T of size log 2 ∣ T ∣ = O ( N ( 2 k ) 2 ζ 2 d 2 ) = O ( N k 2 ζ 2 d 2 ) \log_2|\mathcal{T}|=O\left(\frac{N(2k)^2}{\zeta^2d^2}\right)=O\left(\frac{Nk^2}{\zeta^2d^2}\right) log 2 ∣ T ∣ = O ( ζ 2 d 2 N ( 2 k ) 2 ) = O ( ζ 2 d 2 N k 2 ) such that
Pr f [ min C ∈ T ∥ C − A f , Q ∥ F > d N ] ≤ ζ . \Pr_f\left[\min_{C\in\mathcal{T}}\|C-A_{f,Q}\|_F>d\sqrt{N}\right]\leq\zeta. f Pr [ C ∈ T min ∥ C − A f , Q ∥ F > d N ] ≤ ζ .
We choose the parameters ζ = 1 − ε 16 \zeta=\frac{1-\varepsilon}{16} ζ = 16 1 − ε and d = 1 − ε 8 d=\frac{1-\varepsilon}{8} d = 8 1 − ε , and now consider
E U [ max C ∈ T 1 N tr ( C ( U † Q U ) ) ] . (19) \mathbb{E}_U\left[\max_{C\in\mathcal{T}}\frac{1}{N}\operatorname{tr}\left(C(U^\dagger Q U)\right)\right]. \tag*{(19)} E U [ C ∈ T max N 1 tr ( C ( U † Q U ) ) ] . (19)
If we let E E E be the event that min C ∈ T ∥ C − A f , Q ∥ F ≤ d N \min_{C\in\mathcal{T}}\|C-A_{f,Q}\|_F\leq d\sqrt{N} min C ∈ T ∥ C − A f , Q ∥ F ≤ d N , we can lower bound the expression in (19) by
Pr [ E ] ( E W f , U [ 1 N tr ( A f , Q ( U † Q U ) ) ∣ 1 E = 1 ] − d ) − ( 1 − Pr [ E ] ) . \Pr[E]\left(\mathbb{E}_{W_f,U}\left[\frac{1}{N}\operatorname{tr}\left(A_{f,Q}(U^\dagger Q U)\right)\mathrel{\big|}1_E=1\right]-d\right)-(1-\Pr[E]). Pr [ E ] ( E W f , U [ N 1 tr ( A f , Q ( U † Q U ) ) 1 E = 1 ] − d ) − ( 1 − Pr [ E ]) .
Here, we are expanding out the conditional expectation, and when the event E E E does not occur we are using the bound
∣ 1 N tr ( C ( U † Q U ) ) ∣ ≤ 1 N ∥ Q ∥ 1 ∥ C ∥ ≤ 1 , \left|\frac{1}{N}\operatorname{tr}\left(C(U^\dagger Q U)\right)\right|\leq\frac{1}{N}\|Q\|_1\|C\|\leq1, N 1 tr ( C ( U † Q U ) ) ≤ N 1 ∥ Q ∥ 1 ∥ C ∥ ≤ 1 ,
in which we use Hölder’s inequality and note that ∥ U † Q U ∥ 1 = ∥ Q ∥ 1 = N \|U^\dagger Q U\|_1=\|Q\|_1=N ∥ U † Q U ∥ 1 = ∥ Q ∥ 1 = N . When E E E does occur, on the other hand, there is some C ∈ T C\in\mathcal{T} C ∈ T for which
tr ( C ( U † Q U ) ) ≥ tr ( A f , Q ( U † Q U ) ) − ∥ C − A f , Q ∥ F ∥ U † Q U ∥ F ≥ tr ( A f , Q ( U † Q U ) ) − d N , \begin{aligned}
\operatorname{tr}\left(C(U^\dagger Q U)\right)&\geq\operatorname{tr}\left(A_{f,Q}(U^\dagger Q U)\right)-\|C-A_{f,Q}\|_F\|U^\dagger Q U\|_F\\
&\geq\operatorname{tr}\left(A_{f,Q}(U^\dagger Q U)\right)-dN,
\end{aligned} tr ( C ( U † Q U ) ) ≥ tr ( A f , Q ( U † Q U ) ) − ∥ C − A f , Q ∥ F ∥ U † Q U ∥ F ≥ tr ( A f , Q ( U † Q U ) ) − d N ,
where in the first inequality we use Cauchy–Schwarz to bound tr ( ( C − A f , Q ) ( U † Q U ) ) \operatorname{tr}\left((C-A_{f,Q})(U^\dagger Q U)\right) tr ( ( C − A f , Q ) ( U † Q U ) ) . Since this occurs with probability at least 1 − ζ 1-\zeta 1 − ζ , we deduce that the expression in (19) has the lower bound
Pr [ E ] ( E W f , U [ 1 N tr ( A f , Q ( U † Q U ) ) ∣ 1 E = 1 ] − d ) − ( 1 − Pr [ E ] ) ≥ E W f , U [ 1 N tr ( A f , Q ( U † Q U ) ) ] − d − 2 ( 1 − Pr [ E ] ) ≥ 1 − ε 2 − d − 2 ζ = 1 − ε 4 . \begin{aligned}
\Pr[E]\left(\mathbb{E}_{W_f,U}\left[\frac{1}{N}\operatorname{tr}\left(A_{f,Q}(U^\dagger Q U)\right)\mathrel{\big|}1_E=1\right]-d\right)-(1-\Pr[E])\\
\geq\mathbb{E}_{W_f,U}\left[\frac{1}{N}\operatorname{tr}\left(A_{f,Q}(U^\dagger Q U)\right)\right]-d-2(1-\Pr[E])\\
\geq\frac{1-\varepsilon}{2}-d-2\zeta\\
=\frac{1-\varepsilon}{4}.
\end{aligned} Pr [ E ] ( E W f , U [ N 1 tr ( A f , Q ( U † Q U ) ) 1 E = 1 ] − d ) − ( 1 − Pr [ E ]) ≥ E W f , U [ N 1 tr ( A f , Q ( U † Q U ) ) ] − d − 2 ( 1 − Pr [ E ]) ≥ 2 1 − ε − d − 2 ζ = 4 1 − ε .
Since the term within the expectation is at most 1 1 1 , the above inequality implies that there must be a probability of at least 1 − ε 8 \frac{1-\varepsilon}{8} 8 1 − ε that
max C ∈ T 1 N tr ( C ( U † Q U ) ) ≥ 1 − ε 8 , \max_{C\in\mathcal{T}}\frac{1}{N}\operatorname{tr}\left(C(U^\dagger Q U)\right)\geq\frac{1-\varepsilon}{8}, C ∈ T max N 1 tr ( C ( U † Q U ) ) ≥ 8 1 − ε ,
as desired.
We now show that, for each fixed Hermitian contraction C C C and nonidentity Pauli Q Q Q , the normalized correlation N − 1 tr ( C U † Q U ) N^{-1}\operatorname{tr}(CU^\dagger Q U) N − 1 tr ( C U † Q U ) concentrates around zero.
Lemma 4.13. Let C C C be a fixed Hermitian contraction, and Q ∈ P n Q\in\mathcal{P}_n Q ∈ P n a nonidentity Pauli operator. Then for a Haar random U U U and every t ≥ 0 t\geq0 t ≥ 0 ,
Pr [ 1 N tr ( C ( U † Q U ) ) ≥ t ] ≤ exp ( − N t 2 48 ) \Pr\left[\frac{1}{N}\operatorname{tr}\left(C(U^\dagger Q U)\right)\geq t\right]\leq\exp\left(\frac{-Nt^2}{48}\right) Pr [ N 1 tr ( C ( U † Q U ) ) ≥ t ] ≤ exp ( 48 − N t 2 )
Proof. Define h ( U ) = N − 1 tr ( C U † Q U ) h(U)=N^{-1}\operatorname{tr}(CU^\dagger QU) h ( U ) = N − 1 tr ( C U † Q U ) . We see as before that using Hölder’s inequality, we obtain
∣ h ( U ) − h ( V ) ∣ ≤ 1 N ∣ tr ( C ( U − V ) † Q U ) ∣ + 1 N ∣ tr ( C V † Q ( U − V ) ) ∣ ≤ 2 N ∥ U − V ∥ F ∥ C ∥ F ≤ 2 N ∥ U − V ∥ F . \begin{aligned}
|h(U)-h(V)| &\le\frac{1}{N}\left|\operatorname{tr}(C(U-V)^\dagger QU)\right|+\frac{1}{N}\left|\operatorname{tr}(CV^\dagger Q(U-V))\right|\\
&\le\frac{2}{N}\|U-V\|_F\|C\|_F\\
&\le\frac{2}{\sqrt{N}}\|U-V\|_F.
\end{aligned} ∣ h ( U ) − h ( V ) ∣ ≤ N 1 tr ( C ( U − V ) † Q U ) + N 1 tr ( C V † Q ( U − V )) ≤ N 2 ∥ U − V ∥ F ∥ C ∥ F ≤ N 2 ∥ U − V ∥ F .
In the third inequality, we use that a Hermitian contraction has Frobenius norm at most N \sqrt{N} N . Hence, with respect to these two norms, the function h h h has Lipschitz constant L = 2 N L=\frac{2}{\sqrt{N}} L = N 2 . Note also that E U [ U † Q U ] = 0 \mathbb{E}_U[U^\dagger QU]=0 E U [ U † Q U ] = 0 since tr ( Q ) = 0 \operatorname{tr}(Q)=0 tr ( Q ) = 0 , implying that E U [ h ( U ) ] = 0 \mathbb{E}_U[h(U)]=0 E U [ h ( U )] = 0 . Applying Corollary 17 of [15 ] , we obtain
Pr U [ h ( U ) ≥ t ] = Pr U [ h ( U ) ≥ E U [ h ( U ) ] + t ] ≤ exp ( − N t 2 12 L 2 ) ≤ exp ( − N 2 t 2 48 ) . \begin{aligned}
\Pr_U[h(U)\ge t]&=\Pr_U[h(U)\ge\mathbb{E}_U[h(U)]+t]\\
&\le\exp\left(-\frac{Nt^2}{12L^2}\right)\\
&\le\exp\left(-\frac{N^2t^2}{48}\right).
\end{aligned} U Pr [ h ( U ) ≥ t ] = U Pr [ h ( U ) ≥ E U [ h ( U )] + t ] ≤ exp ( − 12 L 2 N t 2 ) ≤ exp ( − 48 N 2 t 2 ) .
completing the proof.
Proof of Theorem 4.1 . Lemma 4.12 shows that a random-oracle unitary synthesis algorithm V 0 , … , V k V_0,\ldots,V_k V 0 , … , V k and error at most ϵ \epsilon ϵ has a net T T T of Hermitian contractions such that log 2 ∣ T ∣ ≤ C 0 N k 2 ( 1 − ϵ ) 4 \log_2|T|\le\frac{C_0Nk^2}{(1-\epsilon)^4} log 2 ∣ T ∣ ≤ ( 1 − ϵ ) 4 C 0 N k 2 for a constant C 0 > 0 C_0>0 C 0 > 0 , and
Pr U [ max C ∈ T 1 N tr ( C U † Q U ) ≥ 1 − ϵ 8 ] ≥ 1 − ϵ 8 . \Pr_U\left[\max_{C\in T}\frac{1}{N}\operatorname{tr}(CU^\dagger QU)\ge\frac{1-\epsilon}{8}\right]\ge\frac{1-\epsilon}{8}. U Pr [ C ∈ T max N 1 tr ( C U † Q U ) ≥ 8 1 − ϵ ] ≥ 8 1 − ϵ .
On the other hand, Lemma 4.13 shows that, for each fixed C ∈ T C\in T C ∈ T ,
Pr U [ 1 N tr ( C U † Q U ) ≥ 1 − ϵ 8 ] ≤ exp ( − c N 2 ( 1 − ϵ ) 2 ) \Pr_U\left[\frac{1}{N}\operatorname{tr}(CU^\dagger QU)\ge\frac{1-\epsilon}{8}\right]\le\exp\left(-cN^2(1-\epsilon)^2\right) U Pr [ N 1 tr ( C U † Q U ) ≥ 8 1 − ϵ ] ≤ exp ( − c N 2 ( 1 − ϵ ) 2 )
for a constant c > 0 c>0 c > 0 . We conclude that by a union bound
exp ( C 0 N k 2 ( 1 − ϵ ) 4 − c N 2 ( 1 − ϵ ) 2 ) ≥ 1 − ϵ 8 . \exp\left(\frac{C_0Nk^2}{(1-\epsilon)^4}-cN^2(1-\epsilon)^2\right)\ge\frac{1-\epsilon}{8}. exp ( ( 1 − ϵ ) 4 C 0 N k 2 − c N 2 ( 1 − ϵ ) 2 ) ≥ 8 1 − ϵ .
This equation is only possible when
k 2 ( 1 − ϵ ) − 6 = Ω ( N ) , k^2(1-\epsilon)^{-6}=\Omega(N), k 2 ( 1 − ϵ ) − 6 = Ω ( N ) ,
as desired.
Proof of Theorem 4.2
We will now show our second main theorem, the lower bound against ROM-PRUs. The crucial steps are very similar, as we still create a small net with good trace correlation—but rather than a single Pauli Q Q Q , now the net includes pairs of Pauli operators Q Q Q and contractions C C C .
Lemma 4.14. If V 0 , … , V k ∈ U ( M ) V_0,\ldots,V_k \in U(M) V 0 , … , V k ∈ U ( M ) are a ROM-PRU satisfying the conditions of Theorem 4.2 , then for every β ∈ ( 0 , 1 ) \beta\in(0,1) β ∈ ( 0 , 1 ) , there is a net T \mathcal{T} T consisting of pairs ( Q , C ) (Q,C) ( Q , C ) , where Q ∈ P n ∖ { I } Q \in\mathcal{P}_n\setminus\{I\} Q ∈ P n ∖ { I } and C C C is a Hermitian contraction, satisfying
log 2 ∣ T ∣ = O ( N k 2 β 2 ( 1 − ϵ ) 4 + log 2 N ) \log_2 |\mathcal{T}| = O\left(\frac{Nk^2}{\beta^2(1-\epsilon)^4}+\log_2 N\right) log 2 ∣ T ∣ = O ( β 2 ( 1 − ϵ ) 4 N k 2 + log 2 N ) such that
Pr U ∼ ν [ max ( Q , C ) ∈ T 1 N tr ( C ( U † Q U ) ) ≥ 1 − ϵ 8 ] ≥ 1 − β , \Pr_{U\sim\nu}\left[\max_{(Q,C)\in\mathcal{T}}\frac{1}{N}\operatorname{tr}\left(C(U^\dagger Q U)\right)\geq\frac{1-\epsilon}{8}\right]\geq1-\beta, U ∼ ν Pr [ ( Q , C ) ∈ T max N 1 tr ( C ( U † Q U ) ) ≥ 8 1 − ϵ ] ≥ 1 − β , where ν \nu ν is a standard non-adaptive unitary T T T -design with error δ \delta δ , with T = Ω ( N 1 + γ ) T=\Omega(N^{1+\gamma}) T = Ω ( N 1 + γ ) .
Proof. Say that V 0 , … , V k ∈ U ( M ) V_0,\ldots,V_k \in U(M) V 0 , … , V k ∈ U ( M ) is a ROM-PRU satisfying the conditions of Theorem 4.2 . In particular, for
W f = V k O f ⋯ O f V 0 , W_f=V_k\mathcal{O}_f\cdots\mathcal{O}_fV_0, W f = V k O f ⋯ O f V 0 ,
we know there is a coupling of the distributions of π ∘ Φ W f ∘ i \pi\circ\Phi_{W_f}\circ i π ∘ Φ W f ∘ i and Φ U \Phi_U Φ U , for U ∼ ν U\sim\nu U ∼ ν , such that
D ⋄ ( π ∘ Φ W f ∘ i , Φ U ) ≤ ϵ . D_{\diamond}(\pi\circ\Phi_{W_f}\circ i,\Phi_U)\leq\epsilon. D ⋄ ( π ∘ Φ W f ∘ i , Φ U ) ≤ ϵ .
In the remainder of this proof, we consider the joint distribution ( W f , U ) (W_f,U) ( W f , U ) that satisfies these properties. Writing A f , P = J † W f † ( P ⊗ I ) W f J A_{f,P}=J^\dagger W_f^\dagger(P\otimes I)W_fJ A f , P = J † W f † ( P ⊗ I ) W f J for a uniformly random Pauli P ∈ P n P\in\mathcal{P}_n P ∈ P n , we can use Lemma 4.11 to write
E P ∈ P n [ 1 N tr ( A f , P ( U † P U ) ) ] ≥ 1 − D ⋄ ( π ∘ Φ W f ∘ i , Φ U ) \mathbb{E}_{P\in\mathcal{P}_n}\left[\frac{1}{N}\operatorname{tr}\left(A_{f,P}(U^\dagger P U)\right)\right]\geq1-D_{\diamond}(\pi\circ\Phi_{W_f}\circ i,\Phi_U) E P ∈ P n [ N 1 tr ( A f , P ( U † P U ) ) ] ≥ 1 − D ⋄ ( π ∘ Φ W f ∘ i , Φ U )
≥ 1 − ϵ , \geq1-\epsilon, ≥ 1 − ϵ ,
Since the guarantee holds almost surely under the coupling, we do not need to take expectations over U U U and W f W_f W f . Excluding P = I P=I P = I as in Lemma 4.12 , we obtain
E Q ∈ P n ∖ { I } [ 1 N tr ( A f , Q ( U † Q U ) ) ] ≥ ( 1 − ϵ ) − N − 2 1 − N − 2 ≥ 1 − ϵ 2 , \begin{aligned}
\mathbb{E}_{Q\in\mathcal{P}_n\setminus\{I\}}\left[\frac{1}{N}\operatorname{tr}\left(A_{f,Q}(U^\dagger Q U)\right)\right]\geq\frac{(1-\epsilon)-N^{-2}}{1-N^{-2}} \\
&\geq\frac{1-\epsilon}{2},
\end{aligned} E Q ∈ P n ∖ { I } [ N 1 tr ( A f , Q ( U † Q U ) ) ] ≥ 1 − N − 2 ( 1 − ϵ ) − N − 2 ≥ 2 1 − ϵ ,
using the same assumption on 1 − ϵ 1-\epsilon 1 − ϵ . Each term in the expectation has an upper bound of 1 1 1 by
∣ 1 N tr ( C ( U † Q U ) ) ∣ ≤ 1 N ∥ Q ∥ 1 ∥ C ∥ ≤ 1. \left|\frac{1}{N}\operatorname{tr}\left(C(U^\dagger Q U)\right)\right|\leq\frac{1}{N}\lVert Q\rVert_1\lVert C\rVert\leq1. N 1 tr ( C ( U † Q U ) ) ≤ N 1 ∥ Q ∥ 1 ∥ C ∥ ≤ 1.
It therefore follows that there is a subset of Paulis S f , U ⊆ P n ∖ { I } S_{f,U}\subseteq\mathcal{P}_n\setminus\{I\} S f , U ⊆ P n ∖ { I } satisfying ∣ S f , U ∣ N 2 − 1 ≥ 1 − ϵ 4 \frac{|S_{f,U}|}{N^2-1}\geq\frac{1-\epsilon}{4} N 2 − 1 ∣ S f , U ∣ ≥ 4 1 − ϵ such that for any Q ∈ S f , U Q\in S_{f,U} Q ∈ S f , U ,
1 N tr ( A f , Q ( U † Q U ) ) ≥ 1 − ϵ 4 , \frac{1}{N}\operatorname{tr}\left(A_{f,Q}(U^\dagger Q U)\right)\geq\frac{1-\epsilon}{4}, N 1 tr ( A f , Q ( U † Q U ) ) ≥ 4 1 − ϵ ,
or else the expectation would be strictly less than 1 − ϵ 2 \frac{1-\epsilon}{2} 2 1 − ϵ . For every Pauli Q ∈ P n ∖ { I } Q\in\mathcal{P}_n\setminus\{I\} Q ∈ P n ∖ { I } , we now use Corollary 4.10 on the circuit W f † ( Q ⊗ I ) W f W_f^\dagger(Q\otimes I)W_f W f † ( Q ⊗ I ) W f to produce a net T Q \mathcal{T}_Q T Q of size
log 2 ∣ T Q ∣ = O ( N 2 k ζ 2 d 2 ) = O ( N k 2 ζ 2 d 2 ) \log_2|\mathcal{T}_Q|=O\left(\frac{N^{2k}}{\zeta^2d^2}\right)=O\left(\frac{Nk^2}{\zeta^2d^2}\right) log 2 ∣ T Q ∣ = O ( ζ 2 d 2 N 2 k ) = O ( ζ 2 d 2 N k 2 )
such that
Pr f [ min C ∈ T Q ∥ C − A f , Q ∥ F > d N ] ≤ ζ . \Pr_f\left[\min_{C\in\mathcal{T}_Q}\lVert C-A_{f,Q}\rVert_F>d\sqrt{N}\right]\leq\zeta. f Pr [ C ∈ T Q min ∥ C − A f , Q ∥ F > d N ] ≤ ζ .
We choose the parameters ζ = β ( 1 − ϵ ) 4 \zeta=\frac{\beta(1-\epsilon)}{4} ζ = 4 β ( 1 − ϵ ) and d = 1 − ϵ 8 d=\frac{1-\epsilon}{8} d = 8 1 − ϵ . Let R ( f ) R(f) R ( f ) be the fraction of nonidentity Paulis for which A f , Q A_{f,Q} A f , Q is not covered by T Q \mathcal{T}_Q T Q ,
R ( f ) = Pr Q ∈ P n ∖ { I } [ min C ∈ T Q ∥ C − A f , Q ∥ F > d N ] . R(f)=\Pr_{Q\in P_n\setminus\{I\}}\left[\min_{C\in\mathcal{T}_Q}\lVert C-A_{f,Q}\rVert_F>d\sqrt{N}\right]. R ( f ) = Q ∈ P n ∖ { I } Pr [ C ∈ T Q min ∥ C − A f , Q ∥ F > d N ] .
We would like to establish that with reasonably high probability over f f f , R ( f ) R(f) R ( f ) is small, i.e. most Pauli operators Q Q Q produce operators A f , Q A_{f,Q} A f , Q that are near their net T Q \mathcal{T}_Q T Q . However,
E f [ R ( f ) ] = E f [ Pr Q ∈ P n ∖ { I } [ min C ∈ T Q ∥ C − A f , Q ∥ F > d N ] ] = E Q ∈ P n ∖ { I } [ Pr f [ min C ∈ T Q ∥ C − A f , Q ∥ F > d N ] ] ≤ ζ . \begin{aligned}
\mathbb{E}_f[R(f)]=\mathbb{E}_f\left[\Pr_{Q\in P_n\setminus\{I\}}\left[\min_{C\in\mathcal{T}_Q}\lVert C-A_{f,Q}\rVert_F>d\sqrt{N}\right]\right] \\
&=\mathbb{E}_{Q\in P_n\setminus\{I\}}\left[\Pr_f\left[\min_{C\in\mathcal{T}_Q}\lVert C-A_{f,Q}\rVert_F>d\sqrt{N}\right]\right] \\
&\leq\zeta.
\end{aligned} E f [ R ( f )] = E f [ Q ∈ P n ∖ { I } Pr [ C ∈ T Q min ∥ C − A f , Q ∥ F > d N ] ] = E Q ∈ P n ∖ { I } [ f Pr [ C ∈ T Q min ∥ C − A f , Q ∥ F > d N ] ] ≤ ζ .
By Markov’s inequality,
Pr f [ R ( f ) ≥ 1 − ϵ 4 ] ≤ 4 ζ 1 − ϵ = β . \Pr_f\left[R(f)\geq\frac{1-\epsilon}{4}\right]\leq\frac{4\zeta}{1-\epsilon}=\beta. f Pr [ R ( f ) ≥ 4 1 − ϵ ] ≤ 1 − ϵ 4 ζ = β .
Thus, with probability at least 1 − β 1-\beta 1 − β over f f f , strictly less than an ( 1 − ϵ ) / 4 (1-\epsilon)/4 ( 1 − ϵ ) /4 fraction of the nonidentity Paulis are not sufficiently near their net. Since the set S f , U S_{f,U} S f , U occupies a fraction ∣ S f , U ∣ N 2 − 1 ≥ 1 − ϵ 4 \frac{|S_{f,U}|}{N^2-1}\geq\frac{1-\epsilon}{4} N 2 − 1 ∣ S f , U ∣ ≥ 4 1 − ϵ , there is a Q ∈ S f , U Q\in S_{f,U} Q ∈ S f , U and C ∈ T Q C\in\mathcal{T}_Q C ∈ T Q such that ∥ C − A f , Q ∥ F ≤ d N \lVert C-A_{f,Q}\rVert_F\leq d\sqrt{N} ∥ C − A f , Q ∥ F ≤ d N . For this pair, as before Cauchy-Schwarz gives
1 N tr ( C ( U † Q U ) ) ≥ 1 N tr ( A f , Q ( U † Q U ) ) − 1 N ∥ C − A f , Q ∥ F ∥ U † Q U ∥ F ≥ 1 − ϵ 4 − d = 1 − ϵ 8 . \begin{aligned}
\frac{1}{N}\operatorname{tr}\left(C(U^\dagger Q U)\right)\geq\frac{1}{N}\operatorname{tr}\left(A_{f,Q}(U^\dagger Q U)\right)-\frac{1}{N}\lVert C-A_{f,Q}\rVert_F\lVert U^\dagger Q U\rVert_F \\
&\geq\frac{1-\epsilon}{4}-d \\
&=\frac{1-\epsilon}{8}.
\end{aligned} N 1 tr ( C ( U † Q U ) ) ≥ N 1 tr ( A f , Q ( U † Q U ) ) − N 1 ∥ C − A f , Q ∥ F ∥ U † Q U ∥ F ≥ 4 1 − ϵ − d = 8 1 − ϵ .
We now define the total list
T = ⋃ Q ∈ P n ∖ { I } ( { Q } × T Q ) . \mathcal{T}=\bigcup_{Q\in P_n\setminus\{I\}}\left(\{Q\}\times\mathcal{T}_Q\right). T = Q ∈ P n ∖ { I } ⋃ ( { Q } × T Q ) .
We conclude that
Pr U ∼ ν [ max ( Q , C ) ∈ T 1 N tr ( C ( U † Q U ) ) ≥ 1 − ϵ 8 ] ≥ 1 − β . \Pr_{U\sim\nu}\left[\max_{(Q,C)\in\mathcal{T}}\frac{1}{N}\operatorname{tr}\left(C(U^\dagger Q U)\right)\geq\frac{1-\epsilon}{8}\right]\geq1-\beta. U ∼ ν Pr [ ( Q , C ) ∈ T max N 1 tr ( C ( U † Q U ) ) ≥ 8 1 − ϵ ] ≥ 1 − β .
There are N 2 − 1 N^2-1 N 2 − 1 nonidentity Paulis, so
log 2 ∣ T ∣ ≤ log 2 ( N 2 − 1 ) + max Q ≠ I log 2 ∣ T Q ∣ = O ( N k 2 β 2 ( 1 − ϵ ) 4 + log 2 N ) . \log_2|\mathcal{T}|\leq\log_2(N^2-1)+\max_{Q\neq I}\log_2|\mathcal{T}_Q|=O\left(\frac{Nk^2}{\beta^2(1-\epsilon)^4}+\log_2N\right). log 2 ∣ T ∣ ≤ log 2 ( N 2 − 1 ) + Q = I max log 2 ∣ T Q ∣ = O ( β 2 ( 1 − ϵ ) 4 N k 2 + log 2 N ) .
Here we substituted ζ = β ( 1 − ϵ ) / 4 \zeta=\beta(1-\epsilon)/4 ζ = β ( 1 − ϵ ) /4 and d = ( 1 − ϵ ) / 8 d=(1-\epsilon)/8 d = ( 1 − ϵ ) /8 . The union contributes at most 2 log 2 N 2\log_2N 2 log 2 N bits to the logarithm of the list size.
Lemma 4.15 ([3 Corollary A.4] ). Let M 1 , … , M K M_1,\ldots,M_K M 1 , … , M K be operators on a finite-dimensional Hilbert space H \mathcal{H} H satisfying 0 ≤ M j ≤ I 0\leq M_j\leq I 0 ≤ M j ≤ I . Let 0 < ξ , η < 1 / 2 0<\xi,\eta<1/2 0 < ξ , η < 1/2 and 0 ≤ b ≤ 1 − ξ 0\leq b\leq1-\xi 0 ≤ b ≤ 1 − ξ . There exists a two-outcome measurement { B , I − B } \{B,I-B\} { B , I − B } on H ⊗ t \mathcal{H}^{\otimes t} H ⊗ t , where
t = O ( log 2 ( K / η ) ξ 2 ) t=O\left(\frac{\log_2(K/\eta)}{\xi^2}\right) t = O ( ξ 2 log 2 ( K / η ) )
such that, for every density operator ρ \rho ρ on H \mathcal{H} H ,
max j ∈ [ K ] tr ( M j ρ ) ≥ b + ξ ⟹ tr ( B ρ ⊗ t ) ≥ 1 − η , max j ∈ [ K ] tr ( M j ρ ) ≤ b ⟹ tr ( B ρ ⊗ t ) ≤ η . \begin{aligned}
\max_{j\in[K]} \operatorname{tr}(M_j\rho) \ge b+\xi&\Longrightarrow\operatorname{tr}(B\rho^{\otimes t}) \ge1-\eta,\\
\max_{j\in[K]} \operatorname{tr}(M_j\rho) \le b &\Longrightarrow\operatorname{tr}(B\rho^{\otimes t}) \le\eta.
\end{aligned} j ∈ [ K ] max tr ( M j ρ ) ≥ b + ξ j ∈ [ K ] max tr ( M j ρ ) ≤ b ⟹ tr ( B ρ ⊗ t ) ≥ 1 − η , ⟹ tr ( B ρ ⊗ t ) ≤ η .
Proof of Theorem 4.2 . Choose β = 1 − δ 8 \beta= \frac{1-\delta}{8} β = 8 1 − δ . By Lemma 4.14 , there is a fixed list T \mathcal{T} T of pairs ( Q , C ) (Q,C) ( Q , C ) , with Q Q Q a nonidentity Pauli and C C C a Hermitian contraction, such that
log 2 ∣ T ∣ = O ( N k 2 ( 1 − ϵ ) 4 ( 1 − δ ) 2 + log 2 N ) , \log_2|\mathcal{T}| = O\left(\frac{Nk^2}{(1-\epsilon)^4(1-\delta)^2}+\log_2 N\right), log 2 ∣ T ∣ = O ( ( 1 − ϵ ) 4 ( 1 − δ ) 2 N k 2 + log 2 N ) ,
and
P U ∼ ν [ max ( Q , C ) ∈ T 1 N tr ( C U † Q U ) ≥ 1 − ϵ 8 ] ≥ 1 − β . (20) \mathbb{P}_{U\sim\nu}\left[\max_{(Q,C)\in\mathcal{T}}\frac{1}{N}\operatorname{tr}(CU^\dagger QU)\ge\frac{1-\epsilon}{8}\right]\ge1-\beta. \tag*{(20)} P U ∼ ν [ ( Q , C ) ∈ T max N 1 tr ( C U † Q U ) ≥ 8 1 − ϵ ] ≥ 1 − β . (20)
We define a measurement for each of the trace correlations in the above expression. We again consider the Choi state,
∣ U ⟩ = 1 N ( U ⊗ I ) ∑ x ∈ { 0 , 1 } n ∣ x ⟩ ⊗ ∣ x ⟩ = 1 N ( I ⊗ U T ) ∑ x ∈ { 0 , 1 } n ∣ x ⟩ ⊗ ∣ x ⟩ . \begin{aligned}
|U\rangle&= \frac{1}{\sqrt{N}}(U\otimes I)\sum_{x\in\{0,1\}^n}|x\rangle\otimes|x\rangle\\
&= \frac{1}{\sqrt{N}}(I\otimes U^{T})\sum_{x\in\{0,1\}^n}|x\rangle\otimes|x\rangle.
\end{aligned} ∣ U ⟩ = N 1 ( U ⊗ I ) x ∈ { 0 , 1 } n ∑ ∣ x ⟩ ⊗ ∣ x ⟩ = N 1 ( I ⊗ U T ) x ∈ { 0 , 1 } n ∑ ∣ x ⟩ ⊗ ∣ x ⟩ .
We define ρ U = ∣ U ⟩ ⟨ U ∣ \rho_U=|U\rangle\langle U| ρ U = ∣ U ⟩ ⟨ U ∣ . Applying U ⊗ t U^{\otimes t} U ⊗ t in parallel to the first halves of t t t maximally entangled pairs prepares ρ U ⊗ t \rho_U^{\otimes t} ρ U ⊗ t . For each ( Q , C ) ∈ T (Q,C)\in\mathcal{T} ( Q , C ) ∈ T , define
M Q , C = I + Q ⊗ C T 2 . M_{Q,C}=\frac{I+Q\otimes C^{T}}{2}. M Q , C = 2 I + Q ⊗ C T .
Since Q ⊗ C T Q\otimes C^{T} Q ⊗ C T is a Hermitian contraction, our operator is Hermitian and 0 ≤ M Q , C ≤ I 0\le M_{Q,C}\le I 0 ≤ M Q , C ≤ I . Moreover, we can expand
tr ( ( Q ⊗ C T ) ρ U ) = tr ( ( Q ⊗ I ) ρ U ( I ⊗ C T ) ) = 1 N tr [ ( Q U ⊗ I ) ( ∑ x , y ∈ { 0 , 1 } n ∣ x ⟩ ⟨ y ∣ ⊗ ∣ x ⟩ ⟨ y ∣ ) ( I ⊗ U C T ) ] = 1 N ∑ x , y ∈ { 0 , 1 } n ( Q U ) y x ( U C ) y x ∗ = 1 N tr ( C U † Q U ) , \begin{aligned}
\operatorname{tr}((Q\otimes C^{T})\rho_U)
&=\operatorname{tr}((Q\otimes I)\rho_U(I\otimes C^{T}))\\
&=\frac{1}{N}\operatorname{tr}\left[(QU\otimes I)\left(\sum_{x,y\in\{0,1\}^n}|x\rangle\langle y|\otimes|x\rangle\langle y|\right)(I\otimes UC^{T})\right]\\
&=\frac{1}{N}\sum_{x,y\in\{0,1\}^n}(QU)_{yx}(UC)_{yx}^{*}\\
&=\frac{1}{N}\operatorname{tr}(CU^\dagger QU),
\end{aligned} tr (( Q ⊗ C T ) ρ U ) = tr (( Q ⊗ I ) ρ U ( I ⊗ C T )) = N 1 tr ( Q U ⊗ I ) x , y ∈ { 0 , 1 } n ∑ ∣ x ⟩ ⟨ y ∣ ⊗ ∣ x ⟩ ⟨ y ∣ ( I ⊗ U C T ) = N 1 x , y ∈ { 0 , 1 } n ∑ ( Q U ) y x ( U C ) y x ∗ = N 1 tr ( C U † Q U ) ,
where the first equality uses cyclicity of trace and the last uses that C C C is Hermitian so ( U C ) † = C U † (UC)^\dagger=CU^\dagger ( U C ) † = C U † . It follows that
tr ( M Q , C ρ U ) = 1 2 + 1 2 N tr ( C U † Q U ) . \operatorname{tr}(M_{Q,C}\rho_U)=\frac{1}{2}+\frac{1}{2N}\operatorname{tr}(CU^\dagger QU). tr ( M Q , C ρ U ) = 2 1 + 2 N 1 tr ( C U † Q U ) .
Hence, these observables correspond directly to the trace correlations we are analyzing. We now apply Lemma 4.15 to assemble one measurement B B B that will operationalize the expression max ( Q , C ) ∈ T 1 N tr ( C U † Q U ) \max_{(Q,C)\in\mathcal{T}}\frac{1}{N}\operatorname{tr}(CU^\dagger QU) max ( Q , C ) ∈ T N 1 tr ( C U † Q U ) . Choose ξ = 1 − ϵ 32 \xi=\frac{1-\epsilon}{32} ξ = 32 1 − ϵ , b = 1 2 + ξ b=\frac{1}{2}+\xi b = 2 1 + ξ , η = 1 − δ 8 \eta=\frac{1-\delta}{8} η = 8 1 − δ , and K = ∣ T ∣ K=|\mathcal{T}| K = ∣ T ∣ .
The lemma gives a measurement { B , I − B } \{B,I-B\} { B , I − B } on t = O ( log 2 ( K / η ) ( 1 − ϵ ) 2 ) t=O\left(\frac{\log_2(K/\eta)}{(1-\epsilon)^2}\right) t = O ( ( 1 − ϵ ) 2 l o g 2 ( K / η ) ) Choi states, satisfying
max ( Q , C ) ∈ T 1 N tr ( C U † Q U ) ≥ 1 − ϵ 8 ⟹ tr ( B ρ U ⊗ t ) ≥ 1 − η , max ( Q , C ) ∈ T 1 N tr ( C U † Q U ) ≤ 1 − ϵ 16 ⟹ tr ( B ρ U ⊗ t ) ≤ η . \begin{aligned}
\max_{(Q,C)\in\mathcal{T}}\frac{1}{N}\operatorname{tr}(CU^\dagger QU)\geq\frac{1-\epsilon}{8}&\Longrightarrow\operatorname{tr}(B\rho_U^{\otimes t})\geq1-\eta,\\
\max_{(Q,C)\in\mathcal{T}}\frac{1}{N}\operatorname{tr}(CU^\dagger QU)\leq\frac{1-\epsilon}{16}&\Longrightarrow\operatorname{tr}(B\rho_U^{\otimes t})\leq\eta.
\end{aligned} ( Q , C ) ∈ T max N 1 tr ( C U † Q U ) ≥ 8 1 − ϵ ( Q , C ) ∈ T max N 1 tr ( C U † Q U ) ≤ 16 1 − ϵ ⟹ tr ( B ρ U ⊗ t ) ≥ 1 − η , ⟹ tr ( B ρ U ⊗ t ) ≤ η .
These implications follow by applying the lemma with the specified parameters and using the identity
tr ( M Q , C ρ U ) = 1 2 + 1 2 N tr ( C U † Q U ) . \operatorname{tr}(M_{Q,C}\rho_U)=\frac{1}{2}+\frac{1}{2N}\operatorname{tr}(CU^\dagger QU). tr ( M Q , C ρ U ) = 2 1 + 2 N 1 tr ( C U † Q U ) .
As per the lemma, this implication is independent of U U U , since the implication on observables is independent of the Choi state the measurement is applied on.
Using Equation (20) , we obtain that
E U ∼ ν [ tr ( B ρ U ⊗ t ) ] ≥ ( 1 − β ) ( 1 − η ) = ( 1 − 1 − δ 8 ) 2 ≥ 1 − 1 − δ 4 . \begin{aligned}
\mathbb{E}_{U\sim\nu}\left[\operatorname{tr}(B\rho_U^{\otimes t})\right]&\geq(1-\beta)(1-\eta)\\
&=\left(1-\frac{1-\delta}{8}\right)^2\\
&\geq1-\frac{1-\delta}{4}.
\end{aligned} E U ∼ ν [ tr ( B ρ U ⊗ t ) ] ≥ ( 1 − β ) ( 1 − η ) = ( 1 − 8 1 − δ ) 2 ≥ 1 − 4 1 − δ .
since with probability 1 − β 1-\beta 1 − β , the lower bound of 1 − η 1-\eta 1 − η follows by the guarantee of the lemma. On the other hand, Lemma 4.13 gives, for each fixed ( Q , C ) ∈ T (Q,C)\in\mathcal{T} ( Q , C ) ∈ T ,
P U ∼ H a a r [ 1 N tr ( C U † Q U ) > 1 − ϵ 16 ] ≤ exp ( − c N 2 ( 1 − ϵ ) 2 ) \mathbb{P}_{U\sim\mathrm{Haar}}\left[\frac{1}{N}\operatorname{tr}(CU^\dagger QU)>\frac{1-\epsilon}{16}\right]\leq\exp\left(-cN^2(1-\epsilon)^2\right) P U ∼ Haar [ N 1 tr ( C U † Q U ) > 16 1 − ϵ ] ≤ exp ( − c N 2 ( 1 − ϵ ) 2 )
for some c > 0 c>0 c > 0 . A union bound yields
P r [ max ( Q , C ) ∈ T 1 N tr ( C U † Q U ) ≤ 1 − ϵ 16 ] ≥ 1 − K exp ( − c N 2 ( 1 − ϵ ) 2 ) , \mathop{\mathrm{Pr}}\left[\max_{(Q,C)\in\mathcal{T}}\frac{1}{N}\operatorname{tr}(CU^\dagger QU)\leq\frac{1-\epsilon}{16}\right]\geq1-K\exp\left(-cN^2(1-\epsilon)^2\right), Pr [ ( Q , C ) ∈ T max N 1 tr ( C U † Q U ) ≤ 16 1 − ϵ ] ≥ 1 − K exp ( − c N 2 ( 1 − ϵ ) 2 ) ,
and as a consequence
E U ∼ H a a r [ tr ( B ρ U ⊗ t ) ] ≤ η + K exp ( − c N 2 ( 1 − ϵ ) 2 ) ≤ 1 − δ 8 + K exp ( − c N 2 ( 1 − ϵ ) 2 ) , \begin{aligned}
\mathbb{E}_{U\sim\mathrm{Haar}}\left[\operatorname{tr}(B\rho_U^{\otimes t})\right]&\leq\eta+K\exp\left(-cN^2(1-\epsilon)^2\right)\\
&\leq\frac{1-\delta}{8}+K\exp\left(-cN^2(1-\epsilon)^2\right),
\end{aligned} E U ∼ Haar [ tr ( B ρ U ⊗ t ) ] ≤ η + K exp ( − c N 2 ( 1 − ϵ ) 2 ) ≤ 8 1 − δ + K exp ( − c N 2 ( 1 − ϵ ) 2 ) ,
since tr ( B ρ U ⊗ t ) ≤ 1 \operatorname{tr}(B\rho_U^{\otimes t})\leq1 tr ( B ρ U ⊗ t ) ≤ 1 is greater than η \eta η with probability at most K exp ( − c N 2 ( 1 − ϵ ) 2 ) K\exp\left(-cN^2(1-\epsilon)^2\right) K exp ( − c N 2 ( 1 − ϵ ) 2 ) .
We may assume that t ≤ T t\leq T t ≤ T , where t = O ( log 2 ( K / η ) ξ 2 ) t=O\left(\frac{\log_2(K/\eta)}{\xi^2}\right) t = O ( ξ 2 l o g 2 ( K / η ) ) is given by Lemma 4.15 . Indeed, otherwise our upper bound on K = ∣ T ∣ K=|\mathcal{T}| K = ∣ T ∣ yields
t = O ( N k 2 ( 1 − δ ) 2 ( 1 − ϵ ) 6 + log 2 N + log 2 ( 8 / ( 1 − δ ) ) ( 1 − ϵ ) 2 ) = O ( N k 2 ( 1 − δ ) 2 ( 1 − ϵ ) 6 ) . \begin{aligned}
t&=O\left(\frac{Nk^2}{(1-\delta)^2(1-\epsilon)^6}+\frac{\log_2N+\log_2(8/(1-\delta))}{(1-\epsilon)^2}\right)\\
&=O\left(\frac{Nk^2}{(1-\delta)^2(1-\epsilon)^6}\right).
\end{aligned} t = O ( ( 1 − δ ) 2 ( 1 − ϵ ) 6 N k 2 + ( 1 − ϵ ) 2 log 2 N + log 2 ( 8/ ( 1 − δ )) ) = O ( ( 1 − δ ) 2 ( 1 − ϵ ) 6 N k 2 ) .
Since otherwise t > T t>T t > T and T = Ω ( N 1 + γ ) T=\Omega(N^{1+\gamma}) T = Ω ( N 1 + γ ) , rearranging gives
k 2 = Ω ( ( 1 − δ ) 2 ( 1 − ϵ ) 6 T N ) = Ω ( ( 1 − δ ) 2 ( 1 − ϵ ) 6 N γ ) . k^2=\Omega\left((1-\delta)^2(1-\epsilon)^6\frac{T}{N}\right)=\Omega\left((1-\delta)^2(1-\epsilon)^6N^\gamma\right). k 2 = Ω ( ( 1 − δ ) 2 ( 1 − ϵ ) 6 N T ) = Ω ( ( 1 − δ ) 2 ( 1 − ϵ ) 6 N γ ) .
which already implies the desired bound
k 2 = Ω ( ( 1 − δ ) 2 ( 1 − ϵ ) 6 N min ( 1 , γ ) ) k^2 = \Omega\left((1-\delta)^2(1-\epsilon)^6N^{\min(1,\gamma)}\right) k 2 = Ω ( ( 1 − δ ) 2 ( 1 − ϵ ) 6 N m i n ( 1 , γ ) )
The t t t forward queries are parallel and followed by the joint measurement { B , I − B } \{B,I-B\} { B , I − B } . Since t ≤ T t \le T t ≤ T , the non-adaptive design guarantee implies
∣ E U ∼ ν tr ( B ρ U ⊗ t ) − E U ∼ H a a r tr ( B ρ U ⊗ t ) ∣ ≤ δ . \left|\mathbb{E}_{U\sim\nu}\operatorname{tr}(B\rho_U^{\otimes t})-\mathbb{E}_{U\sim\mathrm{Haar}}\operatorname{tr}(B\rho_U^{\otimes t})\right|\le\delta. E U ∼ ν tr ( B ρ U ⊗ t ) − E U ∼ Haar tr ( B ρ U ⊗ t ) ≤ δ .
Hence, we can chain the upper and lower bounds on E U ∼ ν tr ( B ρ U ⊗ t ) \mathbb{E}_{U\sim\nu}\operatorname{tr}(B\rho_U^{\otimes t}) E U ∼ ν tr ( B ρ U ⊗ t ) to obtain
1 − 1 − δ 4 ≤ δ + 1 − δ 8 + K exp ( − c N 2 ( 1 − ϵ ) 2 ) . 1-\frac{1-\delta}{4}\le\delta+\frac{1-\delta}{8}+K\exp\left(-cN^2(1-\epsilon)^2\right). 1 − 4 1 − δ ≤ δ + 8 1 − δ + K exp ( − c N 2 ( 1 − ϵ ) 2 ) .
Rearranging gives
K exp ( − c N 2 ( 1 − ϵ ) 2 ) ≥ 5 ( 1 − δ ) 8 , K\exp\left(-cN^2(1-\epsilon)^2\right)\ge\frac{5(1-\delta)}{8}, K exp ( − c N 2 ( 1 − ϵ ) 2 ) ≥ 8 5 ( 1 − δ ) ,
so
log 2 K ≥ c N 2 ( 1 − ϵ ) 2 − log 2 8 5 ( 1 − δ ) . \log_2 K\ge cN^2(1-\epsilon)^2-\log_2\frac{8}{5(1-\delta)}. log 2 K ≥ c N 2 ( 1 − ϵ ) 2 − log 2 5 ( 1 − δ ) 8 .
Combining this with our upper bound on log 2 K \log_2 K log 2 K gives
N 2 ( 1 − ϵ ) 2 = O ( N k 2 ( 1 − δ ) 2 ( 1 − ϵ ) 4 + log 2 N + log 2 8 5 ( 1 − δ ) ) . N^2(1-\epsilon)^2=O\left(\frac{Nk^2}{(1-\delta)^2(1-\epsilon)^4}+\log_2N+\log_2\frac{8}{5(1-\delta)}\right). N 2 ( 1 − ϵ ) 2 = O ( ( 1 − δ ) 2 ( 1 − ϵ ) 4 N k 2 + log 2 N + log 2 5 ( 1 − δ ) 8 ) .
Since k ≥ 1 k\ge1 k ≥ 1 and 0 < 1 − ϵ , 1 − δ ≤ 1 0<1-\epsilon,1-\delta\le1 0 < 1 − ϵ , 1 − δ ≤ 1 , the logarithmic terms are absorbed into the first term. Rearranging yields
k 2 ( 1 − δ ) − 2 ( 1 − ϵ ) − 6 = Ω ( N ) . k^2(1-\delta)^{-2}(1-\epsilon)^{-6}=\Omega(N). k 2 ( 1 − δ ) − 2 ( 1 − ϵ ) − 6 = Ω ( N ) .
An O ( N ) O(N) O ( N ) -query secure ROM-PRU construction
In this section, we will demonstrate a ROM-PRU construction that is secure against O ( N ) O(N) O ( N ) queries. The previously best known result was security against O ( N ) O(\sqrt{N}) O ( N ) queries. Combined with Theorem 4.2 , this provides a tight characterization of the best possible designs achievable in the ROM-PRU model. Unfortunately, the construction we provide here involves fixed unitaries H 1 , … , H n H_1,\ldots,H_n H 1 , … , H n that are not efficiently implementable. However, we believe this result provides evidence that the current O ( N ) O(\sqrt{N}) O ( N ) -query design barrier is primarily a technical barrier, even when the fixed unitaries H i H_i H i are required to be efficient.
We now define our unitary design construction. For any tuple of n n n unitaries H : = ( H 1 , … , H n ) H:=(H_1,\ldots,H_n) H := ( H 1 , … , H n ) which each act on n n n qubits, we define the unitary design μ H \mu_H μ H as follows:
Sample n + 1 n+1 n + 1 random functions f i : [ N ] → [ N ] f_i:[N]\to[N] f i : [ N ] → [ N ] .
Output U = F n H n ⋯ F 1 H 1 F 0 U=F_nH_n\cdots F_1H_1F_0 U = F n H n ⋯ F 1 H 1 F 0 , where F j = ∑ x ∈ [ N ] e 2 π i f j ( x ) / N ∣ x ⟩ ⟨ x ∣ F_j=\sum_{x\in[N]}e^{2\pi i f_j(x)/N}|x\rangle\langle x| F j = ∑ x ∈ [ N ] e 2 π i f j ( x ) / N ∣ x ⟩ ⟨ x ∣ .
Theorem 5.1. With probability at least 1 − 2 − Ω ( n 2 ) 1-2^{-\Omega(n^2)} 1 − 2 − Ω ( n 2 ) over the choice of Haar-random unitaries H 1 , … , H n H_1,\ldots,H_n H 1 , … , H n , the ensemble μ ( H 1 , … , H n ) \mu_{(H_1,\ldots,H_n)} μ ( H 1 , … , H n ) is a 2 − n 2 / 3 2^{-n^2/3} 2 − n 2 /3 -approximate strong adaptive unitary ( N / 8 ) (N/8) ( N /8 ) -design in the sense of Definition 2.2.
Proof. Let T : = N / 8 T := N/8 T := N /8 be a bound on the maximum number of queries. As our PRU construction is invariant under a random global phase ϕ ← { 1 , ω N , … , ω N N − 1 } \phi\leftarrow\{1,\omega_N,\ldots,\omega_N^{N-1}\} ϕ ← { 1 , ω N , … , ω N N − 1 } and T < N T<N T < N , by [24 Theorem 1.1] we can decontrol all calls to { c U , c U † , c U ‾ , c U T } \{cU,cU^\dagger,c\overline{U},cU^T\} { c U , c U † , c U , c U T } .
Fix (for now) the choice of H = ( H 1 , … , H n ) H=(H_1,\ldots,H_n) H = ( H 1 , … , H n ) . For any query to the unitary U U U , note that the channel
( U X U † ) i j = ∑ a , b U i a U ‾ j b X a b (UXU^\dagger)_{ij}=\sum_{a,b}U_{ia}\overline{U}_{jb}X_{ab} ( U X U † ) ij = a , b ∑ U ia U j b X ab
is composed of terms which have exactly one entry corresponding to U U U and one entry corresponding to U ‾ \overline{U} U . The same holds for queries to U † U^\dagger U † , U ‾ \overline{U} U , and U T U^T U T . This means that the acceptance probability f A ( U ) f_A(U) f A ( U ) of any T T T -query algorithm A \mathcal{A} A is a linear combination of terms of the form
∏ r = 1 q U i r a r U ‾ j r b r , \prod_{r=1}^{q}U_{i_ra_r}\overline{U}_{j_rb_r}, r = 1 ∏ q U i r a r U j r b r ,
where 0 ≤ q ≤ T 0\leq q\leq T 0 ≤ q ≤ T , which are precisely the entries of the matrix Γ q ( U ) : = U ⊗ q ⊗ U ‾ ⊗ q \Gamma_q(U):=U^{\otimes q}\otimes\overline{U}^{\otimes q} Γ q ( U ) := U ⊗ q ⊗ U ⊗ q . Thus, we have that
f A ∈ span { U ↦ Γ q ( U ) i j : i , j , 0 ≤ q ≤ T } . f_A\in\operatorname{span}\{U\mapsto\Gamma_q(U)_{ij}:i,j,0\leq q\leq T\}. f A ∈ span { U ↦ Γ q ( U ) ij : i , j , 0 ≤ q ≤ T } .
By mixed Schur-Weyl duality, we know that the entries of Γ q \Gamma_q Γ q are linear combinations of entries of ρ λ , ν \rho_{\lambda,\nu} ρ λ , ν where λ , ν ⊢ r \lambda,\nu\vdash r λ , ν ⊢ r for 0 ≤ r ≤ q 0\leq r\leq q 0 ≤ r ≤ q , so f A f_A f A must lie in the span of the entries of ρ λ , ν \rho_{\lambda,\nu} ρ λ , ν where λ , ν ⊢ q \lambda,\nu\vdash q λ , ν ⊢ q and 0 ≤ q ≤ T 0\leq q\leq T 0 ≤ q ≤ T .
Observing that the Schur orthogonality relations imply that
∫ U ( N ) ρ λ , ν ( U ) i j ρ λ ′ , ν ′ ( U ) i ′ j ′ ‾ d U = δ λ , λ ′ δ ν , ν ′ δ i , i ′ δ j , j ′ dim ρ λ , ν , \int_{U(N)}\rho_{\lambda,\nu}(U)_{ij}\overline{\rho_{\lambda',\nu'}(U)_{i'j'}}\,\mathrm{d}U
=\frac{\delta_{\lambda,\lambda'}\delta_{\nu,\nu'}\delta_{i,i'}\delta_{j,j'}}{\dim\rho_{\lambda,\nu}}, ∫ U ( N ) ρ λ , ν ( U ) ij ρ λ ′ , ν ′ ( U ) i ′ j ′ d U = dim ρ λ , ν δ λ , λ ′ δ ν , ν ′ δ i , i ′ δ j , j ′ ,
we see that the functions
ϕ λ , ν , i , j ( U ) = d λ , ν ρ λ , ν ( U ) i j \phi_{\lambda,\nu,i,j}(U)=\sqrt{d_{\lambda,\nu}}\rho_{\lambda,\nu}(U)_{ij} ϕ λ , ν , i , j ( U ) = d λ , ν ρ λ , ν ( U ) ij
where d λ , ν : = dim ρ λ , ν d_{\lambda,\nu}:=\dim\rho_{\lambda,\nu} d λ , ν := dim ρ λ , ν , are orthonormal. We can therefore decompose f A ( U ) f_A(U) f A ( U ) as
f A ( U ) = ∑ q = 0 T ∑ λ , ν ⊢ q ∑ i , j = 1 d λ , ν c λ , ν , i , j d λ , ν ρ λ , ν ( U ) i j . f_A(U)=\sum_{q=0}^{T}\sum_{\lambda,\nu\vdash q}\sum_{i,j=1}^{d_{\lambda,\nu}}c_{\lambda,\nu,i,j}\sqrt{d_{\lambda,\nu}}\,\rho_{\lambda,\nu}(U)_{ij}. f A ( U ) = q = 0 ∑ T λ , ν ⊢ q ∑ i , j = 1 ∑ d λ , ν c λ , ν , i , j d λ , ν ρ λ , ν ( U ) ij .
for some coefficients c λ , ν , i , j c_{\lambda,\nu,i,j} c λ , ν , i , j . By orthogonality, we know that since 0 ≤ f A ( U ) ≤ 1 0\leq f_A(U)\leq1 0 ≤ f A ( U ) ≤ 1 for all U U U ,
∑ q = 0 T ∑ λ , ν ⊢ q ∑ i , j = 1 d λ , ν ∣ c λ , ν , i , j ∣ 2 = ∫ ∣ f A ( U ) ∣ 2 d μ H a a r ( U ) ≤ 1. \sum_{q=0}^{T}\sum_{\lambda,\nu\vdash q}\sum_{i,j=1}^{d_{\lambda,\nu}}|c_{\lambda,\nu,i,j}|^2
=\int|f_A(U)|^2\mathrm{d}\mu_{\mathrm{Haar}}(U)\leq1. q = 0 ∑ T λ , ν ⊢ q ∑ i , j = 1 ∑ d λ , ν ∣ c λ , ν , i , j ∣ 2 = ∫ ∣ f A ( U ) ∣ 2 d μ Haar ( U ) ≤ 1.
Additionally, since ρ ∅ , ∅ = 1 \rho_{\varnothing,\varnothing}=1 ρ ∅ , ∅ = 1 , orthogonality implies that
∫ U ( N ) ρ λ , ν ( U ) i j d U = 0 \int_{U(N)}\rho_{\lambda,\nu}(U)_{ij}\mathrm{d}U=0 ∫ U ( N ) ρ λ , ν ( U ) ij d U = 0
for all ( λ , ν ) ≠ ( ∅ , ∅ ) (\lambda,\nu)\ne(\varnothing,\varnothing) ( λ , ν ) = ( ∅ , ∅ ) . Defining
μ ^ H ( λ , ν ) : = ∫ ρ λ , ν ( U ) d μ H ( U ) = E F 0 , … , F n [ ρ λ , ν ( F n H n ⋯ F 1 H 1 F 0 ) ] , \widehat{\mu}_H(\lambda,\nu):=\int\rho_{\lambda,\nu}(U)\mathrm{d}\mu_H(U)
=\mathbb{E}_{F_0,\ldots,F_n}\left[\rho_{\lambda,\nu}(F_nH_n\cdots F_1H_1F_0)\right], μ H ( λ , ν ) := ∫ ρ λ , ν ( U ) d μ H ( U ) = E F 0 , … , F n [ ρ λ , ν ( F n H n ⋯ F 1 H 1 F 0 ) ] ,
we can now bound the distinguishing advantage of A A A by
∣ ∫ f A ( U ) d μ H ( U ) − ∫ f A ( U ) d μ H a a r ( U ) ∣ = ∣ ∑ q = 0 T ∑ λ , ν ⊢ q ∑ i , j = 1 d λ , ν c λ , ν , i , j d λ , ν [ μ H ^ ( λ , ν ) i j − μ H a a r ^ ( λ , ν ) i j ] ∣ = ∣ ∑ q = 0 T ∑ λ , ν ⊢ q ∑ i , j = 1 d λ , ν c λ , ν , i , j d λ , ν μ H ^ ( λ , ν ) i j − c ∅ , ∅ , 1 , 1 μ H a a r ^ ( ∅ , ∅ ) 11 ∣ = ∣ ∑ q = 1 T ∑ λ , ν ⊢ q ∑ i , j = 1 d λ , ν c λ , ν , i , j d λ , ν μ H ^ ( λ , ν ) i j ∣ ≤ ( ∑ q = 1 T ∑ λ , ν ⊢ q ∑ i , j = 1 d λ , ν ∣ c λ , ν , i , j ∣ 2 ) 1 / 2 ( ∑ q = 1 T ∑ λ , ν ⊢ q d λ , ν ∣ μ H ^ ( λ , ν ) i j ∣ 2 ) 1 / 2 ≤ ( ∑ q = 1 T ∑ λ , ν ⊢ q d λ , ν ∥ μ H ^ ( λ , ν ) ∥ F 2 ) 1 / 2 . \begin{aligned}
\left|\int f_A(U)\mathrm{d}\mu_H(U)-\int f_A(U)\mathrm{d}\mu_{\mathrm{Haar}}(U)\right|
&=\left|\sum_{q=0}^{T}\sum_{\lambda,\nu\vdash q}\sum_{i,j=1}^{d_{\lambda,\nu}}c_{\lambda,\nu,i,j}\sqrt{d_{\lambda,\nu}}\left[\widehat{\mu_H}(\lambda,\nu)_{ij}-\widehat{\mu_{\mathrm{Haar}}}(\lambda,\nu)_{ij}\right]\right|\\
&=\left|\sum_{q=0}^{T}\sum_{\lambda,\nu\vdash q}\sum_{i,j=1}^{d_{\lambda,\nu}}c_{\lambda,\nu,i,j}\sqrt{d_{\lambda,\nu}}\widehat{\mu_H}(\lambda,\nu)_{ij}-c_{\varnothing,\varnothing,1,1}\widehat{\mu_{\mathrm{Haar}}}(\varnothing,\varnothing)_{11}\right|\\
&=\left|\sum_{q=1}^{T}\sum_{\lambda,\nu\vdash q}\sum_{i,j=1}^{d_{\lambda,\nu}}c_{\lambda,\nu,i,j}\sqrt{d_{\lambda,\nu}}\widehat{\mu_H}(\lambda,\nu)_{ij}\right|\\
&\le\left(\sum_{q=1}^{T}\sum_{\lambda,\nu\vdash q}\sum_{i,j=1}^{d_{\lambda,\nu}}\left|c_{\lambda,\nu,i,j}\right|^2\right)^{1/2}\left(\sum_{q=1}^{T}\sum_{\lambda,\nu\vdash q}d_{\lambda,\nu}\left|\widehat{\mu_H}(\lambda,\nu)_{ij}\right|^2\right)^{1/2}\\
&\le\left(\sum_{q=1}^{T}\sum_{\lambda,\nu\vdash q}d_{\lambda,\nu}\left\|\widehat{\mu_H}(\lambda,\nu)\right\|_F^2\right)^{1/2}.
\end{aligned} ∫ f A ( U ) d μ H ( U ) − ∫ f A ( U ) d μ Haar ( U ) = q = 0 ∑ T λ , ν ⊢ q ∑ i , j = 1 ∑ d λ , ν c λ , ν , i , j d λ , ν [ μ H ( λ , ν ) ij − μ Haar ( λ , ν ) ij ] = q = 0 ∑ T λ , ν ⊢ q ∑ i , j = 1 ∑ d λ , ν c λ , ν , i , j d λ , ν μ H ( λ , ν ) ij − c ∅ , ∅ , 1 , 1 μ Haar ( ∅ , ∅ ) 11 = q = 1 ∑ T λ , ν ⊢ q ∑ i , j = 1 ∑ d λ , ν c λ , ν , i , j d λ , ν μ H ( λ , ν ) ij ≤ q = 1 ∑ T λ , ν ⊢ q ∑ i , j = 1 ∑ d λ , ν ∣ c λ , ν , i , j ∣ 2 1/2 q = 1 ∑ T λ , ν ⊢ q ∑ d λ , ν ∣ μ H ( λ , ν ) ij ∣ 2 1/2 ≤ q = 1 ∑ T λ , ν ⊢ q ∑ d λ , ν ∥ μ H ( λ , ν ) ∥ F 2 1/2 .
As this inequality holds regardless of the coefficients c λ , ν , i , j c_{\lambda,\nu,i,j} c λ , ν , i , j , the distinguishing advantage of any T T T -query algorithm is upper bounded by
η T ( μ H ) : = ( ∑ q = 1 T ∑ λ , ν ⊢ q d λ , ν ∥ μ H ^ ( λ , ν ) ∥ F 2 ) 1 / 2 . \eta_T(\mu_H):=\left(\sum_{q=1}^{T}\sum_{\lambda,\nu\vdash q}d_{\lambda,\nu}\left\|\widehat{\mu_H}(\lambda,\nu)\right\|_F^2\right)^{1/2}. η T ( μ H ) := q = 1 ∑ T λ , ν ⊢ q ∑ d λ , ν ∥ μ H ( λ , ν ) ∥ F 2 1/2 .
Consequently, our new goal will be to bound E H [ η T ( μ H ) 2 ] \mathbb{E}_H[\eta_T(\mu_H)^2] E H [ η T ( μ H ) 2 ] . We start by defining the projectors
P λ , ν : = ∫ U ( 1 ) N ρ λ , ν ( U ) d U , P_{\lambda,\nu}:=\int_{U(1)^N}\rho_{\lambda,\nu}(U)\mathrm{d}U, P λ , ν := ∫ U ( 1 ) N ρ λ , ν ( U ) d U ,
onto the subspace of vectors in V λ , ν N V_{\lambda,\nu}^N V λ , ν N which are fixed by all elements in U ( 1 ) N U(1)^N U ( 1 ) N ; let b λ , ν : = rank P λ , ν b_{\lambda,\nu}:=\operatorname{rank}P_{\lambda,\nu} b λ , ν := rank P λ , ν . In the following lemma we derive some crude bounds on b λ , ν b_{\lambda,\nu} b λ , ν and d λ , ν d_{\lambda,\nu} d λ , ν , which we will thereafter relate to E H [ η T ( μ H ) 2 ] \mathbb{E}_H[\eta_T(\mu_H)^2] E H [ η T ( μ H ) 2 ] .
Lemma 5.2. For partitions λ , ν ⊢ q \lambda,\nu\vdash q λ , ν ⊢ q where 2 q < N 2q<N 2 q < N , let f λ f^\lambda f λ and f ν f^\nu f ν denote the number of standard Young tableaux of shape λ \lambda λ and ν \nu ν , respectively. Then,
b λ , ν ≤ ( N + q − 1 q ) f λ f ν , b_{\lambda,\nu}\le\binom{N+q-1}{q}f^\lambda f^\nu, b λ , ν ≤ ( q N + q − 1 ) f λ f ν , and
d λ , ν ≥ f λ f ν ( N − 2 q ) 2 q ( q ! ) 2 . d_{\lambda,\nu}\ge\frac{f^\lambda f^\nu(N-2q)^{2q}}{(q!)^2}. d λ , ν ≥ ( q ! ) 2 f λ f ν ( N − 2 q ) 2 q .
Proof of Lemma 5.2. As the rank of a projection is equal to the trace of the associated matrix, we have that
b λ , ν = rank P λ , ν = Tr ( ∫ U ( 1 ) N ρ λ , ν ( U ) d U ) = ∫ U ( 1 ) N Tr ( ρ λ , ν ( U ) ) d U = ∫ z 1 , … , z N ∼ U ( 1 ) s λ , ν ( z 1 , … , z N ) d z = ∫ z 1 , … , z N ∼ U ( 1 ) ∑ ( T , T ′ ) ∈ R T ( λ , ν , N ) ∏ i = 1 N z i w i ( T ) − w i ( T ′ ) d z = ∑ ( T , T ′ ) ∈ R T ( λ , ν , N ) ( ∫ z 1 , … , z N ∼ U ( 1 ) ∏ i = 1 N z i w i ( T ) − w i ( T ′ ) d z ) = ∑ ( T , T ′ ) ∈ R T ( λ , ν , N ) 1 w ( T ) = w ( T ′ ) ≤ ∑ T ∈ S S Y T ( λ , N ) ∑ T ′ ∈ S S Y T ( ν , N ) 1 w ( T ) = w ( T ′ ) . \begin{aligned}
b_{\lambda,\nu}=\operatorname{rank}P_{\lambda,\nu}=\operatorname{Tr}\left(\int_{U(1)^N}\rho_{\lambda,\nu}(U)dU\right)=\int_{U(1)^N}\operatorname{Tr}(\rho_{\lambda,\nu}(U))dU \\
&=\int_{z_1,\ldots,z_N\sim U(1)}s_{\lambda,\nu}(z_1,\ldots,z_N)dz \\
&=\int_{z_1,\ldots,z_N\sim U(1)}\sum_{(T,T')\in RT(\lambda,\nu,N)}\prod_{i=1}^{N}z_i^{w_i(T)-w_i(T')}dz \\
&=\sum_{(T,T')\in RT(\lambda,\nu,N)}\left(\int_{z_1,\ldots,z_N\sim U(1)}\prod_{i=1}^{N}z_i^{w_i(T)-w_i(T')}dz\right) \\
&=\sum_{(T,T')\in RT(\lambda,\nu,N)}\mathbf{1}_{w(T)=w(T')}\leq\sum_{T\in SSYT(\lambda,N)}\sum_{T'\in SSYT(\nu,N)}\mathbf{1}_{w(T)=w(T')}.
\end{aligned} b λ , ν = rank P λ , ν = Tr ( ∫ U ( 1 ) N ρ λ , ν ( U ) d U ) = ∫ U ( 1 ) N Tr ( ρ λ , ν ( U )) d U = ∫ z 1 , … , z N ∼ U ( 1 ) s λ , ν ( z 1 , … , z N ) d z = ∫ z 1 , … , z N ∼ U ( 1 ) ( T , T ′ ) ∈ R T ( λ , ν , N ) ∑ i = 1 ∏ N z i w i ( T ) − w i ( T ′ ) d z = ( T , T ′ ) ∈ R T ( λ , ν , N ) ∑ ( ∫ z 1 , … , z N ∼ U ( 1 ) i = 1 ∏ N z i w i ( T ) − w i ( T ′ ) d z ) = ( T , T ′ ) ∈ R T ( λ , ν , N ) ∑ 1 w ( T ) = w ( T ′ ) ≤ T ∈ S S Y T ( λ , N ) ∑ T ′ ∈ S S Y T ( ν , N ) ∑ 1 w ( T ) = w ( T ′ ) .
Fix a tuple α = ( α 1 , … , α N ) \alpha=(\alpha_1,\ldots,\alpha_N) α = ( α 1 , … , α N ) such that ∑ i α i = q \sum_i\alpha_i=q ∑ i α i = q . The number of semistandard Young tableaux of shape λ \lambda λ with weight α \alpha α is at most the number of standard Young tableaux of shape λ , \lambda, λ , 5 so we have that
b λ , ν ≤ ∑ α f λ f ν = ( N + q − 1 q ) f λ f ν , b_{\lambda,\nu}\leq\sum_{\alpha}f^\lambda f^\nu=\binom{N+q-1}{q}f^\lambda f^\nu, b λ , ν ≤ α ∑ f λ f ν = ( q N + q − 1 ) f λ f ν ,
as there are exactly ( N + q − 1 q ) \binom{N+q-1}{q} ( q N + q − 1 ) possible weights.
We now bound d λ , ν = dim V λ , ν N d_{\lambda,\nu}=\dim V^N_{\lambda,\nu} d λ , ν = dim V λ , ν N , which is equal to the number of rational tableaux of shape ( λ , ν ) (\lambda,\nu) ( λ , ν ) with alphabet [ N ] [N] [ N ] . Observing that ( A , B ) (A,B) ( A , B ) is automatically a rational tableau if all 2 q 2q 2 q entries across A A A and B B B are distinct, we can lower bound d λ , ν d_{\lambda,\nu} d λ , ν by the number of pairs of SSYT of shapes λ \lambda λ and ν \nu ν in which all 2 q 2q 2 q labels are distinct. This in turn can be computed by first selecting ( N q ) ⋅ ( N − q q ) \binom{N}{q}\cdot\binom{N-q}{q} ( q N ) ⋅ ( q N − q ) distinct labels for the first and second tableaux; after fixing the label set i 1 < ⋯ < i q i_1<\cdots<i_q i 1 < ⋯ < i q for each tableau, replacing i j i_j i j by j j j gives a bijection between tableaux using those labels and standard Young tableaux with alphabet [ q ] [q] [ q ] . We conclude that
d λ , ν ≥ f λ f ν ( N q ) ( N − q q ) ≥ f λ f ν ( N − 2 q ) 2 q ( q ! ) 2 , d_{\lambda,\nu}\geq f^\lambda f^\nu\binom{N}{q}\binom{N-q}{q}\geq\frac{f^\lambda f^\nu(N-2q)^{2q}}{(q!)^2}, d λ , ν ≥ f λ f ν ( q N ) ( q N − q ) ≥ ( q ! ) 2 f λ f ν ( N − 2 q ) 2 q ,
assuming 2 q < N 2q<N 2 q < N .
We now consider the expression μ ^ H ( λ , ν ) \widehat{\mu}_H(\lambda,\nu) μ H ( λ , ν ) , which can be written as
μ ^ H ( λ , ν ) = E F 0 , … , F n [ ρ λ , ν ( F n H n ⋯ F 1 H 1 F 0 ) ] = E F 0 , … , F n [ ρ λ , ν ( F n ) ρ λ , ν ( H n ) ⋯ ρ λ , ν ( F 1 ) ρ λ , ν ( H 1 ) ρ λ , ν ( F 0 ) ] = E F n [ ρ λ , ν ( F n ) ] ρ λ , ν ( H n ) ⋯ E F 1 [ ρ λ , ν ( F 1 ) ] ρ λ , ν ( H 1 ) E F 0 [ ρ λ , ν ( F 0 ) ] , \begin{aligned}
\widehat{\mu}_H(\lambda,\nu)=\mathbb{E}_{F_0,\ldots,F_n}\left[\rho_{\lambda,\nu}(F_nH_n\cdots F_1H_1F_0)\right] \\
&=\mathbb{E}_{F_0,\ldots,F_n}\left[\rho_{\lambda,\nu}(F_n)\rho_{\lambda,\nu}(H_n)\cdots\rho_{\lambda,\nu}(F_1)\rho_{\lambda,\nu}(H_1)\rho_{\lambda,\nu}(F_0)\right] \\
&=\mathbb{E}_{F_n}\left[\rho_{\lambda,\nu}(F_n)\right]\rho_{\lambda,\nu}(H_n)\cdots\mathbb{E}_{F_1}\left[\rho_{\lambda,\nu}(F_1)\right]\rho_{\lambda,\nu}(H_1)\mathbb{E}_{F_0}\left[\rho_{\lambda,\nu}(F_0)\right],
\end{aligned} μ H ( λ , ν ) = E F 0 , … , F n [ ρ λ , ν ( F n H n ⋯ F 1 H 1 F 0 ) ] = E F 0 , … , F n [ ρ λ , ν ( F n ) ρ λ , ν ( H n ) ⋯ ρ λ , ν ( F 1 ) ρ λ , ν ( H 1 ) ρ λ , ν ( F 0 ) ] = E F n [ ρ λ , ν ( F n ) ] ρ λ , ν ( H n ) ⋯ E F 1 [ ρ λ , ν ( F 1 ) ] ρ λ , ν ( H 1 ) E F 0 [ ρ λ , ν ( F 0 ) ] ,
since the F i F_i F i ’s are independent and H 1 , … , H n H_1,\ldots,H_n H 1 , … , H n are fixed.
We claim that E F i [ ρ λ , ν ( F i ) ] = P λ , ν \mathbb{E}_{F_i}[\rho_{\lambda,\nu}(F_i)]=P_{\lambda,\nu} E F i [ ρ λ , ν ( F i )] = P λ , ν , which will simplify our expression to
μ ^ H ( λ , ν ) = P λ , ν ρ λ , ν ( H n ) ⋯ P λ , ν ρ λ , ν ( H 1 ) P λ , ν . \widehat{\mu}_H(\lambda,\nu)=P_{\lambda,\nu}\rho_{\lambda,\nu}(H_n)\cdots P_{\lambda,\nu}\rho_{\lambda,\nu}(H_1)P_{\lambda,\nu}. μ H ( λ , ν ) = P λ , ν ρ λ , ν ( H n ) ⋯ P λ , ν ρ λ , ν ( H 1 ) P λ , ν .
Claim 5.3. E F i [ ρ λ , ν ( F i ) ] = P λ , ν \mathbb{E}_{F_i}[\rho_{\lambda,\nu}(F_i)]=P_{\lambda,\nu} E F i [ ρ λ , ν ( F i )] = P λ , ν .
Proof of Claim 5.3 . Since P λ , ν : = ∫ U ( 1 ) N ρ λ , ν ( U ) d U P_{\lambda,\nu}:=\int_{U(1)^N}\rho_{\lambda,\nu}(U)\,dU P λ , ν := ∫ U ( 1 ) N ρ λ , ν ( U ) d U , our goal is to show that the averages of ρ λ , ν \rho_{\lambda,\nu} ρ λ , ν over continuous and discrete phases coincide. We do so by showing that these two averages are in fact the same on the entire Hilbert space ( C N ) ⊗ q ⊗ ( C N ) ⊗ q (\mathbb{C}^{N})^{\otimes q}\otimes(\mathbb{C}^{N})^{\otimes q} ( C N ) ⊗ q ⊗ ( C N ) ⊗ q .
Fix any basis vector
e a 1 ⊗ ⋯ ⊗ e a q ⊗ e ‾ b 1 ⊗ ⋯ ⊗ e ‾ b q . e_{a_1}\otimes\cdots\otimes e_{a_q}\otimes\overline{e}_{b_1}\otimes\cdots\otimes\overline{e}_{b_q}. e a 1 ⊗ ⋯ ⊗ e a q ⊗ e b 1 ⊗ ⋯ ⊗ e b q .
Given a diagonal unitary D = ∑ x z x ∣ x ⟩ ⟨ x ∣ D=\sum_x z_x|x\rangle\langle x| D = ∑ x z x ∣ x ⟩ ⟨ x ∣ , we have that
( D ⊗ q ⊗ D ‾ ⊗ q ) ( e a 1 ⊗ ⋯ ⊗ e a q ⊗ e ‾ b 1 ⊗ ⋯ ⊗ e ‾ b q ) = ∏ j = 1 q z a j z ‾ b j ( e a 1 ⊗ ⋯ ⊗ e a q ⊗ e ‾ b 1 ⊗ ⋯ ⊗ e ‾ b q ) . (D^{\otimes q}\otimes\overline{D}^{\otimes q})(e_{a_1}\otimes\cdots\otimes e_{a_q}\otimes\overline{e}_{b_1}\otimes\cdots\otimes\overline{e}_{b_q})=\prod_{j=1}^{q}z_{a_j}\overline{z}_{b_j}(e_{a_1}\otimes\cdots\otimes e_{a_q}\otimes\overline{e}_{b_1}\otimes\cdots\otimes\overline{e}_{b_q}). ( D ⊗ q ⊗ D ⊗ q ) ( e a 1 ⊗ ⋯ ⊗ e a q ⊗ e b 1 ⊗ ⋯ ⊗ e b q ) = j = 1 ∏ q z a j z b j ( e a 1 ⊗ ⋯ ⊗ e a q ⊗ e b 1 ⊗ ⋯ ⊗ e b q ) .
When F i F_i F i is drawn according to the distribution described in μ H \mu_H μ H and hence each z j z_j z j is chosen uniformly from { 1 , ω N , … , ω N N − 1 } \{1,\omega_N,\ldots,\omega_N^{N-1}\} { 1 , ω N , … , ω N N − 1 } , it is straightforward to see that since q ≤ T < N q\leq T<N q ≤ T < N , E F i [ Γ q ( F i ) ] \mathbb{E}_{F_i}[\Gamma_q(F_i)] E F i [ Γ q ( F i )] projects onto the following subspace, where the equality of labels denotes multiset equality:
span { e a 1 ⊗ ⋯ ⊗ e a q ⊗ e ‾ b 1 ⊗ ⋯ ⊗ e ‾ b q : { { a 1 , … , a q } } = { { b 1 , … , b q } } } . \operatorname{span}\{e_{a_1}\otimes\cdots\otimes e_{a_q}\otimes\overline{e}_{b_1}\otimes\cdots\otimes\overline{e}_{b_q}: \{\{a_1,\ldots,a_q\}\}=\{\{b_1,\ldots,b_q\}\}\}. span { e a 1 ⊗ ⋯ ⊗ e a q ⊗ e b 1 ⊗ ⋯ ⊗ e b q : {{ a 1 , … , a q }} = {{ b 1 , … , b q }}} .
Similarly, it is easy to see that when the phases in the diagonal unitary F i F_i F i are drawn continuously from [ 0 , 2 π ) [0,2\pi) [ 0 , 2 π ) , the average E [ Γ q ( F i ) ] \mathbb{E}[\Gamma_q(F_i)] E [ Γ q ( F i )] is the same projector. Restricting this equality to ρ λ , ν \rho_{\lambda,\nu} ρ λ , ν then finishes the claim.
We will now think about H 1 , … , H n H_1,\ldots,H_n H 1 , … , H n as Haar-random unitaries. Before we analyze μ ^ H ( λ , ν ) \widehat{\mu}_H(\lambda,\nu) μ H ( λ , ν ) , we will need to use the following identity:
Fact 5.4.
E U ∼ μ H a a r ( N ) [ ρ λ , ν ( U ) † P λ , ν ρ λ , ν ( U ) ] = b λ , ν d λ , ν I d λ , ν . \mathbb{E}_{U\sim\mu_{\mathrm{Haar}}(N)}[\rho_{\lambda,\nu}(U)^\dagger P_{\lambda,\nu}\rho_{\lambda,\nu}(U)]=\frac{b_{\lambda,\nu}}{d_{\lambda,\nu}}I_{d_{\lambda,\nu}}. E U ∼ μ Haar ( N ) [ ρ λ , ν ( U ) † P λ , ν ρ λ , ν ( U )] = d λ , ν b λ , ν I d λ , ν .
Proof of Fact 5.4. Let A = E U ∼ μ H a a r ( N ) [ ρ λ , ν ( U ) † P λ , ν ρ λ , ν ( U ) ] A=\mathbb{E}_{U\sim\mu_{\mathrm{Haar}}(N)}[\rho_{\lambda,\nu}(U)^\dagger P_{\lambda,\nu}\rho_{\lambda,\nu}(U)] A = E U ∼ μ Haar ( N ) [ ρ λ , ν ( U ) † P λ , ν ρ λ , ν ( U )] . For any fixed unitary G ∈ U ( N ) G\in U(N) G ∈ U ( N ) ,
ρ λ , ν ( G ) † A ρ λ , ν ( G ) = E U ∼ μ H a a r ( N ) [ ρ λ , ν ( G ) † ρ λ , ν ( U ) † P λ , ν ρ λ , ν ( U ) ρ λ , ν ( G ) ] = E U ∼ μ H a a r ( N ) [ ρ λ , ν ( U G ) † P λ , ν ρ λ , ν ( U G ) ] = A . \begin{aligned}
\rho_{\lambda,\nu}(G)^\dagger A\rho_{\lambda,\nu}(G)&=\mathbb{E}_{U\sim\mu_{\mathrm{Haar}}(N)}[\rho_{\lambda,\nu}(G)^\dagger\rho_{\lambda,\nu}(U)^\dagger P_{\lambda,\nu}\rho_{\lambda,\nu}(U)\rho_{\lambda,\nu}(G)]\\
&=\mathbb{E}_{U\sim\mu_{\mathrm{Haar}}(N)}[\rho_{\lambda,\nu}(UG)^\dagger P_{\lambda,\nu}\rho_{\lambda,\nu}(UG)]\\
&=A.
\end{aligned} ρ λ , ν ( G ) † A ρ λ , ν ( G ) = E U ∼ μ Haar ( N ) [ ρ λ , ν ( G ) † ρ λ , ν ( U ) † P λ , ν ρ λ , ν ( U ) ρ λ , ν ( G )] = E U ∼ μ Haar ( N ) [ ρ λ , ν ( U G ) † P λ , ν ρ λ , ν ( U G )] = A .
Thus, A A A commutes with ρ λ , ν ( G ) \rho_{\lambda,\nu}(G) ρ λ , ν ( G ) for all G G G . Since ρ λ , ν \rho_{\lambda,\nu} ρ λ , ν is irreducible, Schur’s lemma implies that
A = Tr A d λ , ν I d λ , ν = E U ∼ μ H a a r ( N ) [ Tr ( ρ λ , ν ( U ) † P λ , ν ρ λ , ν ( U ) ) ] d λ , ν I d λ , ν = Tr P λ , ν d λ , ν I d λ , ν = b λ , ν d λ , ν I d λ , ν . A=\frac{\operatorname{Tr}A}{d_{\lambda,\nu}}I_{d_{\lambda,\nu}}=\frac{\mathbb{E}_{U\sim\mu_{\mathrm{Haar}}(N)}\left[\operatorname{Tr}\left(\rho_{\lambda,\nu}(U)^\dagger P_{\lambda,\nu}\rho_{\lambda,\nu}(U)\right)\right]}{d_{\lambda,\nu}}I_{d_{\lambda,\nu}}=\frac{\operatorname{Tr}P_{\lambda,\nu}}{d_{\lambda,\nu}}I_{d_{\lambda,\nu}}=\frac{b_{\lambda,\nu}}{d_{\lambda,\nu}}I_{d_{\lambda,\nu}}. A = d λ , ν Tr A I d λ , ν = d λ , ν E U ∼ μ Haar ( N ) [ Tr ( ρ λ , ν ( U ) † P λ , ν ρ λ , ν ( U ) ) ] I d λ , ν = d λ , ν Tr P λ , ν I d λ , ν = d λ , ν b λ , ν I d λ , ν .
Define the partial products M 0 = P λ , ν M_0=P_{\lambda,\nu} M 0 = P λ , ν and M r = P λ , ν ρ λ , ν ( H r ) M r − 1 M_r=P_{\lambda,\nu}\rho_{\lambda,\nu}(H_r)M_{r-1} M r = P λ , ν ρ λ , ν ( H r ) M r − 1 ; by definition M n = μ ^ H ( λ , ν ) M_n=\widehat{\mu}_H(\lambda,\nu) M n = μ H ( λ , ν ) . Recalling the identity ∥ M ∥ F 2 = Tr ( M M † ) \lVert M\rVert_F^2=\operatorname{Tr}(MM^\dagger) ∥ M ∥ F 2 = Tr ( M M † ) and using Fact 5.4, we can compute
E H 1 , … , H r ∼ μ H a a r ( N ) [ ∥ M r ∥ F 2 ] = E H 1 , … , H r ∼ μ H a a r ( N ) [ Tr ( M r M r † ) ] = E [ Tr ( P λ , ν ρ λ , ν ( H r ) M r − 1 M r − 1 † ρ λ , ν ( H r ) † P λ , ν ) ] = E [ Tr ( ρ λ , ν ( H r ) † P λ , ν ρ λ , ν ( H r ) M r − 1 M r − 1 † ) ] = E [ Tr ( ρ λ , ν ( H r ) † P λ , ν ρ λ , ν ( H r ) M r − 1 M r − 1 † ) ] = E [ Tr ( b λ , ν d λ , ν M r − 1 M r − 1 † ) ] = b λ , ν d λ , ν ⋅ E [ ∥ M r − 1 ∥ F 2 ] . \begin{aligned}
\mathbb{E}_{H_1,\ldots,H_r\sim\mu_{\mathrm{Haar}}(N)}[\lVert M_r\rVert_F^2]&=\mathbb{E}_{H_1,\ldots,H_r\sim\mu_{\mathrm{Haar}}(N)}[\operatorname{Tr}(M_rM_r^\dagger)]\\
&=\mathbb{E}\left[\operatorname{Tr}\left(P_{\lambda,\nu}\rho_{\lambda,\nu}(H_r)M_{r-1}M_{r-1}^\dagger\rho_{\lambda,\nu}(H_r)^\dagger P_{\lambda,\nu}\right)\right]\\
&=\mathbb{E}\left[\operatorname{Tr}\left(\rho_{\lambda,\nu}(H_r)^\dagger P_{\lambda,\nu}\rho_{\lambda,\nu}(H_r)M_{r-1}M_{r-1}^\dagger\right)\right]\\
&=\mathbb{E}\left[\operatorname{Tr}\left(\rho_{\lambda,\nu}(H_r)^\dagger P_{\lambda,\nu}\rho_{\lambda,\nu}(H_r)M_{r-1}M_{r-1}^\dagger\right)\right]\\
&=\mathbb{E}\left[\operatorname{Tr}\left(\frac{b_{\lambda,\nu}}{d_{\lambda,\nu}}M_{r-1}M_{r-1}^\dagger\right)\right]\\
&=\frac{b_{\lambda,\nu}}{d_{\lambda,\nu}}\cdot\mathbb{E}\left[\lVert M_{r-1}\rVert_F^2\right].
\end{aligned} E H 1 , … , H r ∼ μ Haar ( N ) [∥ M r ∥ F 2 ] = E H 1 , … , H r ∼ μ Haar ( N ) [ Tr ( M r M r † )] = E [ Tr ( P λ , ν ρ λ , ν ( H r ) M r − 1 M r − 1 † ρ λ , ν ( H r ) † P λ , ν ) ] = E [ Tr ( ρ λ , ν ( H r ) † P λ , ν ρ λ , ν ( H r ) M r − 1 M r − 1 † ) ] = E [ Tr ( ρ λ , ν ( H r ) † P λ , ν ρ λ , ν ( H r ) M r − 1 M r − 1 † ) ] = E [ Tr ( d λ , ν b λ , ν M r − 1 M r − 1 † ) ] = d λ , ν b λ , ν ⋅ E [ ∥ M r − 1 ∥ F 2 ] .
By induction we conclude that
E [ ∥ μ ^ H ( λ , ν ) ∥ F 2 ] = E [ ∥ M n ∥ F 2 ] = ( b λ , ν d λ , ν ) n ∥ P λ , ν ∥ F 2 = Tr P λ , ν ⋅ ( b λ , ν d λ , ν ) n = b λ , ν ⋅ ( b λ , ν d λ , ν ) n . \mathbb{E}[\lVert\widehat{\mu}_H(\lambda,\nu)\rVert_F^2]=\mathbb{E}[\lVert M_n\rVert_F^2]=\left(\frac{b_{\lambda,\nu}}{d_{\lambda,\nu}}\right)^n\lVert P_{\lambda,\nu}\rVert_F^2=\operatorname{Tr}P_{\lambda,\nu}\cdot\left(\frac{b_{\lambda,\nu}}{d_{\lambda,\nu}}\right)^n=b_{\lambda,\nu}\cdot\left(\frac{b_{\lambda,\nu}}{d_{\lambda,\nu}}\right)^n. E [∥ μ H ( λ , ν ) ∥ F 2 ] = E [∥ M n ∥ F 2 ] = ( d λ , ν b λ , ν ) n ∥ P λ , ν ∥ F 2 = Tr P λ , ν ⋅ ( d λ , ν b λ , ν ) n = b λ , ν ⋅ ( d λ , ν b λ , ν ) n .
Putting everything together, we see that
E H [ η ( μ H ) 2 ] = ∑ q = 1 T ∑ λ , ν ⊢ q d λ , ν E H [ ∥ μ ^ H ( λ , ν ) ∥ F 2 ] = ∑ q = 1 T ∑ λ , ν ⊢ q b λ , ν 2 ( b λ , ν d λ , ν ) n − 1 . \mathbb{E}_H[\eta(\mu_H)^2]=\sum_{q=1}^{T}\sum_{\lambda,\nu\vdash q}d_{\lambda,\nu}\mathbb{E}_H[\lVert\widehat{\mu}_H(\lambda,\nu)\rVert_F^2]=\sum_{q=1}^{T}\sum_{\lambda,\nu\vdash q}b_{\lambda,\nu}^2\left(\frac{b_{\lambda,\nu}}{d_{\lambda,\nu}}\right)^{n-1}. E H [ η ( μ H ) 2 ] = q = 1 ∑ T λ , ν ⊢ q ∑ d λ , ν E H [∥ μ H ( λ , ν ) ∥ F 2 ] = q = 1 ∑ T λ , ν ⊢ q ∑ b λ , ν 2 ( d λ , ν b λ , ν ) n − 1 .
We conclude by showing that this sum is dominated by the q = 1 q=1 q = 1 term.
Lemma 5.5. E H [ η ( μ H ) 2 ] ≤ 2 − n 2 + O ( n ) \mathbb{E}_H[\eta(\mu_H)^2]\leq2^{-n^2+O(n)} E H [ η ( μ H ) 2 ] ≤ 2 − n 2 + O ( n ) .
Proof of Lemma 5.5. Write I q : = ∑ λ , ν ⊢ q b λ , ν 2 ( b λ , ν d λ , ν ) n − 1 I_q:=\sum_{\lambda,\nu\vdash q}b_{\lambda,\nu}^2\left(\frac{b_{\lambda,\nu}}{d_{\lambda,\nu}}\right)^{n-1} I q := ∑ λ , ν ⊢ q b λ , ν 2 ( d λ , ν b λ , ν ) n − 1 . We begin by bounding I 1 I_1 I 1 . By Lemma 5.2, b ( 1 ) , ( 1 ) ≤ N ( f ( 1 ) ) 2 = N b_{(1),(1)}\leq N(f^{(1)})^2=N b ( 1 ) , ( 1 ) ≤ N ( f ( 1 ) ) 2 = N and d ( 1 ) , ( 1 ) ≥ ( N − 2 ) 2 ( f ( 1 ) ) 2 = ( N − 2 ) 2 d_{(1),(1)}\geq(N-2)^2(f^{(1)})^2=(N-2)^2 d ( 1 ) , ( 1 ) ≥ ( N − 2 ) 2 ( f ( 1 ) ) 2 = ( N − 2 ) 2 , so
∑ λ , ν ⊢ 1 b λ , ν 2 ( b λ , ν d λ , ν ) n − 1 ≤ N 2 ( N ( N − 2 ) 2 ) n − 1 = 2 2 n ( 2 − n ( 1 − 2 1 − n ) − 2 ) n − 1 = 2 − n 2 + 3 n ( 1 − 2 1 − n ) − 2 ( n − 1 ) . \begin{aligned}
\sum_{\lambda,\nu\vdash1}b_{\lambda,\nu}^2\left(\frac{b_{\lambda,\nu}}{d_{\lambda,\nu}}\right)^{n-1}\leq N^2\left(\frac{N}{(N-2)^2}\right)^{n-1} \\
&=2^{2n}\left(2^{-n}(1-2^{1-n})^{-2}\right)^{n-1} \\
&=2^{-n^2+3n}(1-2^{1-n})^{-2(n-1)}.
\end{aligned} λ , ν ⊢ 1 ∑ b λ , ν 2 ( d λ , ν b λ , ν ) n − 1 ≤ N 2 ( ( N − 2 ) 2 N ) n − 1 = 2 2 n ( 2 − n ( 1 − 2 1 − n ) − 2 ) n − 1 = 2 − n 2 + 3 n ( 1 − 2 1 − n ) − 2 ( n − 1 ) .
For n > 1 n>1 n > 1 , ( 1 − 2 1 − n ) − 2 ( n − 1 ) ≤ 4 (1-2^{1-n})^{-2(n-1)}\leq4 ( 1 − 2 1 − n ) − 2 ( n − 1 ) ≤ 4 , so we can bound I 1 I_1 I 1 by 2 − n 2 + 3 n + 2 2^{-n^2+3n+2} 2 − n 2 + 3 n + 2 .
Applying Lemma 5.2 shows that
∑ λ , ν ⊢ q b λ , ν 2 ( b λ , ν d λ , ν ) n − 1 ≤ ∑ λ , ν ⊢ q b λ , ν 2 ( ( N + q − 1 q ) ( q ! ) 2 ( N − 2 q ) 2 q ) n − 1 ≤ ( ( N + q − 1 q ) ( q ! ) 2 ( N − 2 q ) 2 q ) n − 1 ∑ λ , ν ⊢ q ( ( N + q − 1 q ) f λ f ν ) 2 ≤ ( ( N + q − 1 q ) ( q ! ) 2 ( N − 2 q ) 2 q ) n − 1 ( N + q − 1 q ) 2 ( ∑ λ ⊢ q ( f λ ) 2 ) 2 . \begin{aligned}
\sum_{\lambda,\nu\vdash q}b_{\lambda,\nu}^2\left(\frac{b_{\lambda,\nu}}{d_{\lambda,\nu}}\right)^{n-1}\leq\sum_{\lambda,\nu\vdash q}b_{\lambda,\nu}^2\left(\frac{\binom{N+q-1}{q}(q!)^2}{(N-2q)^{2q}}\right)^{n-1} \\
&\leq\left(\frac{\binom{N+q-1}{q}(q!)^2}{(N-2q)^{2q}}\right)^{n-1}\sum_{\lambda,\nu\vdash q}\left(\binom{N+q-1}{q}f^\lambda f^\nu\right)^2 \\
&\leq\left(\frac{\binom{N+q-1}{q}(q!)^2}{(N-2q)^{2q}}\right)^{n-1}\binom{N+q-1}{q}^2\left(\sum_{\lambda\vdash q}(f^\lambda)^2\right)^2.
\end{aligned} λ , ν ⊢ q ∑ b λ , ν 2 ( d λ , ν b λ , ν ) n − 1 ≤ λ , ν ⊢ q ∑ b λ , ν 2 ( ( N − 2 q ) 2 q ( q N + q − 1 ) ( q ! ) 2 ) n − 1 ≤ ( ( N − 2 q ) 2 q ( q N + q − 1 ) ( q ! ) 2 ) n − 1 λ , ν ⊢ q ∑ ( ( q N + q − 1 ) f λ f ν ) 2 ≤ ( ( N − 2 q ) 2 q ( q N + q − 1 ) ( q ! ) 2 ) n − 1 ( q N + q − 1 ) 2 λ ⊢ q ∑ ( f λ ) 2 2 .
Since the Robinson–Schensted–Knuth correspondence [22 ] implies that ∑ λ ⊢ q ( f λ ) 2 = q ! \sum_{\lambda\vdash q}(f^\lambda)^2=q! ∑ λ ⊢ q ( f λ ) 2 = q ! , this gives the bound
I q ≤ ( ( N + q − 1 q ) ( q ! ) 2 ( N − 2 q ) 2 q ) n − 1 ( N + q − 1 q ) 2 ( q ! ) 2 . I_q\leq\left(\frac{\binom{N+q-1}{q}(q!)^2}{(N-2q)^{2q}}\right)^{n-1}\binom{N+q-1}{q}^2(q!)^2. I q ≤ ( ( N − 2 q ) 2 q ( q N + q − 1 ) ( q ! ) 2 ) n − 1 ( q N + q − 1 ) 2 ( q ! ) 2 .
Since q ≤ T = N / 8 q\leq T=N/8 q ≤ T = N /8 , the AM–GM inequality gives
( N + q − 1 q ) q ! = N ( N + 1 ) ⋯ ( N + q − 1 ) ≤ ( N + q − 1 2 ) q ≤ ( 17 N 16 ) q , \binom{N+q-1}{q}q!=N(N+1)\cdots(N+q-1)\leq\left(N+\frac{q-1}{2}\right)^q\leq\left(\frac{17N}{16}\right)^q, ( q N + q − 1 ) q ! = N ( N + 1 ) ⋯ ( N + q − 1 ) ≤ ( N + 2 q − 1 ) q ≤ ( 16 17 N ) q ,
so ( N + q − 1 q ) 2 ( q ! ) 2 ≤ ( 2 N 2 ) q \binom{N+q-1}{q}^2(q!)^2\leq(2N^2)^q ( q N + q − 1 ) 2 ( q ! ) 2 ≤ ( 2 N 2 ) q . Additionally, as N − 2 q ≥ 3 N / 4 N-2q\geq3N/4 N − 2 q ≥ 3 N /4 ,
( N + q − 1 q ) ( q ! ) 2 ( N − 2 q ) 2 q ≤ q ! ( 17 9 N ) q , \frac{\binom{N+q-1}{q}(q!)^2}{(N-2q)^{2q}}\leq q!\left(\frac{17}{9N}\right)^q, ( N − 2 q ) 2 q ( q N + q − 1 ) ( q ! ) 2 ≤ q ! ( 9 N 17 ) q ,
and thus
I q ≤ B q : = ( 2 N 2 ) q [ q ! ( 17 9 N ) q ] n − 1 . I_q \le B_q := (2N^2)^q \left[q!\left(\frac{17}{9N}\right)^q\right]^{n-1}. I q ≤ B q := ( 2 N 2 ) q [ q ! ( 9 N 17 ) q ] n − 1 .
For all 2 ≤ q ≤ T 2 \le q \le T 2 ≤ q ≤ T ,
B q B q − 1 = 2 N 2 ( 17 q 9 N ) n − 1 ≤ 2 N 2 ( 17 72 ) n − 1 = 144 17 ( 17 18 ) n . \frac{B_q}{B_{q-1}} = 2N^2\left(\frac{17q}{9N}\right)^{n-1} \le2N^2\left(\frac{17}{72}\right)^{n-1} = \frac{144}{17}\left(\frac{17}{18}\right)^n. B q − 1 B q = 2 N 2 ( 9 N 17 q ) n − 1 ≤ 2 N 2 ( 72 17 ) n − 1 = 17 144 ( 18 17 ) n .
If n > 50 n > 50 n > 50 then 144 17 ( 17 18 ) n < 1 / 2 \frac{144}{17}\left(\frac{17}{18}\right)^n < 1/2 17 144 ( 18 17 ) n < 1/2 and so for sufficiently large n n n ,
∑ q = 2 T I q ≤ ∑ q = 2 T B q ≤ B 2 ∑ q = 0 ∞ ( 1 2 ) q = 2 B 2 ≤ 8 N 4 ( 8 N 2 ) n − 1 = 2 − 2 n 2 + 9 n . \sum_{q=2}^{T} I_q \le\sum_{q=2}^{T} B_q \le B_2\sum_{q=0}^{\infty}\left(\frac{1}{2}\right)^q = 2B_2 \le8N^4\left(\frac{8}{N^2}\right)^{n-1} = 2^{-2n^2+9n}. q = 2 ∑ T I q ≤ q = 2 ∑ T B q ≤ B 2 q = 0 ∑ ∞ ( 2 1 ) q = 2 B 2 ≤ 8 N 4 ( N 2 8 ) n − 1 = 2 − 2 n 2 + 9 n .
Combining this with the bound on I 1 I_1 I 1 gives us
E H [ η T ( μ H ) 2 ] = ∑ q = 1 T I q ≤ 2 − n 2 + 3 n + 2 + 2 − 2 n 2 + 9 n = 2 − n 2 + O ( n ) , \mathbb{E}_{H}\left[\eta_T(\mu_H)^2\right] = \sum_{q=1}^{T} I_q \le2^{-n^2+3n+2} + 2^{-2n^2+9n} = 2^{-n^2+O(n)}, E H [ η T ( μ H ) 2 ] = q = 1 ∑ T I q ≤ 2 − n 2 + 3 n + 2 + 2 − 2 n 2 + 9 n = 2 − n 2 + O ( n ) ,
as desired.
By Markov’s inequality, we conclude that
Pr H [ η T ( μ H ) > 2 − n 2 / 3 ] ≤ E H [ η T ( μ H ) 2 ] 2 − 2 n 2 / 3 ≤ 2 − n 2 + O ( n ) 2 − 2 n 2 / 3 = 2 − Ω ( n 2 ) . \Pr_H\left[\eta_T(\mu_H) > 2^{-n^2/3}\right] \le\frac{\mathbb{E}_{H}\left[\eta_T(\mu_H)^2\right]}{2^{-2n^2/3}} \le\frac{2^{-n^2+O(n)}}{2^{-2n^2/3}} = 2^{-\Omega(n^2)}. H Pr [ η T ( μ H ) > 2 − n 2 /3 ] ≤ 2 − 2 n 2 /3 E H [ η T ( μ H ) 2 ] ≤ 2 − 2 n 2 /3 2 − n 2 + O ( n ) = 2 − Ω ( n 2 ) .
Theorem 5.1 follows immediately from the fact that the maximum distinguishing advantage of any T = N / 8 T=N/8 T = N /8 -query algorithm is bounded by η T ( μ H ) \eta_T(\mu_H) η T ( μ H ) .
Acknowledgments
John Wright is supported by the NSF CAREER award CCF-233971 and a Sloan fellowship. This work was done in part while some of the authors were visiting the Simons Institute for the Theory of Computing.