Introduction
In property testing, we study whether a small amount of information suffices to decide if an unknown object satisfies a property or is far from satisfying the property. More formally, given a collection P \mathcal{P} P of Boolean functions and a parameter ε > 0 \varepsilon> 0 ε > 0 , the goal is to distinguish between
f ∈ P and dist ( f , P ) ≥ ε , f \in\mathcal{P} \qquad\text{and} \qquad\operatorname{dist}(f,\mathcal{P}) \ge\varepsilon, f ∈ P and dist ( f , P ) ≥ ε ,
promised that one of these is the case. Here,
dist ( f , P ) : = min g ∈ P dist ( f , g ) , dist ( f , g ) : = Pr x ∼ Unif ( { 0 , 1 } n ) [ f ( x ) ≠ g ( x ) ] . \operatorname{dist}(f,\mathcal{P}) := \min_{g \in\mathcal{P}} \operatorname{dist}(f,g), \qquad\operatorname{dist}(f,g) := \Pr_{x \sim\operatorname{Unif}(\{0,1\}^{n})}[f(x) \ne g(x)]. dist ( f , P ) := g ∈ P min dist ( f , g ) , dist ( f , g ) := x ∼ Unif ({ 0 , 1 } n ) Pr [ f ( x ) = g ( x )] .
Monotonicity testing on the Boolean hypercube has served as a canonical example for property testing algorithms, both in the classical and quantum setting. For example, see [15 , 13 , 16 , 4 , 7 , 10 ] . A Boolean function f : { 0 , 1 } n → { 0 , 1 } f : \{0,1\}^{n} \to\{0,1\} f : { 0 , 1 } n → { 0 , 1 } is monotone if
f ( x ) ≤ f ( y ) whenever x ⪯ y , f(x) \le f(y) \qquad\text{whenever } x \preceq y, f ( x ) ≤ f ( y ) whenever x ⪯ y ,
where x ⪯ y x \preceq y x ⪯ y denotes the coordinate-wise order: x i ≤ y i x_i \le y_i x i ≤ y i for every i ∈ [ n ] i \in[n] i ∈ [ n ] . The goal is to determine whether a function that is far from monotone can be detected given only limited access to the function.
The answer depends on how the tester is able to access our function f f f . In the classical query model, a tester is able to choose any input and observe its function value while in the classical sample-based model, a tester receives random labeled examples ( x , f ( x ) ) (x,f(x)) ( x , f ( x )) (often drawn uniformly). In the quantum query model, the tester can apply the oracle ∣ x , b ⟩ ↦ ∣ x , b ⊕ f ( x ) ⟩ |x,b\rangle\mapsto|x,b \oplus f(x)\rangle ∣ x , b ⟩ ↦ ∣ x , b ⊕ f ( x )⟩ to any state coherently. In this paper, we study the quantum sample-based setting, where the tester receives copies of the uniform quantum state
∣ ψ f ⟩ = 2 − n / 2 ∑ x ∈ { 0 , 1 } n ∣ x , f ( x ) ⟩ . (1) |\psi_f\rangle= 2^{-n/2}\sum_{x \in\{0,1\}^{n}} |x,f(x)\rangle. \tag*{(1)} ∣ ψ f ⟩ = 2 − n /2 x ∈ { 0 , 1 } n ∑ ∣ x , f ( x )⟩ . (1)
The tester may perform arbitrary measurements on multiple copies of this state. Our goal is to minimize the number of copies needed to test any property.
Quantum states of the form ∑ x D ( x ) ∣ x , f ( x ) ⟩ \sum_x \sqrt{D(x)}|x,f(x)\rangle ∑ x D ( x ) ∣ x , f ( x )⟩ were first studied in the context of PAC learning in [6 ] . The state in Equation (1) corresponds to taking D D D to be uniform. Quantum examples and related models have since been studied in both learning and property testing [2 , 3 , 11 , 1 ] . Most closely related to our work is that of [10 ] who give a monotonicity tester that uses O ~ ( n 2 / ε 2 ) \widetilde{O}(n^2/\varepsilon^2) O ( n 2 / ε 2 ) copies. The authors also show that for monotonicity, the hard distributions used for classical lower bounds can be distinguished using only a few quantum function states, yielding a trivial lower bound of Ω ( 1 / ε ) \Omega(1/\varepsilon) Ω ( 1/ ε ) copies. In this work, we close this gap by giving matching upper and lower bounds for monotonicity testing in the quantum sample model. Table 1 places our bounds alongside the best known results in other access models.
Table 1. Bounds for monotonicity testing across different access models. Our lower bound holds for 2 − n / 200 ≤ ε ≤ 1 / 128 2^{-\sqrt{n}/200} \le\varepsilon\le1/128 2 − n /200 ≤ ε ≤ 1/128 .
Our results
The following statements summarize the results proved in this paper.
Theorem 1 (Upper bound). For every n ≥ 1 n \ge1 n ≥ 1 , 0 < ε ≤ 1 / 2 0 < \varepsilon\le1/2 0 < ε ≤ 1/2 , and 0 < δ < 1 / 2 0 < \delta< 1/2 0 < δ < 1/2 , there exists a quantum algorithm that uses at most
O ( min { n 3 / 2 ε 2 , n ε 3 } log 1 δ ) O\left(\min\left\{\frac{n^{3/2}}{\varepsilon^2},\frac{n}{\varepsilon^3}\right\}\log\frac{1}{\delta}\right) O ( min { ε 2 n 3/2 , ε 3 n } log δ 1 )
copies of the state ∣ ψ f ⟩ |\psi_f\rangle ∣ ψ f ⟩ to decide, with success probability at least 1 − δ 1-\delta 1 − δ , whether f f f is monotone or ε \varepsilon ε -far from monotone.
Theorem 2 (Lower bound). For 2 − n / 200 ≤ ε ≤ 1 / 128 2^{-\sqrt{n}/200} \le\varepsilon\le1/128 2 − n /200 ≤ ε ≤ 1/128 , any quantum algorithm requires
Ω ( min { n ε 3 , n 3 / 2 ε 2 } ) \Omega\left(\min\left\{\frac{n}{\varepsilon^3},\frac{n^{3/2}}{\varepsilon^2}\right\}\right) Ω ( min { ε 3 n , ε 2 n 3/2 } ) copies of ∣ ψ f ⟩ |\psi_f\rangle ∣ ψ f ⟩ to decide, with success probability at least 2 / 3 2/3 2/3 , whether f f f is monotone or ε \varepsilon ε -far from monotone.
The lower-bound construction can also be applied to at least two other Boolean properties. In particular, a function is union-closed if f ( x ) = f ( y ) = 1 f(x)=f(y)=1 f ( x ) = f ( y ) = 1 implies f ( x ∨ y ) = 1 f(x\lor y)=1 f ( x ∨ y ) = 1 , where x ∨ y x\lor y x ∨ y denotes coordinate-wise OR. Furthermore, a function is 2-monotone if there do not exist x ≺ y ≺ z x\prec y\prec z x ≺ y ≺ z such that f ( x ) = 1 f(x)=1 f ( x ) = 1 , f ( y ) = 0 f(y)=0 f ( y ) = 0 , and f ( z ) = 1 f(z)=1 f ( z ) = 1 where x ≺ y x\prec y x ≺ y refers to coordinate-wise order. We show that the following lower bounds apply.
Theorem 3 (Additional lower bounds). For every 0 < ε ≤ 1 / 256 0 < \varepsilon\le1/256 0 < ε ≤ 1/256 , any quantum algorithm requires Ω ( n 2 ) \Omega(n^2) Ω ( n 2 ) copies of the state ∣ ψ f ⟩ |\psi_f\rangle ∣ ψ f ⟩ to decide, with success probability at least 2 / 3 2/3 2/3 , whether f f f is union-closed or ε \varepsilon ε -far from union-closed. The same holds for testing 2-monotonicity.
Overview of our proofs
Upper bounds. We prove our upper bound using two separate testers.
Our first tester improves on the quantum version of the classical edge tester. The classical edge tester of [15 ] samples a uniformly random edge ( x , y ) (x,y) ( x , y ) of the Boolean hypercube and checks whether it is violated. A monotone function has no violated edges, while a function that is ε \varepsilon ε -far from monotone has a nontrivial probability of violated edges. [10 ] estimate this probability using copies of the quantum function state. Specifically, the probability that a random edge of the Boolean hypercube violates monotonicity can be written using the total influence of the function as well as the first-level Fourier coefficients. The influence can be estimated using Fourier sampling while the first-level coefficients can be estimated from measurements in the computational basis.
Our improvement is to first filter functions that have large influence. This idea appears in the classical query-based monotonicity tester of [16 ] . Since every monotone function has influence at most n \sqrt{n} n , we can first do a coarse estimate to reject functions that have influence much larger than this. In the low-influence regime, the estimator for the influence has lower variance which improves the quantum copy complexity.
Our second tester is based on the classical path tester of [16 ] . While the edge tester only looks at neighboring endpoints of the hypercube, the path tester looks at comparable points farther away. The classical path tester samples a starting point and moves either upward or downward along a random set of coordinates and then checks whether the two endpoints form a violation.
Since we cannot query function values, we construct quantum observables whose expectations reproduce the violation probability of the classical path tester for a specific path length. We estimate these quantities at several path lengths. The structural results of [16 ] , together with the stronger directed isoperimetric inequality of [18 ] , guarantee that some scale has enough violations whenever the function is far from monotone. The stronger inequality is primarily used to eliminate a logarithmic factor in the final bound. Furthermore, as in the Fourier tester, we do a coarse estimate to eliminate functions with high influence, allowing the relevant estimators to have small variance. This gives a tester that uses O ( n / ε 3 ) O(n/\varepsilon^3) O ( n / ε 3 ) copies.
These two testers together establish the upper bound in Theorem 1 .
Lower bounds. For the lower bound, we construct two distributions over Boolean functions: one supported on monotone functions and one supported on functions that are ε \varepsilon ε -far from monotone with high probability. We then show that the corresponding averaged t t t -copy states are difficult to distinguish, even using arbitrary measurements on all copies by bounding the trace distance.
The construction is based on ideas from classical monotonicity lower bounds [5 , 12 ] . We select many small, pairwise incomparable regions of the hypercube and place an independent local function in each region. Outside of these regions, we assign function values that preserve monotonicity whenever the local functions are monotone. Because no point in one region is comparable to a point in another, the monotonicity behavior of different regions do not interfere. The global function is built out of many independent local pieces.
Next, within each region, we choose a smaller band where the local function can vary. Restricting the construction to this band lets us control how much each function contributes to the global distance from monotonicity. Outside of the band, all of the local functions are identical. Inside the band, we use dictators and constant functions for the monotone case. In the far from monotone case, we use reversed dictators to create violations. The width of the band determines how large the local contribution to the distance can be, while the probability of choosing a reversed dictator determines how often such violations occur. By tuning these two parameters, we make the global function ε \varepsilon ε -far from monotone with high probability.
The main difficulty now is to show that the two distributions remain hard to distinguish when the tester receives copies of the quantum function states. Let D y e s \mathcal{D}_{\mathrm{yes}} D yes and D n o \mathcal{D}_{\mathrm{no}} D no denote the two distributions. We want to bound
TD ( E f ∼ D y e s [ ( ∣ ψ f ⟩ ⟨ ψ f ∣ ) ⊗ t ] , E f ∼ D n o [ ( ∣ ψ f ⟩ ⟨ ψ f ∣ ) ⊗ t ] ) . \operatorname{TD}\left(\mathbb{E}_{f\sim\mathcal{D}_{\mathrm{yes}}}\left[\left(|\psi_f\rangle\langle\psi_f|\right)^{\otimes t}\right],\mathbb{E}_{f\sim\mathcal{D}_{\mathrm{no}}}\left[\left(|\psi_f\rangle\langle\psi_f|\right)^{\otimes t}\right]\right). TD ( E f ∼ D yes [ ( ∣ ψ f ⟩ ⟨ ψ f ∣ ) ⊗ t ] , E f ∼ D no [ ( ∣ ψ f ⟩ ⟨ ψ f ∣ ) ⊗ t ] ) .
Classically, the independence between the different regions can be used directly. In the quantum setting, however, the global t t t -copy state does not factor across the regions. To overcome this, we introduce an auxiliary state that is a coherent superposition over different copy numbers, with weights corresponding to a Poisson distribution. In this representation, overlaps between global states factor across the regions. This allows us to analyze each region separately and then combine the resulting bounds. Finally, we transfer the bound back to the original setting with a fixed number of copies.
We consider two ranges of ε \varepsilon ε . When n − 1 / 2 ≤ ε ≤ 1 / 128 n^{-1/2} \le\varepsilon\le1/128 n − 1/2 ≤ ε ≤ 1/128 , we choose the band inside each region to have mass Θ ( ε ) \Theta(\varepsilon) Θ ( ε ) , which gives an Ω ( n / ε 3 ) \Omega(n/\varepsilon^3) Ω ( n / ε 3 ) lower bound. When 2 − n / 200 ≤ ε < n − 1 / 2 2^{-\sqrt{n}/200} \le\varepsilon< n^{-1/2} 2 − n /200 ≤ ε < n − 1/2 , we instead keep the band at mass Θ ( n − 1 / 2 ) \Theta(n^{-1/2}) Θ ( n − 1/2 ) and reduce the probability of choosing a reversed dictator. This gives an Ω ( n 3 / 2 / ε 2 ) \Omega(n^{3/2}/\varepsilon^2) Ω ( n 3/2 / ε 2 ) lower bound. Together, the two regimes match our upper bounds over the stated range of ε \varepsilon ε .
Other properties. The same lower bound framework can also be applied to union-closedness and 2-monotonicity. In particular, we can keep the same incomparable regions and reuse the quantum indistinguishability argument. However, we replace dictators and the reversed dictators by XOR and XNOR functions on pairs of coordinates. This gives the Ω ( n 2 ) \Omega(n^2) Ω ( n 2 ) copy lower bounds for both properties.
Preliminaries
Notation and distance. We write [ n ] : = { 1 , … , n } [n] := \{1,\ldots,n\} [ n ] := { 1 , … , n } and N : = 2 n N := 2^n N := 2 n . Furthermore, unless stated otherwise, all Boolean functions take values in { 0 , 1 } \{0,1\} { 0 , 1 } and probabilities and expectations over { 0 , 1 } n \{0,1\}^n { 0 , 1 } n are computed over the uniform distribution. For x ∈ { 0 , 1 } n x \in\{0,1\}^n x ∈ { 0 , 1 } n , we write ∣ x ∣ : = ∑ i = 1 n x i |x| := \sum_{i=1}^{n} x_i ∣ x ∣ := ∑ i = 1 n x i for its Hamming weight.
We write x ⪯ y x \preceq y x ⪯ y if x i ≤ y i x_i \le y_i x i ≤ y i for every i ∈ [ n ] i \in[n] i ∈ [ n ] , and denote by MON n \operatorname{MON}_n MON n the collection of Boolean functions satisfying f ( x ) ≤ f ( y ) f(x) \le f(y) f ( x ) ≤ f ( y ) whenever x ⪯ y x \preceq y x ⪯ y . For any comparable pair, we call x x x the lower endpoint and y y y the upper endpoint. A pair is a violation if f ( x ) = 1 f(x)=1 f ( x ) = 1 and f ( y ) = 0 f(y)=0 f ( y ) = 0 . Furthermore, it is a violated edge if the endpoints specifically differ in exactly one coordinate.
Quantum examples and copy complexity. For a Boolean function f f f , let ∣ ψ f ⟩ |\psi_f\rangle ∣ ψ f ⟩ be the function state in Equation (1) . We use the terms quantum function state , quantum example , and quantum copy interchangeably. A tester receiving t t t copies may perform an arbitrary joint measurement on ∣ ψ f ⟩ ⊗ t |\psi_f\rangle^{\otimes t} ∣ ψ f ⟩ ⊗ t .
Quantum distance conventions. For density operators ρ \rho ρ and σ \sigma σ , we use trace distance with the normalization
TD ( ρ , σ ) : = 1 2 ∥ ρ − σ ∥ 1 , \operatorname{TD}(\rho,\sigma) := \frac{1}{2}\lVert\rho-\sigma\rVert_1, TD ( ρ , σ ) := 2 1 ∥ ρ − σ ∥ 1 ,
and use the unsquared fidelity
F ( ρ , σ ) : = ∥ ρ σ ∥ 1 . F(\rho,\sigma) := \lVert\sqrt{\rho}\sqrt{\sigma}\rVert_1. F ( ρ , σ ) := ∥ ρ σ ∥ 1 .
Furthermore, ∥ A ∥ 1 : = Tr A † A \lVert A\rVert_1 := \operatorname{Tr}\sqrt{A^\dagger A} ∥ A ∥ 1 := Tr A † A is the trace norm. For density operators, we have that TD ( ρ , σ ) ≤ 1 − F ( ρ , σ ) 2 \operatorname{TD}(\rho,\sigma) \le\sqrt{1-F(\rho,\sigma)^2} TD ( ρ , σ ) ≤ 1 − F ( ρ , σ ) 2 [14 ] . Furthermore, the optimal success probability for distinguishing two equally likely states is ( 1 + TD ( ρ , σ ) ) / 2 (1+\operatorname{TD}(\rho,\sigma))/2 ( 1 + TD ( ρ , σ )) /2 [19 Theorem 3.4] . For a distribution D \mathcal{D} D over functions, the averaged t t t -copy state is given by E f ∼ D [ ( ∣ ψ f ⟩ ⟨ ψ f ∣ ) ⊗ t ] \mathbb{E}_{f\sim\mathcal{D}}[(|\psi_f\rangle\langle\psi_f|)^{\otimes t}] E f ∼ D [( ∣ ψ f ⟩ ⟨ ψ f ∣ ) ⊗ t ] .
Upper bounds on monotonicity testing
We give two algorithms for testing monotonicity from quantum function states, each with a different tradeoff between the dimension n n n and the distance parameter ε \varepsilon ε .
Fourier-based tester
Our first algorithm refines the Fourier-based monotonicity tester introduced in [10 Section 2.2] . We follow their notation and recall the relevant definitions and identities before presenting the improvement.
Let g : { − 1 , 1 } n → { − 1 , 1 } g : \{-1,1\}^{n} \to\{-1,1\} g : { − 1 , 1 } n → { − 1 , 1 } be the sign representation of f f f , obtained by relabeling 0 as 1 and 1 as − 1 -1 − 1 in both the input and output. For i ∈ [ n ] i \in[n] i ∈ [ n ] , let z ⊕ i z^{\oplus i} z ⊕ i denote z z z with its i i i -th coordinate flipped, and define
Inf i [ g ] : = Pr z [ g ( z ) ≠ g ( z ⊕ i ) ] , I [ g ] : = ∑ i = 1 n Inf i [ g ] . \operatorname{Inf}_{i}[g] := \Pr_{z}[g(z) \ne g(z^{\oplus i})], \qquad\mathbf{I}[g] := \sum_{i=1}^{n} \operatorname{Inf}_{i}[g]. Inf i [ g ] := z Pr [ g ( z ) = g ( z ⊕ i )] , I [ g ] := i = 1 ∑ n Inf i [ g ] .
Furthermore, we use
g ^ ( S ) : = E z [ g ( z ) ∏ i ∈ S z i ] \widehat{g}(S) := \mathbb{E}_{z}\left[g(z)\prod_{i\in S}z_i\right] g ( S ) := E z [ g ( z ) i ∈ S ∏ z i ]
for the Fourier coefficients of g g g .
Let p p p denote the probability that a uniformly random edge of the Boolean hypercube violates monotonicity. In particular,
p : = Pr x ∼ { 0 , 1 } n , i ∼ [ n ] [ ( x i = 0 ∧ f ( x ) = 1 ∧ f ( x + e i ) = 0 ) ∨ ( x i = 1 ∧ f ( x ) = 0 ∧ f ( x ⊕ i ) = 1 ) ] , p := \Pr_{\substack{x\sim\{0,1\}^{n},\,i\sim[n]}}\left[(x_i=0\land f(x)=1\land f(x+e_i)=0)\lor(x_i=1\land f(x)=0\land f(x^{\oplus i})=1)\right], p := x ∼ { 0 , 1 } n , i ∼ [ n ] Pr [ ( x i = 0 ∧ f ( x ) = 1 ∧ f ( x + e i ) = 0 ) ∨ ( x i = 1 ∧ f ( x ) = 0 ∧ f ( x ⊕ i ) = 1 ) ] ,
where x x x and i i i are chosen independently and uniformly. As shown in [10 Section 2.2] , we have that
p = 1 2 n ( I [ g ] − ∑ i = 1 n g ^ ( { i } ) ) . (2) p=\frac{1}{2n}\left(\mathbf{I}[g]-\sum_{i=1}^{n}\widehat{g}(\{i\})\right). \tag*{(2)} p = 2 n 1 ( I [ g ] − i = 1 ∑ n g ({ i }) ) . (2)
Furthermore, the classical edge-tester bound (see [15 ] ) implies that
f ∈ MON n ⟹ p = 0 , dist ( f , MON n ) ≥ ε ⟹ p ≥ ε n . (3) f\in\operatorname{MON}_{n}\Longrightarrow p=0,\qquad\operatorname{dist}(f,\operatorname{MON}_{n})\ge\varepsilon\Longrightarrow p\ge\frac{\varepsilon}{n}. \tag*{(3)} f ∈ MON n ⟹ p = 0 , dist ( f , MON n ) ≥ ε ⟹ p ≥ n ε . (3)
The algorithm in [10 ] gives unbiased estimators for both terms in Eq. (2) . Our improvement will use the additional fact that every monotone Boolean function satisfies
I [ g ] ≤ n ; (4) \mathbf{I}[g]\le\sqrt{n}; \tag*{(4)} I [ g ] ≤ n ; (4)
see [17 Section 2.3] . We combine this with improved variance bounds for the estimators.
Proposition 1. There exists a quantum algorithm that, given O ( n 3 / 2 ε 2 log ( 1 / δ ) ) O\left(\frac{n^{3/2}}{\varepsilon^{2}}\log(1/\delta)\right) O ( ε 2 n 3/2 log ( 1/ δ ) ) copies of ∣ ψ f ⟩ = 1 2 n ∑ x ∈ { 0 , 1 } n ∣ x , f ( x ) ⟩ |\psi_f\rangle=\frac{1}{\sqrt{2^{n}}}\sum_{x\in\{0,1\}^{n}}|x,f(x)\rangle ∣ ψ f ⟩ = 2 n 1 ∑ x ∈ { 0 , 1 } n ∣ x , f ( x )⟩ distinguishes monotone functions from functions that are ε \varepsilon ε -far from monotone with probability at least 1 − δ 1-\delta 1 − δ for 0 < δ < 1 / 2 0<\delta<1/2 0 < δ < 1/2 .
Proof. We first construct a tester with error probability at most 1 / 3 1/3 1/3 , and we reduce the error to δ \delta δ by repeating the tester. The algorithm proceeds in two stages. We first perform a coarse estimate I ^ 0 \widehat{I}_0 I 0 of the influence I [ g ] \mathbf{I}[g] I [ g ] and reject if I ^ 0 > 3 2 n \widehat{I}_0>\frac{3}{2}\sqrt{n} I 0 > 2 3 n . If this step does not reject, we estimate p p p using the expression in Eq. (2) and the estimators from [10 Section 2.2] . Filtering on the high-influence case is also part of the classical argument in [16 Section 7.3] ; here, this estimate is obtained from Fourier samples.
We begin by bounding the variance of these estimators. Specifically, to estimate the total influence I [ g ] \mathbf{I}[g] I [ g ] , [10 ] use Fourier-sampling. Apply H ⊗ ( n + 1 ) H^{\otimes(n+1)} H ⊗ ( n + 1 ) to a quantum function state and measure in the computational basis. The last qubit is 1 with probability 1 / 2 1/2 1/2 , and conditional on this outcome, the first n n n qubits give a set S ⊆ [ n ] S \subseteq[n] S ⊆ [ n ] with probability g ^ ( S ) 2 \widehat{g}(S)^2 g ( S ) 2 . Define Y = 2 ∣ S ∣ Y = 2|S| Y = 2∣ S ∣ when the last qubit is 1, and Y = 0 Y = 0 Y = 0 otherwise. Then, E [ Y ] = I [ g ] \mathbb{E}[Y] = \mathrm{I}[g] E [ Y ] = I [ g ] . Furthermore, we have that
Var ( Y ) ≤ E [ Y 2 ] = 2 ∑ S ⊆ [ n ] ∣ S ∣ 2 g ^ ( S ) 2 ≤ 2 n I [ g ] . (5) \operatorname{Var}(Y) \leq\mathbb{E}[Y^2] = 2\sum_{S\subseteq[n]} |S|^2\widehat{g}(S)^2 \leq2n\mathrm{I}[g]. \tag*{(5)} Var ( Y ) ≤ E [ Y 2 ] = 2 S ⊆ [ n ] ∑ ∣ S ∣ 2 g ( S ) 2 ≤ 2 n I [ g ] . (5)
where we have used that ∣ S ∣ ≤ n |S| \leq n ∣ S ∣ ≤ n in the last inequality.
Next, to estimate ∑ i = 1 n g ^ ( { i } ) \sum_{i=1}^n \widehat{g}(\{i\}) ∑ i = 1 n g ({ i }) , [10 ] measure the quantum function state in the computational basis. This gives a uniformly random labeled example ( z , g ( z ) ) (z,g(z)) ( z , g ( z )) (in the sign representation). The estimator for g ^ ( { i } ) \widehat{g}(\{i\}) g ({ i }) is g ( z ) z i g(z)z_i g ( z ) z i so we can define
Z : = g ( z ) ∑ i = 1 n z i . Z := g(z)\sum_{i=1}^{n} z_i. Z := g ( z ) i = 1 ∑ n z i .
Then, we have E [ Z ] = ∑ i = 1 n g ^ ( { i } ) \mathbb{E}[Z] = \sum_{i=1}^n \widehat{g}(\{i\}) E [ Z ] = ∑ i = 1 n g ({ i }) . Furthermore, we get
Var ( Z ) ≤ E [ Z 2 ] = E z [ ( ∑ i = 1 n z i ) 2 ] = ∑ i = 1 n E z [ z i 2 ] + ∑ i ≠ j E z [ z i z j ] = n . (6) \begin{aligned}
\operatorname{Var}(Z) &\leq\mathbb{E}[Z^2] = \mathbb{E}_z\left[\left(\sum_{i=1}^{n}z_i\right)^2\right] \\
&= \sum_{i=1}^{n}\mathbb{E}_z[z_i^2] + \sum_{i\ne j}\mathbb{E}_z[z_i z_j] = n. \tag*{(6)}
\end{aligned} Var ( Z ) ≤ E [ Z 2 ] = E z ( i = 1 ∑ n z i ) 2 = i = 1 ∑ n E z [ z i 2 ] + i = j ∑ E z [ z i z j ] = n . (6)
where we used that g ( z ) 2 = 1 g(z)^2=1 g ( z ) 2 = 1 for all z z z and z i z_i z i and z j z_j z j are independent for all i ≠ j i\ne j i = j .
We now analyze the first stage of the algorithm. Let C > 0 C>0 C > 0 be a constant to be chosen later, and let m 0 = ⌈ C n ⌉ m_0=\lceil C\sqrt{n}\rceil m 0 = ⌈ C n ⌉ . Using m 0 m_0 m 0 independent samples of Y Y Y , define
I ^ 0 : = 1 m 0 ∑ r = 1 m 0 Y r . \widehat{\mathrm{I}}_0 := \frac{1}{m_0}\sum_{r=1}^{m_0}Y_r. I 0 := m 0 1 r = 1 ∑ m 0 Y r .
Then, we have that
E [ I ^ 0 ] = I [ g ] , Var ( I ^ 0 ) ≤ 2 n I [ g ] m 0 . \mathbb{E}[\widehat{\mathrm{I}}_0] = \mathrm{I}[g], \qquad\operatorname{Var}(\widehat{\mathrm{I}}_0) \leq\frac{2n\mathrm{I}[g]}{m_0}. E [ I 0 ] = I [ g ] , Var ( I 0 ) ≤ m 0 2 n I [ g ] .
The tester rejects if I ^ 0 > 3 2 n \widehat{\mathrm{I}}_0 > \frac{3}{2}\sqrt{n} I 0 > 2 3 n . If f f f is monotone, then I [ g ] ≤ n \mathrm{I}[g]\leq\sqrt{n} I [ g ] ≤ n by (4) . By Chebyshev’s inequality,
Pr [ I ^ 0 > 3 2 n ] ≤ 2 n I [ g ] m 0 ( n / 2 ) 2 ≤ 8 C . (7) \Pr\left[\widehat{\mathrm{I}}_0 > \frac{3}{2}\sqrt{n}\right] \leq\frac{2n\mathrm{I}[g]}{m_0(\sqrt{n}/2)^2} \leq\frac{8}{C}. \tag*{(7)} Pr [ I 0 > 2 3 n ] ≤ m 0 ( n /2 ) 2 2 n I [ g ] ≤ C 8 . (7)
Therefore, a function that is monotone succeeds with probability at least 1 − 8 / C 1-8/C 1 − 8/ C . On the other hand, if I [ g ] ≥ 2 n \mathrm{I}[g]\geq2\sqrt{n} I [ g ] ≥ 2 n , then I [ g ] − 3 2 n ≥ I [ g ] / 4 \mathrm{I}[g]-\frac{3}{2}\sqrt{n}\geq\mathrm{I}[g]/4 I [ g ] − 2 3 n ≥ I [ g ] /4 . Applying Chebyshev’s inequality once more, we have
Pr [ I ^ 0 ≤ 3 2 n ] ≤ 2 n I [ g ] m 0 ( I [ g ] − 3 2 n ) 2 ≤ 32 n m 0 I [ g ] ≤ 16 C . (8) \Pr\left[\widehat{\mathrm{I}}_0 \leq\frac{3}{2}\sqrt{n}\right] \leq\frac{2n\mathrm{I}[g]}{m_0(\mathrm{I}[g]-\frac{3}{2}\sqrt{n})^2}
\leq\frac{32n}{m_0\mathrm{I}[g]} \leq\frac{16}{C}. \tag*{(8)} Pr [ I 0 ≤ 2 3 n ] ≤ m 0 ( I [ g ] − 2 3 n ) 2 2 n I [ g ] ≤ m 0 I [ g ] 32 n ≤ C 16 . (8)
Hence, functions with influence at least 2 n 2\sqrt{n} 2 n are rejected with probability at least 1 − 16 / C 1-16/C 1 − 16/ C in the first stage of the algorithm. We now analyze the second stage.
If the first stage has not rejected, we use m I = ⌈ C n 3 / 2 ε 2 ⌉ m_I=\left\lceil\frac{Cn^{3/2}}{\varepsilon^2}\right\rceil m I = ⌈ ε 2 C n 3/2 ⌉ copies to obtain samples of Y Y Y , whose average we can denote by I ^ \widehat{\mathrm{I}} I . Furthermore, we use m G = ⌈ C n ε 2 ⌉ m_G=\left\lceil\frac{Cn}{\varepsilon^2}\right\rceil m G = ⌈ ε 2 C n ⌉ fresh copies to obtain uniformly random labeled examples. Averaging the corresponding values of Z Z Z gives the estimate ∑ i = 1 n g ~ i \sum_{i=1}^{n}\widetilde{g}_i ∑ i = 1 n g i of E [ Z ] \mathbb{E}[Z] E [ Z ] , where
g ~ i : = 1 m G ∑ r = 1 m G g ( z ( r ) ) z i ( r ) , i ∈ [ n ] . \widetilde{g}_i := \frac{1}{m_G}\sum_{r=1}^{m_G} g(z^{(r)})z_i^{(r)},\qquad i\in[n]. g i := m G 1 r = 1 ∑ m G g ( z ( r ) ) z i ( r ) , i ∈ [ n ] .
We can then compute
p ^ : = 1 2 n ( I ^ − ∑ i = 1 n g ~ i ) , \widehat{p}:=\frac{1}{2n}\left(\widehat{I}-\sum_{i=1}^{n}\widetilde{g}_i\right), p := 2 n 1 ( I − i = 1 ∑ n g i ) ,
and reject if p ^ > ε / ( 2 n ) \widehat{p}>\varepsilon/(2n) p > ε / ( 2 n ) .
To analyze the remaining case, suppose that I [ g ] < 2 n I[g]<2\sqrt{n} I [ g ] < 2 n . We have by Equation (5) ,
Var ( I ^ ) ≤ 2 n I [ g ] m I ≤ 4 n 3 / 2 m I ≤ 4 ε 2 C . \operatorname{Var}(\widehat{I})\leq\frac{2nI[g]}{m_I}\leq\frac{4n^{3/2}}{m_I}\leq\frac{4\varepsilon^2}{C}. Var ( I ) ≤ m I 2 n I [ g ] ≤ m I 4 n 3/2 ≤ C 4 ε 2 .
Furthermore, from Equation (6) , we have
Var ( ∑ i = 1 n g ~ i ) ≤ n m G ≤ ε 2 C . \operatorname{Var}\left(\sum_{i=1}^{n}\widetilde{g}_i\right)\leq\frac{n}{m_G}\leq\frac{\varepsilon^2}{C}. Var ( i = 1 ∑ n g i ) ≤ m G n ≤ C ε 2 .
Therefore,
E [ p ^ ] = p , Var ( p ^ ) ≤ 1 4 n 2 ( 4 ε 2 C + ε 2 C ) = 5 ε 2 4 C n 2 . \mathbb{E}[\widehat{p}]=p,\qquad\operatorname{Var}(\widehat{p})\leq\frac{1}{4n^2}\left(\frac{4\varepsilon^2}{C}+\frac{\varepsilon^2}{C}\right)=\frac{5\varepsilon^2}{4Cn^2}. E [ p ] = p , Var ( p ) ≤ 4 n 2 1 ( C 4 ε 2 + C ε 2 ) = 4 C n 2 5 ε 2 .
Applying Chebyshev’s inequality, we get
Pr [ ∣ p ^ − p ∣ > ε 4 n ] ≤ 5 ε 2 / ( 4 C n 2 ) ε 2 / ( 16 n 2 ) = 20 C . (9) \Pr\left[|\widehat{p}-p|>\frac{\varepsilon}{4n}\right]\leq\frac{5\varepsilon^2/(4Cn^2)}{\varepsilon^2/(16n^2)}=\frac{20}{C}. \tag*{(9)} Pr [ ∣ p − p ∣ > 4 n ε ] ≤ ε 2 / ( 16 n 2 ) 5 ε 2 / ( 4 C n 2 ) = C 20 . (9)
If f f f is monotone, then p = 0 p=0 p = 0 . Whenever ∣ p ^ − p ∣ ≤ ε / ( 4 n ) |\widehat{p}-p|\leq\varepsilon/(4n) ∣ p − p ∣ ≤ ε / ( 4 n ) , we have
p ^ ≤ ε 4 n < ε 2 n , \widehat{p}\leq\frac{\varepsilon}{4n}<\frac{\varepsilon}{2n}, p ≤ 4 n ε < 2 n ε ,
and we accept. If f f f is ε \varepsilon ε -far from monotone, then p ≥ ε / n p\geq\varepsilon/n p ≥ ε / n by Equation (3) . Therefore,
p ^ ≥ p − ε 4 n ≥ 3 ε 4 n > ε 2 n , \widehat{p}\geq p-\frac{\varepsilon}{4n}\geq\frac{3\varepsilon}{4n}>\frac{\varepsilon}{2n}, p ≥ p − 4 n ε ≥ 4 n 3 ε > 2 n ε ,
and the second stage rejects.
Combining the two stages, the probability of incorrectly rejecting a monotone function is, by Equation (7) and Equation (9) , at most
8 C + 20 C = 28 C . \frac{8}{C}+\frac{20}{C}=\frac{28}{C}. C 8 + C 20 = C 28 .
Next, if a function is ε \varepsilon ε -far from monotone and it satisfies I [ g ] ≥ 2 n I[g]\geq2\sqrt{n} I [ g ] ≥ 2 n , the probability that it gets accepted is at most 16 / C 16/C 16/ C by Equation (8) . For a function that is ε \varepsilon ε -far from monotone and has I [ g ] < 2 n I[g]<2\sqrt{n} I [ g ] < 2 n , the probability that it gets accepted is at most 20 / C 20/C 20/ C by Equation (9) . Therefore, choosing C = 84 C=84 C = 84 makes the error probability at most 1 / 3 1/3 1/3 in every promised case.
To achieve error probability at most 1 / 3 1/3 1/3 , the algorithm uses at most
m 0 + m I + m G = O ( n + n 3 / 2 ε 2 + n ε 2 ) = O ( n 3 / 2 ε 2 ) . m_0+m_I+m_G=O\left(\sqrt{n}+\frac{n^{3/2}}{\varepsilon^2}+\frac{n}{\varepsilon^2}\right)=O\left(\frac{n^{3/2}}{\varepsilon^2}\right). m 0 + m I + m G = O ( n + ε 2 n 3/2 + ε 2 n ) = O ( ε 2 n 3/2 ) .
copies. Finally, by Hoeffding’s inequality, repeating the algorithm independently O ( log ( 1 / δ ) ) O(\log(1/\delta)) O ( log ( 1/ δ )) times and taking the majority outcome reduces the error probability to at most δ \delta δ . The total copy complexity is therefore
O ( n 3 / 2 log ( 1 / δ ) ε 2 ) O\left(\frac{n^{3/2}\log(1/\delta)}{\varepsilon^2}\right) O ( ε 2 n 3/2 log ( 1/ δ ) )
Path-based observable
We first describe the tester and then prove correctness and bound the copy complexity in subsequent sections. For a constant n 0 n_0 n 0 , all n ≥ n 0 n \ge n_0 n ≥ n 0 , and n − 1 / 2 ≤ ε ≤ 1 / 2 n^{-1/2} \le\varepsilon\le1/2 n − 1/2 ≤ ε ≤ 1/2 , let
D n = { 1 , 2 , 4 , … , 2 ⌊ log 2 n ⌋ } , \mathcal{D}_n = \{1,2,4,\ldots,2^{\lfloor\log_2 n\rfloor}\}, D n = { 1 , 2 , 4 , … , 2 ⌊ l o g 2 n ⌋ } ,
and for each d ∈ D n d \in\mathcal{D}_n d ∈ D n define
t d = max { 1 , ⌊ c 0 ε n d − 5 / 8 ⌋ } , a d = c 1 ε t d d 3 / 8 n . t_d = \max\{1,\lfloor c_0\varepsilon\sqrt{n}d^{-5/8}\rfloor\}, \qquad a_d = \frac{c_1\varepsilon t_d d^{3/8}}{n}. t d = max { 1 , ⌊ c 0 ε n d − 5/8 ⌋} , a d = n c 1 ε t d d 3/8 .
The constants c 0 c_0 c 0 , c 1 c_1 c 1 are fixed in Lemma 6. Furthermore, consider the observables Q d Q_d Q d and H d ⊗ Z H_d \otimes Z H d ⊗ Z , defined in § 3.2.2 which depend only on n n n , ε \varepsilon ε , and d d d . If U d U_d U d and V d V_d V d denote their measurement outcomes, then we show that
E [ 1 2 U d − 1 4 V d ] = p t d ( f ) , \mathbb{E}\left[\frac{1}{2}U_d-\frac{1}{4}V_d\right]=p_{t_d}(f), E [ 2 1 U d − 4 1 V d ] = p t d ( f ) ,
where p t d ( f ) p_{t_d}(f) p t d ( f ) is the violation probability of the corresponding path experiment. The tester proceeds as follows.
Use
m 0 = ⌈ 96 n ⌉ m_0=\lceil96\sqrt{n}\rceil m 0 = ⌈ 96 n ⌉
copies to obtain the coarse influence estimate from § 3.1 . Reject if
I ^ 0 > 3 2 n . \widehat{I}_0>\frac{3}{2}\sqrt{n}. I 0 > 2 3 n .
For each d ∈ D n d \in\mathcal{D}_n d ∈ D n , let
m d = ⌈ 64 C e s t c 1 2 n 3 / 2 ε 2 t d d 3 / 4 ⌉ , r d = min { r ∈ N : r is odd and r ≥ 8 log ( 12 d ) } , m_d=\left\lceil\frac{64C_{\mathrm{est}}}{c_1^2}\frac{n^{3/2}}{\varepsilon^2t_d d^{3/4}}\right\rceil,\qquad r_d=\min\{r\in\mathbb{N}: r\text{ is odd and }r\ge8\log(12d)\}, m d = ⌈ c 1 2 64 C est ε 2 t d d 3/4 n 3/2 ⌉ , r d = min { r ∈ N : r is odd and r ≥ 8 log ( 12 d )} ,
where C e s t C_{\mathrm{est}} C est is the variance constant from (21) .
For each of the r d r_d r d repetitions, measure Q d Q_d Q d on m d m_d m d fresh copies and H d ⊗ Z H_d\otimes Z H d ⊗ Z on another m d m_d m d fresh copies. Let U ‾ d \overline{U}_d U d and V ‾ d \overline{V}_d V d denote the corresponding empirical means, and set
p ^ d = 1 2 U ‾ d − 1 4 V ‾ d . \widehat{p}_d=\frac{1}{2}\overline{U}_d-\frac{1}{4}\overline{V}_d. p d = 2 1 U d − 4 1 V d .
Let p ~ d \widetilde{p}_d p d be the median of the resulting r d r_d r d estimates.
Reject if
p ~ d ≥ a d 2 \widetilde{p}_d\ge\frac{a_d}{2} p d ≥ 2 a d
for some d ∈ D n d\in\mathcal{D}_n d ∈ D n . Otherwise, accept.
All of the measurements use independent copies, including the preliminary influence estimate. We will show that the tester above has constant error. To reduce the error to δ \delta δ , we repeat the entire procedure independently and take a majority vote.
Structural bound and path analysis
We begin by stating the isoperimetric inequality of [18 Theorem 2.9] , which we will use to refine the path analysis of [16 ] . This stronger structural input, together with the choice of degree scales below, removes a logarithmic loss from the copy bound. We adapt the notation from [18 ] .
We use E E E for graph edges and S ⊆ [ n ] S \subseteq[n] S ⊆ [ n ] for coordinate sets; these play different roles in the path analysis. Given a function f f f , let E f − E_f^{-} E f − denote the set of violated edges:
E f − : = { { x , y } : x ⪯ y , ∣ y ∣ − ∣ x ∣ = 1 , f ( x ) = 1 , f ( y ) = 0 } . (10) E_f^{-} := \{\{x,y\}: x \preceq y,\ |y|-|x|=1,\ f(x)=1,\ f(y)=0\}. \tag*{(10)} E f − := {{ x , y } : x ⪯ y , ∣ y ∣ − ∣ x ∣ = 1 , f ( x ) = 1 , f ( y ) = 0 } . (10)
For a coloring col : E f − → { red , blue } \operatorname{col}: E_f^{-} \to\{\text{red},\text{blue}\} col : E f − → { red , blue } that assigns each violated edge to either be red or blue, let I f , col − ( x ) I_{f,\operatorname{col}}^{-}(x) I f , col − ( x ) count the number of red edges incident on x x x if f ( x ) = 1 f(x)=1 f ( x ) = 1 and the number of blue edges incident on x x x if f ( x ) = 0 f(x)=0 f ( x ) = 0 . Each violated edge is then counted at exactly one endpoint. The following theorem from [18 ] lower bounds the average of I f , col − ( x ) \sqrt{I_{f,\operatorname{col}}^{-}(x)} I f , col − ( x ) in terms of the distance of f f f from monotonicity over all colorings.
Theorem 4 ([18 Theorem 2.9] ). There is an absolute constant κ > 0 \kappa>0 κ > 0 such that, for every Boolean function f : { 0 , 1 } n → { 0 , 1 } f:\{0,1\}^{n}\to\{0,1\} f : { 0 , 1 } n → { 0 , 1 } that is ε \varepsilon ε -far from monotone and every coloring col \operatorname{col} col of E f − E_f^{-} E f − into red and blue,
E x ∼ Unif ( { 0 , 1 } n ) [ I f , col − ( x ) ] ≥ κ ε . (11) \mathbb{E}_{x\sim\operatorname{Unif}(\{0,1\}^{n})}\left[\sqrt{I_{f,\operatorname{col}}^{-}(x)}\right] \ge\kappa\varepsilon. \tag*{(11)} E x ∼ Unif ({ 0 , 1 } n ) [ I f , col − ( x ) ] ≥ κ ε . (11)
Next, we use Theorem 4 to adapt the degree-removal argument of [16 Lemma 6.5] .
Lemma 5 (Adapted from [16 Lemma 6.5] ). There is an absolute constant c > 0 c>0 c > 0 such that the following holds. Let n ≥ 1 n\ge1 n ≥ 1 , and suppose that f : { 0 , 1 } n → { 0 , 1 } f:\{0,1\}^{n}\to\{0,1\} f : { 0 , 1 } n → { 0 , 1 } is ε \varepsilon ε -far from monotone, where ε > 0 \varepsilon>0 ε > 0 . Then there exist a power of two 1 ≤ d ≤ n 1\le d\le n 1 ≤ d ≤ n , a value b ∈ { 0 , 1 } b\in\{0,1\} b ∈ { 0 , 1 } , and a bipartite graph G = ( A , B , E ) G=(A,B,E) G = ( A , B , E ) with
A ⊆ f − 1 ( b ) , B ⊆ f − 1 ( 1 − b ) , E ⊆ E f − , A\subseteq f^{-1}(b), \qquad B\subseteq f^{-1}(1-b), \qquad E\subseteq E_f^{-}, A ⊆ f − 1 ( b ) , B ⊆ f − 1 ( 1 − b ) , E ⊆ E f − , such that
deg G ( y ) = d for every y ∈ B , deg G ( x ) ≤ 2 d for every x ∈ A , \deg_G(y)=d \quad\text{for every } y\in B, \qquad\deg_G(x)\le2d \quad\text{for every } x\in A, deg G ( y ) = d for every y ∈ B , deg G ( x ) ≤ 2 d for every x ∈ A , and, writing σ = ∣ B ∣ / 2 n \sigma=|B|/2^{n} σ = ∣ B ∣/ 2 n for the uniform mass of B B B ,
σ ≥ c e d − 5 / 8 . (12) \sigma\ge ced^{-5/8}. \tag*{(12)} σ ≥ ce d − 5/8 . (12)
Proof. Let E f − E_f^{-} E f − be the edges of a bipartite graph with vertex classes f − 1 ( 1 ) f^{-1}(1) f − 1 ( 1 ) and f − 1 ( 0 ) f^{-1}(0) f − 1 ( 0 ) . In particular, every edge joins an endpoint labeled 1 to an endpoint labeled 0. Let
D n : = { 1 , 2 , 4 , … , 2 ⌊ log 2 n ⌋ } . (13) D_n := \{1,2,4,\ldots,2^{\lfloor\log_2 n\rfloor}\}. \tag*{(13)} D n := { 1 , 2 , 4 , … , 2 ⌊ l o g 2 n ⌋ } . (13)
We will process the values d ∈ D n d\in D_n d ∈ D n in decreasing order. For any d d d , let U d U_d U d and V d V_d V d be all sets of vertices of current degree at least d d d with labels 1 and 0, respectively. Remove these vertices and all incident edges.
Note that at the beginning of the d d d -th round, the maximum degree of every vertex remaining is less than 2 d 2d 2 d . Furthermore, after the d d d -th round, all degrees are less than d d d (and the property is always satisfied). After the last round with d = 1 d=1 d = 1 , no edges can remain.
Next, for each edge in the graph, assign it to the vertex that was removed first, breaking ties arbitrarily. Color the edge red if it has been assigned to the lower (in coordinatewise partial order) vertex and blue otherwise. By definition, I f , col − ( x ) I_{f,\operatorname{col}}^{-}(x) I f , col − ( x ) is exactly the number of edges assigned to x x x under this coloring. Note that any vertex removed at scale d d d has to be assigned fewer than 2 d 2d 2 d edges. We can write, using Equation (11) ,
κ ε 2 n ≤ ∑ x ∈ { 0 , 1 } n I f , c o l ( x ) ≤ ∑ d ∈ D n ( ∣ U d ∣ + ∣ V d ∣ ) 2 d . \kappa\varepsilon2^n \le\sum_{x\in\{0,1\}^n}\sqrt{I_{f,\mathrm{col}}(x)} \le\sum_{d\in\mathcal{D}_n} (|U_d|+|V_d|)\sqrt{2d}. κ ε 2 n ≤ x ∈ { 0 , 1 } n ∑ I f , col ( x ) ≤ d ∈ D n ∑ ( ∣ U d ∣ + ∣ V d ∣ ) 2 d .
Here exactly ∣ U d ∣ + ∣ V d ∣ |U_d|+|V_d| ∣ U d ∣ + ∣ V d ∣ vertices are removed at scale d d d , and each such vertex is assigned fewer than 2 d 2d 2 d edges. The removal groups are disjoint; vertices that are never removed are assigned no edges and contribute zero.
This implies that
∑ d ∈ D n ∣ U d ∣ + ∣ V d ∣ 2 n d ≥ κ ε 2 . (14) \sum_{d\in\mathcal{D}_n}\frac{|U_d|+|V_d|}{2^n}\sqrt{d}\ge\frac{\kappa\varepsilon}{\sqrt{2}}. \tag*{(14)} d ∈ D n ∑ 2 n ∣ U d ∣ + ∣ V d ∣ d ≥ 2 κ ε . (14)
If max { ∣ U d ∣ , ∣ V d ∣ } < c ε 2 n d − 5 / 8 \max\{|U_d|,|V_d|\}<c\varepsilon2^n d^{-5/8} max { ∣ U d ∣ , ∣ V d ∣ } < c ε 2 n d − 5/8 for every d ∈ D n d\in\mathcal{D}_n d ∈ D n , then
∑ d ∈ D n ∣ U d ∣ + ∣ V d ∣ 2 n d < 2 c ε ∑ j = 0 ∞ 2 − j / 8 = κ ε 2 2 , \sum_{d\in\mathcal{D}_n}\frac{|U_d|+|V_d|}{2^n}\sqrt{d}<2c\varepsilon\sum_{j=0}^{\infty}2^{-j/8}=\frac{\kappa\varepsilon}{2\sqrt{2}}, d ∈ D n ∑ 2 n ∣ U d ∣ + ∣ V d ∣ d < 2 c ε j = 0 ∑ ∞ 2 − j /8 = 2 2 κ ε ,
where c = κ ( 1 − 2 − 1 / 8 ) / ( 4 2 ) c=\kappa(1-2^{-1/8})/(4\sqrt{2}) c = κ ( 1 − 2 − 1/8 ) / ( 4 2 ) . This contradicts Equation (14) . Hence, for some d ∈ D n d\in\mathcal{D}_n d ∈ D n ,
max { ∣ U d ∣ , ∣ V d ∣ } ≥ c ε 2 n d − 5 / 8 . \max\{|U_d|,|V_d|\}\ge c\varepsilon2^n d^{-5/8}. max { ∣ U d ∣ , ∣ V d ∣ } ≥ c ε 2 n d − 5/8 .
Now, let d d d be the scale found above, and choose B ∈ { U d , V d } B\in\{U_d,V_d\} B ∈ { U d , V d } such that
∣ B ∣ ≥ c ε 2 n d − 5 / 8 . |B|\ge c\varepsilon2^n d^{-5/8}. ∣ B ∣ ≥ c ε 2 n d − 5/8 .
Let H H H be the current graph immediately before the d d d -round, and let A A A be the set of all neighbours of B B B in H H H . Thus A A A lies on the opposite side from B B B but need not equal the other selected set U d U_d U d or V d V_d V d . Every vertex in B B B has degree at least d d d in H H H . For each y ∈ B y\in B y ∈ B , retain exactly d d d incident edges, and let E E E be the set of all retained edges. Since each edge has exactly one endpoint in B B B , the resulting graph G = ( A , B , E ) G=(A,B,E) G = ( A , B , E ) satisfies
deg G ( y ) = d for every y ∈ B . \deg_G(y)=d \quad\text{for every }y\in B. deg G ( y ) = d for every y ∈ B .
Moreover, deleting edges cannot increase degrees, so
deg G ( x ) ≤ deg H ( x ) < 2 d for every x ∈ A . \deg_G(x)\le\deg_H(x)<2d \quad\text{for every }x\in A. deg G ( x ) ≤ deg H ( x ) < 2 d for every x ∈ A .
The set B B B is unchanged, and hence σ = ∣ B ∣ / 2 n ≥ c ε d − 5 / 8 \sigma=|B|/2^n\ge c\varepsilon d^{-5/8} σ = ∣ B ∣/ 2 n ≥ c ε d − 5/8 . □
Next, we establish the classical soundness bound needed for the quantum estimator. Recall that the total influence of a function f f f is defined as
I [ f ] : = ∑ i = 1 n Pr x ∼ Unif ( { 0 , 1 } n ) [ f ( x ) ≠ f ( x ⊕ i ) ] , \operatorname{I}[f]:=\sum_{i=1}^{n}\Pr_{x\sim\operatorname{Unif}(\{0,1\}^n)}[f(x)\ne f(x^{\oplus i})], I [ f ] := i = 1 ∑ n x ∼ Unif ({ 0 , 1 } n ) Pr [ f ( x ) = f ( x ⊕ i )] ,
where x ⊕ i x^{\oplus i} x ⊕ i denotes x x x with its i i i -th coordinate flipped. As was done in § 3.1 , we will use a coarse estimate of the total influence to handle the high-influence case separately. The classical lemma below therefore considers functions satisfying I [ f ] ≤ 2 n \operatorname{I}[f]\le2\sqrt{n} I [ f ] ≤ 2 n . We adapt the persistence and path-counting argument of [16 ] .
Following [16 ] , we focus our analysis on violations of monotonicity in the middle layers of the Boolean hypercube. However, unlike [16 ] , we will use a band whose width depends on ε \varepsilon ε in order to sharpen the complexity bound for our quantum tester. Let
w : = ⌈ n 2 log 100 ε ⌉ , B : = { x ∈ { 0 , 1 } n : ∣ ∣ x ∣ − n 2 ∣ ≤ w } . (15) w := \left\lceil\sqrt{\frac{n}{2}\log\frac{100}{\varepsilon}} \right\rceil,\qquad
B := \left\{x \in\{0,1\}^{n} : \left||x|-\frac{n}{2}\right| \le w\right\}. \tag*{(15)} w := ⌈ 2 n log ε 100 ⌉ , B := { x ∈ { 0 , 1 } n : ∣ x ∣ − 2 n ≤ w } . (15)
We now describe a procedure for finding a violation in B B B whose success probability the quantum tester will estimate.
Given an integer t ≥ 1 t \ge1 t ≥ 1 , sample x ∈ { 0 , 1 } n x \in\{0,1\}^{n} x ∈ { 0 , 1 } n uniformly at random. Independently, choose upward or downward with equal probability. If the direction is upward, choose a uniformly random subset
S ⊆ { i ∈ [ n ] : x i = 0 } S \subseteq\{i \in[n] : x_i = 0\} S ⊆ { i ∈ [ n ] : x i = 0 }
of size t t t , and define y ∈ { 0 , 1 } n y \in\{0,1\}^{n} y ∈ { 0 , 1 } n by
y i = { 1 , i ∈ S , x i , i ∉ S . y_i =
\begin{cases}
1, & i \in S,\\
x_i, & i \notin S.
\end{cases} y i = { 1 , x i , i ∈ S , i ∈ / S .
If the direction is downward, choose a uniformly random subset
S ⊆ { i ∈ [ n ] : x i = 1 } S \subseteq\{i \in[n] : x_i = 1\} S ⊆ { i ∈ [ n ] : x i = 1 }
of size t t t , and define y ∈ { 0 , 1 } n y \in\{0,1\}^{n} y ∈ { 0 , 1 } n by
y i = { 0 , i ∈ S , x i , i ∉ S . y_i =
\begin{cases}
0, & i \in S,\\
x_i, & i \notin S.
\end{cases} y i = { 0 , x i , i ∈ S , i ∈ / S .
If fewer than t t t coordinates are available in the chosen direction or if either x x x or y y y lies outside B B B , the procedure fails. Otherwise, it succeeds if
( f ( x ) , f ( y ) ) = { ( 1 , 0 ) , upward , ( 0 , 1 ) , downward . (f(x),f(y)) =
\begin{cases}
(1,0), & \text{upward},\\
(0,1), & \text{downward}.
\end{cases} ( f ( x ) , f ( y )) = { ( 1 , 0 ) , ( 0 , 1 ) , upward , downward .
We let p t ( f ) p_t(f) p t ( f ) denote its success probability. The following lemma gives a lower bound on this probability for a suitable choice of t t t when f f f is ε \varepsilon ε -far from monotone and I [ f ] ≤ 2 n \mathbf{I}[f] \le2\sqrt{n} I [ f ] ≤ 2 n .
Lemma 6 (Path soundness). There are absolute constants c 0 , c 1 , n 0 > 0 c_0,c_1,n_0 > 0 c 0 , c 1 , n 0 > 0 such that the following holds. Let n ≥ n 0 n \ge n_0 n ≥ n 0 and 0 < ε ≤ 1 / 2 0 < \varepsilon\le1/2 0 < ε ≤ 1/2 . For each
d ∈ D n : = { 1 , 2 , 4 , … , 2 ⌊ log 2 n ⌋ } , d \in\mathcal{D}_n := \{1,2,4,\ldots,2^{\lfloor\log_2 n\rfloor}\}, d ∈ D n := { 1 , 2 , 4 , … , 2 ⌊ l o g 2 n ⌋ } , define
t d : = max { 1 , ⌈ c 0 ε n d − 5 / 8 ⌉ } . t_d := \max\left\{1,\left\lceil c_0\varepsilon\sqrt{n}d^{-5/8}\right\rceil\right\}. t d := max { 1 , ⌈ c 0 ε n d − 5/8 ⌉ } . If f : { 0 , 1 } n → { 0 , 1 } f:\{0,1\}^{n} \to\{0,1\} f : { 0 , 1 } n → { 0 , 1 } is ε \varepsilon ε -far from monotone and I [ f ] ≤ 2 n \mathbf{I}[f] \le2\sqrt{n} I [ f ] ≤ 2 n , then for some d ∈ D n d \in\mathcal{D}_n d ∈ D n ,
p t d ( f ) ≥ c 1 ε t d d 3 / 8 n . p_{t_d}(f) \ge\frac{c_1\varepsilon t_d d^{3/8}}{n}. p t d ( f ) ≥ n c 1 ε t d d 3/8 .
The proof is given in Appendix § 6 .§ 1 .
Quantum path estimator
We now construct the two measurements used by the path tester. We keep the lengths t d t_d t d from Lemma 6 and assume n ≥ n 0 n \ge n_0 n ≥ n 0 and n − 1 / 2 ≤ ε ≤ 1 / 2 n^{-1/2} \le\varepsilon\le1/2 n − 1/2 ≤ ε ≤ 1/2 throughout this subsection. As in § 3.1 , we estimate two terms on independent sets of copies: the weighted disagreement between the endpoints, and a directional correction. Their linear combination is an unbiased estimator for p t d ( f ) p_{t_d}(f) p t d ( f ) .
Recall from (13) that
D n = { 1 , 2 , 4 , … , 2 ⌊ log 2 n ⌋ } . D_n = \{1,2,4,\ldots,2^{\lfloor\log_2 n\rfloor}\}. D n = { 1 , 2 , 4 , … , 2 ⌊ l o g 2 n ⌋ } .
Fix d ∈ D n d \in D_n d ∈ D n , and let
P d : = { ( x , y ) ∈ B × B : x ⪯ y , ∣ y ∣ − ∣ x ∣ = t d } . \mathcal{P}_d := \{(x,y) \in\mathcal{B} \times\mathcal{B} : x \preceq y,\ |y|-|x|=t_d\}. P d := {( x , y ) ∈ B × B : x ⪯ y , ∣ y ∣ − ∣ x ∣ = t d } .
where B \mathcal{B} B is the Hamming band defined in (15) . Next, define
κ d ( x , y ) : = { 1 2 ( ( n − ∣ x ∣ t d ) − 1 + ( ∣ y ∣ t d ) − 1 ) , ( x , y ) ∈ P d , 0 , otherwise . \kappa_d(x,y) := \begin{cases}
\frac{1}{2}\left(\binom{n-|x|}{t_d}^{-1}+\binom{|y|}{t_d}^{-1}\right), & (x,y)\in\mathcal{P}_d,\\
0, & \text{otherwise}.
\end{cases} κ d ( x , y ) := { 2 1 ( ( t d n − ∣ x ∣ ) − 1 + ( t d ∣ y ∣ ) − 1 ) , 0 , ( x , y ) ∈ P d , otherwise .
The two terms correspond to starting at x x x and moving upward or starting at y y y and moving downward. Since each starting vertex is chosen with probability 2 − n 2^{-n} 2 − n , the probability of selecting a pair { x , y } \{x,y\} { x , y } is 2 − n κ d ( x , y ) 2^{-n}\kappa_d(x,y) 2 − n κ d ( x , y ) . We may write
p t d ( f ) = 1 2 n ∑ x , y κ d ( x , y ) f ( x ) ( 1 − f ( y ) ) . (16) p_{t_d}(f)=\frac{1}{2^n}\sum_{x,y}\kappa_d(x,y)f(x)(1-f(y)). \tag*{(16)} p t d ( f ) = 2 n 1 x , y ∑ κ d ( x , y ) f ( x ) ( 1 − f ( y )) . (16)
Using the identity
2 f ( x ) ( 1 − f ( y ) ) = 1 [ f ( x ) ≠ f ( y ) ] + f ( x ) − f ( y ) , (17) 2f(x)(1-f(y))=\mathbf{1}[f(x)\ne f(y)]+f(x)-f(y), \tag*{(17)} 2 f ( x ) ( 1 − f ( y )) = 1 [ f ( x ) = f ( y )] + f ( x ) − f ( y ) , (17)
we have that estimating p t d ( f ) p_{t_d}(f) p t d ( f ) reduces to estimating the weighted disagreement between f ( x ) f(x) f ( x ) and f ( y ) f(y) f ( y ) , together with the correction f ( x ) − f ( y ) f(x)-f(y) f ( x ) − f ( y ) .
Next, define
q d ( f ) : = 1 2 n ∑ x , y κ d ( x , y ) 1 [ f ( x ) ≠ f ( y ) ] . q_d(f):=\frac{1}{2^n}\sum_{x,y}\kappa_d(x,y)\mathbf{1}[f(x)\ne f(y)]. q d ( f ) := 2 n 1 x , y ∑ κ d ( x , y ) 1 [ f ( x ) = f ( y )] .
For each ( x , y ) ∈ P d (x,y)\in\mathcal{P}_d ( x , y ) ∈ P d , let
∣ ξ x y ⟩ : = ∣ x ⟩ − ∣ y ⟩ 2 ⊗ ∣ − ⟩ , |\xi_{xy}\rangle:=\frac{|x\rangle-|y\rangle}{\sqrt{2}}\otimes|-\rangle, ∣ ξ x y ⟩ := 2 ∣ x ⟩ − ∣ y ⟩ ⊗ ∣ − ⟩ ,
and define the observable
Q d : = ∑ ( x , y ) ∈ P d κ d ( x , y ) ∣ ξ x y ⟩ ⟨ ξ x y ∣ . (18) Q_d:=\sum_{(x,y)\in\mathcal{P}_d}\kappa_d(x,y)|\xi_{xy}\rangle\langle\xi_{xy}|. \tag*{(18)} Q d := ( x , y ) ∈ P d ∑ κ d ( x , y ) ∣ ξ x y ⟩ ⟨ ξ x y ∣. (18)
For each ( x , y ) ∈ P d (x,y)\in\mathcal{P}_d ( x , y ) ∈ P d ,
∣ ⟨ ξ x y ∣ ψ f ⟩ ∣ 2 = ( ( − 1 ) f ( x ) − ( − 1 ) f ( y ) ) 2 4 ⋅ 2 n = 1 [ f ( x ) ≠ f ( y ) ] 2 n . |\langle\xi_{xy}|\psi_f\rangle|^2=\frac{\left((-1)^{f(x)}-(-1)^{f(y)}\right)^2}{4\cdot2^n}=\frac{\mathbf{1}[f(x)\ne f(y)]}{2^n}. ∣ ⟨ ξ x y ∣ ψ f ⟩ ∣ 2 = 4 ⋅ 2 n ( ( − 1 ) f ( x ) − ( − 1 ) f ( y ) ) 2 = 2 n 1 [ f ( x ) = f ( y )] .
Therefore,
⟨ ψ f ∣ Q d ∣ ψ f ⟩ = ∑ ( x , y ) ∈ P d κ d ( x , y ) ∣ ⟨ ξ x y ∣ ψ f ⟩ ∣ 2 = q d ( f ) . (19) \langle\psi_f|Q_d|\psi_f\rangle=\sum_{(x,y)\in\mathcal{P}_d}\kappa_d(x,y)|\langle\xi_{xy}|\psi_f\rangle|^2=q_d(f). \tag*{(19)} ⟨ ψ f ∣ Q d ∣ ψ f ⟩ = ( x , y ) ∈ P d ∑ κ d ( x , y ) ∣ ⟨ ξ x y ∣ ψ f ⟩ ∣ 2 = q d ( f ) . (19)
For the second term, define
h d ( x ) : = ∑ y κ d ( x , y ) − ∑ y κ d ( y , x ) , H d : = ∑ x h d ( x ) ∣ x ⟩ ⟨ x ∣ , h_d(x):=\sum_y\kappa_d(x,y)-\sum_y\kappa_d(y,x),\qquad H_d:=\sum_x h_d(x)|x\rangle\langle x|, h d ( x ) := y ∑ κ d ( x , y ) − y ∑ κ d ( y , x ) , H d := x ∑ h d ( x ) ∣ x ⟩ ⟨ x ∣ ,
and let Z : = ∣ 0 ⟩ ⟨ 0 ∣ − ∣ 1 ⟩ ⟨ 1 ∣ Z := \lvert0\rangle\langle0\rvert- \lvert1\rangle\langle1\rvert Z := ∣ 0 ⟩ ⟨ 0 ∣ − ∣ 1 ⟩ ⟨ 1 ∣ act on the qubit corresponding to the function value. Since each pair contributes equally to the two sums defining h d h_d h d , we have ∑ x h d ( x ) = 0 \sum_x h_d(x) = 0 ∑ x h d ( x ) = 0 . Therefore,
⟨ ψ f ∣ H d ⊗ Z ∣ ψ f ⟩ = 1 2 n ∑ x h d ( x ) ( 1 − 2 f ( x ) ) = − 2 2 n ∑ x h d ( x ) f ( x ) = − 2 2 n ∑ x , y κ d ( x , y ) ( f ( x ) − f ( y ) ) . \langle\psi_f \lvert H_d \otimes Z \rvert\psi_f \rangle= \frac{1}{2^n}\sum_x h_d(x)(1-2f(x))
= -\frac{2}{2^n}\sum_x h_d(x)f(x)
= -\frac{2}{2^n}\sum_{x,y}\kappa_d(x,y)(f(x)-f(y)). ⟨ ψ f ∣ H d ⊗ Z ∣ ψ f ⟩ = 2 n 1 x ∑ h d ( x ) ( 1 − 2 f ( x )) = − 2 n 2 x ∑ h d ( x ) f ( x ) = − 2 n 2 x , y ∑ κ d ( x , y ) ( f ( x ) − f ( y )) .
Next, let U d U_d U d be the outcome of measuring Q d Q_d Q d on a copy of ∣ ψ f ⟩ \lvert\psi_f\rangle ∣ ψ f ⟩ , and correspondingly, let V d V_d V d be the outcome of measuring H d ⊗ Z H_d \otimes Z H d ⊗ Z on an independent copy. For an integer m ≥ 1 m \ge1 m ≥ 1 , take m m m independent samples of each outcome and define
p ^ d : = 1 2 U ‾ d − 1 4 V ‾ d , U ‾ d : = 1 m ∑ j = 1 m U d ( j ) , V ‾ d : = 1 m ∑ j = 1 m V d ( j ) . (20) \widehat{p}_d := \frac{1}{2}\overline{U}_d-\frac{1}{4}\overline{V}_d,\qquad
\overline{U}_d := \frac{1}{m}\sum_{j=1}^{m}U_d^{(j)},\qquad
\overline{V}_d := \frac{1}{m}\sum_{j=1}^{m}V_d^{(j)}. \tag*{(20)} p d := 2 1 U d − 4 1 V d , U d := m 1 j = 1 ∑ m U d ( j ) , V d := m 1 j = 1 ∑ m V d ( j ) . (20)
We have shown that E [ p ^ d ] = p t d ( f ) \mathbb{E}[\widehat{p}_d] = p_{t_d}(f) E [ p d ] = p t d ( f ) . Next, we bound the variance.
Lemma 7 (Variance of the path estimator). Let n ≥ n 0 n \ge n_0 n ≥ n 0 , n − 1 / 2 ≤ ε ≤ 1 / 2 n^{-1/2} \le\varepsilon\le1/2 n − 1/2 ≤ ε ≤ 1/2 , and d ∈ D n d \in\mathcal{D}_n d ∈ D n , with t d t_d t d as in Lemma 6. Let the estimator in Equation (20) use m ≥ 1 m \ge1 m ≥ 1 independent outcomes of each observable. There is a constant C e s t > 0 C_{\mathrm{est}} > 0 C est > 0 such that, whenever I [ f ] ≤ 2 n \mathbf{I}[f] \le2\sqrt{n} I [ f ] ≤ 2 n , we have
Var ( p ^ d ) ≤ C e s t t d m n . (21) \operatorname{Var}(\widehat{p}_d) \le C_{\mathrm{est}}\frac{t_d}{m\sqrt{n}}. \tag*{(21)} Var ( p d ) ≤ C est m n t d . (21)
The proof is given in Appendix § 6 .§ 2 .
Sample complexity
Finally, we are ready to bound the sample complexity of our procedure. Let’s first construct a tester with error probability at most 1 3 \frac{1}{3} 3 1 , assuming n − 1 / 2 ≤ ε ≤ 1 2 n^{-1/2} \le\varepsilon\le\frac{1}{2} n − 1/2 ≤ ε ≤ 2 1 and n ≥ n 0 n \ge n_0 n ≥ n 0 . As in § 3.1 , we begin with a coarse influence test using O ( n ) O(\sqrt{n}) O ( n ) copies. In particular, we accept functions with I [ f ] ≤ n \mathbf{I}[f] \le\sqrt{n} I [ f ] ≤ n and reject functions with I [ f ] > 2 n \mathbf{I}[f] > 2\sqrt{n} I [ f ] > 2 n with error probability at most 1 6 \frac{1}{6} 6 1 . If we accept, we proceed as follows.
For each d ∈ D n d \in\mathcal{D}_n d ∈ D n , where D n \mathcal{D}_n D n is defined in Equation (13) , choose
m d : = ⌈ 64 C e s t c 1 2 n 3 / 2 ε 2 t d d 3 / 4 ⌉ . m_d := \left\lceil\frac{64C_{\mathrm{est}}}{c_1^2}\frac{n^{3/2}}{\varepsilon^2t_d d^{3/4}}\right\rceil. m d := ⌈ c 1 2 64 C est ε 2 t d d 3/4 n 3/2 ⌉ .
We will use 2 m d 2m_d 2 m d copies of ∣ ψ f ⟩ \lvert\psi_f\rangle ∣ ψ f ⟩ in order to construct p ^ d \widehat{p}_d p d , an estimate of p t d ( f ) p_{t_d}(f) p t d ( f ) . In particular, by Chebyshev’s inequality and Equation (21) , we have
Pr [ ∣ p ^ d − p t d ( f ) ∣ ≥ c 1 ε t d d 3 / 8 4 n ] ≤ 16 C e s t n 3 / 2 c 1 2 m d ε 2 t d d 3 / 4 ≤ 1 4 . \Pr\left[\left\lvert\widehat{p}_d-p_{t_d}(f)\right\rvert\ge\frac{c_1\varepsilon t_d d^{3/8}}{4n}\right]
\le\frac{16C_{\mathrm{est}}n^{3/2}}{c_1^2m_d\varepsilon^2t_dd^{3/4}}
\le\frac{1}{4}. Pr [ ∣ p d − p t d ( f ) ∣ ≥ 4 n c 1 ε t d d 3/8 ] ≤ c 1 2 m d ε 2 t d d 3/4 16 C est n 3/2 ≤ 4 1 .
Next, let r d r_d r d be the smallest odd integer that is at least 8 log ( 12 d ) 8\log(12d) 8 log ( 12 d ) . Using m d m_d m d independent outcomes of each observable for each estimate, construct r d r_d r d independent estimates of p ^ d \hat{p}_d p ^ d , and let p ~ d \tilde{p}_d p ~ d be their median. By Hoeffding’s Inequality, we have
Pr [ ∣ p ~ d − p t d ( f ) ∣ ≥ c 1 ε t d d 3 / 8 4 n ] ≤ e − r d / 8 ≤ 1 12 d . \Pr\left[\left|\tilde{p}_d-p_{t_d}(f)\right|\ge\frac{c_1\varepsilon t_d d^{3/8}}{4n}\right]\le e^{-r_d/8}\le\frac{1}{12d}. Pr [ ∣ p ~ d − p t d ( f ) ∣ ≥ 4 n c 1 ε t d d 3/8 ] ≤ e − r d /8 ≤ 12 d 1 .
The tester rejects if, for any d ∈ D n d\in\mathcal{D}_n d ∈ D n , we have
p ~ d ≥ c 1 ε t d d 3 / 8 2 n . \tilde{p}_d\ge\frac{c_1\varepsilon t_d d^{3/8}}{2n}. p ~ d ≥ 2 n c 1 ε t d d 3/8 .
A union bound tells us that the probability that at least one estimate of p ~ d \tilde{p}_d p ~ d differs from p t d ( f ) p_{t_d}(f) p t d ( f ) by at least c 1 ε t d d 3 / 8 4 n \frac{c_1\varepsilon t_d d^{3/8}}{4n} 4 n c 1 ε t d d 3/8 is at most
∑ d ∈ D n 1 12 d ≤ 1 12 ∑ j = 0 ∞ 2 − j = 1 6 . \sum_{d\in\mathcal{D}_n}\frac{1}{12d}\le\frac{1}{12}\sum_{j=0}^{\infty}2^{-j}=\frac{1}{6}. d ∈ D n ∑ 12 d 1 ≤ 12 1 j = 0 ∑ ∞ 2 − j = 6 1 .
We may now check completeness and soundness. If f f f is a monotone function, then I [ f ] ≤ n \mathbb{I}[f]\le\sqrt{n} I [ f ] ≤ n and p t d ( f ) = 0 p_{t_d}(f)=0 p t d ( f ) = 0 for every d d d . The probability of error is at most 1 6 + 1 6 = 1 3 \frac{1}{6}+\frac{1}{6}=\frac{1}{3} 6 1 + 6 1 = 3 1 . Correspondingly, if f f f is ε \varepsilon ε -far from monotone and I [ f ] ≤ n \mathbb{I}[f]\le\sqrt{n} I [ f ] ≤ n , Lemma 6 tells us there exists a degree-d d d such that
p t d ( f ) ≥ c 1 ε t d d 3 / 8 n , p_{t_d}(f)\ge\frac{c_1\varepsilon t_d d^{3/8}}{n}, p t d ( f ) ≥ n c 1 ε t d d 3/8 ,
and our tester fails with probability at most 1 6 \frac{1}{6} 6 1 .
It remains to count the copies. Since max { 1 , ⌊ u ⌋ } ≥ u / 2 \max\{1,\lfloor u\rfloor\}\ge u/2 max { 1 , ⌊ u ⌋} ≥ u /2 for u ≥ 0 u\ge0 u ≥ 0 , the definition of t d t_d t d gives us
t d ≥ c 0 2 ε n d − 5 / 8 . t_d\ge\frac{c_0}{2}\varepsilon\sqrt{n}d^{-5/8}. t d ≥ 2 c 0 ε n d − 5/8 .
The number of copies used at degree d d d is
2 m d r d = O ( ( 1 + n 3 / 2 ε 2 t d d 3 / 4 ) ( 1 + log d ) ) = O ( n ε 3 d − 1 / 8 ( 1 + log d ) ) . \begin{aligned}
2m_dr_d&=O\left(\left(1+\frac{n^{3/2}}{\varepsilon^2t_dd^{3/4}}\right)(1+\log d)\right)\\
&=O\left(\frac{n}{\varepsilon^3}d^{-1/8}(1+\log d)\right).
\end{aligned} 2 m d r d = O ( ( 1 + ε 2 t d d 3/4 n 3/2 ) ( 1 + log d ) ) = O ( ε 3 n d − 1/8 ( 1 + log d ) ) .
The total number of copies (including the coarse-influence tester)
O ( n ) + ∑ d ∈ D n 2 m d r d = O ( n ) + O ( n ε 3 ∑ j = 0 ⌊ log 2 n ⌋ ( 1 + j ) 2 − j / 8 ) = O ( n / ε 3 ) , \begin{aligned}
O(\sqrt{n})+\sum_{d\in\mathcal{D}_n}2m_dr_d
&=O(\sqrt{n})+O\left(\frac{n}{\varepsilon^3}\sum_{j=0}^{\lfloor\log_2 n\rfloor}(1+j)2^{-j/8}\right)\\
&=O(n/\varepsilon^3),
\end{aligned} O ( n ) + d ∈ D n ∑ 2 m d r d = O ( n ) + O ε 3 n j = 0 ∑ ⌊ l o g 2 n ⌋ ( 1 + j ) 2 − j /8 = O ( n / ε 3 ) ,
by convergence of the final sum. Finally, repeating the tester and taking a majority vote reduce the probability of error to δ \delta δ via Hoeffding’s Inequality. Therefore, the total number of copies scales as
O ( n ε 3 log 1 δ ) . O\left(\frac{n}{\varepsilon^3}\log\frac{1}{\delta}\right). O ( ε 3 n log δ 1 ) .
Lower bound on monotonicity testing
Next, we prove a lower bound on the number of quantum function states required to test monotonicity (with bounded two-sided error). We construct a pair of distributions over Boolean functions: a D y e s \mathcal{D}_{\mathrm{yes}} D yes distribution supported entirely on monotone functions, and a D n o \mathcal{D}_{\mathrm{no}} D no distribution supported on functions that, with high probability, are ε \varepsilon ε -far from monotone. We will show that any measurement that distinguishes the corresponding averaged t t t -copy ensembles with constant success probability requires at least
t = Ω ( min { n ε 3 , n 3 / 2 ε 2 } ) t = \Omega\left(\min\left\{\frac{n}{\varepsilon^3},\frac{n^{3/2}}{\varepsilon^2}\right\}\right) t = Ω ( min { ε 3 n , ε 2 n 3/2 } )
copies of the quantum function state.
Block construction
Our construction combines many independently chosen local functions into a single global function. A similar idea has been used in classical query lower bounds for monotonicity [5 , 12 ] . We place local functions in pairwise incomparable blocks of the Boolean cube in a way that monotonicity imposes no constraints between different local functions. We first construct the blocks and then we will specify the local functions used for the D y e s \mathcal{D}_{\mathrm{yes}} D yes and D n o \mathcal{D}_{\mathrm{no}} D no distributions.
We separate the coordinates into two groups. If we write n = d + m n=d+m n = d + m , we may decompose each input as
( y , x ) ∈ { 0 , 1 } d × { 0 , 1 } m , (y,x) \in\{0,1\}^{d} \times\{0,1\}^{m}, ( y , x ) ∈ { 0 , 1 } d × { 0 , 1 } m ,
where y y y selects the block and x x x is the input to the function. In particular, if we let U 1 , … , U R ⊆ { 0 , 1 } d U_1,\ldots,U_R \subseteq\{0,1\}^{d} U 1 , … , U R ⊆ { 0 , 1 } d be pairwise disjoint blocks, then y y y will determine which local function is applied, while x x x will be an input to the function active on that block. Specifically, if y ∈ U j y \in U_j y ∈ U j , then
f ( y , x ) = f j ( x ) . f(y,x) = f_j(x). f ( y , x ) = f j ( x ) .
Furthermore, we also require the blocks to be incomparable with each other – if j ≠ k j \ne k j = k , for all y ∈ U j y \in U_j y ∈ U j and y ′ ∈ U k y' \in U_k y ′ ∈ U k , neither y ≤ y ′ y \le y' y ≤ y ′ nor y ′ ≤ y y' \le y y ′ ≤ y . Finally, for y ∉ ⋃ j U j y \notin\bigcup_j U_j y ∈ / ⋃ j U j , we fix f ( y , x ) f(y,x) f ( y , x ) to be either 0 or 1 such that this value depends only on y y y and not on x x x . These values are chosen such that the resulting global function f f f is monotone whenever the local functions f j f_j f j are monotone. As a small example, consider two selector coordinates and three local coordinates, with U 1 = { 01 } U_1 = \{01\} U 1 = { 01 } and U 2 = { 10 } U_2 = \{10\} U 2 = { 10 } . Let f 1 ( x ) = x 3 f_1(x)=x_3 f 1 ( x ) = x 3 in the first block and f 2 ( x ) = x 1 f_2(x)=x_1 f 2 ( x ) = x 1 in the second, and set the background values at 00 and 11 to 0 and 1, respectively. The resulting function is monotone: the two blocks are incomparable, and the background values are compatible with both local functions.
Now, for each block U j U_j U j , we will define its relative mass by
p j : = ∣ U j ∣ 2 d . (22) p_j := \frac{|U_j|}{2^d}. \tag*{(22)} p j := 2 d ∣ U j ∣ . (22)
We will also use
β : = ∑ j = 1 R p j , p max : = max 1 ≤ j ≤ R p j . (23) \beta:= \sum_{j=1}^{R} p_j,\qquad p_{\max} := \max_{1\le j\le R} p_j. \tag*{(23)} β := j = 1 ∑ R p j , p m a x := 1 ≤ j ≤ R max p j . (23)
Therefore, β \beta β represents the total mass of the blocks, while p max p_{\max} p m a x will be the mass of the largest individual block. The following lemma allows independent local choices to contribute a constant total distance while each block remains difficult to observe.
Lemma 8 (Selector blocks). For sufficiently large d d d , there exist pairwise disjoint and incomparable selector blocks satisfying
β ≥ 1 64 , p max ≤ 2 − r , r : = ⌊ d 10 ⌋ . (24) \beta\ge\frac{1}{64}, \qquad p_{\max} \le2^{-r}, \qquad r := \left\lfloor\frac{\sqrt{d}}{10} \right\rfloor. \tag*{(24)} β ≥ 64 1 , p m a x ≤ 2 − r , r := ⌊ 10 d ⌋ . (24) Here β \beta β and p max p_{\max} p m a x are defined in (23) .
The proof is given in Appendix § 7 .§ 1 .
The local functions
We now define the allowed local functions that can be assigned to the blocks U j U_j U j . Each local function will be defined on all inputs x ∈ { 0 , 1 } m x \in\{0,1\}^m x ∈ { 0 , 1 } m . Furthermore, within this local input space, we will choose a central band of Hamming-weight layers. The local functions will differ only within this band, taking the value 0 below it and 1 above it. The width of the band will allow us to control the distance from monotonicity and the distinguishability of the resulting quantum ensembles.
Choose integers $0 \le L < U \le m$ with L + U = m L + U = m L + U = m , and define
B : = { x ∈ { 0 , 1 } m : L ≤ ∣ x ∣ ≤ U } . B := \{x \in\{0,1\}^m : L \le|x| \le U\}. B := { x ∈ { 0 , 1 } m : L ≤ ∣ x ∣ ≤ U } .
Let w : = U − L w := U - L w := U − L be the width of the band. For each i ∈ [ m ] i \in[m] i ∈ [ m ] , define f i + f_i^+ f i + and f i − f_i^- f i − by setting
f i + ( x ) = x i , f i − ( x ) = 1 − x i for x ∈ B . f_i^+(x) = x_i, \qquad f_i^-(x) = 1 - x_i \qquad\text{for } x \in B. f i + ( x ) = x i , f i − ( x ) = 1 − x i for x ∈ B .
Furthermore, define two functions that are constant inside the band:
h 0 ( x ) = 0 , h 1 ( x ) = 1 for x ∈ B . h_0(x) = 0, \qquad h_1(x) = 1 \qquad\text{for } x \in B. h 0 ( x ) = 0 , h 1 ( x ) = 1 for x ∈ B .
For all of these functions, set the value to 0 when ∣ x ∣ < L |x| < L ∣ x ∣ < L and to 1 when ∣ x ∣ > U |x| > U ∣ x ∣ > U . Note that h 0 h_0 h 0 , h 1 h_1 h 1 , and f i + f_i^+ f i + are monotone. The distance of f i − f_i^- f i − from the set of monotone functions is exactly
δ w : = 1 2 Pr x − i [ L ≤ ∣ x − i ∣ ≤ U − 1 ] , (25) \delta_w := \frac{1}{2}\Pr_{x_{-i}}[L \le|x_{-i}| \le U - 1], \tag*{(25)} δ w := 2 1 x − i Pr [ L ≤ ∣ x − i ∣ ≤ U − 1 ] , (25)
where x − i x_{-i} x − i denotes the input with coordinate i i i removed and is uniform on { 0 , 1 } m − 1 \{0,1\}^{m-1} { 0 , 1 } m − 1 . Each x − i x_{-i} x − i within this range gives a violated edge where both endpoints are within the band. Since these edges are disjoint, making f i − f_i^- f i − monotone requires changing at least one endpoint of each edge, and hence at least a δ w \delta_w δ w fraction of all inputs. Conversely, changing the value from 0 to 1 at the endpoint with x i = 1 x_i = 1 x i = 1 on each such edge produces the monotone function
1 { ∣ x − i ∣ ≥ L } . 1\{|x_{-i}| \ge L\}. 1 { ∣ x − i ∣ ≥ L } .
This changes exactly δ w \delta_w δ w fraction of the inputs, proving the bound.
Global distributions
We now fix one choice of the selector terms and blocks from Appendix § 7 .§ 1 satisfying Equation (24) . The same blocks and background values will be used by both distributions. Only their local functions will be randomized. We define D y e s \mathcal{D}_{\mathrm{yes}} D yes and D n o \mathcal{D}_{\mathrm{no}} D no by choosing a local function independently for each block U j U_j U j . Let 0 < ρ ≤ α ≤ 1 0 < \rho\le\alpha\le1 0 < ρ ≤ α ≤ 1 be parameters that will be chosen later (depending on the ε \varepsilon ε -regime). Let the probabilities of selecting each local function be Since D y e s \mathcal{D}_{\mathrm{yes}} D yes uses only monotone local functions,
caption: Distributions over local functions.
:::
every function in this distribution is monotone. For D n o \mathcal{D}_{no} D n o , we will show that, with high probability, every function is at least ε \varepsilon ε -far for monotone.
Let f ∼ D n o f \sim\mathcal{D}_{no} f ∼ D n o , and let Z j Z_j Z j be the variable that indicates that the block U j U_j U j was assigned a reversed dictator in the construction of f f f . Then, Z j Z_j Z j are independent Bernoulli variables with parameter ρ \rho ρ . Since each reversed dictator function has distance δ w \delta_w δ w from a monotone function (see Equation (25) ) and p j p_j p j represents the weight of block U j U_j U j (see Equation (22) ), we have
dist ( f , M O N d + m ) = δ w ∑ j = 1 R p j Z j . (26) \operatorname{dist}(f,\mathrm{MON}_{d+m})=\delta_w\sum_{j=1}^{R}p_jZ_j. \tag*{(26)} dist ( f , MON d + m ) = δ w j = 1 ∑ R p j Z j . (26)
This bound can be attained by repairing each block separately.
Next, let Z : = ∑ j p j Z j Z := \sum_j p_jZ_j Z := ∑ j p j Z j . We have
E [ Z ] = E [ ∑ j p j Z j ] = ∑ j p j E [ Z j ] = ρ ⋅ β , (27) \mathbb{E}[Z]=\mathbb{E}\left[\sum_j p_jZ_j\right]=\sum_j p_j\mathbb{E}[Z_j]=\rho\cdot\beta, \tag*{(27)} E [ Z ] = E [ j ∑ p j Z j ] = j ∑ p j E [ Z j ] = ρ ⋅ β , (27)
and, by independence,
Var ( Z ) = ρ ( 1 − ρ ) ∑ j p j 2 ≤ ρ ∑ j p j 2 ≤ ρ ⋅ p max ∑ j p j = ρ ⋅ p max ⋅ β . \operatorname{Var}(Z)=\rho(1-\rho)\sum_j p_j^2\leq\rho\sum_j p_j^2\leq\rho\cdot p_{\max}\sum_j p_j=\rho\cdot p_{\max}\cdot\beta. Var ( Z ) = ρ ( 1 − ρ ) j ∑ p j 2 ≤ ρ j ∑ p j 2 ≤ ρ ⋅ p m a x j ∑ p j = ρ ⋅ p m a x ⋅ β .
Assume we choose the parameters such that δ w ρ β ≥ 2 ε \delta_w\rho\beta\geq2\varepsilon δ w ρβ ≥ 2 ε . Since dist ( f , M O N d + m ) = δ w Z \operatorname{dist}(f,\mathrm{MON}_{d+m})=\delta_wZ dist ( f , MON d + m ) = δ w Z ,
Pr [ dist ( f , M O N d + m ) < ε ] = Pr [ Z < ε δ w ] ≤ Pr [ Z < ρ β 2 ] . \Pr[\operatorname{dist}(f,\mathrm{MON}_{d+m})<\varepsilon]=\Pr\left[Z<\frac{\varepsilon}{\delta_w}\right]\leq\Pr\left[Z<\frac{\rho\beta}{2}\right]. Pr [ dist ( f , MON d + m ) < ε ] = Pr [ Z < δ w ε ] ≤ Pr [ Z < 2 ρβ ] .
Applying Chebyshev’s inequality (using E [ Z ] = ρ β \mathbb{E}[Z]=\rho\beta E [ Z ] = ρβ ), we get
Pr [ Z < ρ β 2 ] ≤ Pr [ ∣ Z − E [ Z ] ∣ ≥ ρ β 2 ] ≤ 4 p max ρ β . (28) \Pr\left[Z<\frac{\rho\beta}{2}\right]\leq\Pr\left[\left|Z-\mathbb{E}[Z]\right|\geq\frac{\rho\beta}{2}\right]\leq\frac{4p_{\max}}{\rho\beta}. \tag*{(28)} Pr [ Z < 2 ρβ ] ≤ Pr [ ∣ Z − E [ Z ] ∣ ≥ 2 ρβ ] ≤ ρβ 4 p m a x . (28)
We will later choose parameters such that this probability tends to 0 0 0 . Lastly, note that if α = ρ = 1 \alpha=\rho=1 α = ρ = 1 , every function in D n o \mathcal{D}_{no} D n o is at least β δ w ≥ 2 ε \beta\delta_w\geq2\varepsilon β δ w ≥ 2 ε -far from monotone.
Poissonization
To prove the lower bound, we will start by considering a coherent superposition over different numbers of copies. This will allow us to represent the states using a tensor product across the blocks U 1 , … , U R U_1,\ldots,U_R U 1 , … , U R , making it easier to compare the states arising from D y e s \mathcal{D}_{yes} D y es and D n o \mathcal{D}_{no} D n o .
For λ > 0 \lambda>0 λ > 0 , define
∣ Φ λ ( f ) ⟩ : = e − λ / 2 ⨁ k = 0 ∞ λ k / 2 k ! ∣ ψ f ⟩ ⊗ k , ∣ ψ f ⟩ ⊗ 0 : = ∣ ∅ ⟩ . (29) \lvert\Phi_\lambda(f)\rangle:= e^{-\lambda/2}\bigoplus_{k=0}^{\infty}\frac{\lambda^{k/2}}{\sqrt{k!}}\lvert\psi_f\rangle^{\otimes k},\qquad\lvert\psi_f\rangle^{\otimes0}:=\lvert\varnothing\rangle. \tag*{(29)} ∣ Φ λ ( f )⟩ := e − λ /2 k = 0 ⨁ ∞ k ! λ k /2 ∣ ψ f ⟩ ⊗ k , ∣ ψ f ⟩ ⊗ 0 := ∣ ∅ ⟩ . (29)
where ∣ ∅ ⟩ |\emptyset\rangle ∣∅ ⟩ is simply a fixed unit vector independent of ∣ ψ f ⟩ |\psi_f\rangle ∣ ψ f ⟩ , representing k = 0 k=0 k = 0 copies. For each k ≥ 0 k \ge0 k ≥ 0 , let Π k \Pi_k Π k represent the projector:
Π k = 0 ⊕ ⋯ ⊕ I H ⊗ k ⊕ ⋯ (30) \Pi_k = 0 \oplus\cdots\oplus I_{\mathcal{H}^{\otimes k}} \oplus\cdots \tag*{(30)} Π k = 0 ⊕ ⋯ ⊕ I H ⊗ k ⊕ ⋯ (30)
where H \mathcal{H} H is the Hilbert space for a single ∣ ψ f ⟩ |\psi_f\rangle ∣ ψ f ⟩ . The projective measurement { Π k } k ≥ 0 \{\Pi_k\}_{k \ge0} { Π k } k ≥ 0 identifies the number of copies. Applied to ∣ Φ λ ( f ) ⟩ |\Phi_\lambda(f)\rangle ∣ Φ λ ( f )⟩ , the measurement gives an outcome k k k with probability
∥ Π k ∣ Φ λ ( f ) ⟩ ∥ 2 = e − λ λ k k ! . \left\|\Pi_k|\Phi_\lambda(f)\rangle\right\|^2 = e^{-\lambda}\frac{\lambda^k}{k!}. ∥ Π k ∣ Φ λ ( f )⟩ ∥ 2 = e − λ k ! λ k .
Furthermore, the normalized state will be ∣ ψ f ⟩ ⊗ k |\psi_f\rangle^{\otimes k} ∣ ψ f ⟩ ⊗ k . We can think of the measurement as producing an outcome K ∼ Poisson ( λ ) K \sim\operatorname{Poisson}(\lambda) K ∼ Poisson ( λ ) where, conditioned on K = k K=k K = k , the state is ∣ ψ f ⟩ ⊗ k |\psi_f\rangle^{\otimes k} ∣ ψ f ⟩ ⊗ k . We will eventually show how a bound for the coherent superposition states will imply a lower bound for testers that are given a fixed number of copies.
The selector blocks remain fixed as in § 4.3 ; in particular, f f f and g g g below share both these blocks and their background. Next, we will show why we work with the coherent superposition. Consider two global functions f f f and g g g obtained from our block construction, with local functions f j f_j f j and g j g_j g j respectively, assigned to each block U j U_j U j . The functions agree outside of the blocks. The distance between the functions may be written as
dist ( f , g ) = ∑ j = 1 R p j dist ( f j , g j ) . (31) \operatorname{dist}(f,g) = \sum_{j=1}^{R} p_j \operatorname{dist}(f_j,g_j). \tag*{(31)} dist ( f , g ) = j = 1 ∑ R p j dist ( f j , g j ) . (31)
Furthermore, recall that the overlap between their quantum function state representation may be written as
⟨ ψ f ∣ ψ g ⟩ = 2 − n ∑ z ∈ { 0 , 1 } n 1 { f ( z ) = g ( z ) } = 1 − dist ( f , g ) . \langle\psi_f \mid\psi_g\rangle= 2^{-n}\sum_{z\in\{0,1\}^n} 1\{f(z)=g(z)\} = 1-\operatorname{dist}(f,g). ⟨ ψ f ∣ ψ g ⟩ = 2 − n z ∈ { 0 , 1 } n ∑ 1 { f ( z ) = g ( z )} = 1 − dist ( f , g ) .
For t t t copies of the quantum function states, the overlap may be written as
⟨ ψ f ⊗ t ∣ ψ g ⊗ t ⟩ = ∏ ℓ = 1 t ⟨ ψ f ∣ ψ g ⟩ = ( 1 − ∑ j = 1 R p j dist ( f j , g j ) ) t . \begin{aligned}
\langle\psi_f^{\otimes t}\mid\psi_g^{\otimes t}\rangle
&= \prod_{\ell=1}^{t}\langle\psi_f\mid\psi_g\rangle\\
&= \left(1-\sum_{j=1}^{R}p_j\operatorname{dist}(f_j,g_j)\right)^t.
\end{aligned} ⟨ ψ f ⊗ t ∣ ψ g ⊗ t ⟩ = ℓ = 1 ∏ t ⟨ ψ f ∣ ψ g ⟩ = ( 1 − j = 1 ∑ R p j dist ( f j , g j ) ) t .
This product in general does not factor over the blocks.
As we will see, the use of the coherent superposition states will turn the overlap into an exponential which does factor over blocks. Specifically, we have
⟨ Φ λ ( f ) ∣ Φ λ ( g ) ⟩ = e − λ ∑ k = 0 ∞ λ k k ! ⟨ ψ f ⊗ k ∣ ψ g ⊗ k ⟩ = e − λ ∑ k = 0 ∞ λ k k ! ( ⟨ ψ f ∣ ψ g ⟩ ) k = exp ( − λ + λ ⟨ ψ f ∣ ψ g ⟩ ) = e − λ dist ( f , g ) . (32) \begin{aligned}
\langle\Phi_\lambda(f)\mid\Phi_\lambda(g)\rangle
&= e^{-\lambda}\sum_{k=0}^{\infty}\frac{\lambda^k}{k!}\langle\psi_f^{\otimes k}\mid\psi_g^{\otimes k}\rangle\\
&= e^{-\lambda}\sum_{k=0}^{\infty}\frac{\lambda^k}{k!}\left(\langle\psi_f\mid\psi_g\rangle\right)^k \\
&= \exp(-\lambda+\lambda\langle\psi_f\mid\psi_g\rangle) \\
&= e^{-\lambda\operatorname{dist}(f,g)}. \tag*{(32)}
\end{aligned} ⟨ Φ λ ( f ) ∣ Φ λ ( g )⟩ = e − λ k = 0 ∑ ∞ k ! λ k ⟨ ψ f ⊗ k ∣ ψ g ⊗ k ⟩ = e − λ k = 0 ∑ ∞ k ! λ k ( ⟨ ψ f ∣ ψ g ⟩ ) k = exp ( − λ + λ ⟨ ψ f ∣ ψ g ⟩) = e − λ dist ( f , g ) . (32)
where we used that the overlap of the k = 0 k=0 k = 0 terms is 1. Substituting Equation (31) gives
⟨ Φ λ ( f ) ∣ Φ λ ( g ) ⟩ = exp ( − λ ∑ j = 1 R p j dist ( f j , g j ) ) = ∏ j = 1 R e − λ p j dist ( f j , g j ) . \langle\Phi_\lambda(f) \mid\Phi_\lambda(g) \rangle= \exp\left(-\lambda\sum_{j=1}^{R} p_j \operatorname{dist}(f_j,g_j)\right)
= \prod_{j=1}^{R} e^{-\lambda p_j \operatorname{dist}(f_j,g_j)}. ⟨ Φ λ ( f ) ∣ Φ λ ( g )⟩ = exp ( − λ j = 1 ∑ R p j dist ( f j , g j ) ) = j = 1 ∏ R e − λ p j dist ( f j , g j ) .
Therefore, the overlap is written as product over the individual blocks depending only on the distance between the local functions f j f_j f j and g j g_j g j . In the next subsection, we will see how to use this factorization to represent the global coherent superposition state as a product of local coherent states, one for each block.
Factorization across blocks
Let
F : = supp ( D y e s ) ∪ supp ( D n o ) . \mathcal{F} := \operatorname{supp}(\mathcal{D}_{\mathrm{yes}}) \cup\operatorname{supp}(\mathcal{D}_{\mathrm{no}}). F := supp ( D yes ) ∪ supp ( D no ) .
All functions in F \mathcal{F} F come from the block construction described earlier and share the same fixed blocks U 1 , … , U R ⊆ { 0 , 1 } d U_1,\ldots,U_R \subseteq\{0,1\}^d U 1 , … , U R ⊆ { 0 , 1 } d . Each f ∈ F f \in\mathcal{F} f ∈ F is specified by the local function f j : { 0 , 1 } m → { 0 , 1 } f_j:\{0,1\}^m \to\{0,1\} f j : { 0 , 1 } m → { 0 , 1 } assigned to each of these blocks, where d + m = n d+m=n d + m = n . In particular, for each j ∈ [ R ] j \in[R] j ∈ [ R ] ,
f ( y , x ) = f j ( x ) for every y ∈ U j and x ∈ { 0 , 1 } m . f(y,x)=f_j(x) \qquad\text{for every } y\in U_j \text{ and } x\in\{0,1\}^m. f ( y , x ) = f j ( x ) for every y ∈ U j and x ∈ { 0 , 1 } m .
Additionally, we have f ( y , x ) = 0 f(y,x)=0 f ( y , x ) = 0 if y y y satisfies none of T j T_j T j , and f ( y , x ) = 1 f(y,x)=1 f ( y , x ) = 1 when y y y satisfies at least two of them. These values depend only on y y y and are the same across all f ∈ F f\in\mathcal{F} f ∈ F .
Next, for any function h : { 0 , 1 } m → { 0 , 1 } h:\{0,1\}^m\to\{0,1\} h : { 0 , 1 } m → { 0 , 1 } , we may write
∣ ψ h ⟩ = 2 − m / 2 ∑ x ∈ { 0 , 1 } m ∣ x ⟩ ∣ h ( x ) ⟩ . \lvert\psi_h\rangle= 2^{-m/2}\sum_{x\in\{0,1\}^m}\lvert x\rangle\lvert h(x)\rangle. ∣ ψ h ⟩ = 2 − m /2 x ∈ { 0 , 1 } m ∑ ∣ x ⟩ ∣ h ( x )⟩ .
and for any μ > 0 \mu>0 μ > 0 , we set
∣ Φ μ ( h ) ⟩ : = e − μ / 2 ⨁ k = 0 ∞ μ k / 2 k ! ∣ ψ h ⟩ ⊗ k ∣ ψ h ⟩ ⊗ 0 : = ∣ ∅ l o c a l ⟩ . \lvert\Phi_\mu(h)\rangle:= e^{-\mu/2}\bigoplus_{k=0}^{\infty}\frac{\mu^{k/2}}{\sqrt{k!}}\lvert\psi_h\rangle^{\otimes k}
\qquad
\lvert\psi_h\rangle^{\otimes0}:=\lvert\emptyset_{\mathrm{local}}\rangle. ∣ Φ μ ( h )⟩ := e − μ /2 k = 0 ⨁ ∞ k ! μ k /2 ∣ ψ h ⟩ ⊗ k ∣ ψ h ⟩ ⊗ 0 := ∣ ∅ local ⟩ .
Furthermore, ∣ Φ 0 ( h ) ⟩ \lvert\Phi_0(h)\rangle ∣ Φ 0 ( h )⟩ is also taken to be the unit vector ∣ ∅ l o c a l ⟩ \lvert\emptyset_{\mathrm{local}}\rangle ∣ ∅ local ⟩ . This is the same coherent superposition construction as Equation (29) . Furthermore, analogous to Equation (32) , we have
⟨ Φ μ ( h ) ∣ Φ μ ( h ′ ) ⟩ = e − μ dist ( h , h ′ ) . (33) \langle\Phi_\mu(h)\mid\Phi_\mu(h')\rangle=e^{-\mu\operatorname{dist}(h,h')}. \tag*{(33)} ⟨ Φ μ ( h ) ∣ Φ μ ( h ′ )⟩ = e − μ dist ( h , h ′ ) . (33)
We will now construct an isometry that maps each global coherent superposition state ∣ Φ λ ( f ) ⟩ \lvert\Phi_\lambda(f)\rangle ∣ Φ λ ( f )⟩ to a tensor product of coherent states (with one factor per block). We will show how the trace distance between the averaged global coherent states (over D y e s \mathcal{D}_{\mathrm{yes}} D yes and D n o \mathcal{D}_{\mathrm{no}} D no ) is equal to the trace distance between the corresponding tensor products of the averaged coherent states for individual blocks. For each f ∈ F f\in\mathcal{F} f ∈ F , we can define the product state
∣ χ λ ( f ) ⟩ : = ⨂ j = 1 R ∣ Φ λ p j ( f j ) ⟩ = ∣ Φ λ p 1 ( f 1 ) ⟩ ⊗ ⋯ ⊗ ∣ Φ λ p R ( f R ) ⟩ . (34) \lvert\chi_\lambda(f)\rangle:= \bigotimes_{j=1}^{R}\lvert\Phi_{\lambda p_j}(f_j)\rangle
= \lvert\Phi_{\lambda p_1}(f_1)\rangle\otimes\cdots\otimes\lvert\Phi_{\lambda p_R}(f_R)\rangle. \tag*{(34)} ∣ χ λ ( f )⟩ := j = 1 ⨂ R ∣ Φ λ p j ( f j )⟩ = ∣ Φ λ p 1 ( f 1 )⟩ ⊗ ⋯ ⊗ ∣ Φ λ p R ( f R )⟩ . (34)
This tensor product has one factor for each block. The j j j -th factor uses the local function f j f_j f j and Poisson parameter λ p j \lambda p_j λ p j . If a block is empty, then p j = 0 p_j=0 p j = 0 and its factor is the fixed vacuum state(∣ ∅ l o c a l ⟩ |\varnothing_{\mathrm{local}}\rangle ∣ ∅ local ⟩ ), independent of the local function.
For b ∈ { y e s , n o } b \in\{yes, no\} b ∈ { y es , n o } , let ν b \nu_b ν b denote the distribution over local functions given by the probabilities in the D b D_b D b column of tbl:2 . Sampling a function from D b D_b D b is equivalent to sampling f 1 , … , f R f_1,\ldots,f_R f 1 , … , f R independently from ν b \nu_b ν b and assembling them using the fixed block construction.
Define the averaged global coherent state by
Ω b ( λ ) : = E f ∼ D b [ ∣ Φ λ ( f ) ⟩ ⟨ Φ λ ( f ) ∣ ] . \Omega_b(\lambda) := \mathbb{E}_{f\sim D_b}\left[|\Phi_\lambda(f)\rangle\langle\Phi_\lambda(f)|\right]. Ω b ( λ ) := E f ∼ D b [ ∣ Φ λ ( f )⟩ ⟨ Φ λ ( f ) ∣ ] .
and define the averaged local coherent state by
σ b ( μ ) : = E h ∼ ν b [ ∣ Φ μ ( h ) ⟩ ⟨ Φ μ ( h ) ∣ ] . \sigma_b(\mu) := \mathbb{E}_{h\sim\nu_b}\left[|\Phi_\mu(h)\rangle\langle\Phi_\mu(h)|\right]. σ b ( μ ) := E h ∼ ν b [ ∣ Φ μ ( h )⟩ ⟨ Φ μ ( h ) ∣ ] .
We use Ω b ( λ ) \Omega_b(\lambda) Ω b ( λ ) for the averaged global coherent state, σ b ( μ ) \sigma_b(\mu) σ b ( μ ) for one averaged local coherent state, and ρ b ( t ) \rho_b^{(t)} ρ b ( t ) below for the averaged state of a fixed t t t copies. The distributions ν b \nu_b ν b select local functions, and D b D_b D b select global functions. The parameter in block j j j is always μ = λ p j \mu=\lambda p_j μ = λ p j .
Lemma 9 (Block factorization). There is an isometry from the span of the global coherent states to the span of the corresponding product states satisfying
V λ ∣ Φ λ ( f ) ⟩ = ∣ χ λ ( f ) ⟩ = ⨂ j = 1 R ∣ Φ λ p j ( f j ) ⟩ for every f ∈ F . (35) V_\lambda|\Phi_\lambda(f)\rangle=|\chi_\lambda(f)\rangle=\bigotimes_{j=1}^{R}|\Phi_{\lambda p_j}(f_j)\rangle\quad\text{for every } f\in\mathcal{F}. \tag*{(35)} V λ ∣ Φ λ ( f )⟩ = ∣ χ λ ( f )⟩ = j = 1 ⨂ R ∣ Φ λ p j ( f j )⟩ for every f ∈ F . (35) For either local distribution, the averaged state satisfies
V λ Ω b ( λ ) V λ † = ⨂ j = 1 R σ b ( λ p j ) , b ∈ { y e s , n o } . V_\lambda\Omega_b(\lambda)V_\lambda^\dagger=\bigotimes_{j=1}^{R}\sigma_b(\lambda p_j), \quad b\in\{yes,no\}. V λ Ω b ( λ ) V λ † = j = 1 ⨂ R σ b ( λ p j ) , b ∈ { y es , n o } . Consequently,
∥ Ω y e s ( λ ) − Ω n o ( λ ) ∥ 1 = ∥ ⨂ j = 1 R σ y e s ( λ p j ) − ⨂ j = 1 R σ n o ( λ p j ) ∥ 1 . (36) \left\|\Omega_{yes}(\lambda)-\Omega_{no}(\lambda)\right\|_1
=
\left\|\bigotimes_{j=1}^{R}\sigma_{yes}(\lambda p_j)-\bigotimes_{j=1}^{R}\sigma_{no}(\lambda p_j)\right\|_1. \tag*{(36)} ∥ Ω y es ( λ ) − Ω n o ( λ ) ∥ 1 = j = 1 ⨂ R σ y es ( λ p j ) − j = 1 ⨂ R σ n o ( λ p j ) 1 . (36)
The global coherent states and the product states have identical pairwise inner products, so the correspondence extends to an isometry. Independence of the local choices then factors the averaged states. The complete proof of Lemma 9 is in Appendix § 7 .§ 2 .
Reduction to a fixed number of copies
Next, we will show how to use the trace distance between the averaged coherent ensembles to bound the trace distance between averaged t t t -copy ensembles. For b ∈ { y e s , n o } b\in\{yes,no\} b ∈ { y es , n o } and an integer t ≥ 1 t\ge1 t ≥ 1 , define
ρ b ( t ) : = E f ∼ D b [ ( ∣ ψ f ⟩ ⟨ ψ f ∣ ) ⊗ t ] . \rho_b^{(t)}:=\mathbb{E}_{f\sim D_b}\left[\left(|\psi_f\rangle\langle\psi_f|\right)^{\otimes t}\right]. ρ b ( t ) := E f ∼ D b [ ( ∣ ψ f ⟩ ⟨ ψ f ∣ ) ⊗ t ] .
Starting from the coherent superposition state ∣ Φ λ ( f ) ⟩ |\Phi_\lambda(f)\rangle ∣ Φ λ ( f )⟩ , perform the copy-number measurement { Π k } k ≥ 0 \{\Pi_k\}_{k\ge0} { Π k } k ≥ 0 defined in Equation (30) . This gives an outcome K ∼ Poisson ( λ ) K\sim\operatorname{Poisson}(\lambda) K ∼ Poisson ( λ ) and leaves K K K copies of ∣ ψ f ⟩ |\psi_f\rangle ∣ ψ f ⟩ . If K ≥ t K\ge t K ≥ t , retain t t t copies of the state and discard the rest. If K < t K<t K < t , discard the state and output a failure flag state ∣ f a i l ⟩ |\mathrm{fail}\rangle ∣ fail ⟩ , orthogonal to the t t t -copy space. This procedure is independent of our function f f f and defines a quantum channel, which we will call E t \mathcal{E}_t E t . If we let
q λ , t : = Pr K ∼ Poisson ( λ ) [ K ≥ t ] , q_{\lambda,t} := \Pr_{K \sim\operatorname{Poisson}(\lambda)}[K \ge t], q λ , t := K ∼ Poisson ( λ ) Pr [ K ≥ t ] ,
we can write
E t ( Ω b ( λ ) ) = q λ , t ρ b ( t ) ⊕ ( 1 − q λ , t ) ∣ f a i l ⟩ ⟨ f a i l ∣ \mathcal{E}_t(\Omega_b(\lambda)) = q_{\lambda,t}\rho_b^{(t)} \oplus(1-q_{\lambda,t})|\mathrm{fail}\rangle\langle\mathrm{fail}| E t ( Ω b ( λ )) = q λ , t ρ b ( t ) ⊕ ( 1 − q λ , t ) ∣ fail ⟩ ⟨ fail ∣
for b ∈ { y e s , n o } b \in\{yes,no\} b ∈ { y es , n o } . Since quantum channels cannot increase the trace distance, we may write
q λ , t ∥ ρ y e s ( t ) − ρ n o ( t ) ∥ 1 = ∥ E t ( Ω y e s ( λ ) ) − E t ( Ω n o ( λ ) ) ∥ 1 ≤ ∥ Ω y e s ( λ ) − Ω n o ( λ ) ∥ 1 . (37) q_{\lambda,t}\left\|\rho_{yes}^{(t)}-\rho_{no}^{(t)}\right\|_1
= \left\|\mathcal{E}_t(\Omega_{yes}(\lambda))-\mathcal{E}_t(\Omega_{no}(\lambda))\right\|_1
\le\left\|\Omega_{yes}(\lambda)-\Omega_{no}(\lambda)\right\|_1. \tag*{(37)} q λ , t ρ y es ( t ) − ρ n o ( t ) 1 = ∥ E t ( Ω y es ( λ )) − E t ( Ω n o ( λ )) ∥ 1 ≤ ∥ Ω y es ( λ ) − Ω n o ( λ ) ∥ 1 . (37)
Next, we can choose λ = 2 t \lambda=2t λ = 2 t to ensure that the procedure succeeds with probability at least 1 / 2 1/2 1/2 . If K ∼ Poisson ( 2 t ) K\sim\operatorname{Poisson}(2t) K ∼ Poisson ( 2 t ) , we have E [ K ] = Var ( K ) = 2 t \mathbb{E}[K]=\operatorname{Var}(K)=2t E [ K ] = Var ( K ) = 2 t . By Chebyshev’s inequality, we get
Pr [ K < t ] ≤ Pr [ ∣ K − 2 t ∣ ≥ t + 1 ] ≤ 2 t ( t + 1 ) 2 ≤ 1 2 . \Pr[K<t]\le\Pr[|K-2t|\ge t+1]\le\frac{2t}{(t+1)^2}\le\frac{1}{2}. Pr [ K < t ] ≤ Pr [ ∣ K − 2 t ∣ ≥ t + 1 ] ≤ ( t + 1 ) 2 2 t ≤ 2 1 .
Since q 2 t , t ≥ 1 / 2 q_{2t,t}\ge1/2 q 2 t , t ≥ 1/2 , applying Equation (37) and Equation (36) yields
∥ ρ y e s ( t ) − ρ n o ( t ) ∥ 1 ≤ 2 ∥ Ω y e s ( 2 t ) − Ω n o ( 2 t ) ∥ 1 . (38) \left\|\rho_{yes}^{(t)}-\rho_{no}^{(t)}\right\|_1\le2\left\|\Omega_{yes}(2t)-\Omega_{no}(2t)\right\|_1. \tag*{(38)} ρ y es ( t ) − ρ n o ( t ) 1 ≤ 2 ∥ Ω y es ( 2 t ) − Ω n o ( 2 t ) ∥ 1 . (38)
= 2 ∥ ⨂ j = 1 R σ y e s ( 2 t p j ) − ⨂ j = 1 R σ n o ( 2 t p j ) ∥ 1 . (39) =2\left\|\bigotimes_{j=1}^{R}\sigma_{yes}(2tp_j)-\bigotimes_{j=1}^{R}\sigma_{no}(2tp_j)\right\|_1. \tag*{(39)} = 2 j = 1 ⨂ R σ y es ( 2 t p j ) − j = 1 ⨂ R σ n o ( 2 t p j ) 1 . (39)
In the next subsection, we will bound the right-hand side by comparing the local averaged coherent states.
Local fidelities
We will bound the trace distance between the averaged states by lower bounding their fidelity. For density operators ω \omega ω and τ \tau τ , let
F ( ω , τ ) : = ∥ ω τ ∥ 1 . F(\omega,\tau):=\left\|\sqrt{\omega}\sqrt{\tau}\right\|_1. F ( ω , τ ) := ω τ 1 .
The Fuchs–van de Graaf inequality [14 ] says that
∥ ω − τ ∥ 1 ≤ 2 1 − F ( ω , τ ) 2 . \left\|\omega-\tau\right\|_1\le2\sqrt{1-F(\omega,\tau)^2}. ∥ ω − τ ∥ 1 ≤ 2 1 − F ( ω , τ ) 2 .
Define the root fidelity between the local averaged coherent states by
F μ : = F ( σ y e s ( μ ) , σ n o ( μ ) ) . F_\mu:=F\left(\sigma_{yes}(\mu),\sigma_{no}(\mu)\right). F μ := F ( σ y es ( μ ) , σ n o ( μ ) ) .
Since every block uses the same local ensembles, the function F μ F_\mu F μ is independent of the block index j j j . The fidelity of the j j j -th block can be obtained by evaluating the function at μ = 2 t p j \mu=2tp_j μ = 2 t p j .
Lemma 10 (Comparison through local fidelities). For the fixed selector blocks and independent local choices above, the averaged t t t -copy ensembles satisfy, for every integer t ≥ 1 t\ge1 t ≥ 1 ,
∥ ρ y e s ( t ) − ρ n o ( t ) ∥ 1 2 ≤ 32 ∑ j = 1 R ( 1 − F 2 t p j ) . \left\|\rho_{yes}^{(t)}-\rho_{no}^{(t)}\right\|_1^2\le32\sum_{j=1}^{R}(1-F_{2tp_j}). ρ y es ( t ) − ρ n o ( t ) 1 2 ≤ 32 j = 1 ∑ R ( 1 − F 2 t p j ) .
Proof. We then have that
∥ ρ y e s ( t ) − ρ n o ( t ) ∥ 1 ≤ 2 ∥ Ω y e s ( 2 t ) − Ω n o ( 2 t ) ∥ 1 ≤ 4 1 − F ( Ω y e s ( 2 t ) , Ω n o ( 2 t ) ) 2 = 4 1 − ∏ j = 1 R F ( σ y e s ( 2 t p j ) , σ n o ( 2 t p j ) ) 2 . (40) \begin{aligned}
\left\lVert\rho_{yes}^{(t)}-\rho_{no}^{(t)}\right\rVert_1
&\le2\left\lVert\Omega_{yes}(2t)-\Omega_{no}(2t)\right\rVert_1 \\
&\le4\sqrt{1-F\left(\Omega_{yes}(2t),\Omega_{no}(2t)\right)^2} \\
&=4\sqrt{1-\prod_{j=1}^{R}F\left(\sigma_{yes}(2tp_j),\sigma_{no}(2tp_j)\right)^2}. \tag*{(40)}
\end{aligned} ρ y es ( t ) − ρ n o ( t ) 1 ≤ 2 ∥ Ω y es ( 2 t ) − Ω n o ( 2 t ) ∥ 1 ≤ 4 1 − F ( Ω y es ( 2 t ) , Ω n o ( 2 t ) ) 2 = 4 1 − j = 1 ∏ R F ( σ y es ( 2 t p j ) , σ n o ( 2 t p j ) ) 2 . (40)
Using Equation (40) , we may write
∥ ρ y e s ( t ) − ρ n o ( t ) ∥ 1 2 ≤ 16 ( 1 − ∏ j = 1 R F 2 t p j 2 ) ≤ 32 ∑ j = 1 R ( 1 − F 2 t p j ) . \left\lVert\rho_{yes}^{(t)}-\rho_{no}^{(t)}\right\rVert_1^2
\le16\left(1-\prod_{j=1}^{R}F_{2tp_j}^2\right)
\le32\sum_{j=1}^{R}\left(1-F_{2tp_j}\right). ρ y es ( t ) − ρ n o ( t ) 1 2 ≤ 16 ( 1 − j = 1 ∏ R F 2 t p j 2 ) ≤ 32 j = 1 ∑ R ( 1 − F 2 t p j ) .
since 0 ≤ F 2 t p j ≤ 1 0\le F_{2tp_j}\le1 0 ≤ F 2 t p j ≤ 1 .
Bounding the local states
Using the local functions f i + f_i^+ f i + , f i − f_i^- f i − , h 0 h_0 h 0 , and h 1 h_1 h 1 defined in Table 2, we can write the local averaged states as:
σ y e s ( μ ) = α m ∑ i = 1 m ∣ Φ μ ( f i + ) ⟩ ⟨ Φ μ ( f i + ) ∣ + 1 − α 2 ∑ s = 0 1 ∣ Φ μ ( h s ) ⟩ ⟨ Φ μ ( h s ) ∣ , \sigma_{yes}(\mu)=\frac{\alpha}{m}\sum_{i=1}^{m}\lvert\Phi_{\mu}(f_i^+)\rangle\langle\Phi_{\mu}(f_i^+)\rvert+\frac{1-\alpha}{2}\sum_{s=0}^{1}\lvert\Phi_{\mu}(h_s)\rangle\langle\Phi_{\mu}(h_s)\rvert, σ y es ( μ ) = m α i = 1 ∑ m ∣ Φ μ ( f i + )⟩ ⟨ Φ μ ( f i + )∣ + 2 1 − α s = 0 ∑ 1 ∣ Φ μ ( h s )⟩ ⟨ Φ μ ( h s )∣ ,
σ n o ( μ ) = α − ρ m ∑ i = 1 m ∣ Φ μ ( f i + ) ⟩ ⟨ Φ μ ( f i + ) ∣ + ρ m ∑ i = 1 m ∣ Φ μ ( f i − ) ⟩ ⟨ Φ μ ( f i − ) ∣ + 1 − α 2 ∑ s = 0 1 ∣ Φ μ ( h s ) ⟩ ⟨ Φ μ ( h s ) ∣ . \begin{aligned}
\sigma_{no}(\mu)
&=\frac{\alpha-\rho}{m}\sum_{i=1}^{m}\lvert\Phi_{\mu}(f_i^+)\rangle\langle\Phi_{\mu}(f_i^+)\rvert+\frac{\rho}{m}\sum_{i=1}^{m}\lvert\Phi_{\mu}(f_i^-)\rangle\langle\Phi_{\mu}(f_i^-)\rvert\\
&\quad+\frac{1-\alpha}{2}\sum_{s=0}^{1}\lvert\Phi_{\mu}(h_s)\rangle\langle\Phi_{\mu}(h_s)\rvert.
\end{aligned} σ n o ( μ ) = m α − ρ i = 1 ∑ m ∣ Φ μ ( f i + )⟩ ⟨ Φ μ ( f i + )∣ + m ρ i = 1 ∑ m ∣ Φ μ ( f i − )⟩ ⟨ Φ μ ( f i − )∣ + 2 1 − α s = 0 ∑ 1 ∣ Φ μ ( h s )⟩ ⟨ Φ μ ( h s )∣ .
We also have that m ≥ 2 m\ge2 m ≥ 2 and 0 ≤ ρ ≤ α ≤ 1 0\le\rho\le\alpha\le1 0 ≤ ρ ≤ α ≤ 1 . Furthermore, the local functions agree outside the band
B = { x ∈ { 0 , 1 } m : L ≤ ∣ x ∣ ≤ U } , B=\{x\in\{0,1\}^{m}:L\le|x|\le U\}, B = { x ∈ { 0 , 1 } m : L ≤ ∣ x ∣ ≤ U } ,
where L L L and U U U are cutoffs satisfying 0 ≤ L ≤ U ≤ m 0\le L\le U\le m 0 ≤ L ≤ U ≤ m and L + U = m L+U=m L + U = m . Let
p : = ∣ B ∣ 2 m . (41) p:=\frac{|B|}{2^m}. \tag*{(41)} p := 2 m ∣ B ∣ . (41)
and define
∣ z g ⟩ : = 1 ∣ B ∣ ∑ x ∈ B ( − 1 ) g ( x ) ∣ x ⟩ . \lvert z_g\rangle:=\frac{1}{\sqrt{|B|}}\sum_{x\in B}(-1)^{g(x)}\lvert x\rangle. ∣ z g ⟩ := ∣ B ∣ 1 x ∈ B ∑ ( − 1 ) g ( x ) ∣ x ⟩ .
for each local function g g g . Since any local functions g , h g,h g , h agree outside the band B B B , we may write
⟨ z g ∣ z h ⟩ = 1 ∣ B ∣ ∑ x ∈ B ( − 1 ) g ( x ) + h ( x ) = 1 − 2 dist ( g , h ) p . (42) \langle z_g\mid z_h\rangle=\frac{1}{|B|}\sum_{x\in B}(-1)^{g(x)+h(x)}=1-\frac{2\operatorname{dist}(g,h)}{p}. \tag*{(42)} ⟨ z g ∣ z h ⟩ = ∣ B ∣ 1 x ∈ B ∑ ( − 1 ) g ( x ) + h ( x ) = 1 − p 2 dist ( g , h ) . (42)
Furthermore, let
∣ z ˉ ⟩ : = 1 m ∑ i = 1 m ∣ z f i + ⟩ , C : = α m ∑ i = 1 m ∣ z f i + ⟩ ⟨ z f i + ∣ + ( 1 − α ) ∣ z h 0 ⟩ ⟨ z h 0 ∣ . |\bar{z}\rangle:= \frac{1}{m}\sum_{i=1}^{m}|z_{f_i^+}\rangle,\qquad C := \frac{\alpha}{m}\sum_{i=1}^{m}|z_{f_i^+}\rangle\langle z_{f_i^+}|+(1-\alpha)|z_{h_0}\rangle\langle z_{h_0}|. ∣ z ˉ ⟩ := m 1 i = 1 ∑ m ∣ z f i + ⟩ , C := m α i = 1 ∑ m ∣ z f i + ⟩ ⟨ z f i + ∣ + ( 1 − α ) ∣ z h 0 ⟩ ⟨ z h 0 ∣.
Here, ∣ z ˉ ⟩ |\bar{z}\rangle ∣ z ˉ ⟩ is the average of the vectors ∣ z f i + ⟩ |z_{f_i^+}\rangle ∣ z f i + ⟩ , and C C C is the average of the projectors ∣ z g ⟩ ⟨ z g ∣ |z_g\rangle\langle z_g| ∣ z g ⟩ ⟨ z g ∣ under either distribution ν y e s \nu_{yes} ν y es or ν n o \nu_{no} ν n o .
Lemma 11 (Local fidelity bound). For the local ensembles and band parameters defined above, if 0 < ρ ≤ α ≤ 1 0<\rho\le\alpha\le1 0 < ρ ≤ α ≤ 1 , then
1 − F μ ≤ ρ 2 1 − α + ρ μ ρ ∥ z ˉ ∥ 2 + μ 2 ρ 2 4 . 1-F_\mu\le\frac{\rho^2}{1-\alpha+\rho}\mu\rho\lVert\bar{z}\rVert^2+\frac{\mu^2\rho^2}{4}. 1 − F μ ≤ 1 − α + ρ ρ 2 μ ρ ∥ z ˉ ∥ 2 + 4 μ 2 ρ 2 . If ρ = 0 \rho=0 ρ = 0 , the local distributions coincide and F μ = 1 F_\mu=1 F μ = 1 .
The proof is given in Appendix § 7 .§ 3 .
Applying Equation (69) with μ = 2 t p j \mu=2tp_j μ = 2 t p j for each j j j gives
∥ ρ y e s ( t ) − ρ n o ( t ) ∥ 1 2 ≤ 32 ∑ j = 1 R ( 1 − F 2 t p j ) ≤ 64 ρ 2 1 − α + ρ t ρ ∥ z ˉ ∥ 2 ∑ j = 1 R p j + 32 t 2 ρ 2 ∑ j = 1 R p j 2 ≤ 64 ρ 2 1 − α + ρ t β ρ ∥ z ˉ ∥ 2 + 32 t 2 ρ 2 β p max . (43) \begin{aligned}
\left\|\rho_{yes}^{(t)}-\rho_{no}^{(t)}\right\|_1^2\le32\sum_{j=1}^{R}(1-F_{2tp_j}) \\
&\le\frac{64\rho^2}{1-\alpha+\rho}t\rho\lVert\bar{z}\rVert^2\sum_{j=1}^{R}p_j+32t^2\rho^2\sum_{j=1}^{R}p_j^2 \\
&\le\frac{64\rho^2}{1-\alpha+\rho}t\beta\rho\lVert\bar{z}\rVert^2+32t^2\rho^2\beta p_{\max}. \tag*{(43)}
\end{aligned} ρ y es ( t ) − ρ n o ( t ) 1 2 ≤ 32 j = 1 ∑ R ( 1 − F 2 t p j ) ≤ 1 − α + ρ 64 ρ 2 tρ ∥ z ˉ ∥ 2 j = 1 ∑ R p j + 32 t 2 ρ 2 j = 1 ∑ R p j 2 ≤ 1 − α + ρ 64 ρ 2 tβ ρ ∥ z ˉ ∥ 2 + 32 t 2 ρ 2 β p m a x . (43)
The last inequality uses the definitions in Equation (23) and ∑ j p j 2 ≤ p max ∑ j p j = β p max \sum_j p_j^2\le p_{\max}\sum_j p_j=\beta p_{\max} ∑ j p j 2 ≤ p m a x ∑ j p j = β p m a x .
Parameter choices and the copy lower bound
We may now choose the parameters so that a function sampled from D n o D_{no} D n o is ε \varepsilon ε -far from monotone with high probability, while the averaged t t t -copy states remain difficult to distinguish. Recall that w = U − L w=U-L w = U − L is the width of the central band on the m m m action coordinates. Since L + U = m L+U=m L + U = m , the band is
B = { x ∈ { 0 , 1 } m : m − w 2 ≤ ∣ x ∣ ≤ m + w 2 } . B=\left\{x\in\{0,1\}^{m}:\frac{m-w}{2}\le|x|\le\frac{m+w}{2}\right\}. B = { x ∈ { 0 , 1 } m : 2 m − w ≤ ∣ x ∣ ≤ 2 m + w } .
The band mass p p p , as defined in Equation (41) , is the fraction of inputs lying in B B B . Furthermore, the quantity δ w \delta_w δ w , defined in Equation (25) , is the distance from monotonicity for each f i − f_i^- f i − . We have
p = ∣ B ∣ 2 m = 1 2 m ∑ k = L U ( m k ) , δ w = 1 2 m ∑ k = L U − 1 ( m − 1 k ) . p=\frac{|B|}{2^m}=\frac{1}{2^m}\sum_{k=L}^{U}\binom{m}{k},\qquad\delta_w=\frac{1}{2^m}\sum_{k=L}^{U-1}\binom{m-1}{k}. p = 2 m ∣ B ∣ = 2 m 1 k = L ∑ U ( k m ) , δ w = 2 m 1 k = L ∑ U − 1 ( k m − 1 ) .
Only blocks assigned a function f i − f_i^- f i − contribute to the distance from monotonicity. Each block receives such a function with probability ρ \rho ρ , so Equations (26) and (27) give an expected distance of β ρ δ w \beta\rho\delta_w β ρ δ w . For fixed m m m , choosing w w w determines p p p , δ w \delta_w δ w , and ∥ z ˉ ∥ 2 \lVert\bar{z}\rVert^2 ∥ z ˉ ∥ 2 . We will choose w w w and ρ \rho ρ to ensure that the functions are far with high probability and then apply Equation (43) to bound the distinguishability of the ensembles.
Next, we take m m m and w w w odd so that the endpoints L = ( m − w ) / 2 L=(m-w)/2 L = ( m − w ) /2 and U = ( m + w ) / 2 U=(m+w)/2 U = ( m + w ) /2 are integers and so the width-one band used below is admissible. Using Pascal’s identity, we have
p = 1 2 m ∑ k = L U [ ( m − 1 k ) + ( m − 1 k − 1 ) ] = 2 δ w + 2 2 m ( m − 1 L − 1 ) . \begin{aligned}
p=\frac{1}{2^m}\sum_{k=L}^{U}\left[\binom{m-1}{k}+\binom{m-1}{k-1}\right] \\
&=2\delta_w+\frac{2}{2^m}\binom{m-1}{L-1}.
\end{aligned} p = 2 m 1 k = L ∑ U [ ( k m − 1 ) + ( k − 1 m − 1 ) ] = 2 δ w + 2 m 2 ( L − 1 m − 1 ) .
where we use the convention that ( m − 1 − 1 ) = ( m − 1 m ) = 0 \binom{m-1}{-1}=\binom{m-1}{m}=0 ( − 1 m − 1 ) = ( m m − 1 ) = 0 . Since L + U = m L+U=m L + U = m and U − L ≥ 1 U-L\ge1 U − L ≥ 1 , we have L ≤ ( m − 1 ) / 2 L\le(m-1)/2 L ≤ ( m − 1 ) /2 . Therefore,
( m − 1 L − 1 ) ≤ ( m − 1 L ) ≤ ∑ k = L U − 1 ( m − 1 k ) = 2 m δ w , \binom{m-1}{L-1}\le\binom{m-1}{L}\le\sum_{k=L}^{U-1}\binom{m-1}{k}=2^m\delta_w, ( L − 1 m − 1 ) ≤ ( L m − 1 ) ≤ k = L ∑ U − 1 ( k m − 1 ) = 2 m δ w ,
and we get that
2 δ w ≤ p ≤ 4 δ w . (44) 2\delta_w\le p\le4\delta_w. \tag*{(44)} 2 δ w ≤ p ≤ 4 δ w . (44)
Stirling’s formula tells us that
2 − m ( m k ) = Θ ( m − 1 / 2 ) for ∣ k − m / 2 ∣ ≤ m . 2^{-m}\binom{m}{k}=\Theta(m^{-1/2})\qquad\text{for }|k-m/2|\le\sqrt{m}. 2 − m ( k m ) = Θ ( m − 1/2 ) for ∣ k − m /2∣ ≤ m .
If w ≤ m w\le\sqrt{m} w ≤ m , the band contains w + 1 w+1 w + 1 layers satisfying this constraint and we get p = Θ ( ( w + 1 ) / m ) p=\Theta((w+1)/\sqrt{m}) p = Θ (( w + 1 ) / m ) . If w > m w>\sqrt{m} w > m , the band contains at least m \sqrt{m} m central layers, each of mass Θ ( m − 1 / 2 ) \Theta(m^{-1/2}) Θ ( m − 1/2 ) . Therefore, p = Θ ( 1 ) p=\Theta(1) p = Θ ( 1 ) since p p p is at most 1. Using Equation (44) , we get
Θ ( δ w ) = p = Θ ( min { 1 , w + 1 m } ) . (45) \Theta(\delta_w)=p=\Theta\left(\min\left\{1,\frac{w+1}{\sqrt{m}}\right\}\right). \tag*{(45)} Θ ( δ w ) = p = Θ ( min { 1 , m w + 1 } ) . (45)
Furthermore,
δ 1 = 1 2 m ( m − 1 ( m − 1 ) / 2 ) = Θ ( m − 1 / 2 ) , δ m = 1 2 . \delta_1=\frac{1}{2^m}\binom{m-1}{(m-1)/2}=\Theta(m^{-1/2}),\qquad\delta_m=\frac{1}{2}. δ 1 = 2 m 1 ( ( m − 1 ) /2 m − 1 ) = Θ ( m − 1/2 ) , δ m = 2 1 .
Next, we bound ∥ z ∥ 2 \lVert z\rVert^2 ∥ z ∥ 2 . Recall that ∣ z ˉ ⟩ | \bar{z}\rangle ∣ z ˉ ⟩ is the average of the vectors corresponding to the functions f i + f_i^+ f i + . Since f i + ( x ) = x i f_i^+(x)=x_i f i + ( x ) = x i on B B B ,
∣ z ˉ ⟩ = 1 m ∑ i = 1 m ∣ z f i + ⟩ = 1 ∣ B ∣ ∑ x ∈ B ( 1 m ∑ i = 1 m ( − 1 ) x i ) ∣ x ⟩ = 1 ∣ B ∣ ∑ x ∈ B m − 2 ∣ x ∣ m ∣ x ⟩ . \begin{aligned}
|\bar{z}\rangle=\frac{1}{m}\sum_{i=1}^{m}|z_{f_i^+}\rangle\\
&=\frac{1}{\sqrt{|B|}}\sum_{x\in B}\left(\frac{1}{m}\sum_{i=1}^{m}(-1)^{x_i}\right)|x\rangle\\
&=\frac{1}{\sqrt{|B|}}\sum_{x\in B}\frac{m-2|x|}{m}|x\rangle.
\end{aligned} ∣ z ˉ ⟩ = m 1 i = 1 ∑ m ∣ z f i + ⟩ = ∣ B ∣ 1 x ∈ B ∑ ( m 1 i = 1 ∑ m ( − 1 ) x i ) ∣ x ⟩ = ∣ B ∣ 1 x ∈ B ∑ m m − 2∣ x ∣ ∣ x ⟩ .
Using p = ∣ B ∣ / 2 m p=|B|/2^m p = ∣ B ∣/ 2 m , we get
p ∥ z ˉ ∥ 2 = 1 2 m ∑ x ∈ B ( m − 2 ∣ x ∣ m ) 2 ≤ w 2 p m 2 . (46) p\lVert\bar{z}\rVert^2=\frac{1}{2^m}\sum_{x\in B}\left(\frac{m-2|x|}{m}\right)^2\le\frac{w^2p}{m^2}. \tag*{(46)} p ∥ z ˉ ∥ 2 = 2 m 1 x ∈ B ∑ ( m m − 2∣ x ∣ ) 2 ≤ m 2 w 2 p . (46)
since ∣ m − 2 ∣ x ∣ ∣ ≤ w |m-2|x||\leq w ∣ m − 2∣ x ∣∣ ≤ w throughout the band. For w ≤ m w\leq\sqrt{m} w ≤ m , Equation (45) tells us w 2 = O ( m p 2 ) w^2=O(mp^2) w 2 = O ( m p 2 ) , and hence, we have p ∥ z ˉ ∥ 2 = O ( p 3 / m ) p\lVert\bar{z}\rVert^2=O(p^3/m) p ∥ z ˉ ∥ 2 = O ( p 3 / m ) . For w > m w>\sqrt{m} w > m , we get
p ∥ z ˉ ∥ 2 ≤ 1 2 m ∑ x ∈ { 0 , 1 } m ( m − 2 ∣ x ∣ m ) 2 = 1 m . p\lVert\bar{z}\rVert^2\leq\frac{1}{2^m}\sum_{x\in\{0,1\}^m}\left(\frac{m-2|x|}{m}\right)^2=\frac{1}{m}. p ∥ z ˉ ∥ 2 ≤ 2 m 1 x ∈ { 0 , 1 } m ∑ ( m m − 2∣ x ∣ ) 2 = m 1 .
This is because for all x x x , ∣ x ∣ |x| ∣ x ∣ has mean m / 2 m/2 m /2 and variance m / 4 m/4 m /4 . Since p = Θ ( 1 ) p=\Theta(1) p = Θ ( 1 ) in this range, we conclude that
p ∥ z ˉ ∥ 2 = O ( p 3 m ) (47) p\lVert\bar{z}\rVert^2=O\left(\frac{p^3}{m}\right) \tag*{(47)} p ∥ z ˉ ∥ 2 = O ( m p 3 ) (47)
for all w w w .
The larger-ε \varepsilon ε regime. We first consider the range n − 1 / 2 ≤ ε ≤ 1 / 128 n^{-1/2}\leq\varepsilon\leq1/128 n − 1/2 ≤ ε ≤ 1/128 . Let m m m be the largest odd integer less than n / 2 n/2 n /2 , and let d = n − m d=n-m d = n − m . Then m = Θ ( n ) m=\Theta(n) m = Θ ( n ) and d ≥ n / 2 d\geq n/2 d ≥ n /2 . By Equation (24) , for sufficiently large n n n , we can find blocks U 1 , … , U R U_1,\ldots,U_R U 1 , … , U R satisfying
1 64 ≤ β ≤ 1 , p max ≤ 2 − ⌊ d / 10 ⌋ . \frac{1}{64}\leq\beta\leq1,\qquad p_{\max}\leq2^{-\lfloor\sqrt{d}/10\rfloor}. 64 1 ≤ β ≤ 1 , p m a x ≤ 2 − ⌊ d /10 ⌋ .
These are the blocks used to define the distributions D y e s \mathcal{D}_{yes} D y es and D n o \mathcal{D}_{no} D n o .
Next, let α = ρ = 1 \alpha=\rho=1 α = ρ = 1 . Under D n o \mathcal{D}_{no} D n o , every block is then assigned a function f i − f_i^- f i − . By Equation (26) , every sampled function therefore has distance β δ w \beta\delta_w β δ w from monotonicity. Next, choose w w w to be the smallest odd integer in { 1 , … , m } \{1,\ldots,m\} { 1 , … , m } such that
β δ w ≥ ε . \beta\delta_w\geq\varepsilon. β δ w ≥ ε .
Such a choice must exist because δ m = 1 / 2 \delta_m=1/2 δ m = 1/2 and
β δ m = β 2 ≥ 1 128 ≥ ε . \beta\delta_m=\frac{\beta}{2}\geq\frac{1}{128}\geq\varepsilon. β δ m = 2 β ≥ 128 1 ≥ ε .
Furthermore, every function sampled from D n o \mathcal{D}_{no} D n o is ε \varepsilon ε -far from monotone.
Next, we bound the mass of the chosen band. If w > 1 w>1 w > 1 , the minimality of w w w tells us that
δ w − 2 < ε β . \delta_{w-2}<\frac{\varepsilon}{\beta}. δ w − 2 < β ε .
Increasing the width from w − 2 w-2 w − 2 to w w w adds the following terms to the sum defining δ w \delta_w δ w :
δ w − δ w − 2 = 1 2 m ( ( m − 1 L ) + ( m − 1 U − 1 ) ) ≤ O ( m − 1 / 2 ) . \delta_w-\delta_{w-2}=\frac{1}{2^m}\left(\binom{m-1}{L}+\binom{m-1}{U-1}\right)\leq O(m^{-1/2}). δ w − δ w − 2 = 2 m 1 ( ( L m − 1 ) + ( U − 1 m − 1 ) ) ≤ O ( m − 1/2 ) .
Therefore,
δ w = O ( ε β + 1 m ) . \delta_w=O\left(\frac{\varepsilon}{\beta}+\frac{1}{\sqrt{m}}\right). δ w = O ( β ε + m 1 ) .
The same bound holds when w = 1 w=1 w = 1 since δ 1 = O ( m − 1 / 2 ) \delta_1=O(m^{-1/2}) δ 1 = O ( m − 1/2 ) . Since m = Θ ( n ) m=\Theta(n) m = Θ ( n ) and by assumption, ε ≥ n − 1 / 2 \varepsilon\geq n^{-1/2} ε ≥ n − 1/2 , we have m − 1 / 2 = O ( ε ) m^{-1/2}=O(\varepsilon) m − 1/2 = O ( ε ) . Using β ≤ 1 \beta\leq1 β ≤ 1 and Equations (44) and (47) , we get
p ≤ 4 δ w = O ( ε / β ) , p ∥ z ˉ ∥ 2 = O ( ε 3 β 3 m ) . p\leq4\delta_w=O(\varepsilon/\beta),\qquad p\lVert\bar{z}\rVert^2=O\left(\frac{\varepsilon^3}{\beta^3m}\right). p ≤ 4 δ w = O ( ε / β ) , p ∥ z ˉ ∥ 2 = O ( β 3 m ε 3 ) .
Finally, substituting these estimates into Equation (43) gives
∥ ρ y e s ( t ) − ρ n o ( t ) ∥ 1 2 ≤ 64 t β p ∥ z ˉ ∥ 2 + 32 t 2 ε 2 β p max = O ( t ε 3 β 2 m + t 2 ε 2 p max β ) = O ( t ε 3 n + t 2 ε 2 p max ) . (48) \begin{aligned}
\left\|\rho_{yes}^{(t)}-\rho_{no}^{(t)}\right\|_1^2
&\le64t\beta p\|\bar{z}\|^2+32t^2\varepsilon^2\beta p_{\max}\\
&=O\left(\frac{t\varepsilon^3}{\beta^2m}+\frac{t^2\varepsilon^2p_{\max}}{\beta}\right)\\
&=O\left(\frac{t\varepsilon^3}{n}+t^2\varepsilon^2p_{\max}\right). \tag*{(48)}
\end{aligned} ρ y es ( t ) − ρ n o ( t ) 1 2 ≤ 64 tβ p ∥ z ˉ ∥ 2 + 32 t 2 ε 2 β p m a x = O ( β 2 m t ε 3 + β t 2 ε 2 p m a x ) = O ( n t ε 3 + t 2 ε 2 p m a x ) . (48)
where we have used that α = ρ = 1 \alpha=\rho=1 α = ρ = 1 as well as β ≥ 1 / 64 \beta\ge1/64 β ≥ 1/64 and m = Θ ( n ) m=\Theta(n) m = Θ ( n ) . The second term is negligible since p max ≤ 2 − ⌊ d / 10 ⌋ p_{\max}\le2^{-\lfloor\sqrt{d}/10\rfloor} p m a x ≤ 2 − ⌊ d /10 ⌋ and d ≥ n / 2 d\ge n/2 d ≥ n /2 . Therefore, in order for the trace norm to be a constant, we need t = Ω ( n / ε 3 ) t=\Omega(n/\varepsilon^3) t = Ω ( n / ε 3 ) , yielding our lower bound.
The smaller-ε \varepsilon ε regime. We now consider the range 2 − n / 200 ≤ ε < n − 1 / 2 2^{-\sqrt{n}/200}\le\varepsilon<n^{-1/2} 2 − n /200 ≤ ε < n − 1/2 . Take w = 1 w=1 w = 1 and choose an odd m = Θ ( n ) m=\Theta(n) m = Θ ( n ) such that m ≤ n / 2 m\le n/2 m ≤ n /2 . Furthermore, let d = n − m d=n-m d = n − m , and as before, fix blocks satisfying Equation (24) so that
1 64 ≤ β ≤ 1 , p max ≤ 2 − ⌊ d / 10 ⌋ . \frac{1}{64}\le\beta\le1,\qquad p_{\max}\le2^{-\lfloor\sqrt{d}/10\rfloor}. 64 1 ≤ β ≤ 1 , p m a x ≤ 2 − ⌊ d /10 ⌋ .
We choose m m m sufficiently small so that
β δ 1 ≥ 12 n . \beta\delta_1\ge\frac{12}{\sqrt{n}}. β δ 1 ≥ n 12 .
Such a choice is possible since δ 1 = Θ ( m − 1 / 2 ) \delta_1=\Theta(m^{-1/2}) δ 1 = Θ ( m − 1/2 ) and the lower bound β ≥ 1 / 64 \beta\ge1/64 β ≥ 1/64 holds for the chosen blocks.
Next, let
α = 1 3 , ρ = 2 ε β δ 1 . \alpha=\frac{1}{3},\qquad\rho=\frac{2\varepsilon}{\beta\delta_1}. α = 3 1 , ρ = β δ 1 2 ε .
Since β δ 1 ≥ 12 / n \beta\delta_1\ge12/\sqrt{n} β δ 1 ≥ 12/ n and ε < n − 1 / 2 \varepsilon<n^{-1/2} ε < n − 1/2 , it follows that
0 < ρ ≤ ε n 6 < 1 6 < α , 0<\rho\le\frac{\varepsilon\sqrt{n}}{6}<\frac{1}{6}<\alpha, 0 < ρ ≤ 6 ε n < 6 1 < α ,
so these parameters define valid distributions. By Equations (26) and (27) , the expected distance of a function sampled from D n o \mathcal{D}_{\mathrm{no}} D no is
β ρ δ 1 = 2 ε . \beta\rho\delta_1=2\varepsilon. β ρ δ 1 = 2 ε .
From Equation (28) , we have
Pr f ∼ D n o [ dist ( f , M O N d + m ) < ε ] ≤ 4 p max ρ β = 2 δ 1 p max ε = o ( 1 ) . \Pr_{f\sim\mathcal{D}_{\mathrm{no}}}\left[\operatorname{dist}(f,\mathrm{MON}_{d+m})<\varepsilon\right]\le\frac{4p_{\max}}{\rho\beta}=\frac{2\delta_1p_{\max}}{\varepsilon}=o(1). f ∼ D no Pr [ dist ( f , MON d + m ) < ε ] ≤ ρβ 4 p m a x = ε 2 δ 1 p m a x = o ( 1 ) .
The last step holds in this regime, since δ 1 ≤ 1 / 2 \delta_1\le1/2 δ 1 ≤ 1/2 , p max ≤ 2 − ⌊ d / 10 ⌋ p_{\max}\le2^{-\lfloor\sqrt{d}/10\rfloor} p m a x ≤ 2 − ⌊ d /10 ⌋ , d ≥ n / 2 d\ge n/2 d ≥ n /2 , and ε ≥ 2 − n / 200 \varepsilon\ge2^{-\sqrt{n}/200} ε ≥ 2 − n /200 . Therefore, a function sampled from D n o \mathcal{D}_{\mathrm{no}} D no is ε \varepsilon ε -far from monotone with probability 1 − o ( 1 ) 1-o(1) 1 − o ( 1 ) .
For w = 1 w=1 w = 1 , Equations (45) and (47) give
p , δ 1 = Θ ( m − 1 / 2 ) , p ∥ z ˉ ∥ 2 = O ( m − 5 / 2 ) . p,\delta_1=\Theta(m^{-1/2}),\qquad p\|\bar{z}\|^2=O(m^{-5/2}). p , δ 1 = Θ ( m − 1/2 ) , p ∥ z ˉ ∥ 2 = O ( m − 5/2 ) .
Since α = 1 / 3 \alpha=1/3 α = 1/3 ,
ρ 2 1 − α + ρ = ρ 2 2 / 3 + ρ < 3 2 ρ 2 . \frac{\rho^2}{1-\alpha+\rho}=\frac{\rho^2}{2/3+\rho}<\frac{3}{2}\rho^2. 1 − α + ρ ρ 2 = 2/3 + ρ ρ 2 < 2 3 ρ 2 .
Applying Equation (43) and substituting ρ = 2 ε / ( β δ 1 ) \rho= 2\varepsilon/(\beta\delta_1) ρ = 2 ε / ( β δ 1 ) , we obtain
∥ ρ y e s ( t ) − ρ n o ( t ) ∥ 1 2 ≤ 96 ρ 2 t β p ∥ z ˉ ∥ 2 2 + 32 t 2 p 2 β p max = 384 t ε 2 p ∥ z ˉ ∥ 2 2 β δ 1 2 + 32 t 2 p 2 β p max = O ( t ε 2 m 3 / 2 + t 2 p max m ) = O ( t ε 2 n 3 / 2 + t 2 p max n ) , (49) \begin{aligned}
\left\|\rho_{\mathrm{yes}}^{(t)}-\rho_{\mathrm{no}}^{(t)}\right\|_1^2
&\le96\rho^2t\beta p\|\bar{z}\|_2^2+32t^2p^2\beta p_{\max}\\
&=\frac{384t\varepsilon^2p\|\bar{z}\|_2^2}{\beta\delta_1^2}+32t^2p^2\beta p_{\max}\\
&=O\left(\frac{t\varepsilon^2}{m^{3/2}}+\frac{t^2p_{\max}}{m}\right)\\
&=O\left(\frac{t\varepsilon^2}{n^{3/2}}+\frac{t^2p_{\max}}{n}\right), \tag*{(49)}
\end{aligned} ρ yes ( t ) − ρ no ( t ) 1 2 ≤ 96 ρ 2 tβ p ∥ z ˉ ∥ 2 2 + 32 t 2 p 2 β p m a x = β δ 1 2 384 t ε 2 p ∥ z ˉ ∥ 2 2 + 32 t 2 p 2 β p m a x = O ( m 3/2 t ε 2 + m t 2 p m a x ) = O ( n 3/2 t ε 2 + n t 2 p m a x ) , (49)
where we have used that β = Θ ( 1 ) \beta= \Theta(1) β = Θ ( 1 ) and m = Θ ( n ) m = \Theta(n) m = Θ ( n ) . The second term is negligible and hence for a constant trace norm, we require t = Ω ( n 3 / 2 / ε 2 ) t = \Omega(n^{3/2}/\varepsilon^2) t = Ω ( n 3/2 / ε 2 ) .
Combining the two regimes, we conclude that for 2 − n / 200 ≤ ε ≤ 1 / 128 2^{-\sqrt{n}/200} \le\varepsilon\le1/128 2 − n /200 ≤ ε ≤ 1/128 , monotonicity testing with two-sided error at most 1 / 3 1/3 1/3 requires
t = Ω ( min { n ε 3 , n 3 / 2 ε 2 } ) (50) t=\Omega\left(\min\left\{\frac{n}{\varepsilon^3},\frac{n^{3/2}}{\varepsilon^2}\right\}\right) \tag*{(50)} t = Ω ( min { ε 3 n , ε 2 n 3/2 } ) (50)
copies of the uniform function state.
Lower bounds for additional Boolean properties
We adapt the construction from § 4 to prove lower bounds for testing union-closedness and 2-monotonicity. We use the same selector blocks but with different local functions inside them. A Boolean function f : { 0 , 1 } n → { 0 , 1 } f:\{0,1\}^n\to\{0,1\} f : { 0 , 1 } n → { 0 , 1 } is union-closed if, for all x , y ∈ { 0 , 1 } n x,y\in\{0,1\}^n x , y ∈ { 0 , 1 } n ,
f ( x ) = f ( y ) = 1 ⟹ f ( x ∨ y ) = 1 , f(x)=f(y)=1\quad\Longrightarrow\quad f(x\lor y)=1, f ( x ) = f ( y ) = 1 ⟹ f ( x ∨ y ) = 1 ,
where ( x ∨ y ) i : = max { x i , y i } (x\lor y)_i:=\max\{x_i,y_i\} ( x ∨ y ) i := max { x i , y i } for every i ∈ [ n ] i\in[n] i ∈ [ n ] . The function is 2-monotone if there are no vertices x ≺ y ≺ z x\prec y\prec z x ≺ y ≺ z such that
( f ( x ) , f ( y ) , f ( z ) ) = ( 1 , 0 , 1 ) (f(x),f(y),f(z))=(1,0,1) ( f ( x ) , f ( y ) , f ( z )) = ( 1 , 0 , 1 )
where x ≺ y x\prec y x ≺ y means that x ≠ y x\ne y x = y and x i ≤ y i x_i\le y_i x i ≤ y i for every i ∈ [ n ] i\in[n] i ∈ [ n ] .
Proof of Theorem 3 . Let d : = ⌊ n / 2 ⌋ d:=\lfloor n/2\rfloor d := ⌊ n /2 ⌋ and m : = n − d m:=n-d m := n − d . Write each input as ( y , x ) ∈ { 0 , 1 } d × { 0 , 1 } m (y,x)\in\{0,1\}^d\times\{0,1\}^m ( y , x ) ∈ { 0 , 1 } d × { 0 , 1 } m . Next, we fix the selector blocks U 1 , … , U R U_1,\ldots,U_R U 1 , … , U R from § 4.1 . Recall that p j = ∣ U j ∣ / 2 d p_j=|U_j|/2^d p j = ∣ U j ∣/ 2 d is the fraction of selector inputs belonging to U j U_j U j . By Equation (24) , we have
β = ∑ j p j ≥ 1 64 , p max = max j p j ≤ 2 − r , \beta=\sum_j p_j\ge\frac{1}{64},\qquad p_{\max}=\max_j p_j\le2^{-r}, β = j ∑ p j ≥ 64 1 , p m a x = j max p j ≤ 2 − r ,
where r = ⌊ d / 10 ⌋ r=\lfloor\sqrt{d}/10\rfloor r = ⌊ d /10 ⌋ . We will use the same fixed blocks for both properties.
For each pair of distinct coordinates a , b ∈ [ m ] a,b\in[m] a , b ∈ [ m ] of the local input x ∈ { 0 , 1 } m x\in\{0,1\}^m x ∈ { 0 , 1 } m , define
D a b ( x ) : = x a ⊕ x b , E a b ( x ) : = 1 − D a b ( x ) . D_{ab}(x):=x_a\oplus x_b,\qquad E_{ab}(x):=1-D_{ab}(x). D ab ( x ) := x a ⊕ x b , E ab ( x ) := 1 − D ab ( x ) .
Thus, D a b ( x ) = 1 D_{ab}(x)=1 D ab ( x ) = 1 when x a x_a x a and x b x_b x b differ, whereas E a b ( x ) = 1 E_{ab}(x)=1 E ab ( x ) = 1 when they agree. Independently for each block U j U_j U j , choose a uniformly random unordered pair { a j , b j } ⊆ [ m ] \{a_j,b_j\}\subseteq[m] { a j , b j } ⊆ [ m ] . For each property, the assignments below define distributions D y e s \mathcal{D}_{\mathrm{yes}} D yes and D n o \mathcal{D}_{\mathrm{no}} D no over global functions. We write $f_{\mathrm{yes}}\sim\mathcal{D}_{\mathrm{yes}} and f n o ∼ D n o f_{no} \sim D_{no} f n o ∼ D n o for the sampled functions. The coordinate pairs are chosen once when selecting the function and remain fixed across all copies.
For union-closedness, set
f y e s ( y , x ) : = E a j b j ( x ) , f n o ( y , x ) : = D a j b j ( x ) when y ∈ U j . f_{yes}(y,x) := E_{a_jb_j}(x), \qquad f_{no}(y,x) := D_{a_jb_j}(x) \qquad\text{when } y \in U_j. f y es ( y , x ) := E a j b j ( x ) , f n o ( y , x ) := D a j b j ( x ) when y ∈ U j .
Both functions equal 0 when y y y satisfies no selector term and equal 1 when y y y satisfies at least two selector terms. The independent random choices of { a j , b j } \{a_j,b_j\} { a j , b j } define the distributions D y e s D_{yes} D y es and D n o D_{no} D n o .
We will show that every function sampled from D y e s D_{yes} D y es is union-closed. Suppose f y e s ( y , x ) = f y e s ( y ′ , x ′ ) = 1 f_{yes}(y,x) = f_{yes}(y',x') = 1 f y es ( y , x ) = f y es ( y ′ , x ′ ) = 1 . This implies that both y y y and y ′ y' y ′ satisfy at least one selector term, and y ∨ y ′ y \vee y' y ∨ y ′ satisfies every term satisfied by either. If y ∨ y ′ y \vee y' y ∨ y ′ satisfies at least two terms, then f y e s ( y ∨ y ′ , x ∨ x ′ ) = 1 f_{yes}(y \vee y',x \vee x') = 1 f y es ( y ∨ y ′ , x ∨ x ′ ) = 1 by definition. Otherwise, y y y , y ′ y' y ′ , and y ∨ y ′ y \vee y' y ∨ y ′ belong to the same block U j U_j U j . Since E a j b j ( x ) = E a j b j ( x ′ ) = 1 E_{a_jb_j}(x) = E_{a_jb_j}(x') = 1 E a j b j ( x ) = E a j b j ( x ′ ) = 1 , we have
( x ∨ x ′ ) a j = x a j ∨ x a j ′ = x b j ∨ x b j ′ = ( x ∨ x ′ ) b j . (x \vee x')_{a_j} = x_{a_j} \vee x'_{a_j} = x_{b_j} \vee x'_{b_j} = (x \vee x')_{b_j}. ( x ∨ x ′ ) a j = x a j ∨ x a j ′ = x b j ∨ x b j ′ = ( x ∨ x ′ ) b j .
Therefore, E a j b j ( x ∨ x ′ ) = 1 E_{a_jb_j}(x \vee x') = 1 E a j b j ( x ∨ x ′ ) = 1 and f y e s ( y ∨ y ′ , x ∨ x ′ ) = 1 f_{yes}(y \vee y',x \vee x') = 1 f y es ( y ∨ y ′ , x ∨ x ′ ) = 1 in this case as well.
Next, we show that every function sampled from D n o D_{no} D n o is far from union-closed. Fix y ∈ U j y \in U_j y ∈ U j and all coordinates of x x x except a j , b j a_j,b_j a j , b j . Setting ( x a j , x b j ) (x_{a_j},x_{b_j}) ( x a j , x b j ) to ( 1 , 0 ) (1,0) ( 1 , 0 ) , ( 0 , 1 ) (0,1) ( 0 , 1 ) , and ( 1 , 1 ) (1,1) ( 1 , 1 ) gives three inputs with labels 1 , 1 , 0 1,1,0 1 , 1 , 0 , respectively. The union of the first two inputs is the third, so any union-closed function must differ from f n o f_{no} f n o on at least one of these inputs. For each fixed y y y , varying the other m − 2 m-2 m − 2 coordinates gives 2 m − 2 2^{m-2} 2 m − 2 disjoint violating triples. Furthermore, triples from different U j U_j U j are also disjoint. Therefore, making f n o f_{no} f n o union-closed requires changing at least
2 m − 2 ∑ j ∣ U j ∣ 2 d + m = β 4 ≥ 1 256 . \frac{2^{m-2}\sum_j |U_j|}{2^{d+m}} = \frac{\beta}{4} \ge\frac{1}{256}. 2 d + m 2 m − 2 ∑ j ∣ U j ∣ = 4 β ≥ 256 1 .
of its values. In particular, every function sampled from D n o D_{no} D n o is ε \varepsilon ε -far from union-closed for the stated range of ε \varepsilon ε .
We now bound the trace distance between the averaged t t t -copy ensembles. Let ρ b ( t ) \rho_b^{(t)} ρ b ( t ) denote the averaged state of t t t copies under D b D_b D b , for b ∈ { y e s , n o } b \in\{yes,no\} b ∈ { y es , n o } . By (40) , we have
∥ ρ y e s ( t ) − ρ n o ( t ) ∥ 1 2 ≤ 32 ∑ j = 1 R ( 1 − F 2 t p j ) . \left\|\rho_{yes}^{(t)}-\rho_{no}^{(t)}\right\|_1^2 \le32\sum_{j=1}^{R}\left(1-F_{2t p_j}\right). ρ y es ( t ) − ρ n o ( t ) 1 2 ≤ 32 j = 1 ∑ R ( 1 − F 2 t p j ) .
where
F μ : = F ( σ y e s ( μ ) , σ n o ( μ ) ) F_\mu:= F\left(\sigma_{yes}(\mu),\sigma_{no}(\mu)\right) F μ := F ( σ y es ( μ ) , σ n o ( μ ) )
is the fidelity between the local averaged states. It remains to bound 1 − F μ 1-F_\mu 1 − F μ . Let K : = ( m 2 ) K := \binom{m}{2} K := ( 2 m ) be the number of possible coordinate pairs. Since each pair is chosen uniformly at random, the local averaged states are
σ y e s ( μ ) = 1 K ∑ 1 ≤ a < b ≤ m ∣ Φ μ ( E a b ) ⟩ ⟨ Φ μ ( E a b ) ∣ , \sigma_{yes}(\mu) = \frac{1}{K}\sum_{1 \le a < b \le m} \lvert\Phi_\mu(E_{ab})\rangle\langle\Phi_\mu(E_{ab})\rvert, σ y es ( μ ) = K 1 1 ≤ a < b ≤ m ∑ ∣ Φ μ ( E ab )⟩ ⟨ Φ μ ( E ab )∣ ,
σ n o ( μ ) = 1 K ∑ 1 ≤ a < b ≤ m ∣ Φ μ ( D a b ) ⟩ ⟨ Φ μ ( D a b ) ∣ . \sigma_{no}(\mu) = \frac{1}{K}\sum_{1 \le a < b \le m} \lvert\Phi_\mu(D_{ab})\rangle\langle\Phi_\mu(D_{ab})\rvert. σ n o ( μ ) = K 1 1 ≤ a < b ≤ m ∑ ∣ Φ μ ( D ab )⟩ ⟨ Φ μ ( D ab )∣ .
We can calculate F μ F_\mu F μ using the overlaps between these component vectors.
For any two coordinate pairs { a , b } \{a,b\} { a , b } and { a ′ , b ′ } \{a',b'\} { a ′ , b ′ } , we have
dist ( E a b , D a ′ b ′ ) = { 1 , { a , b } = { a ′ , b ′ } , 1 2 , { a , b } ≠ { a ′ , b ′ } . \operatorname{dist}(E_{ab},D_{a'b'}) =
\begin{cases}
1, & \{a,b\} = \{a',b'\},\\
\frac{1}{2}, & \{a,b\} \ne\{a',b'\}.
\end{cases} dist ( E ab , D a ′ b ′ ) = { 1 , 2 1 , { a , b } = { a ′ , b ′ } , { a , b } = { a ′ , b ′ } .
If the pairs are identical, the two functions are the complement of each other. Otherwise, there is at least a single coordinate that belongs to one of the pairs, and flipping this coordinate changes only one of the two function values. Therefore, the distance is 1 2 \frac{1}{2} 2 1 . It follows that
⟨ Φ μ ( E a b ) ∣ Φ μ ( D a ′ b ′ ) ⟩ = { e − μ , { a , b } = { a ′ , b ′ } , e − μ / 2 , { a , b } ≠ { a ′ , b ′ } . \langle\Phi_\mu(E_{ab}) \mid\Phi_\mu(D_{a'b'}) \rangle=
\begin{cases}
e^{-\mu}, & \{a,b\}=\{a',b'\},\\
e^{-\mu/2}, & \{a,b\}\ne\{a',b'\}.
\end{cases} ⟨ Φ μ ( E ab ) ∣ Φ μ ( D a ′ b ′ )⟩ = { e − μ , e − μ /2 , { a , b } = { a ′ , b ′ } , { a , b } = { a ′ , b ′ } .
The weighted overlap matrix of the ensemble states is
G μ : = 1 K [ ( e − μ − e − μ / 2 ) I K + e − μ / 2 J K ] , G_\mu:= \frac{1}{K}\left[(e^{-\mu}-e^{-\mu/2})I_K+e^{-\mu/2}J_K\right], G μ := K 1 [ ( e − μ − e − μ /2 ) I K + e − μ /2 J K ] ,
where I K I_K I K is the identity matrix and J K J_K J K is the matrix whose entries are all 1. Applying Equation (63) to the local averaged states gives
F μ = ∥ G μ ∥ 1 . F_\mu=\lVert G_\mu\rVert_1. F μ = ∥ G μ ∥ 1 .
The eigenvalues of G μ G_\mu G μ are
e − μ + ( K − 1 ) e − μ / 2 K , e − μ − e − μ / 2 K , \frac{e^{-\mu}+(K-1)e^{-\mu/2}}{K},\qquad\frac{e^{-\mu}-e^{-\mu/2}}{K}, K e − μ + ( K − 1 ) e − μ /2 , K e − μ − e − μ /2 ,
with multiplicities 1 and K − 1 K-1 K − 1 respectively. Hence,
F μ = e − μ + ( K − 1 ) e − μ / 2 K + ( K − 1 ) e − μ / 2 − e − μ K = 2 ( K − 1 ) e − μ / 2 − ( K − 2 ) e − μ K . \begin{aligned}
F_\mu&= \frac{e^{-\mu}+(K-1)e^{-\mu/2}}{K}+(K-1)\frac{e^{-\mu/2}-e^{-\mu}}{K}\\
&=\frac{2(K-1)e^{-\mu/2}-(K-2)e^{-\mu}}{K}.
\end{aligned} F μ = K e − μ + ( K − 1 ) e − μ /2 + ( K − 1 ) K e − μ /2 − e − μ = K 2 ( K − 1 ) e − μ /2 − ( K − 2 ) e − μ .
Rearranging the expression for F μ F_\mu F μ , we get
1 − F μ = ( 1 − e − μ / 2 ) 2 + 2 K e − μ / 2 ( 1 − e − μ / 2 ) ≤ μ 2 4 + μ K . (51) \begin{aligned}
1-F_\mu&= (1-e^{-\mu/2})^2+\frac{2}{K}e^{-\mu/2}(1-e^{-\mu/2})\\
&\le\frac{\mu^2}{4}+\frac{\mu}{K}. \tag*{(51)}
\end{aligned} 1 − F μ = ( 1 − e − μ /2 ) 2 + K 2 e − μ /2 ( 1 − e − μ /2 ) ≤ 4 μ 2 + K μ . (51)
where we have used that e − μ / 2 ≤ 1 e^{-\mu/2}\le1 e − μ /2 ≤ 1 and 0 ≤ 1 − e − μ / 2 ≤ μ 2 0\le1-e^{-\mu/2}\le\frac{\mu}{2} 0 ≤ 1 − e − μ /2 ≤ 2 μ . Applying (40) and substituting μ = 2 t p j \mu=2tp_j μ = 2 t p j into Equation (51) gives
∥ ρ y e s ( t ) − ρ n o ( t ) ∥ 1 2 ≤ 32 ∑ j = 1 R ( t 2 p j 2 + 2 t p j K ) = 32 t 2 ∑ j = 1 R p j 2 + 64 t K ∑ j = 1 R p j ≤ 32 β p max t 2 + 64 β t K . (52) \begin{aligned}
\lVert\rho_{yes}^{(t)}-\rho_{no}^{(t)}\rVert_1^2
&\le32\sum_{j=1}^{R}\left(t^2p_j^2+\frac{2tp_j}{K}\right)\\
&=32t^2\sum_{j=1}^{R}p_j^2+\frac{64t}{K}\sum_{j=1}^{R}p_j\\
&\le32\beta p_{\max}t^2+\frac{64\beta t}{K}. \tag*{(52)}
\end{aligned} ∥ ρ y es ( t ) − ρ n o ( t ) ∥ 1 2 ≤ 32 j = 1 ∑ R ( t 2 p j 2 + K 2 t p j ) = 32 t 2 j = 1 ∑ R p j 2 + K 64 t j = 1 ∑ R p j ≤ 32 β p m a x t 2 + K 64 β t . (52)
where we used that ∑ j p j = β \sum_j p_j=\beta ∑ j p j = β and
∑ j p j 2 ≤ p max ∑ j p j = β p max . \sum_j p_j^2\le p_{\max}\sum_j p_j=\beta p_{\max}. j ∑ p j 2 ≤ p m a x j ∑ p j = β p m a x .
Using β ≤ 1 \beta\le1 β ≤ 1 , p max ≤ 2 − Ω ( n ) p_{\max}\le2^{-\Omega(\sqrt{n})} p m a x ≤ 2 − Ω ( n ) , and K = Θ ( n 2 ) K=\Theta(n^2) K = Θ ( n 2 ) , we have
32 β p max t 2 + 64 β t K ≤ 32 t 2 2 − Ω ( n ) + O ( t n 2 ) . 32\beta p_{\max}t^2+\frac{64\beta t}{K}\le32t^2 2^{-\Omega(\sqrt{n})}+O\left(\frac{t}{n^2}\right). 32 β p m a x t 2 + K 64 β t ≤ 32 t 2 2 − Ω ( n ) + O ( n 2 t ) .
Therefore, any algorithm that distinguishes the two cases with probability 1 3 \frac{1}{3} 3 1 requires at least
t = Ω ( n 2 ) t = \Omega(n^2) t = Ω ( n 2 )
copies, proving the lower bound.
For 2-monotonicity, the construction is identical except we define
f y e s ( y , x ) = D a j b j ( x ) , f n o ( y , x ) = E a j b j ( x ) ( y ∈ U j ) , f_{\mathrm{yes}}(y,x) = D_{a_jb_j}(x), \qquad f_{\mathrm{no}}(y,x) = E_{a_jb_j}(x) \qquad(y \in U_j), f yes ( y , x ) = D a j b j ( x ) , f no ( y , x ) = E a j b j ( x ) ( y ∈ U j ) ,
and we set both functions to 0 whenever y ∉ ⋃ j U j y \notin\bigcup_j U_j y ∈ / ⋃ j U j .
To show that f y e s f_{\mathrm{yes}} f yes is 2-monotone, consider any chain such that
( y 0 , x 0 ) ⪯ ( y 1 , x 1 ) ⪯ ( y 2 , x 2 ) (y_0,x_0) \preceq(y_1,x_1) \preceq(y_2,x_2) ( y 0 , x 0 ) ⪯ ( y 1 , x 1 ) ⪯ ( y 2 , x 2 )
where the first and last vertices have function value 1. We will show that the value of ( y 1 , x 1 ) (y_1,x_1) ( y 1 , x 1 ) must also be 1. The selector inputs y 0 y_0 y 0 and y 2 y_2 y 2 lie in the same block U j U_j U j , since the function is 0 outside the blocks and different blocks are incomparable. Therefore, y 1 y_1 y 1 has to belong to the same block. Within U j U_j U j , the function f y e s f_{\mathrm{yes}} f yes is the XOR of coordinates a j a_j a j and b j b_j b j . Since f y e s ( y 0 , x 0 ) = 1 f_{\mathrm{yes}}(y_0,x_0) = 1 f yes ( y 0 , x 0 ) = 1 , the pair
( x 0 , a j , x 0 , b j ) (x_{0,a_j}, x_{0,b_j}) ( x 0 , a j , x 0 , b j )
is either ( 0 , 1 ) (0,1) ( 0 , 1 ) or ( 1 , 0 ) (1,0) ( 1 , 0 ) . If it is ( 0 , 1 ) (0,1) ( 0 , 1 ) , the corresponding pair for x 2 x_2 x 2 is either ( 0 , 1 ) (0,1) ( 0 , 1 ) or ( 1 , 1 ) (1,1) ( 1 , 1 ) . The latter is impossible since f y e s ( y 2 , x 2 ) = 1 f_{\mathrm{yes}}(y_2,x_2) = 1 f yes ( y 2 , x 2 ) = 1 , so x 2 x_2 x 2 must also have selected bits ( 0 , 1 ) (0,1) ( 0 , 1 ) . Since x 0 ⪯ x 1 ⪯ x 2 x_0 \preceq x_1 \preceq x_2 x 0 ⪯ x 1 ⪯ x 2 , we have that the corresponding bits of x 1 x_1 x 1 are necessarily ( 0 , 1 ) (0,1) ( 0 , 1 ) and f y e s ( y 1 , x 1 ) = 1 f_{\mathrm{yes}}(y_1,x_1) = 1 f yes ( y 1 , x 1 ) = 1 . The case of ( 1 , 0 ) (1,0) ( 1 , 0 ) is analogous. Therefore, there cannot exist a chain that violates 2-monotonicity.
We can now show that every function sampled from D n o \mathcal{D}_{\mathrm{no}} D no is ε \varepsilon ε -far from 2-monotone. Fix y ∈ U j y \in U_j y ∈ U j and all coordinates of x x x except a j a_j a j , b j b_j b j . Letting the selected pair be ( 0 , 0 ) (0,0) ( 0 , 0 ) , ( 1 , 0 ) (1,0) ( 1 , 0 ) , and ( 1 , 1 ) (1,1) ( 1 , 1 ) gives a chain on which f n o f_{\mathrm{no}} f no has labels ( 1 , 0 , 1 ) (1,0,1) ( 1 , 0 , 1 ) . Therefore, any 2-monotone function must differ from f n o f_{\mathrm{no}} f no on at least one vertex of this chain. Since the triples are disjoint as we vary the remaining coordinates, we can reuse the same counting argument as for union-closedness. Therefore, making f n o f_{\mathrm{no}} f no a 2-monotone function requires changing at least β / 4 ≥ 1 / 256 \beta/4 \ge1/256 β /4 ≥ 1/256 fraction of its values, proving the claim.
Finally, since the local averaged states are identical to those used for union-closedness (but with the ensembles exchanged), the fidelity is unchanged. Therefore, we get a Ω ( n 2 ) \Omega(n^2) Ω ( n 2 ) copy lower bound for testing 2-monotonicity.
AI Disclosure The author used GPT-6 Astra and GPT-5.1 in a role similar to that of a research collaborator. The author developed the initial ideas and arguments for the problem, which were subsequently strengthened and simplified after discussions with the models. The author takes full responsibility for the results and manuscript.
Supporting proofs for the upper bounds
This appendix gives the detailed proofs of the path-soundness and path-variance lemmas used in § 3 .
Proof of path soundness
We prove Lemma 6, with the band, degree scales, and path experiment defined in § 3.2 .
Proof. Let f ~ \tilde{f} f ~ agree with f f f on B \mathcal{B} B , equal 0 below the band, and equal 1 above the band. Every violation of f ~ \tilde{f} f ~ lies entirely within B \mathcal{B} B and is also a violation of f f f . Since the procedure counts only violations within B \mathcal{B} B and the two functions agree on B \mathcal{B} B , we have
p t ( f ) = p t ( f ~ ) for every t ≥ 1. p_t(f)=p_t(\tilde{f}) \qquad\text{for every } t\ge1. p t ( f ) = p t ( f ~ ) for every t ≥ 1.
We will work with f ~ \tilde{f} f ~ for the remainder of the proof. Note that Hoeffding’s inequality gives
Pr x ∼ Unif ( { 0 , 1 } n ) [ x ∉ B ] ≤ 2 exp ( − 2 w 2 n ) ≤ ε 50 . \Pr_{x\sim\operatorname{Unif}(\{0,1\}^n)}[x\notin\mathcal{B}] \le2\exp\left(-\frac{2w^2}{n}\right)\le\frac{\varepsilon}{50}. x ∼ Unif ({ 0 , 1 } n ) Pr [ x ∈ / B ] ≤ 2 exp ( − n 2 w 2 ) ≤ 50 ε .
Therefore, f ~ \tilde{f} f ~ differs from f f f on at most ε / 50 \varepsilon/50 ε /50 fraction of the inputs. Using the triangle inequality, we have
dist ( f ~ , MON n ) ≥ dist ( f , MON n ) − ε 50 ≥ 49 ε 50 ≥ ε 2 . \operatorname{dist}(\tilde{f},\operatorname{MON}_n)\ge\operatorname{dist}(f,\operatorname{MON}_n)-\frac{\varepsilon}{50}\ge\frac{49\varepsilon}{50}\ge\frac{\varepsilon}{2}. dist ( f ~ , MON n ) ≥ dist ( f , MON n ) − 50 ε ≥ 50 49 ε ≥ 2 ε .
We also prove that f ~ \tilde{f} f ~ has low-influence if f f f has low-influence. An edge on which f ~ \tilde{f} f ~ changes but f f f does not must cross one of the two boundaries of B \mathcal{B} B . The total number of edges crossing the two boundaries is at most
2 n max 0 ≤ k ≤ n ( n k ) ≤ 2 n + 2 n . 2n\max_{0\le k\le n}\binom{n}{k}\le2^{n+2}\sqrt{n}. 2 n 0 ≤ k ≤ n max ( k n ) ≤ 2 n + 2 n .
Furthermore, since each undirected edge on which a Boolean function changes contributes 2 / 2 n 2/2^n 2/ 2 n to the influence (since the edge can be counted at either endpoint), the two boundaries increase the total influence by at most 8 n 8\sqrt{n} 8 n . We get
I [ f ~ ] ≤ I [ f ] + 8 n ≤ 10 n . (53) \mathbb{I}[\tilde{f}]\le\mathbb{I}[f]+8\sqrt{n}\le10\sqrt{n}. \tag*{(53)} I [ f ~ ] ≤ I [ f ] + 8 n ≤ 10 n . (53)
Next, let us apply Lemma 5 to f ~ \tilde{f} f ~ . For some d ∈ D n d\in\mathcal{D}_n d ∈ D n , we can find a subgraph G = ( A , B , E ) G=(A,B,E) G = ( A , B , E ) satisfying
deg G ( y ) = d ( y ∈ B ) , deg G ( x ) ≤ 2 d ( x ∈ A ) , σ : = ∣ B ∣ 2 n ≥ c ε d − 5 / 8 , \deg_G(y)=d\quad(y\in B),\qquad\deg_G(x)\le2d\quad(x\in A),\qquad\sigma:=\frac{|B|}{2^n}\ge c\varepsilon d^{-5/8}, deg G ( y ) = d ( y ∈ B ) , deg G ( x ) ≤ 2 d ( x ∈ A ) , σ := 2 n ∣ B ∣ ≥ c ε d − 5/8 ,
where c > 0 c>0 c > 0 and E ⊆ E f ~ − E\subseteq E_{\tilde{f}}^{-} E ⊆ E f ~ − (see Equation (10) ). Since all edges in E f ~ − E_{\tilde{f}}^{-} E f ~ − must have both endpoints in B \mathcal{B} B , all vertices of G G G also lie in B \mathcal{B} B .
We follow the analysis in [16 ] , adapting their argument to our modified band and walk lengths. We first consider the case t d = 1 t_d=1 t d = 1 . Note, there are 2 n 2^n 2 n possible starting vertices, two possible directions, and at most n n n coordinates per direction. Furthermore, there are d ∣ B ∣ d|B| d ∣ B ∣ violated edges in the subgraph which can be selected in either direction. Hence, we have
p 1 ( f ~ ) ≥ 2 d ∣ B ∣ 2 n ⋅ 2 n = d ∣ B ∣ 2 n n ≥ c ε d 3 / 8 n , p_1(\tilde{f})\ge\frac{2d|B|}{2^n\cdot2n}=\frac{d|B|}{2^n n}\ge c\frac{\varepsilon d^{3/8}}{n}, p 1 ( f ~ ) ≥ 2 n ⋅ 2 n 2 d ∣ B ∣ = 2 n n d ∣ B ∣ ≥ c n ε d 3/8 ,
proving the claim.
Next, assume that t d ≥ 2 t_d \ge2 t d ≥ 2 , and let c 0 ≤ 1 c_0 \le1 c 0 ≤ 1 . By definition, we have
t d = ⌈ c 0 ε n d − 5 / 8 ⌉ ≤ c 0 ε n d − 5 / 8 ≤ ε n . t_d = \left\lceil c_0\varepsilon\sqrt{n}\,d^{-5/8}\right\rceil\le c_0\varepsilon\sqrt{n}\,d^{-5/8} \le\varepsilon\sqrt{n}. t d = ⌈ c 0 ε n d − 5/8 ⌉ ≤ c 0 ε n d − 5/8 ≤ ε n .
We will show that every vertex reachable by at most t d t_d t d steps from B \mathcal{B} B has Hamming weight in [ n / 4 , 3 n / 4 ] [n/4,3n/4] [ n /4 , 3 n /4 ] . Since 2 ≤ t d ≤ ε n 2 \le t_d \le\varepsilon\sqrt{n} 2 ≤ t d ≤ ε n , we have
ε ≥ n − 1 / 2 , log 100 ε ≤ log ( 100 n ) . (54) \varepsilon\ge n^{-1/2},\qquad\log\frac{100}{\varepsilon} \le\log(100\sqrt{n}). \tag*{(54)} ε ≥ n − 1/2 , log ε 100 ≤ log ( 100 n ) . (54)
Using the definition of w w w and that ε ≤ 1 / 2 \varepsilon\le1/2 ε ≤ 1/2 , we have
w + t d n ≤ log ( 100 n ) 2 n + 1 n + 1 2 n ⟶ 0 as n → ∞ . (55) \frac{w+t_d}{n} \le\sqrt{\frac{\log(100\sqrt{n})}{2n}}+\frac{1}{n}+\frac{1}{2\sqrt{n}} \longrightarrow0 \qquad\text{as } n\to\infty. \tag*{(55)} n w + t d ≤ 2 n log ( 100 n ) + n 1 + 2 n 1 ⟶ 0 as n → ∞. (55)
Therefore, choosing n 0 n_0 n 0 sufficiently large, we have w + t d ≤ n / 4 w+t_d \le n/4 w + t d ≤ n /4 for all n ≥ n 0 n \ge n_0 n ≥ n 0 . For y ∈ B y \in\mathcal{B} y ∈ B , let u u u be obtained from y y y by at most j j j upward or downward steps where 0 ≤ j ≤ t d 0 \le j \le t_d 0 ≤ j ≤ t d . Then, we have the following bound on the Hamming weight of u u u :
n 4 ≤ n 2 − ( w + t d ) ≤ ∣ u ∣ ≤ n 2 + ( w + t d ) ≤ 3 n 4 . \frac{n}{4}\le\frac{n}{2}-(w+t_d)\le|u|\le\frac{n}{2}+(w+t_d)\le\frac{3n}{4}. 4 n ≤ 2 n − ( w + t d ) ≤ ∣ u ∣ ≤ 2 n + ( w + t d ) ≤ 4 3 n .
For the remainder of the proof, we will consider the case where B B B consists of upper endpoints labeled 0 and A A A consists of lower endpoints labeled 1. The opposite case will follow by symmetry (using downward walks rather than upward walks).
We would like to upper-bound the probability
Pr [ Y ∈ B , f ~ ( Y ) ≠ f ~ ( Y ↑ ( t d − 1 ) ) ] , \Pr\left[Y\in B,\ \widetilde{f}(Y)\ne\widetilde{f}\left(Y^{\uparrow(t_d-1)}\right)\right], Pr [ Y ∈ B , f ( Y ) = f ( Y ↑ ( t d − 1 ) ) ] ,
where Y Y Y is sampled uniformly at random from { 0 , 1 } n \{0,1\}^n { 0 , 1 } n , and for Y ∈ B Y\in B Y ∈ B , Y ↑ ( t d − 1 ) Y^{\uparrow(t_d-1)} Y ↑ ( t d − 1 ) is obtained by flipping a random set of t d − 1 t_d-1 t d − 1 zero coordinates of Y Y Y to ones. Given Y ∈ B Y\in B Y ∈ B , denote the upward walk as
U 0 = Y , U 1 , … , U t d − 1 = Y ↑ ( t d − 1 ) , U_0=Y,\ U_1,\ldots,U_{t_d-1}=Y^{\uparrow(t_d-1)}, U 0 = Y , U 1 , … , U t d − 1 = Y ↑ ( t d − 1 ) ,
where each U j + 1 U_{j+1} U j + 1 is obtained from U j U_j U j by changing a randomly chosen zero coordinate to one. We will first bound the probability of reaching a fixed vertex at an intermediate step of this walk.
Consider 0 ≤ j ≤ t d − 1 0\le j\le t_d-1 0 ≤ j ≤ t d − 1 and consider some vertex u u u such that ∣ u ∣ = k |u|=k ∣ u ∣ = k (where k k k must be between n / 4 n/4 n /4 and 3 n / 4 3n/4 3 n /4 by (55) ). There are ( k j ) \binom{k}{j} ( j k ) possible starting vertices, obtained by changing j j j of the one coordinates of u u u to zeros. Furthermore, each has n − k + j n-k+j n − k + j zero coordinates where exactly one of the ( n − k + j j ) \binom{n-k+j}{j} ( j n − k + j ) sets of j j j coordinates leads to u u u . Since Y Y Y is chosen uniformly at random, we have the following bound
Pr [ Y ∈ B , U j = u ] ≤ 1 2 n ( k j ) ( n − k + j j ) . \Pr[Y\in B,\ U_j=u]\le\frac{1}{2^n}\frac{\binom{k}{j}}{\binom{n-k+j}{j}}. Pr [ Y ∈ B , U j = u ] ≤ 2 n 1 ( j n − k + j ) ( j k ) .
Next, observe that
( k j ) ( n − k + j j ) = ∏ h = 0 j − 1 k − h n − k + j − h ≤ ( k n − k + 1 ) j ≤ ( n / 2 + w + t d n / 2 − w − t d ) j = ( 1 + 2 ( w + t d ) n / 2 − w − t d ) j ≤ ( 1 + 8 ( w + t d ) n ) j ≤ exp ( 8 t d ( w + t d ) n ) , \begin{aligned}
\frac{\binom{k}{j}}{\binom{n-k+j}{j}}
=\prod_{h=0}^{j-1}\frac{k-h}{n-k+j-h}
\le\left(\frac{k}{n-k+1}\right)^j \\
&\le\left(\frac{n/2+w+t_d}{n/2-w-t_d}\right)^j
=\left(1+\frac{2(w+t_d)}{n/2-w-t_d}\right)^j \\
&\le\left(1+\frac{8(w+t_d)}{n}\right)^j
\le\exp\left(\frac{8t_d(w+t_d)}{n}\right),
\end{aligned} ( j n − k + j ) ( j k ) = h = 0 ∏ j − 1 n − k + j − h k − h ≤ ( n − k + 1 k ) j ≤ ( n /2 − w − t d n /2 + w + t d ) j = ( 1 + n /2 − w − t d 2 ( w + t d ) ) j ≤ ( 1 + n 8 ( w + t d ) ) j ≤ exp ( n 8 t d ( w + t d ) ) ,
where we have used that k ≤ n / 2 + w + t d k \le n/2+w+t_d k ≤ n /2 + w + t d , w + t d ≤ n / 4 w+t_d \le n/4 w + t d ≤ n /4 , and j ≤ t d j \le t_d j ≤ t d . Using t d ≤ ε n t_d \le\varepsilon\sqrt{n} t d ≤ ε n and the definition of w w w ,
t d ( w + t d ) n ≤ ε n ( n 2 log 100 ε + 1 + ε n ) = ε 1 2 log 100 ε + ε n + ε 2 = O ( 1 ) , (56) \begin{aligned}
\frac{t_d(w+t_d)}{n}
&\le\frac{\varepsilon}{\sqrt{n}}\left(\sqrt{\frac{n}{2}\log\frac{100}{\varepsilon}}+1+\varepsilon\sqrt{n}\right)\\
&=\varepsilon\sqrt{\frac{1}{2}\log\frac{100}{\varepsilon}}+\frac{\varepsilon}{\sqrt{n}}+\varepsilon^2=O(1), \tag*{(56)}
\end{aligned} n t d ( w + t d ) ≤ n ε ( 2 n log ε 100 + 1 + ε n ) = ε 2 1 log ε 100 + n ε + ε 2 = O ( 1 ) , (56)
uniformly for 0 < ε ≤ 1 / 2 0<\varepsilon\le1/2 0 < ε ≤ 1/2 . Therefore, we have
Pr [ Y ∈ B , U j = u ] ≤ 1 2 n exp ( 8 t d ( w + t d ) n ) ≤ C 2 n . \Pr[Y\in\mathcal{B},\,U_j=u]\le\frac{1}{2^n}\exp\left(\frac{8t_d(w+t_d)}{n}\right)\le\frac{C}{2^n}. Pr [ Y ∈ B , U j = u ] ≤ 2 n 1 exp ( n 8 t d ( w + t d ) ) ≤ 2 n C .
for an absolute constant C > 0 C>0 C > 0 , chosen uniformly for c 0 ≤ 1 c_0\le1 c 0 ≤ 1 . We fix this constant before choosing c 0 c_0 c 0 below.
Next, let us bound the probability that a particular edge is chosen on an upward walk. Fix 0 ≤ j ≤ t d − 2 0\le j\le t_d-2 0 ≤ j ≤ t d − 2 and consider an edge { u , v } \{u,v\} { u , v } with v = u + e i v=u+e_i v = u + e i for some i i i with u i = 0 u_i=0 u i = 0 . If u u u can be reached from B \mathcal{B} B after j j j steps then we have that n − ∣ u ∣ ≥ n / 4 n-|u|\ge n/4 n − ∣ u ∣ ≥ n /4 . Furthermore, if we can reach u u u , then the coordinate i i i is chosen with probability 1 / ( n − ∣ u ∣ ) 1/(n-|u|) 1/ ( n − ∣ u ∣ ) . Therefore, we have
Pr [ Y ∈ B , U j = u , U j + 1 = v ] = Pr [ Y ∈ B , U j = u ] 1 n − ∣ u ∣ ≤ C 2 n ⋅ 4 n = 4 C n 2 n . \begin{aligned}
\Pr[Y\in\mathcal{B},\,U_j=u,\,U_{j+1}=v]
&=\Pr[Y\in\mathcal{B},\,U_j=u]\frac{1}{n-|u|}\\
&\le\frac{C}{2^n}\cdot\frac{4}{n}=\frac{4C}{n2^n}.
\end{aligned} Pr [ Y ∈ B , U j = u , U j + 1 = v ] = Pr [ Y ∈ B , U j = u ] n − ∣ u ∣ 1 ≤ 2 n C ⋅ n 4 = n 2 n 4 C .
Note that if u u u is not reachable, then this probability is zero and therefore, the bound holds. There are 2 n − 1 I [ f ~ ] 2^{n-1}\mathbb{I}[\widetilde{f}] 2 n − 1 I [ f ] edges on which f ~ \widetilde{f} f changes. A union bound over these edges gives us for each 0 ≤ j ≤ t d − 2 0\le j\le t_d-2 0 ≤ j ≤ t d − 2 ,
Pr [ Y ∈ B , f ~ ( U j ) ≠ f ~ ( U j + 1 ) ] ≤ 2 n − 1 I [ f ~ ] ⋅ 4 C n 2 n = 2 C I [ f ~ ] n ≤ 20 C n , \begin{aligned}
\Pr[Y\in\mathcal{B},\,\widetilde{f}(U_j)\ne\widetilde{f}(U_{j+1})]
&\le2^{n-1}\mathbb{I}[\widetilde{f}]\cdot\frac{4C}{n2^n}\\
&=\frac{2C\mathbb{I}[\widetilde{f}]}{n}\le\frac{20C}{\sqrt{n}},
\end{aligned} Pr [ Y ∈ B , f ( U j ) = f ( U j + 1 )] ≤ 2 n − 1 I [ f ] ⋅ n 2 n 4 C = n 2 C I [ f ] ≤ n 20 C ,
where we have used the influence bound from Equation (53) . If f ~ ( Y ) ≠ f ~ ( U t d − 1 ) \widetilde{f}(Y)\ne\widetilde{f}(U_{t_d-1}) f ( Y ) = f ( U t d − 1 ) , then the function value must have changed during at least a single step. Taking a union bound over the t d − 1 t_d-1 t d − 1 steps gives us
Pr [ Y ∈ B , f ~ ( Y ) ≠ f ~ ( Y ↑ ( t d − 1 ) ) ] ≤ ∑ j = 0 t d − 2 Pr [ Y ∈ B , f ~ ( U j ) ≠ f ~ ( U j + 1 ) ] ≤ 20 C ( t d − 1 ) n ≤ 20 C t d n . \begin{aligned}
\Pr[Y\in\mathcal{B},\,\widetilde{f}(Y)\ne\widetilde{f}(Y^{\uparrow(t_d-1)})]
&\le\sum_{j=0}^{t_d-2}\Pr[Y\in\mathcal{B},\,\widetilde{f}(U_j)\ne\widetilde{f}(U_{j+1})]\\
&\le\frac{20C(t_d-1)}{\sqrt{n}}\le\frac{20Ct_d}{\sqrt{n}}.
\end{aligned} Pr [ Y ∈ B , f ( Y ) = f ( Y ↑ ( t d − 1 ) )] ≤ j = 0 ∑ t d − 2 Pr [ Y ∈ B , f ( U j ) = f ( U j + 1 )] ≤ n 20 C ( t d − 1 ) ≤ n 20 C t d .
Next, call a vertex y ∈ B y\in B y ∈ B persistent if
Pr [ f ~ ( y ↑ ( t d − 1 ) ) = 0 ] ≥ 9 10 . \Pr[\widetilde{f}(y^{\uparrow(t_d-1)})=0]\ge\frac{9}{10}. Pr [ f ( y ↑ ( t d − 1 ) ) = 0 ] ≥ 10 9 .
Let B b a d B_{\mathrm{bad}} B bad be the set of nonpersistent vertices in B B B . Since f ~ ( y ) = 0 \widetilde{f}(y)=0 f ( y ) = 0 for every y ∈ B y\in B y ∈ B , each vertex in B b a d B_{\mathrm{bad}} B bad has a probability greater than 1 / 10 1/10 1/10 of a change in the function value. Since Y Y Y is uniform and B ⊆ B B\subseteq\mathcal{B} B ⊆ B , we have
∣ B b a d ∣ 10 ⋅ 2 n ≤ Pr [ Y ∈ B , f ~ ( Y ) ≠ f ~ ( Y ↑ ( t d − 1 ) ) ] ≤ 20 C t d n . \frac{|B_{\mathrm{bad}}|}{10\cdot2^n}\le\Pr[Y\in\mathcal{B},\,\widetilde{f}(Y)\ne\widetilde{f}(Y^{\uparrow(t_d-1)})]\le\frac{20Ct_d}{\sqrt{n}}. 10 ⋅ 2 n ∣ B bad ∣ ≤ Pr [ Y ∈ B , f ( Y ) = f ( Y ↑ ( t d − 1 ) )] ≤ n 20 C t d .
which implies
∣ B b a d ∣ 2 n ≤ 200 C t d n . \frac{|B_{\mathrm{bad}}|}{2^n} \le\frac{200C t_d}{\sqrt{n}}. 2 n ∣ B bad ∣ ≤ n 200 C t d .
Using t d ≤ c 0 ε n d − 5 / 8 t_d \le c_0\varepsilon\sqrt{n}\,d^{-5/8} t d ≤ c 0 ε n d − 5/8 and σ ≥ c ε d − 5 / 8 \sigma\ge c\varepsilon d^{-5/8} σ ≥ c ε d − 5/8 , we obtain
∣ B b a d ∣ 2 n ≤ 200 C c 0 ε d − 5 / 8 ≤ 200 C c 0 c σ ≤ σ 100 , \frac{|B_{\mathrm{bad}}|}{2^n} \le200Cc_0\varepsilon d^{-5/8} \le\frac{200Cc_0}{c}\sigma\le\frac{\sigma}{100}, 2 n ∣ B bad ∣ ≤ 200 C c 0 ε d − 5/8 ≤ c 200 C c 0 σ ≤ 100 σ ,
where the last inequality holds provided we choose c 0 ≤ c / ( 20000 C ) c_0 \le c/(20000C) c 0 ≤ c / ( 20000 C ) . This implies that at least 99 / 100 ∣ B ∣ 99/100|B| 99/100∣ B ∣ vertices are persistent. Let B ′ : = B ∖ B b a d B' := B \setminus B_{\mathrm{bad}} B ′ := B ∖ B bad and let E ′ ⊆ E E' \subseteq E E ′ ⊆ E consist of those edges incident to B ′ B' B ′ . Since every vertex in B B B has degree d d d , we note that
∣ E ′ ∣ = d ∣ B ′ ∣ ≥ 99 100 d ∣ B ∣ . |E'| = d|B'| \ge\frac{99}{100}d|B|. ∣ E ′ ∣ = d ∣ B ′ ∣ ≥ 100 99 d ∣ B ∣.
Therefore, every edge in E ′ E' E ′ has a persistent vertex in B ′ B' B ′ , and every vertex in A A A is incident to at most 2 d 2d 2 d edges in E ′ E' E ′ .
We can now lower bound p t d ( f ~ ) p_{t_d}(\widetilde{f}) p t d ( f ) , adapting [16 Section 7.3] . Fix x ∈ A x \in A x ∈ A , and let m x ≤ 2 d m_x \le2d m x ≤ 2 d be its degree in the subgraph ( A , B ′ , E ′ ) (A,B',E') ( A , B ′ , E ′ ) . Next, let r : = n − ∣ x ∣ r := n-|x| r := n − ∣ x ∣ . By definition of B \mathcal{B} B and Equation (55) , we have that
r ≥ n 4 ≥ t d . r \ge\frac{n}{4} \ge t_d. r ≥ 4 n ≥ t d .
Next, let S S S be a uniformly random t d t_d t d element subset of the zero coordinates of x x x and y y y be the corresponding vertex obtained by flipping these coordinates from zero to one.
For each neighbor of x x x , that is v i = x + e i v_i=x+e_i v i = x + e i , define
H i : = { i ∈ S , f ~ ( y ) = 0 } . H_i := \{i \in S,\ \widetilde{f}(y)=0\}. H i := { i ∈ S , f ( y ) = 0 } .
Note that Pr [ i ∈ S ] = t d / r \Pr[i \in S]=t_d/r Pr [ i ∈ S ] = t d / r . Furthermore, conditional on i ∈ S i \in S i ∈ S , the set S ∖ { i } S\setminus\{i\} S ∖ { i } is a uniformly random ( t d − 1 ) (t_d-1) ( t d − 1 ) -element subset of the zero coordinates of v i v_i v i . Thus y y y has the conditional distribution of v i ↑ ( t d − 1 ) v_i^{\uparrow(t_d-1)} v i ↑ ( t d − 1 ) . Since we know that v i v_i v i is persistent, we have
Pr [ H i ] = Pr [ i ∈ S ] Pr [ f ~ ( y ) = 0 ∣ i ∈ S ] ≥ 9 t d 10 r . \Pr[H_i] = \Pr[i \in S]\Pr[\widetilde{f}(y)=0\mid i \in S]
\ge\frac{9t_d}{10r}. Pr [ H i ] = Pr [ i ∈ S ] Pr [ f ( y ) = 0 ∣ i ∈ S ] ≥ 10 r 9 t d .
We would like to bound Pr [ f ~ ( y ) = 0 ] \Pr[\widetilde{f}(y)=0] Pr [ f ( y ) = 0 ] which we know is bounded below by Pr [ ⋃ i H i ] \Pr[\bigcup_i H_i] Pr [ ⋃ i H i ] . Note that since
Pr [ H i ∩ H j ] ≤ Pr [ i , j ∈ S ] = t d ( t d − 1 ) r ( r − 1 ) , \Pr[H_i\cap H_j] \le\Pr[i,j\in S] = \frac{t_d(t_d-1)}{r(r-1)}, Pr [ H i ∩ H j ] ≤ Pr [ i , j ∈ S ] = r ( r − 1 ) t d ( t d − 1 ) ,
we have
Pr [ f ~ ( y ) = 0 ] ≥ Pr [ ⋃ i H i ] ≥ ∑ i Pr [ H i ] − ∑ i < j Pr [ H i ∩ H j ] ≥ 9 10 m x t d r − ( m x 2 ) t d ( t d − 1 ) r ( r − 1 ) ≥ 9 10 m x t d r − ( m x t d r ) 2 . \begin{aligned}
\Pr[\widetilde{f}(y)=0] \ge\Pr\left[\bigcup_i H_i\right] \\
&\ge\sum_i\Pr[H_i]-\sum_{i<j}\Pr[H_i\cap H_j] \\
&\ge\frac{9}{10}\frac{m_xt_d}{r}-\binom{m_x}{2}\frac{t_d(t_d-1)}{r(r-1)} \\
&\ge\frac{9}{10}\frac{m_xt_d}{r}-\left(\frac{m_xt_d}{r}\right)^2.
\end{aligned} Pr [ f ( y ) = 0 ] ≥ Pr [ i ⋃ H i ] ≥ i ∑ Pr [ H i ] − i < j ∑ Pr [ H i ∩ H j ] ≥ 10 9 r m x t d − ( 2 m x ) r ( r − 1 ) t d ( t d − 1 ) ≥ 10 9 r m x t d − ( r m x t d ) 2 .
Using m x ≤ 2 d m_x \le2d m x ≤ 2 d , r ≥ n / 4 r \ge n/4 r ≥ n /4 , and t d ≤ c 0 ε n d − 5 / 8 t_d \le c_0\varepsilon\sqrt{n}d^{-5/8} t d ≤ c 0 ε n d − 5/8 , we obtain
m x t d r ≤ 8 c 0 ε d 3 / 8 n ≤ 4 c 0 n − 1 / 8 ≤ 4 c 0 . \frac{m_xt_d}{r} \le\frac{8c_0\varepsilon d^{3/8}}{\sqrt{n}} \le4c_0n^{-1/8} \le4c_0. r m x t d ≤ n 8 c 0 ε d 3/8 ≤ 4 c 0 n − 1/8 ≤ 4 c 0 .
where the second inequality uses ε ≤ 1 / 2 \varepsilon\le1/2 ε ≤ 1/2 and d ≤ n d \le n d ≤ n . Therefore, provided we choose c 0 ≤ 1 / 40 c_0 \le1/40 c 0 ≤ 1/40 , we have the following lower bound Pr [ f ~ ( y ) = 0 ] ≥ 4 m x t d / ( 5 n ) \Pr[\widetilde{f}(y) = 0] \ge4m_xt_d/(5n) Pr [ f ( y ) = 0 ] ≥ 4 m x t d / ( 5 n ) . If f ~ ( y ) = 0 \widetilde{f}(y) = 0 f ( y ) = 0 in this upward walk, then y y y cannot lie above the band, where f ~ \widetilde{f} f equals 1, and it cannot lie below the band because x ∈ B x \in B x ∈ B and y ⪰ x y \succeq x y ⪰ x . Thus this event is counted by the path experiment. Finally, to bound the total probability, since the procedure chooses each starting vertex with probability 2 − n 2^{-n} 2 − n and the upward walk with probability 1 / 2 1/2 1/2 , we have
p t d ( f ~ ) ≥ 1 2 n + 1 ∑ x ∈ A 4 m x t d 5 n = 2 t d ∣ E ′ ∣ 5 n 2 n ≥ 99 250 σ t d d n ≥ 99 250 c ε t d d 3 / 8 n . \begin{aligned}
p_{t_d}(\widetilde{f}) \ge\frac{1}{2^{n+1}}\sum_{x\in A}\frac{4m_xt_d}{5n} \\
&= \frac{2t_d|E'|}{5n2^n} \\
&\ge\frac{99}{250}\frac{\sigma t_dd}{n} \\
&\ge\frac{99}{250}\frac{c\varepsilon t_dd^{3/8}}{n}.
\end{aligned} p t d ( f ) ≥ 2 n + 1 1 x ∈ A ∑ 5 n 4 m x t d = 5 n 2 n 2 t d ∣ E ′ ∣ ≥ 250 99 n σ t d d ≥ 250 99 n c ε t d d 3/8 .
In case the graph G = ( A , B , E ) G=(A,B,E) G = ( A , B , E ) is oriented in the reverse direction where B B B are the lower endpoints and A A A are the upper endpoints, the same argument holds but with downward walks. Choosing
0 < c 0 ≤ min { 1 40 , c 20000 C } , c 1 : = c 4 , 0<c_0\le\min\left\{\frac{1}{40},\frac{c}{20000C}\right\},\qquad c_1:=\frac{c}{4}, 0 < c 0 ≤ min { 40 1 , 20000 C c } , c 1 := 4 c ,
and using that p t d ( f ~ ) = p t d ( f ) p_{t_d}(\widetilde{f})=p_{t_d}(f) p t d ( f ) = p t d ( f ) , we conclude that
p t d ( f ) ≥ c 1 ε t d d 3 / 8 n . p_{t_d}(f)\ge\frac{c_1\varepsilon t_dd^{3/8}}{n}. p t d ( f ) ≥ n c 1 ε t d d 3/8 .
Second moments of the path observables
Proof of Lemma 7 . Since the two batches are independent,
Var ( p ^ d ) = Var ( U d ) 4 m + Var ( V d ) 16 m ≤ E [ U d 2 ] 4 m + E [ V d 2 ] 16 m . \operatorname{Var}(\widehat{p}_d)=\frac{\operatorname{Var}(U_d)}{4m}+\frac{\operatorname{Var}(V_d)}{16m}
\le\frac{\mathbb{E}[U_d^2]}{4m}+\frac{\mathbb{E}[V_d^2]}{16m}. Var ( p d ) = 4 m Var ( U d ) + 16 m Var ( V d ) ≤ 4 m E [ U d 2 ] + 16 m E [ V d 2 ] .
It therefore suffices to bound each of the two second moments by O ( t d / n ) O(t_d/\sqrt{n}) O ( t d / n ) .
We first bound E [ U d 2 ] \mathbb{E}[U_d^2] E [ U d 2 ] . Let us define
Λ d : = max x ( ∑ y κ d ( x , y ) + ∑ y κ d ( y , x ) ) . (57) \Lambda_d:=\max_x\left(\sum_y\kappa_d(x,y)+\sum_y\kappa_d(y,x)\right). \tag*{(57)} Λ d := x max ( y ∑ κ d ( x , y ) + y ∑ κ d ( y , x ) ) . (57)
Since ∣ ξ x y ⟩ |\xi_{xy}\rangle ∣ ξ x y ⟩ is a unit vector in the span of ∣ x ⟩ ⊗ ∣ − ⟩ |x\rangle\otimes|-\rangle ∣ x ⟩ ⊗ ∣ − ⟩ and ∣ y ⟩ ⊗ ∣ − ⟩ |y\rangle\otimes|-\rangle ∣ y ⟩ ⊗ ∣ − ⟩ ,
∣ ξ x y ⟩ ⟨ ξ x y ∣ ⪯ ( ∣ x ⟩ ⟨ x ∣ + ∣ y ⟩ ⟨ y ∣ ) ⊗ ∣ − ⟩ ⟨ − ∣ . |\xi_{xy}\rangle\langle\xi_{xy}|\preceq\left(|x\rangle\langle x|+|y\rangle\langle y|\right)\otimes|-\rangle\langle-|. ∣ ξ x y ⟩ ⟨ ξ x y ∣ ⪯ ( ∣ x ⟩ ⟨ x ∣ + ∣ y ⟩ ⟨ y ∣ ) ⊗ ∣ − ⟩ ⟨ − ∣.
Multiplying by κ d ( x , y ) \kappa_d(x,y) κ d ( x , y ) and summing over all ( x , y ) ∈ P d (x,y) \in\mathcal{P}_d ( x , y ) ∈ P d gives us 0 ⪯ Q d ⪯ Λ d I 0 \preceq Q_d \preceq\Lambda_d I 0 ⪯ Q d ⪯ Λ d I . We may write
E [ U d 2 ] ≤ Λ d E [ U d ] = Λ d q d ( f ) , (58) \mathbb{E}[U_d^2] \leq\Lambda_d \mathbb{E}[U_d] = \Lambda_d q_d(f), \tag*{(58)} E [ U d 2 ] ≤ Λ d E [ U d ] = Λ d q d ( f ) , (58)
and it remains to bound Λ d \Lambda_d Λ d and q d ( f ) q_d(f) q d ( f ) .
To bound Λ d \Lambda_d Λ d , fix x ∈ B x \in\mathcal{B} x ∈ B and write k = ∣ x ∣ k=|x| k = ∣ x ∣ . An upper endpoint of x x x is obtained by choosing t d t_d t d of the n − k n-k n − k zero coordinates while a lower endpoint is obtained by choosing t d t_d t d of the k k k one coordinates. Therefore, there are ( n − k t d ) \binom{n-k}{t_d} ( t d n − k ) possible upper endpoints and ( k t d ) \binom{k}{t_d} ( t d k ) possible lower endpoints. Using the definition of κ d \kappa_d κ d , we have
∑ y κ d ( x , y ) ≤ 1 2 ( 1 + ( n − k t d ) ( k + t d t d ) ) , ∑ y κ d ( y , x ) ≤ 1 2 ( 1 + ( k t d ) ( n − k + t d t d ) ) . (59) \begin{aligned}
\sum_y \kappa_d(x,y) &\leq\frac{1}{2}\left(1+\frac{\binom{n-k}{t_d}}{\binom{k+t_d}{t_d}}\right),\\
\sum_y \kappa_d(y,x) &\leq\frac{1}{2}\left(1+\frac{\binom{k}{t_d}}{\binom{n-k+t_d}{t_d}}\right). \tag*{(59)}
\end{aligned} y ∑ κ d ( x , y ) y ∑ κ d ( y , x ) ≤ 2 1 ( 1 + ( t d k + t d ) ( t d n − k ) ) , ≤ 2 1 ( 1 + ( t d n − k + t d ) ( t d k ) ) . (59)
with equality only if the corresponding endpoints lie in B \mathcal{B} B . Since n / 2 − w ≤ k ≤ n / 2 + w n/2-w \leq k \leq n/2+w n /2 − w ≤ k ≤ n /2 + w and w ≤ n / 4 w \leq n/4 w ≤ n /4 , it follows that
( n − k t d ) ( k + t d t d ) = ∏ j = 0 t d − 1 n − k − j k + t d − j ≤ ( n / 2 + w n / 2 − w ) t d = ( 1 + 2 w n / 2 − w ) t d ≤ ( 1 + 8 w n ) t d ≤ exp ( 8 t d w n ) = O ( 1 ) . (60) \begin{aligned}
\frac{\binom{n-k}{t_d}}{\binom{k+t_d}{t_d}}
&= \prod_{j=0}^{t_d-1}\frac{n-k-j}{k+t_d-j}\\
&\leq\left(\frac{n/2+w}{n/2-w}\right)^{t_d}\\
&= \left(1+\frac{2w}{n/2-w}\right)^{t_d}\\
&\leq\left(1+\frac{8w}{n}\right)^{t_d}\\
&\leq\exp\left(\frac{8t_dw}{n}\right)=O(1). \tag*{(60)}
\end{aligned} ( t d k + t d ) ( t d n − k ) = j = 0 ∏ t d − 1 k + t d − j n − k − j ≤ ( n /2 − w n /2 + w ) t d = ( 1 + n /2 − w 2 w ) t d ≤ ( 1 + n 8 w ) t d ≤ exp ( n 8 t d w ) = O ( 1 ) . (60)
For t d ≥ 2 t_d \geq2 t d ≥ 2 , the final bound follows from (56) . For t d = 1 t_d=1 t d = 1 , it follows directly from w = O ( n log n ) w=O(\sqrt{n\log n}) w = O ( n log n ) in the present range ε ≥ n − 1 / 2 \varepsilon\geq n^{-1/2} ε ≥ n − 1/2 . After increasing the absolute n 0 n_0 n 0 if necessary, w + t d ≤ n / 4 w+t_d \leq n/4 w + t d ≤ n /4 in both cases. The second ratio satisfies the same bound by replacing k k k with n − k n-k n − k . Both of the summations vanish outside B \mathcal{B} B so Λ d = O ( 1 ) \Lambda_d=O(1) Λ d = O ( 1 ) .
Next, we bound q d ( f ) q_d(f) q d ( f ) using the estimate given in the proof of Lemma 6. Let X X X and Y Y Y denote the starting and final vertices sampled by the procedure. By the definition of κ d \kappa_d κ d , we have
q d ( f ) = Pr [ X ∈ B , Y ∈ B , f ( X ) ≠ f ( Y ) ] ≤ Pr [ X ∈ B , f ( X ) ≠ f ( Y ) ] . \begin{aligned}
q_d(f)&=\Pr[X\in\mathcal{B},\ Y\in\mathcal{B},\ f(X)\ne f(Y)]\\
&\leq\Pr[X\in\mathcal{B},\ f(X)\ne f(Y)].
\end{aligned} q d ( f ) = Pr [ X ∈ B , Y ∈ B , f ( X ) = f ( Y )] ≤ Pr [ X ∈ B , f ( X ) = f ( Y )] .
We can reuse the argument from the proof of Lemma 6. The same binomial-ratio estimate applies to every 0 ≤ j ≤ t d 0\leq j\leq t_d 0 ≤ j ≤ t d in the present parameter range. For either the upward or downward direction, the probability of starting in B \mathcal{B} B and traversing an edge on which f f f changes at any specified step is at most 2 C I [ f ] / n 2C\mathcal{I}[f]/n 2 C I [ f ] / n . Furthermore, taking t d t_d t d steps instead of t d − 1 t_d-1 t d − 1 simply adds one term to the union bound. Therefore, we have
q d ( f ) ≤ 2 C t d I [ f ] n ≤ 4 C t d n , q_d(f)\leq\frac{2Ct_d\mathcal{I}[f]}{n}\leq\frac{4Ct_d}{\sqrt{n}}, q d ( f ) ≤ n 2 C t d I [ f ] ≤ n 4 C t d ,
where we used I [ f ] ≤ 2 n \mathcal{I}[f]\leq2\sqrt{n} I [ f ] ≤ 2 n . Combining this with Λ d = O ( 1 ) \Lambda_d=O(1) Λ d = O ( 1 ) and Equation (58) , we get
E [ U d 2 ] = O ( t d / n ) . \mathbb{E}[U_d^2]=O(t_d/\sqrt{n}). E [ U d 2 ] = O ( t d / n ) .
Next, we bound E [ V d 2 ] \mathbb{E}[V_d^2] E [ V d 2 ] . Since H d ⊗ Z H_d \otimes Z H d ⊗ Z is diagonal in the computational basis, we can sample V d V_d V d by measuring one copy of ∣ ψ f ⟩ |\psi_f\rangle ∣ ψ f ⟩ in this basis, and reporting the value h d ( X ) ( − 1 ) f ( X ) h_d(X)(-1)^{f(X)} h d ( X ) ( − 1 ) f ( X ) , where X X X is uniformly random. Therefore, we may write
E [ V d 2 ] = E X [ h d ( X ) 2 ] = 1 2 n ∑ x ∈ B h d ( x ) 2 . \mathbb{E}[V_d^2] = \mathbb{E}_X[h_d(X)^2] = \frac{1}{2^n}\sum_{x\in\mathcal{B}} h_d(x)^2. E [ V d 2 ] = E X [ h d ( X ) 2 ] = 2 n 1 x ∈ B ∑ h d ( x ) 2 .
noting that h d ( x ) = 0 h_d(x)=0 h d ( x ) = 0 outside B \mathcal{B} B . It remains to bound the sum.
We first consider vertices that are near the boundaries of the band – in particular, the lowest and highest t d t_d t d Hamming layers of B \mathcal{B} B . Note that each layer has probability at most 2 / n 2/\sqrt{n} 2/ n . We then have
∣ B ∂ ∣ 2 n ≤ 4 t d n . \frac{|\mathcal{B}_\partial|}{2^n} \le\frac{4t_d}{\sqrt{n}}. 2 n ∣ B ∂ ∣ ≤ n 4 t d .
By definition of h d h_d h d and Λ d \Lambda_d Λ d (see Equation (57) ),
∣ h d ( x ) ∣ ≤ ∑ y κ d ( x , y ) + ∑ y κ d ( y , x ) ≤ Λ d |h_d(x)| \le\sum_y \kappa_d(x,y) + \sum_y \kappa_d(y,x) \le\Lambda_d ∣ h d ( x ) ∣ ≤ y ∑ κ d ( x , y ) + y ∑ κ d ( y , x ) ≤ Λ d
Using the earlier bound Λ d = O ( 1 ) \Lambda_d=O(1) Λ d = O ( 1 ) , the contribution from the layers in B ∂ \mathcal{B}_\partial B ∂ satisfies
1 2 n ∑ x ∈ B ∂ h d ( x ) 2 ≤ Λ d 2 ∣ B ∂ ∣ 2 n ≤ 4 Λ d 2 t d n = O ( t d / n ) . \frac{1}{2^n}\sum_{x\in\mathcal{B}_\partial}h_d(x)^2 \le\Lambda_d^2\frac{|\mathcal{B}_\partial|}{2^n} \le\frac{4\Lambda_d^2t_d}{\sqrt{n}} = O(t_d/\sqrt{n}). 2 n 1 x ∈ B ∂ ∑ h d ( x ) 2 ≤ Λ d 2 2 n ∣ B ∂ ∣ ≤ n 4 Λ d 2 t d = O ( t d / n ) .
Consider any x ∈ B ∖ B ∂ x\in\mathcal{B}\setminus\mathcal{B}_\partial x ∈ B ∖ B ∂ , and let k : = ∣ x ∣ k:=|x| k := ∣ x ∣ . Both layers of weights k − t d k-t_d k − t d and k + t d k+t_d k + t d lie in B \mathcal{B} B , and we can write
h d ( x ) = ∑ y κ d ( x , y ) − ∑ y κ d ( y , x ) = 1 2 ( ( n − k t d ) ( k + t d t d ) − ( k t d ) ( n − k + t d t d ) ) . \begin{aligned}
h_d(x)=\sum_y\kappa_d(x,y)-\sum_y\kappa_d(y,x) \\
&=\frac{1}{2}\left(\frac{\binom{n-k}{t_d}}{\binom{k+t_d}{t_d}}-\frac{\binom{k}{t_d}}{\binom{n-k+t_d}{t_d}}\right).
\end{aligned} h d ( x ) = y ∑ κ d ( x , y ) − y ∑ κ d ( y , x ) = 2 1 ( ( t d k + t d ) ( t d n − k ) − ( t d n − k + t d ) ( t d k ) ) .
using the bounds in Equation (59) . Note that for consecutive Hamming weights, we have
( n − ℓ t d ) ( ℓ + t d t d ) − ( n − ℓ − 1 t d ) ( ℓ + t d + 1 t d ) = ( n − ℓ t d ) ( ℓ + t d t d ) t d ( n + 1 ) ( n − ℓ ) ( ℓ + t d + 1 ) ≤ C t d ( n + 1 ) ( n / 4 ) 2 \begin{aligned}
\frac{\binom{n-\ell}{t_d}}{\binom{\ell+t_d}{t_d}}-\frac{\binom{n-\ell-1}{t_d}}{\binom{\ell+t_d+1}{t_d}}
=
\frac{\binom{n-\ell}{t_d}}{\binom{\ell+t_d}{t_d}}
\frac{t_d(n+1)}{(n-\ell)(\ell+t_d+1)} \\
&\le C\frac{t_d(n+1)}{(n/4)^2}
\end{aligned} ( t d ℓ + t d ) ( t d n − ℓ ) − ( t d ℓ + t d + 1 ) ( t d n − ℓ − 1 ) = ( t d ℓ + t d ) ( t d n − ℓ ) ( n − ℓ ) ( ℓ + t d + 1 ) t d ( n + 1 ) ≤ C ( n /4 ) 2 t d ( n + 1 )
≤ 32 C t d n , \le32C\frac{t_d}{n}, ≤ 32 C n t d ,
where we have used the bound from Equation (60) with the same uniform constant C C C enlarged if necessary, as well as n − ℓ ≥ n / 4 n-\ell\ge n/4 n − ℓ ≥ n /4 , ℓ + t d + 1 ≥ n / 4 \ell+t_d+1\ge n/4 ℓ + t d + 1 ≥ n /4 since ℓ \ell ℓ lies in the band B \mathcal{B} B . For k ≤ n − k k\le n-k k ≤ n − k , we can write
2 h d ( x ) = ∑ ℓ = k n − k − 1 ( ( n − ℓ t d ) ( ℓ + t d t d ) − ( n − ℓ − 1 t d ) ( ℓ + t d + 1 t d ) ) 2h_d(x)=\sum_{\ell=k}^{n-k-1}\left(\frac{\binom{n-\ell}{t_d}}{\binom{\ell+t_d}{t_d}}-\frac{\binom{n-\ell-1}{t_d}}{\binom{\ell+t_d+1}{t_d}}\right) 2 h d ( x ) = ℓ = k ∑ n − k − 1 ( ( t d ℓ + t d ) ( t d n − ℓ ) − ( t d ℓ + t d + 1 ) ( t d n − ℓ − 1 ) )
≤ 32 C ( n − 2 k ) t d n . \le32C(n-2k)\frac{t_d}{n}. ≤ 32 C ( n − 2 k ) n t d .
For k > n − k k>n-k k > n − k , we simply reverse the summation order to bound − 2 h d ( x ) -2h_d(x) − 2 h d ( x ) . Therefore, we can write
∣ h d ( x ) ∣ ≤ 16 C t d n ∣ n − 2 k ∣ = 32 C t d n ∣ k − n 2 ∣ . |h_d(x)|\le\frac{16Ct_d}{n}|n-2k|=\frac{32Ct_d}{n}\left|k-\frac{n}{2}\right|. ∣ h d ( x ) ∣ ≤ n 16 C t d ∣ n − 2 k ∣ = n 32 C t d k − 2 n .
and
1 2 n ∑ x ∈ B ∖ B ∂ h d ( x ) 2 ≤ 1024 C 2 t d 2 n 2 1 2 n ∑ x ∈ B ∖ B ∂ ( ∣ x ∣ − n 2 ) 2 ≤ 1024 C 2 t d 2 n 2 E X [ ( ∣ X ∣ − n 2 ) 2 ] = 256 C 2 t d 2 n . \begin{aligned}
\frac{1}{2^n}\sum_{x\in B\setminus B_{\partial}} h_d(x)^2 \le\frac{1024C^2t_d^2}{n^2}\frac{1}{2^n}\sum_{x\in B\setminus B_{\partial}}\left(|x|-\frac{n}{2}\right)^2 \\
&\le\frac{1024C^2t_d^2}{n^2}\mathbb{E}_X\left[\left(|X|-\frac{n}{2}\right)^2\right] \\
&= \frac{256C^2t_d^2}{n}.
\end{aligned} 2 n 1 x ∈ B ∖ B ∂ ∑ h d ( x ) 2 ≤ n 2 1024 C 2 t d 2 2 n 1 x ∈ B ∖ B ∂ ∑ ( ∣ x ∣ − 2 n ) 2 ≤ n 2 1024 C 2 t d 2 E X [ ( ∣ X ∣ − 2 n ) 2 ] = n 256 C 2 t d 2 .
For the last equality, we have used that ∣ X ∣ ∼ Bin ( n , 1 / 2 ) |X|\sim\operatorname{Bin}(n,1/2) ∣ X ∣ ∼ Bin ( n , 1/2 ) for uniformly random X X X , and hence its variance is n / 4 n/4 n /4 . Finally, we have
E [ V d 2 ] = 1 2 n ∑ x ∈ B ∂ h d ( x ) 2 + 1 2 n ∑ x ∈ B ∖ B ∂ h d ( x ) 2 ≤ 4 Λ d 2 t d n + 256 C 2 t d 2 n = O ( t d / n ) , \begin{aligned}
\mathbb{E}[V_d^2] = \frac{1}{2^n}\sum_{x\in B_{\partial}}h_d(x)^2+\frac{1}{2^n}\sum_{x\in B\setminus B_{\partial}}h_d(x)^2 \\
&\le\frac{4\Lambda_d^2t_d}{\sqrt{n}}+\frac{256C^2t_d^2}{n} \\
&=O(t_d/\sqrt{n}),
\end{aligned} E [ V d 2 ] = 2 n 1 x ∈ B ∂ ∑ h d ( x ) 2 + 2 n 1 x ∈ B ∖ B ∂ ∑ h d ( x ) 2 ≤ n 4 Λ d 2 t d + n 256 C 2 t d 2 = O ( t d / n ) ,
since t d ≤ n t_d\le\sqrt{n} t d ≤ n . Together, with E [ U d 2 ] = O ( t d / n ) \mathbb{E}[U_d^2]=O(t_d/\sqrt{n}) E [ U d 2 ] = O ( t d / n ) , we have that Var ( p ^ d ) = O ( t d / ( m n ) ) \operatorname{Var}(\widehat{p}_d)=O(t_d/(m\sqrt{n})) Var ( p d ) = O ( t d / ( m n )) .
Supporting proofs for the lower bounds
Proof of the selector-block lemma
Proof of Lemma 8 . Let R : = 2 r R:=2^r R := 2 r and let T 1 , … , T R T_1,\ldots,T_R T 1 , … , T R be independently and uniformly randomly chosen r r r -element subsets of [ d ] [d] [ d ] . Each T j ⊆ [ d ] T_j\subseteq[d] T j ⊆ [ d ] has exactly r r r elements and is chosen uniformly from ( d r ) \binom{d}{r} ( r d ) possible choices. We say that y ∈ { 0 , 1 } d y\in\{0,1\}^d y ∈ { 0 , 1 } d satisfies T j T_j T j if
y i = 1 for every i ∈ T j . y_i=1\qquad\text{for every }i\in T_j. y i = 1 for every i ∈ T j .
Equivalently,
T j ⊆ supp ( y ) . T_j\subseteq\operatorname{supp}(y). T j ⊆ supp ( y ) .
We define
U j = { y ∈ { 0 , 1 } d : T j ⊆ supp ( y ) and T k ⊈ supp ( y ) for all k ≠ j } . U_j=\left\{y\in\{0,1\}^d:T_j\subseteq\operatorname{supp}(y)\text{ and }T_k\not\subseteq\operatorname{supp}(y)\text{ for all }k\ne j\right\}. U j = { y ∈ { 0 , 1 } d : T j ⊆ supp ( y ) and T k ⊆ supp ( y ) for all k = j } .
The sets U j U_j U j are disjoint and mutually incomparable. In particular, if y ∈ U j y\in U_j y ∈ U j , y ′ ∈ U k y'\in U_k y ′ ∈ U k , and j ≠ k j\ne k j = k , then we cannot have y ≤ y ′ y\le y' y ≤ y ′ or y ′ ≤ y y'\le y y ′ ≤ y . If y ≤ y ′ y\le y' y ≤ y ′ , then T j T_j T j is satisfied by both y y y and y ′ y' y ′ , contradicting y ′ ∈ U k y'\in U_k y ′ ∈ U k ; the case y ′ ≤ y y'\le y y ′ ≤ y is symmetric.
Each U j U_j U j is contained in the set of strings satisfying T j T_j T j . Since satisfying T j T_j T j fixes the r r r coordinates in T j T_j T j to 1 1 1 , we have ∣ U j ∣ ≤ 2 d − r |U_j|\le2^{d-r} ∣ U j ∣ ≤ 2 d − r and hence,
p j = ∣ U j ∣ 2 d ≤ 2 − r . p_j=\frac{|U_j|}{2^d}\le2^{-r}. p j = 2 d ∣ U j ∣ ≤ 2 − r .
Since this holds for every j j j ,
p max ≤ 2 − r . p_{\max}\le2^{-r}. p m a x ≤ 2 − r .
It remains to show that there exist T 1 , … , T R T_1,\ldots,T_R T 1 , … , T R such that we can lower bound the total mass
β = ∑ j = 1 R p j = ∑ j = 1 R ∣ U j ∣ 2 d . \beta=\sum_{j=1}^{R}p_j=\sum_{j=1}^{R}\frac{|U_j|}{2^d}. β = j = 1 ∑ R p j = j = 1 ∑ R 2 d ∣ U j ∣ .
For any fixed choice of T 1 , … , T R T_1,\ldots,T_R T 1 , … , T R , β \beta β is the probability that a uniformly random y ∈ { 0 , 1 } d y \in\{0,1\}^d y ∈ { 0 , 1 } d belongs to exactly one of the blocks. To show that there exists a choice of T 1 , … , T R T_1,\ldots,T_R T 1 , … , T R for which β \beta β is large, we will lower bound E [ β ] \mathbb{E}[\beta] E [ β ] over the random choice of the sets T 1 , … , T R T_1,\ldots,T_R T 1 , … , T R .
To lower bound E [ β ] \mathbb{E}[\beta] E [ β ] , we identify a set A ⊆ { 0 , 1 } d A \subseteq\{0,1\}^d A ⊆ { 0 , 1 } d such that A A A contains a constant fraction of the strings { 0 , 1 } d \{0,1\}^d { 0 , 1 } d . Furthermore, we will show that every y ∈ A y \in A y ∈ A belongs to exactly one block with constant probability over a random choice of T 1 , … , T R T_1,\ldots,T_R T 1 , … , T R . We take A A A to be the lower half of the central layers:
A : = { y ∈ { 0 , 1 } d : d 2 − d ≤ ∣ y ∣ ≤ d 2 } . A := \left\{y \in\{0,1\}^d : \frac{d}{2} - \sqrt{d} \le|y| \le\frac{d}{2}\right\}. A := { y ∈ { 0 , 1 } d : 2 d − d ≤ ∣ y ∣ ≤ 2 d } .
By Chebyshev’s inequality and symmetry of the binomial distribution, a uniformly random y ∈ { 0 , 1 } d y \in\{0,1\}^d y ∈ { 0 , 1 } d lies in A A A with a probability at least 3 / 8 3/8 3/8 . It remains to bound the probability that a fixed y ∈ A y \in A y ∈ A belongs to exactly one block.
Fix such a y y y of Hamming weight k k k . A uniformly random r r r -element set T j T_j T j is contained in supp ( y ) \operatorname{supp}(y) supp ( y ) with probability
q k = ( k r ) ( d r ) . q_k = \frac{\binom{k}{r}}{\binom{d}{r}}. q k = ( r d ) ( r k ) .
Since the T j T_j T j ’s are chosen independently, the probability that y y y satisfies exactly one of the sets T 1 , … , T R T_1,\ldots,T_R T 1 , … , T R , and hence belongs to exactly one block U j U_j U j , is
R q k ( 1 − q k ) R − 1 . Rq_k(1-q_k)^{R-1}. R q k ( 1 − q k ) R − 1 .
To lower bound this quantity, we first show that R q k Rq_k R q k satisfies the bound
3 4 ≤ R q k ≤ 1 \frac{3}{4} \le Rq_k \le1 4 3 ≤ R q k ≤ 1
for all y ∈ A y \in A y ∈ A . For the upper bound, note that
R q k = 2 r ( k r ) ( d r ) = ∏ i = 0 r − 1 2 ( k − i ) d − i . Rq_k = 2^r\frac{\binom{k}{r}}{\binom{d}{r}} = \prod_{i=0}^{r-1}\frac{2(k-i)}{d-i}. R q k = 2 r ( r d ) ( r k ) = i = 0 ∏ r − 1 d − i 2 ( k − i ) .
Since k ≤ d / 2 k \le d/2 k ≤ d /2 , each factor in the product is at most 1 1 1 – therefore, we have R q k ≤ 1 Rq_k \le1 R q k ≤ 1 . For the lower bound, we may write
R q k = ∏ i = 0 r − 1 ( 1 − a i ) , a i : = d − 2 k + i d − i . Rq_k = \prod_{i=0}^{r-1}(1-a_i), \qquad a_i := \frac{d-2k+i}{d-i}. R q k = i = 0 ∏ r − 1 ( 1 − a i ) , a i := d − i d − 2 k + i .
Since y ∈ A y \in A y ∈ A , we have 0 ≤ d − 2 k ≤ 2 d 0 \le d-2k \le2\sqrt{d} 0 ≤ d − 2 k ≤ 2 d . Together with r = ⌊ d / 10 ⌋ r=\lfloor\sqrt{d}/10\rfloor r = ⌊ d /10 ⌋ , this gives
∑ i = 0 r − 1 a i ≤ r ( 2 d + r ) d − r ≤ 1 4 . \sum_{i=0}^{r-1}a_i \le\frac{r(2\sqrt{d}+r)}{d-r} \le\frac{1}{4}. i = 0 ∑ r − 1 a i ≤ d − r r ( 2 d + r ) ≤ 4 1 .
Furthermore, each a i ∈ [ 0 , 1 ] a_i \in[0,1] a i ∈ [ 0 , 1 ] , so we may use the inequality ∏ i ( 1 − a i ) ≥ 1 − ∑ i a i \prod_i(1-a_i) \ge1-\sum_i a_i ∏ i ( 1 − a i ) ≥ 1 − ∑ i a i to get
R q k ≥ 1 − ∑ i = 0 r − 1 a i ≥ 3 4 . Rq_k \ge1-\sum_{i=0}^{r-1}a_i \ge\frac{3}{4}. R q k ≥ 1 − i = 0 ∑ r − 1 a i ≥ 4 3 .
Therefore, we have shown that
3 4 ≤ R q k ≤ 1 \frac{3}{4} \le Rq_k \le1 4 3 ≤ R q k ≤ 1
for all y ∈ A y \in A y ∈ A . Noting that R q k ≤ 1 Rq_k \le1 R q k ≤ 1 implies q k ≤ 1 R q_k \le\frac{1}{R} q k ≤ R 1 , we can now bound
R q k ( 1 − q k ) R − 1 ≥ 3 4 ( 1 − 1 R ) R − 1 ≥ 3 4 e . Rq_k(1-q_k)^{R-1} \ge\frac{3}{4}\left(1-\frac{1}{R}\right)^{R-1} \ge\frac{3}{4e}. R q k ( 1 − q k ) R − 1 ≥ 4 3 ( 1 − R 1 ) R − 1 ≥ 4 e 3 .
It follows that, for every y ∈ A y \in A y ∈ A ,
Pr T 1 , … , T R [ y ∈ ⋃ j U j ] ≥ 3 4 e . \Pr_{T_1,\ldots,T_R}\left[y \in\bigcup_j U_j\right] \ge\frac{3}{4e}. T 1 , … , T R Pr [ y ∈ j ⋃ U j ] ≥ 4 e 3 .
Combining this with Pr [ Y ∈ A ] ≥ 3 / 8 \Pr[Y \in A] \ge3/8 Pr [ Y ∈ A ] ≥ 3/8 , we obtain
E [ β ] ≥ Pr [ Y ∈ A ] ⋅ inf y ∈ A Pr T 1 , … , T R [ y ∈ ⋃ j U j ] ≥ 3 8 ⋅ 3 4 e = 9 32 e > 1 64 . \mathbb{E}[\beta] \ge\Pr[Y \in A]\cdot\inf_{y\in A}\Pr_{T_1,\ldots,T_R}\left[y \in\bigcup_j U_j\right] \ge\frac{3}{8}\cdot\frac{3}{4e}=\frac{9}{32e}>\frac{1}{64}. E [ β ] ≥ Pr [ Y ∈ A ] ⋅ y ∈ A inf T 1 , … , T R Pr [ y ∈ j ⋃ U j ] ≥ 8 3 ⋅ 4 e 3 = 32 e 9 > 64 1 .
Therefore, there exists a choice of T 1 , … , T R T_1,\ldots,T_R T 1 , … , T R for which β ≥ 1 / 64 \beta\ge1/64 β ≥ 1/64 .
Finally, given a choice of T 1 , … , T R T_1,\ldots,T_R T 1 , … , T R , we can define f f f for all y ∉ ⋃ j U j y\notin\bigcup_j U_j y ∈ / ⋃ j U j in a way that preserves monotonicity. Specifically, we let f ( y , x ) = 0 f(y,x)=0 f ( y , x ) = 0 when y y y satisfies none of the T j T_j T j and f ( y , x ) = 1 f(y,x)=1 f ( y , x ) = 1 when y y y satisfies at least two of the T j T_j T j . As y y y increases coordinate-wise, the set of satisfied T j T_j T j can only increase. Therefore, the function remains monotone whenever each local function f j f_j f j assigned to each block U j U_j U j is monotone.
Proof of block factorization
Proof of Lemma 9. We use the local and global coherent states and the product states defined in § 4.5 .
We now show that there is an isometry that maps ∣ Φ λ ( f ) ⟩ |\Phi_\lambda(f)\rangle ∣ Φ λ ( f )⟩ to ∣ χ λ ( f ) ⟩ |\chi_\lambda(f)\rangle ∣ χ λ ( f )⟩ for every f ∈ F f \in\mathcal{F} f ∈ F . First, we can verify that the two families have the same pairwise inner products. For any f , g ∈ F f,g \in\mathcal{F} f , g ∈ F ,
⟨ χ λ ( f ) ∣ χ λ ( g ) ⟩ = ∏ j = 1 R ⟨ Φ λ p j ( f j ) ∣ Φ λ p j ( g j ) ⟩ = ∏ j = 1 R e − λ p j dist ( f j , g j ) = e − λ dist ( f , g ) = ⟨ Φ λ ( f ) ∣ Φ λ ( g ) ⟩ , \begin{aligned}
\langle\chi_\lambda(f) \mid\chi_\lambda(g)\rangle
&= \prod_{j=1}^{R}\langle\Phi_{\lambda p_j}(f_j)\mid\Phi_{\lambda p_j}(g_j)\rangle\\
&= \prod_{j=1}^{R}e^{-\lambda p_j\operatorname{dist}(f_j,g_j)} \\
&= e^{-\lambda\operatorname{dist}(f,g)} \\
&= \langle\Phi_\lambda(f)\mid\Phi_\lambda(g)\rangle,
\end{aligned} ⟨ χ λ ( f ) ∣ χ λ ( g )⟩ = j = 1 ∏ R ⟨ Φ λ p j ( f j ) ∣ Φ λ p j ( g j )⟩ = j = 1 ∏ R e − λ p j dist ( f j , g j ) = e − λ dist ( f , g ) = ⟨ Φ λ ( f ) ∣ Φ λ ( g )⟩ ,
since we know that
dist ( f , g ) = ∑ j = 1 R p j dist ( f j , g j ) . \operatorname{dist}(f,g)=\sum_{j=1}^{R}p_j\operatorname{dist}(f_j,g_j). dist ( f , g ) = j = 1 ∑ R p j dist ( f j , g j ) .
We may now construct the desired map. Define
S λ : = span { ∣ Φ λ ( f ) ⟩ : f ∈ F } , T λ : = span { ∣ χ λ ( f ) ⟩ : f ∈ F } , S_\lambda:=\operatorname{span}\{|\Phi_\lambda(f)\rangle:f\in\mathcal{F}\},\qquad T_\lambda:=\operatorname{span}\{|\chi_\lambda(f)\rangle:f\in\mathcal{F}\}, S λ := span { ∣ Φ λ ( f )⟩ : f ∈ F } , T λ := span { ∣ χ λ ( f )⟩ : f ∈ F } ,
and consider
V λ ( ∑ f ∈ F c f ∣ Φ λ ( f ) ⟩ ) : = ∑ f ∈ F c f ∣ χ λ ( f ) ⟩ . V_\lambda\left(\sum_{f\in\mathcal{F}}c_f|\Phi_\lambda(f)\rangle\right):=\sum_{f\in\mathcal{F}}c_f|\chi_\lambda(f)\rangle. V λ f ∈ F ∑ c f ∣ Φ λ ( f )⟩ := f ∈ F ∑ c f ∣ χ λ ( f )⟩ .
We will verify that V λ V_\lambda V λ is well-defined, linear, and norm preserving and hence, is an isometry. The key observation is that the equality of the pairwise inner product tells you that
∥ ∑ f c f ∣ Φ λ ( f ) ⟩ ∥ 2 = ∑ f , g c f ‾ c g ⟨ Φ λ ( f ) ∣ Φ λ ( g ) ⟩ = ∑ f , g c f ‾ c g ⟨ χ λ ( f ) ∣ χ λ ( g ) ⟩ = ∥ ∑ f c f ∣ χ λ ( f ) ⟩ ∥ 2 . (61) \begin{aligned}
\left\|\sum_f c_f\lvert\Phi_\lambda(f)\rangle\right\|^2
&= \sum_{f,g}\overline{c_f}c_g\langle\Phi_\lambda(f)\mid\Phi_\lambda(g)\rangle\\
&= \sum_{f,g}\overline{c_f}c_g\langle\chi_\lambda(f)\mid\chi_\lambda(g)\rangle\\
&= \left\|\sum_f c_f\lvert\chi_\lambda(f)\rangle\right\|^2. \tag*{(61)}
\end{aligned} f ∑ c f ∣ Φ λ ( f )⟩ 2 = f , g ∑ c f c g ⟨ Φ λ ( f ) ∣ Φ λ ( g )⟩ = f , g ∑ c f c g ⟨ χ λ ( f ) ∣ χ λ ( g )⟩ = f ∑ c f ∣ χ λ ( f )⟩ 2 . (61)
for every choice of coefficients ( c f ) f ∈ F (c_f)_{f\in\mathcal{F}} ( c f ) f ∈ F . We now verify the three properties.
The map is well-defined. Suppose that two coefficient choices represent the same input vector:
∑ f c f ∣ Φ λ ( f ) ⟩ = ∑ f d f ∣ Φ λ ( f ) ⟩ , \sum_f c_f\lvert\Phi_\lambda(f)\rangle= \sum_f d_f\lvert\Phi_\lambda(f)\rangle, f ∑ c f ∣ Φ λ ( f )⟩ = f ∑ d f ∣ Φ λ ( f )⟩ ,
apply Equation (61) to the coefficients c f − d f c_f-d_f c f − d f gives
∥ ∑ f ( c f − d f ) ∣ χ λ ( f ) ⟩ ∥ 2 = ∥ ∑ f ( c f − d f ) ∣ Φ λ ( f ) ⟩ ∥ 2 = 0. \left\|\sum_f(c_f-d_f)\lvert\chi_\lambda(f)\rangle\right\|^2
=
\left\|\sum_f(c_f-d_f)\lvert\Phi_\lambda(f)\rangle\right\|^2
=0. f ∑ ( c f − d f ) ∣ χ λ ( f )⟩ 2 = f ∑ ( c f − d f ) ∣ Φ λ ( f )⟩ 2 = 0.
Hence, the output states are equal, and V λ V_\lambda V λ is well defined.
Linearity. Linearity follows directly from the definition of the isometry.
Norm preservation. Since every v ∈ S λ v\in S_\lambda v ∈ S λ is a linear combination of the states ∣ Φ λ ( f ) ⟩ \lvert\Phi_\lambda(f)\rangle ∣ Φ λ ( f )⟩ , Equation (61) tells us that
∥ V λ v ∥ = ∥ v ∥ for every v ∈ S λ . \|V_\lambda v\|=\|v\| \qquad\text{for every }v\in S_\lambda. ∥ V λ v ∥ = ∥ v ∥ for every v ∈ S λ .
Therefore, V λ : S λ → T λ V_\lambda:S_\lambda\to T_\lambda V λ : S λ → T λ is an isometry satisfying (35) .
We now apply the isometry to the averaged ensembles defined in § 4.5 . Using Equation (35) , we have
V λ Ω b ( λ ) V λ † = E f ∼ D b [ ∣ χ λ ( f ) ⟩ ⟨ χ λ ( f ) ∣ ] = E ( f 1 , … , f R ) ∼ ν b ⊗ R [ ⨂ j = 1 R ∣ Φ λ p j ( f j ) ⟩ ⟨ Φ λ p j ( f j ) ∣ ] = ⨂ j = 1 R E h ∼ ν b [ ∣ Φ λ p j ( h ) ⟩ ⟨ Φ λ p j ( h ) ∣ ] = ⨂ j = 1 R σ b ( λ p j ) . (62) \begin{aligned}
V_\lambda\Omega_b(\lambda)V_\lambda^\dagger
&= \mathbb{E}_{f\sim D_b}\left[\lvert\chi_\lambda(f)\rangle\langle\chi_\lambda(f)\rvert\right] \\
&= \mathbb{E}_{(f_1,\ldots,f_R)\sim\nu_b^{\otimes R}}
\left[\bigotimes_{j=1}^{R}\lvert\Phi_{\lambda p_j}(f_j)\rangle\langle\Phi_{\lambda p_j}(f_j)\rvert\right] \\
&= \bigotimes_{j=1}^{R}\mathbb{E}_{h\sim\nu_b}\left[\lvert\Phi_{\lambda p_j}(h)\rangle\langle\Phi_{\lambda p_j}(h)\rvert\right] \\
&= \bigotimes_{j=1}^{R}\sigma_b(\lambda p_j). \tag*{(62)}
\end{aligned} V λ Ω b ( λ ) V λ † = E f ∼ D b [ ∣ χ λ ( f )⟩ ⟨ χ λ ( f )∣ ] = E ( f 1 , … , f R ) ∼ ν b ⊗ R [ j = 1 ⨂ R ∣ Φ λ p j ( f j )⟩ ⟨ Φ λ p j ( f j )∣ ] = j = 1 ⨂ R E h ∼ ν b [ ∣ Φ λ p j ( h )⟩ ⟨ Φ λ p j ( h )∣ ] = j = 1 ⨂ R σ b ( λ p j ) . (62)
for b ∈ { y e s , n o } b\in\{yes,no\} b ∈ { y es , n o } . Since conjugation by an isometry preserves the trace norm, we conclude that (36) holds, completing the proof.
Proof of the local fidelity bound
Proof of Lemma 11 . We use the notation from § 4.8 .
Next, recall that ν b \nu_b ν b is the distribution over local functions as specified in in Table 2, for b ∈ { y e s , n o } b \in\{yes,no\} b ∈ { y es , n o } . Define X X X and Y Y Y by
X : = [ ν y e s ( g ) ∣ Φ μ ( g ) ⟩ ] g , Y : = [ ν n o ( h ) ∣ Φ μ ( h ) ⟩ ] h . X := \left[\sqrt{\nu_{yes}(g)}\lvert\Phi_\mu(g)\rangle\right]_g,\qquad Y := \left[\sqrt{\nu_{no}(h)}\lvert\Phi_\mu(h)\rangle\right]_h. X := [ ν y es ( g ) ∣ Φ μ ( g )⟩ ] g , Y := [ ν n o ( h ) ∣ Φ μ ( h )⟩ ] h .
Then,
X X † = σ y e s ( μ ) , Y Y † = σ n o ( μ ) . XX^\dagger= \sigma_{yes}(\mu),\qquad YY^\dagger= \sigma_{no}(\mu). X X † = σ y es ( μ ) , Y Y † = σ n o ( μ ) .
We have
F μ = ∥ X † Y ∥ 1 , (63) F_\mu= \lVert X^\dagger Y\rVert_1, \tag*{(63)} F μ = ∥ X † Y ∥ 1 , (63)
where the entries of X † Y X^\dagger Y X † Y are
( X † Y ) g , h = ν y e s ( g ) ν n o ( h ) ⟨ Φ μ ( g ) ∣ Φ μ ( h ) ⟩ . (X^\dagger Y)_{g,h} = \sqrt{\nu_{yes}(g)\nu_{no}(h)}\langle\Phi_\mu(g)\mid\Phi_\mu(h)\rangle. ( X † Y ) g , h = ν y es ( g ) ν n o ( h ) ⟨ Φ μ ( g ) ∣ Φ μ ( h )⟩ .
Set μ ~ : = μ p 2 \widetilde{\mu} := \frac{\mu p}{2} μ := 2 μ p and define
∣ Γ μ ( g ) ⟩ : = e − μ ~ / 2 ⨁ k = 0 ∞ μ ~ k / 2 k ! ∣ z g ⟩ ⊗ k , \lvert\Gamma_\mu(g)\rangle:= e^{-\widetilde{\mu}/2}\bigoplus_{k=0}^{\infty}\frac{\widetilde{\mu}^{k/2}}{\sqrt{k!}}\lvert z_g\rangle^{\otimes k}, ∣ Γ μ ( g )⟩ := e − μ /2 k = 0 ⨁ ∞ k ! μ k /2 ∣ z g ⟩ ⊗ k ,
where the k = 0 k=0 k = 0 sector is some fixed unit vector ∣ ∅ ⟩ \lvert\varnothing\rangle ∣ ∅ ⟩ , independent of g g g . We have that
⟨ Γ μ ( g ) ∣ Γ μ ( h ) ⟩ = e − μ ~ ∑ k = 0 ∞ μ ~ k k ! ⟨ z g ∣ z h ⟩ k = exp [ − μ ~ ( 1 − ⟨ z g ∣ z h ⟩ ) ] = e − μ dist ( g , h ) = ⟨ Φ μ ( g ) ∣ Φ μ ( h ) ⟩ , \begin{aligned}
\langle\Gamma_\mu(g)\mid\Gamma_\mu(h)\rangle
&=e^{-\widetilde{\mu}}\sum_{k=0}^{\infty}\frac{\widetilde{\mu}^k}{k!}\langle z_g\mid z_h\rangle^k\\
&=\exp\left[-\widetilde{\mu}\left(1-\langle z_g\mid z_h\rangle\right)\right]\\
&=e^{-\mu\operatorname{dist}(g,h)}\\
&=\langle\Phi_\mu(g)\mid\Phi_\mu(h)\rangle,
\end{aligned} ⟨ Γ μ ( g ) ∣ Γ μ ( h )⟩ = e − μ k = 0 ∑ ∞ k ! μ k ⟨ z g ∣ z h ⟩ k = exp [ − μ ( 1 − ⟨ z g ∣ z h ⟩ ) ] = e − μ dist ( g , h ) = ⟨ Φ μ ( g ) ∣ Φ μ ( h )⟩ ,
where the last equality follows from Equation (33) . Therefore, every entry of X † Y X^\dagger Y X † Y can be written as
( X † Y ) g , h = ν y e s ( g ) ν n o ( h ) ⟨ Γ μ ( g ) ∣ Γ μ ( h ) ⟩ . (X^\dagger Y)_{g,h}=\sqrt{\nu_{yes}(g)\nu_{no}(h)}\langle\Gamma_\mu(g)\mid\Gamma_\mu(h)\rangle. ( X † Y ) g , h = ν y es ( g ) ν n o ( h ) ⟨ Γ μ ( g ) ∣ Γ μ ( h )⟩ .
In particular, replacing the component vectors ∣ Φ μ ( g ) ⟩ \lvert\Phi_\mu(g)\rangle ∣ Φ μ ( g )⟩ by ∣ Γ μ ( g ) ⟩ \lvert\Gamma_\mu(g)\rangle ∣ Γ μ ( g )⟩ leaves the overlap matrix and hence, the trace norm F μ F_\mu F μ unchanged.
Next, we will retain only the k = 0 k=0 k = 0 and k = 1 k=1 k = 1 terms of Γ μ ( g ) \Gamma_\mu(g) Γ μ ( g ) . Define
∣ Γ ~ μ ( g ) ⟩ : = ∣ ∅ ⟩ + μ ~ ∣ z g ⟩ 1 + μ ~ , \lvert\widetilde{\Gamma}_\mu(g)\rangle:= \frac{\lvert\varnothing\rangle+\sqrt{\widetilde{\mu}}\lvert z_g\rangle}{\sqrt{1+\widetilde{\mu}}}, ∣ Γ μ ( g )⟩ := 1 + μ ∣ ∅ ⟩ + μ ∣ z g ⟩ ,
and define the corresponding mixed states as
τ b ( μ ) : = ∑ g ν b ( g ) ∣ Γ ~ μ ( g ) ⟩ ⟨ Γ ~ μ ( g ) ∣ , b ∈ { y e s , n o } . (64) \tau_b(\mu):=\sum_g\nu_b(g)\lvert\widetilde{\Gamma}_\mu(g)\rangle\langle\widetilde{\Gamma}_\mu(g)\rvert,\qquad b\in\{yes,no\}. \tag*{(64)} τ b ( μ ) := g ∑ ν b ( g ) ∣ Γ μ ( g )⟩ ⟨ Γ μ ( g )∣ , b ∈ { y es , n o } . (64)
The total squared norm of the discarded terms is independent of g g g and satisfies
q t a i l : = e − μ ~ ∑ k = 2 ∞ μ ~ k k ! ≤ μ ~ 2 2 e − μ ~ ∑ k = 2 ∞ μ ~ k − 2 ( k − 2 ) ! = μ ~ 2 2 . (65) q_{\mathrm{tail}} := e^{-\tilde{\mu}} \sum_{k=2}^{\infty} \frac{\tilde{\mu}^{k}}{k!}
\le\frac{\tilde{\mu}^{2}}{2} e^{-\tilde{\mu}} \sum_{k=2}^{\infty} \frac{\tilde{\mu}^{k-2}}{(k-2)!}
= \frac{\tilde{\mu}^{2}}{2}. \tag*{(65)} q tail := e − μ ~ k = 2 ∑ ∞ k ! μ ~ k ≤ 2 μ ~ 2 e − μ ~ k = 2 ∑ ∞ ( k − 2 )! μ ~ k − 2 = 2 μ ~ 2 . (65)
We bound the effect of this truncation on the fidelity. If μ ~ = 0 \tilde{\mu}=0 μ ~ = 0 , then the truncation has no effect. For μ ~ > 0 \tilde{\mu}>0 μ ~ > 0 , we may write
∣ Γ μ ( g ) ⟩ = 1 − q t a i l ∣ Γ ~ μ ( g ) ⟩ + q t a i l ∣ η g ⟩ , |\Gamma_{\mu}(g)\rangle= \sqrt{1-q_{\mathrm{tail}}}\,|\widetilde{\Gamma}_{\mu}(g)\rangle+ \sqrt{q_{\mathrm{tail}}}\,|\eta_g\rangle, ∣ Γ μ ( g )⟩ = 1 − q tail ∣ Γ μ ( g )⟩ + q tail ∣ η g ⟩ ,
where ∣ η g ⟩ |\eta_g\rangle ∣ η g ⟩ is the normalized discarded terms supported on k ≥ 2 k \ge2 k ≥ 2 . Using this decomposition, we obtain
( X † Y ) g , h = ( 1 − q t a i l ) ν y e s ( g ) ν n o ( h ) ⟨ Γ ~ μ ( g ) ∣ Γ ~ μ ( h ) ⟩ + q t a i l ν y e s ( g ) ν n o ( h ) ⟨ η g ∣ η h ⟩ , (X^{\dagger}Y)_{g,h}=(1-q_{\mathrm{tail}})\sqrt{\nu_{\mathrm{yes}}(g)\nu_{\mathrm{no}}(h)}\langle\widetilde{\Gamma}_{\mu}(g)\mid\widetilde{\Gamma}_{\mu}(h)\rangle+q_{\mathrm{tail}}\sqrt{\nu_{\mathrm{yes}}(g)\nu_{\mathrm{no}}(h)}\langle\eta_g\mid\eta_h\rangle, ( X † Y ) g , h = ( 1 − q tail ) ν yes ( g ) ν no ( h ) ⟨ Γ μ ( g ) ∣ Γ μ ( h )⟩ + q tail ν yes ( g ) ν no ( h ) ⟨ η g ∣ η h ⟩ ,
since ⟨ Γ ~ μ ( g ) ∣ η h ⟩ = 0 \langle\widetilde{\Gamma}_{\mu}(g)\mid\eta_h\rangle=0 ⟨ Γ μ ( g ) ∣ η h ⟩ = 0 for all g , h g,h g , h .
We can think of X † Y X^{\dagger}Y X † Y as the sum of two matrices:
( 1 − q t a i l ) [ ν y e s ( g ) ν n o ( h ) ⟨ Γ ~ μ ( g ) ∣ Γ ~ μ ( h ) ⟩ ] g , h + q t a i l [ ν y e s ( g ) ν n o ( h ) ⟨ η g ∣ η h ⟩ ] g , h . (1-q_{\mathrm{tail}})\left[\sqrt{\nu_{\mathrm{yes}}(g)\nu_{\mathrm{no}}(h)}\langle\widetilde{\Gamma}_{\mu}(g)\mid\widetilde{\Gamma}_{\mu}(h)\rangle\right]_{g,h}
+q_{\mathrm{tail}}\left[\sqrt{\nu_{\mathrm{yes}}(g)\nu_{\mathrm{no}}(h)}\langle\eta_g\mid\eta_h\rangle\right]_{g,h}. ( 1 − q tail ) [ ν yes ( g ) ν no ( h ) ⟨ Γ μ ( g ) ∣ Γ μ ( h )⟩ ] g , h + q tail [ ν yes ( g ) ν no ( h ) ⟨ η g ∣ η h ⟩ ] g , h .
The first matrix is the weighted overlaps of the vectors τ y e s ( μ ) \tau_{\mathrm{yes}}(\mu) τ yes ( μ ) and τ n o ( μ ) \tau_{\mathrm{no}}(\mu) τ no ( μ ) defined in Equation (64) . Its trace norm equals F ( τ y e s ( μ ) , τ n o ( μ ) ) F(\tau_{\mathrm{yes}}(\mu),\tau_{\mathrm{no}}(\mu)) F ( τ yes ( μ ) , τ no ( μ )) . The trace norm of the second matrix is equal to the fidelity between
∑ g ν y e s ( g ) ∣ η g ⟩ ⟨ η g ∣ , ∑ h ν n o ( h ) ∣ η h ⟩ ⟨ η h ∣ , \sum_g \nu_{\mathrm{yes}}(g)|\eta_g\rangle\langle\eta_g|,\qquad
\sum_h \nu_{\mathrm{no}}(h)|\eta_h\rangle\langle\eta_h|, g ∑ ν yes ( g ) ∣ η g ⟩ ⟨ η g ∣ , h ∑ ν no ( h ) ∣ η h ⟩ ⟨ η h ∣ ,
and can be bound by 1. Applying the reverse triangle inequality, we get
F μ ≥ ( 1 − q t a i l ) F ( τ y e s ( μ ) , τ n o ( μ ) ) − q t a i l ≥ F ( τ y e s ( μ ) , τ n o ( μ ) ) − 2 q t a i l ≥ F ( τ y e s ( μ ) , τ n o ( μ ) ) − μ ~ 2 p 2 4 , (66) \begin{aligned}
F_{\mu} &\ge(1-q_{\mathrm{tail}})F(\tau_{\mathrm{yes}}(\mu),\tau_{\mathrm{no}}(\mu))-q_{\mathrm{tail}}\\
&\ge F(\tau_{\mathrm{yes}}(\mu),\tau_{\mathrm{no}}(\mu))-2q_{\mathrm{tail}}\\
&\ge F(\tau_{\mathrm{yes}}(\mu),\tau_{\mathrm{no}}(\mu))-\frac{\tilde{\mu}^{2}p^{2}}{4}, \tag*{(66)}
\end{aligned} F μ ≥ ( 1 − q tail ) F ( τ yes ( μ ) , τ no ( μ )) − q tail ≥ F ( τ yes ( μ ) , τ no ( μ )) − 2 q tail ≥ F ( τ yes ( μ ) , τ no ( μ )) − 4 μ ~ 2 p 2 , (66)
where we used that F ( τ y e s ( μ ) , τ n o ( μ ) ) F(\tau_{\mathrm{yes}}(\mu),\tau_{\mathrm{no}}(\mu)) F ( τ yes ( μ ) , τ no ( μ )) is bound by 1 and Equation (65) .
We now bound F ( τ y e s ( μ ) , τ n o ( μ ) ) F(\tau_{\mathrm{yes}}(\mu),\tau_{\mathrm{no}}(\mu)) F ( τ yes ( μ ) , τ no ( μ )) . Inside B B B , the local functions satisfy f i − = 1 − f i + f_i^{-}=1-f_i^{+} f i − = 1 − f i + and h 1 = 1 − h 0 h_1=1-h_0 h 1 = 1 − h 0 so we may write
∣ z f i − ⟩ = − ∣ z f i + ⟩ , ∣ z h 1 ⟩ = − ∣ z h 0 ⟩ . |z_{f_i^{-}}\rangle=-|z_{f_i^{+}}\rangle,\qquad|z_{h_1}\rangle=-|z_{h_0}\rangle. ∣ z f i − ⟩ = − ∣ z f i + ⟩ , ∣ z h 1 ⟩ = − ∣ z h 0 ⟩ .
Using Equation (64) , we have
τ y e s ( μ ) = α m ∑ i = 1 m ∣ Γ ~ μ ( f i + ) ⟩ ⟨ Γ ~ μ ( f i + ) ∣ + 1 − α 2 ∑ s = 0 1 ∣ Γ ~ μ ( h s ) ⟩ ⟨ Γ ~ μ ( h s ) ∣ = 1 1 + μ ~ [ α m ∑ i = 1 m ( ∣ ∅ ⟩ + μ ~ ∣ z f i + ⟩ ) ( ⟨ ∅ ∣ + μ ~ ⟨ z f i + ∣ ) + 1 − α 2 ∑ s = 0 1 ( ∣ ∅ ⟩ + μ ~ ∣ z h s ⟩ ) ( ⟨ ∅ ∣ + μ ~ ⟨ z h s ∣ ) ] = 1 1 + μ ~ [ ∣ ∅ ⟩ ⟨ ∅ ∣ + μ ~ C + α μ ~ ( ∣ ∅ ⟩ ⟨ z ‾ ∣ + ∣ z ‾ ⟩ ⟨ ∅ ∣ ) ] . \begin{aligned}
\tau_{yes}(\mu) &= \frac{\alpha}{m}\sum_{i=1}^{m}|\widetilde{\Gamma}_{\mu}(f_i^{+})\rangle\langle\widetilde{\Gamma}_{\mu}(f_i^{+})|+\frac{1-\alpha}{2}\sum_{s=0}^{1}|\widetilde{\Gamma}_{\mu}(h_s)\rangle\langle\widetilde{\Gamma}_{\mu}(h_s)| \\
&= \frac{1}{1+\widetilde{\mu}}\left[\frac{\alpha}{m}\sum_{i=1}^{m}(|\varnothing\rangle+\sqrt{\widetilde{\mu}}|z_{f_i^{+}}\rangle)(\langle\varnothing|+\sqrt{\widetilde{\mu}}\langle z_{f_i^{+}}|)\right. \\
&\qquad\left.+\frac{1-\alpha}{2}\sum_{s=0}^{1}(|\varnothing\rangle+\sqrt{\widetilde{\mu}}|z_{h_s}\rangle)(\langle\varnothing|+\sqrt{\widetilde{\mu}}\langle z_{h_s}|)\right] \\
&= \frac{1}{1+\widetilde{\mu}}\left[|\varnothing\rangle\langle\varnothing|+\widetilde{\mu}C+\alpha\sqrt{\widetilde{\mu}}(|\varnothing\rangle\langle\overline{z}|+|\overline{z}\rangle\langle\varnothing|)\right].
\end{aligned} τ y es ( μ ) = m α i = 1 ∑ m ∣ Γ μ ( f i + )⟩ ⟨ Γ μ ( f i + ) ∣ + 2 1 − α s = 0 ∑ 1 ∣ Γ μ ( h s )⟩ ⟨ Γ μ ( h s ) ∣ = 1 + μ 1 [ m α i = 1 ∑ m ( ∣ ∅ ⟩ + μ ∣ z f i + ⟩) (⟨ ∅ ∣ + μ ⟨ z f i + ∣ ) + 2 1 − α s = 0 ∑ 1 ( ∣ ∅ ⟩ + μ ∣ z h s ⟩) (⟨ ∅ ∣ + μ ⟨ z h s ∣ ) ] = 1 + μ 1 [ ∣ ∅ ⟩ ⟨ ∅ ∣ + μ C + α μ ( ∣ ∅ ⟩ ⟨ z ∣ + ∣ z ⟩ ⟨ ∅ ∣ ) ] .
The last equality uses ∣ z h 1 ⟩ = − ∣ z h 0 ⟩ |z_{h_1}\rangle=-|z_{h_0}\rangle ∣ z h 1 ⟩ = − ∣ z h 0 ⟩ and the definitions of ∣ z ‾ ⟩ |\overline{z}\rangle ∣ z ⟩ and C C C . Similarly,
τ n o ( μ ) = 1 1 + μ ~ [ ∣ ∅ ⟩ ⟨ ∅ ∣ + μ ~ C + ( α − 2 ρ ) μ ~ ( ∣ ∅ ⟩ ⟨ z ‾ ∣ + ∣ z ‾ ⟩ ⟨ ∅ ∣ ) ] . \tau_{no}(\mu)=\frac{1}{1+\widetilde{\mu}}\left[|\varnothing\rangle\langle\varnothing|+\widetilde{\mu}C+(\alpha-2\rho)\sqrt{\widetilde{\mu}}(|\varnothing\rangle\langle\overline{z}|+|\overline{z}\rangle\langle\varnothing|)\right]. τ n o ( μ ) = 1 + μ 1 [ ∣ ∅ ⟩ ⟨ ∅ ∣ + μ C + ( α − 2 ρ ) μ ( ∣ ∅ ⟩ ⟨ z ∣ + ∣ z ⟩ ⟨ ∅ ∣ ) ] .
Notice that only the cross terms between ∣ ∅ ⟩ |\varnothing\rangle ∣ ∅ ⟩ and ∣ z ‾ ⟩ |\overline{z}\rangle ∣ z ⟩ differ. Define
R : = μ ~ ( C − α ∣ z ‾ ⟩ ⟨ z ‾ ∣ ) , u : = μ ~ ∥ z ‾ ∥ 2 . R:=\widetilde{\mu}(C-\alpha|\overline{z}\rangle\langle\overline{z}|),\qquad u:=\widetilde{\mu}\|\overline{z}\|^{2}. R := μ ( C − α ∣ z ⟩ ⟨ z ∣ ) , u := μ ∥ z ∥ 2 .
Since R ∣ ∅ ⟩ = R ∣ z ‾ ⟩ = 0 R|\varnothing\rangle=R|\overline{z}\rangle=0 R ∣ ∅ ⟩ = R ∣ z ⟩ = 0 and R R R is Hermitian, R R R is supported on the orthogonal complement of their span. The remaining terms act in the two-dimensional space spanned by ∣ ∅ ⟩ |\varnothing\rangle ∣ ∅ ⟩ and ∣ z ‾ ⟩ |\overline{z}\rangle ∣ z ⟩ . In the basis { ∣ ∅ ⟩ , ∣ z ‾ ⟩ / ∥ z ‾ ∥ } \{|\varnothing\rangle,|\overline{z}\rangle/\|\overline{z}\|\} { ∣ ∅ ⟩ , ∣ z ⟩ /∥ z ∥ } , they give the blocks
A y e s : = ( 1 α u α u α u ) , A n o : = ( 1 ( α − 2 ρ ) u ( α − 2 ρ ) u α u ) . A_{yes}:=\begin{pmatrix}1 & \alpha\sqrt{u}\\ \alpha\sqrt{u} & \alpha u\end{pmatrix},\qquad A_{no}:=\begin{pmatrix}1 & (\alpha-2\rho)\sqrt{u}\\ (\alpha-2\rho)\sqrt{u} & \alpha u\end{pmatrix}. A y es := ( 1 α u α u α u ) , A n o := ( 1 ( α − 2 ρ ) u ( α − 2 ρ ) u α u ) .
Therefore, we may write
τ y e s ( μ ) = A y e s ⊕ R 1 + μ ~ , τ n o ( μ ) = A n o ⊕ R 1 + μ ~ . \tau_{yes}(\mu)=\frac{A_{yes}\oplus R}{1+\widetilde{\mu}},\qquad\tau_{no}(\mu)=\frac{A_{no}\oplus R}{1+\widetilde{\mu}}. τ y es ( μ ) = 1 + μ A y es ⊕ R , τ n o ( μ ) = 1 + μ A n o ⊕ R .
Since fidelity adds across orthogonal blocks and F ( R , R ) = Tr R = μ ~ − α u F(R,R)=\operatorname{Tr}R=\widetilde{\mu}-\alpha u F ( R , R ) = Tr R = μ − α u , we have
F ( τ y e s ( μ ) , τ n o ( μ ) ) = μ ~ − α u + F ( A y e s , A n o ) 1 + μ ~ . (67) F(\tau_{yes}(\mu),\tau_{no}(\mu))=\frac{\widetilde{\mu}-\alpha u+F(A_{yes},A_{no})}{1+\widetilde{\mu}}. \tag*{(67)} F ( τ y es ( μ ) , τ n o ( μ )) = 1 + μ μ − α u + F ( A y es , A n o ) . (67)
For positive semidefinite 2 × 2 2\times2 2 × 2 matrices, root fidelity satisfies
F ( A , B ) 2 = Tr ( A B ) + 2 det A det B . F(A,B)^2=\operatorname{Tr}(AB)+2\sqrt{\det A\det B}. F ( A , B ) 2 = Tr ( A B ) + 2 det A det B .
For our blocks,
Tr ( A y e s A n o ) = 1 + 2 α ( α − 2 ρ ) u + α 2 u 2 , det A y e s = α ( 1 − α ) u , det A n o = [ α ( 1 − α ) + 4 ρ ( α − ρ ) ] u . \begin{aligned}
\operatorname{Tr}(A_{yes}A_{no})&=1+2\alpha(\alpha-2\rho)u+\alpha^2u^2,\\
\det A_{yes}&=\alpha(1-\alpha)u,\\
\det A_{no}&=[\alpha(1-\alpha)+4\rho(\alpha-\rho)]u.
\end{aligned} Tr ( A y es A n o ) det A y es det A n o = 1 + 2 α ( α − 2 ρ ) u + α 2 u 2 , = α ( 1 − α ) u , = [ α ( 1 − α ) + 4 ρ ( α − ρ )] u .
We obtain
F ( A y e s , A n o ) = [ 1 + 2 α ( α − 2 ρ ) u + α 2 u 2 + 2 u α ( 1 − α ) [ α ( 1 − α ) + 4 ρ ( α − ρ ) ] ] 1 / 2 . (68) F(A_{yes},A_{no})=\left[1+2\alpha(\alpha-2\rho)u+\alpha^2u^2+2u\sqrt{\alpha(1-\alpha)[\alpha(1-\alpha)+4\rho(\alpha-\rho)]}\right]^{1/2}. \tag*{(68)} F ( A y es , A n o ) = [ 1 + 2 α ( α − 2 ρ ) u + α 2 u 2 + 2 u α ( 1 − α ) [ α ( 1 − α ) + 4 ρ ( α − ρ )] ] 1/2 . (68)
It remains to bound 1 − F μ 1-F_{\mu} 1 − F μ for all j j j . If ρ = 0 \rho=0 ρ = 0 , the local distributions coincide and F μ = 1 F_{\mu}=1 F μ = 1 . Assume 0 < ρ ≤ α ≤ 1 0<\rho\le\alpha\le1 0 < ρ ≤ α ≤ 1 , and let F A : = F ( A y e s , A n o ) F_A:=F(A_{yes},A_{no}) F A := F ( A y es , A n o ) . By Equation (66) and Equation (67) , we get
1 − F μ ≤ 1 − F ( τ y e s ( μ ) , τ n o ( μ ) ) + μ 2 p 2 4 = 1 + α u − F A 1 + μ ~ + μ 2 p 2 4 = ( 1 + α u ) 2 − F A 2 ( 1 + μ ~ ) ( 1 + α u + F A ) + μ 2 p 2 4 . \begin{aligned}
1-F_{\mu} &\le1-F(\tau_{yes}(\mu),\tau_{no}(\mu))+\frac{\mu^2p^2}{4}\\
&=\frac{1+\alpha u-F_A}{1+\tilde{\mu}}+\frac{\mu^2p^2}{4}\\
&=\frac{(1+\alpha u)^2-F_A^2}{(1+\tilde{\mu})(1+\alpha u+F_A)}+\frac{\mu^2p^2}{4}.
\end{aligned} 1 − F μ ≤ 1 − F ( τ y es ( μ ) , τ n o ( μ )) + 4 μ 2 p 2 = 1 + μ ~ 1 + α u − F A + 4 μ 2 p 2 = ( 1 + μ ~ ) ( 1 + α u + F A ) ( 1 + α u ) 2 − F A 2 + 4 μ 2 p 2 .
We now upper bound ( 1 + α u ) 2 − F A 2 (1+\alpha u)^2-F_A^2 ( 1 + α u ) 2 − F A 2 and lower bound 1 + α u + F A 1+\alpha u+F_A 1 + α u + F A . Equation (68) gives
( 1 + α u ) 2 − F A 2 = 2 u [ α ( 1 − α ) + 2 α ρ − α ( 1 − α ) [ α ( 1 − α ) + 4 ρ ( α − ρ ) ] ] = 8 α ρ 2 u α ( 1 − α ) + 2 α ρ + α ( 1 − α ) [ α ( 1 − α ) + 4 ρ ( α − ρ ) ] ≤ 8 α ρ 2 u 2 α ( 1 − α ) + 2 α ρ = 4 ρ 2 u 1 − α + ρ . \begin{aligned}
(1+\alpha u)^2-F_A^2
&=2u\left[\alpha(1-\alpha)+2\alpha\rho-\sqrt{\alpha(1-\alpha)\left[\alpha(1-\alpha)+4\rho(\alpha-\rho)\right]}\right]\\
&=\frac{8\alpha\rho^2u}{\alpha(1-\alpha)+2\alpha\rho+\sqrt{\alpha(1-\alpha)\left[\alpha(1-\alpha)+4\rho(\alpha-\rho)\right]}}\\
&\le\frac{8\alpha\rho^2u}{2\alpha(1-\alpha)+2\alpha\rho}\\
&=\frac{4\rho^2u}{1-\alpha+\rho}.
\end{aligned} ( 1 + α u ) 2 − F A 2 = 2 u [ α ( 1 − α ) + 2 α ρ − α ( 1 − α ) [ α ( 1 − α ) + 4 ρ ( α − ρ ) ] ] = α ( 1 − α ) + 2 α ρ + α ( 1 − α ) [ α ( 1 − α ) + 4 ρ ( α − ρ ) ] 8 α ρ 2 u ≤ 2 α ( 1 − α ) + 2 α ρ 8 α ρ 2 u = 1 − α + ρ 4 ρ 2 u .
For the denominator, Equation (68) gives
F A 2 ≥ 1 + 2 α ( α − 2 ρ ) u + α 2 u 2 = ( 1 − α u ) 2 + 2 α ( 1 + α − 2 ρ ) u ≥ ( 1 − α u ) 2 . \begin{aligned}
F_A^2&\ge1+2\alpha(\alpha-2\rho)u+\alpha^2u^2\\
&=(1-\alpha u)^2+2\alpha(1+\alpha-2\rho)u\\
&\ge(1-\alpha u)^2.
\end{aligned} F A 2 ≥ 1 + 2 α ( α − 2 ρ ) u + α 2 u 2 = ( 1 − α u ) 2 + 2 α ( 1 + α − 2 ρ ) u ≥ ( 1 − α u ) 2 .
Hence, we have F A ≥ ∣ 1 − α u ∣ F_A\ge\lvert1-\alpha u\rvert F A ≥ ∣ 1 − α u ∣ which means 1 + α u + F A ≥ 2 1+\alpha u+F_A\ge2 1 + α u + F A ≥ 2 . Combining these bounds, we have
1 − F μ ≤ 2 ρ 2 u ( 1 − α + ρ ) ( 1 + μ ~ ) + μ 2 p 2 4 ≤ ρ 2 1 − α + ρ μ p ∥ z ˉ ∥ 2 + μ 2 p 2 4 , (69) \begin{aligned}
1-F_{\mu}
&\le\frac{2\rho^2u}{(1-\alpha+\rho)(1+\tilde{\mu})}+\frac{\mu^2p^2}{4}\\
&\le\frac{\rho^2}{1-\alpha+\rho}\mu p\lVert\bar{z}\rVert^2+\frac{\mu^2p^2}{4}, \tag*{(69)}
\end{aligned} 1 − F μ ≤ ( 1 − α + ρ ) ( 1 + μ ~ ) 2 ρ 2 u + 4 μ 2 p 2 ≤ 1 − α + ρ ρ 2 μ p ∥ z ˉ ∥ 2 + 4 μ 2 p 2 , (69)
where we have substituted u = μ p ∥ z ˉ ∥ 2 / 2 u=\mu p\lVert\bar{z}\rVert^2/2 u = μ p ∥ z ˉ ∥ 2 /2 and 1 + μ ~ ≥ 1 1+\tilde{\mu}\ge1 1 + μ ~ ≥ 1 .