Introduction
Efficient extraction and inference from large data sets by examining only a part of the input is becoming more and more relevant in the current era of big data. The field of property testing designs randomized algorithms that determine whether an object approximately satisfies a given property while accessing only a small part of it. When the input object is a graph, it is known as graph property testing , where graph properties are closed under graph isomorphism. Formally, an isomorphism-closed collection of graphs P \mathcal{P} P is called a graph property . For a property P \mathcal{P} P , a graph G G G is said to satisfy P \mathcal{P} P , if G ∈ P G \in\mathcal{P} G ∈ P , and is said to be ε \varepsilon ε -far from P \mathcal{P} P , if one needs to modify at least an ε \varepsilon ε -fraction of the edges in G G G to obtain a graph in P \mathcal{P} P , for some parameter ε ∈ ( 0 , 1 ) \varepsilon\in(0,1) ε ∈ ( 0 , 1 ) . An ε \varepsilon ε -tester for P \mathcal{P} P is a randomized algorithm, that accepts graphs G ∈ P G \in\mathcal{P} G ∈ P , and rejects graphs that are ε \varepsilon ε -far from P \mathcal{P} P , with probability at least 2/3. Over the last two decades, the field of graph property testing has been studied extensively, culminating in a wide array of results and techniques; we refer to the books [13 , 8 ] and the surveys [23 , 11 , 24 ] for more details.
In graph property testing, there are several access models, depending on the graph representation. In this work, we study the bounded-degree model , where the graphs are represented as adjacency lists since the maximum degree of any vertex is at most a constant d d d . The tester can query any neighbor of a vertex of the input graph.
In this work, we focus on bipartiteness testing and expansion testing , two canonical and well studied problems in this bounded-degree model. In bipartiteness testing, the goal is to distinguish whether the input graph G G G is bipartite or ε \varepsilon ε -far from bipartite, by performing as few queries as possible. [14 , 15 ] proved that O ~ ( N ) \widetilde{O}(\sqrt{N}) O ( N ) queries are necessary and sufficient for bipartiteness testing in this model. Similarly, in expansion testing, the goal is to distinguish whether the input graph G G G is an α \alpha α -expander, or ε \varepsilon ε -far from all α ′ \alpha' α ′ -expanders, for some parameters α , α ′ \alpha,\alpha' α , α ′ with 0 < α ′ ≤ α < 1 0 < \alpha' \le\alpha< 1 0 < α ′ ≤ α < 1 . [15 , 16 ] proved that O ~ ( N ) \widetilde{O}(\sqrt{N}) O ( N ) queries are necessary and sufficient for expansion testing as well.1
Quantum algorithms can solve certain problems substantially faster than classical algorithms, as illustrated by Shor’s factoring algorithm [25 ] . This motivated the study of quantum property testing [12 , 7 ] . Polynomial quantum speedups are known for several graph-testing problems, including bipartiteness and graph isomorphism testing [2 , 10 , 3 , 9 ] ; see [19 ] for a survey.
A central goal of quantum property testing is either to design quantum testers that outperform all classical testers or to prove lower bounds limiting such improvements. Despite substantial progress, many fundamental questions remain open, and the full extent of the quantum advantage in property testing is still not completely understood.
In the quantum setting of the bounded-degree model, [2 ] studied bipartiteness and expansion testing and designed the first quantum property testers for these problems. In particular, they showed that O ~ ( N 1 / 3 ) \widetilde{O}(N^{1/3}) O ( N 1/3 ) quantum queries are sufficient for testing both these properties2 , thereby demonstrating a polynomial quantum speedup for both these problems. Moreover, they showed that Ω ~ ( N 1 / 4 ) \widetilde{\Omega}(N^{1/4}) Ω ( N 1/4 ) quantum queries are necessary for expansion testing, thereby showing that the quantum speedup is only polynomial in this case. However, they did not prove any lower bound on bipartiteness testing, and the possibility of an exponential quantum speedup for this problem has remained open for over a decade and a half.
Due to its significance, proving a non-trivial quantum query lower bound for this problem was mentioned as an open question in various influential works, such as [19 , 6 ] . In particular, the authors in [2 ] and [6 ] explicitly asked the following question:
Is an exponential quantum speed-up possible for bipartiteness testing in the bounded-degree model?
In other words, the question is whether one can prove any polynomial (in N N N ) quantum query lower bound for bipartiteness testing, ruling out the possibility of an exponential quantum speed-up for this problem.
Our results and techniques
Main results
In this work, we settle (up to polylogarithmic factors) the quantum query complexities of both bipartiteness testing and expansion testing, proving that Ω ~ ( N 1 / 3 ) \widetilde{\Omega}(N^{1/3}) Ω ( N 1/3 ) quantum queries are indeed necessary. This demonstrates that the quantum property testing algorithms for bipartiteness and expansion testing from [2 ] are essentially optimal.
Theorem 1.1 (Informal statement of Theorem 3.1). Any two-sided error quantum ε \varepsilon ε -tester for bipartiteness testing on N N N vertex bounded-degree graphs is required to perform Ω ~ ( N 1 / 3 ) \widetilde{\Omega}(N^{1/3}) Ω ( N 1/3 ) queries.
Theorem 1.2 (Informal statement of Theorem 4.1). Any two-sided error quantum ε \varepsilon ε -tester for testing expansion of N N N -vertex bounded-degree graphs must make Ω ~ ( N 1 / 3 ) \widetilde{\Omega}(N^{1/3}) Ω ( N 1/3 ) queries.
Technical overview
Here we present the main ideas in the proofs of our results. Since we rely on some parts of [2 ] , we first recap their proof idea.
The lower bound of [2 ] : We give a short overview of the lower bound on expansion testing from [2 ] to see which ideas we reuse and where we diverge from their proof. They consider the following hard distribution P M , ℓ P_{M,\ell} P M , ℓ of input graphs: take M M M vertices and consider a partition of the vertex set into ℓ \ell ℓ blocks of equal size V 1 , … , V ℓ V_1,\ldots,V_\ell V 1 , … , V ℓ (we take the parameters such that 2 ℓ 2\ell 2 ℓ divides M M M ). In each V i V_i V i for i ∈ [ ℓ ] i \in[\ell] i ∈ [ ℓ ] , take c c c random perfect matchings, and assign a color to each matching. This way, every vertex has exactly one incident edge of each color. The graph constructed this way has maximum degree c c c , and we will call it the ambient graph A A A .
The actual input graph G G G on N N N vertices (N ≤ M N \le M N ≤ M ) is constructed by sampling vertices randomly from A A A . For each vertex of G G G , first sample a uniformly random block V i V_i V i and then sample a uniformly random vertex inside V i V_i V i among those that have not been sampled yet. G G G is the subgraph of A A A induced by the sampled vertices, thus it has maximum degree at most c c c . One can prove that the “overflow” event, i.e. when more than M / ℓ M/\ell M / ℓ vertices are sampled from the same block, is very unlikely.
In their proof they take M = ( 1 + Θ ( N − 0.1 ) ) N M=(1+\Theta(N^{-0.1}))N M = ( 1 + Θ ( N − 0.1 )) N . They show that when the parameter ℓ = 1 \ell=1 ℓ = 1 , then graph G G G is an expander with high probability, and it is clear that ℓ = 2 \ell=2 ℓ = 2 always results in a far from expander graph, since it is not connected.
Then the main idea of the proof is the following. Graphs sampled from P M , 1 P_{M,1} P M , 1 should be accepted with high probability, and those sampled from P M , 2 P_{M,2} P M , 2 should be accepted with small probability; moreover, the acceptance probability is trivially bounded by 1 1 1 for all valid parameter pairs ( M , ℓ ) (M,\ell) ( M , ℓ ) . This suggests to use the polynomial method : proving a lower bound on the degree of the acceptance probability (as a polynomial) yields a lower bound on the quantum query complexity.
In [2 Lemma 3] it is proved that the expected acceptance probability of a q q q -query quantum algorithm over distribution P M , ℓ P_{M,\ell} P M , ℓ is a fraction of two bivariate polynomials f ( M , ℓ ) g ( M , ℓ ) \frac{f(M,\ell)}{g(M,\ell)} g ( M , ℓ ) f ( M , ℓ ) , where both f f f and g g g are of degree O ( q log q ) O(q\log q) O ( q log q ) and the denominator divides D q = ∏ k = 1 2 q ( M − ( 2 k − 1 ) ℓ ) [ 2 q / k ] D_q=\prod_{k=1}^{2q}(M-(2k-1)\ell)^{[2q/k]} D q = ∏ k = 1 2 q ( M − ( 2 k − 1 ) ℓ ) [ 2 q / k ] .
In the proof they consider the acceptance probability polynomial and examine each monomial separately, in expectation. Each monomial is a product of indicator variables x u , v , j x_{u,v,j} x u , v , j of the event “vertices u u u and v v v are connected by an edge of color j j j .” This way, each monomial defines a graph pattern, and the expected value of the monomial is the probability that the pattern appears in the graph sampled from P M , ℓ P_{M,\ell} P M , ℓ . They analyze these expected values as rational functions, including the number of ℓ \ell ℓ -factors in the numerator. To finish the lower bound, they bound the denominator of the expected acceptance probability by a constant, to obtain a simple polynomial rather than a fraction. Then they prove a lemma using a similar argument to the collision lower bound of [4 ] , to lower bound the degree of the polynomial. For this, they consider parameter grid ∣ M − M 0 ∣ ≤ R 3 / 2 |M-M_0| \le R^{3/2} ∣ M − M 0 ∣ ≤ R 3/2 and ℓ ≤ R \ell\le R ℓ ≤ R with M 0 = ( 1 + Θ ( N − 0.1 ) ) N M_0=(1+\Theta(N^{-0.1}))N M 0 = ( 1 + Θ ( N − 0.1 )) N and R ∈ Θ ( N 1 / 2 ) R\in\Theta(N^{1/2}) R ∈ Θ ( N 1/2 ) , such that 2 ℓ 2\ell 2 ℓ divides M M M . Their lemma yields a degree lower bound of Ω ( R ) = Ω ( N 1 / 4 ) \Omega(\sqrt{R})=\Omega(N^{1/4}) Ω ( R ) = Ω ( N 1/4 ) , and since the degree is O ( q log q ) O(q\log q) O ( q log q ) , the query lower bound is Ω ~ ( N 1 / 4 ) \widetilde{\Omega}(N^{1/4}) Ω ( N 1/4 ) .
Bipartiteness testing lower bound First, we look at a property on signed graphs that we call balancedness and prove that property testing this problem has the desired lower bound. Then we reduce it to bipartiteness testing and thus the quantum query lower bound extends to bipartiteness testing as well. A signed graph is a graph with bit labels (also called signs) on its edges, and it is balanced if there is an assignment of bits to the vertices such that every edge u v uv uv has label that is the XOR of the bits of u u u and v v v .
For the lower bound, we begin with the hard instance construction of [2 ] described in the previous section. We first consider a graph defined in terms of c = 3 c=3 c = 3 matchings over blocks of vertices. Any graph in the hard distribution has at least 1.3 N 1.3N 1.3 N edges with high probability. Once we have the base graph similar to [2 ] , we define a signed variant of it in the following way. In the yes distribution, first a vertex signing is taken and the edge signs are defined accordingly: these are clearly balanced. In the no distribution, the edge signs are taken uniformly at random, which results in far from balanced graphs with high probability.
Using [2 Lemma 3] , we know that the average acceptance probability of a q q q -query quantum query algorithm with inputs sampled from the hard distribution P M , ℓ P_{M,\ell} P M , ℓ , is a fraction of two polynomials each of degree O ( q log ( q ) ) O(q\log(q)) O ( q log ( q )) , and the denominator divides D q = ∏ k = 1 2 q ( M − ( 2 k − 1 ) ℓ ) ⌊ 2 q / k ⌋ D_q=\prod_{k=1}^{2q}(M-(2k-1)\ell)^{\lfloor2q/k\rfloor} D q = ∏ k = 1 2 q ( M − ( 2 k − 1 ) ℓ ) ⌊ 2 q / k ⌋ . We denote this acceptance probability as p y e s p_{\mathrm{yes}} p yes and p n o p_{\mathrm{no}} p no when taking the edge signs according to the yes and the no distribution, respectively.3
Like [2 ] , we also look at each monomial, which all correspond to a signed graph pattern. If this pattern is a forest, then the probabilities of this pattern appearing in a graph from the yes and the no distribution are the same. This way, when considering the acceptance gap Δ ( M , ℓ ) = p y e s ( M , ℓ ) − p n o ( M , ℓ ) \Delta(M,\ell)=p_{\mathrm{yes}}(M,\ell)-p_{\mathrm{no}}(M,\ell) Δ ( M , ℓ ) = p yes ( M , ℓ ) − p no ( M , ℓ ) over the common denominator D q D_q D q , the monomials of forests cancel, and only ones corresponding to graphs with cycles remain.
By carefully analyzing the proof of [2 Proposition 6] , one can see that a better bound number of ℓ \ell ℓ -factors in the numerator of the monomials is ℓ e − v + c \ell^{e-v+c} ℓ e − v + c where e , v , c e,v,c e , v , c denote the number of edges, vertices and components of the corresponding graph pattern, respectively; and e − v + c e-v+c e − v + c is the cycle rank of the graph pattern. Since the forests are already canceled in the acceptance gap, each remaining monomial brings at least one ℓ \ell ℓ -factor, which allows us to write Δ ( M , ℓ ) = ℓ H ( M , ℓ ) D q ( M , ℓ ) \Delta(M,\ell)=\frac{\ell H(M,\ell)}{D_q(M,\ell)} Δ ( M , ℓ ) = D q ( M , ℓ ) ℓ H ( M , ℓ ) .
The next step is to approximate the reciprocal of the denominator by a low degree polynomial. This is done by writing D q D_q D q in a special product form, rewriting its reciprocal as an infinite sum and truncating it. The resulting polynomial A q ( M , ℓ ) A_q(M,\ell) A q ( M , ℓ ) satisfies ∣ D q A q − 1 ∣ ≤ 0.01 |D_qA_q-1|\le0.01 ∣ D q A q − 1∣ ≤ 0.01 .
Now we define our final polynomial as P ( M , ℓ ) = H ( M , ℓ ) A q ( M , ℓ ) / 2 P(M,\ell)=H(M,\ell)A_q(M,\ell)/2 P ( M , ℓ ) = H ( M , ℓ ) A q ( M , ℓ ) /2 which still satisfies deg ( P ) ∈ O ( q log q ) \deg(P)\in O(q\log q) deg ( P ) ∈ O ( q log q ) . We consider the hard distribution over the enlarged grid ∣ M − M 0 ∣ ≤ R 3 / 2 |M-M_0|\le R^{3/2} ∣ M − M 0 ∣ ≤ R 3/2 and ℓ ≤ R \ell\le R ℓ ≤ R with M 0 = 4 ⌈ 11 N 40 ⌉ M_0=4\left\lceil\frac{11N}{40}\right\rceil M 0 = 4 ⌈ 40 11 N ⌉ and R ∈ Θ ( N 2 / 3 ) R\in\Theta(N^{2/3}) R ∈ Θ ( N 2/3 ) , such that 2 ℓ 2\ell 2 ℓ divides M M M . Moreover, we know that P ( M 0 , 1 ) P(M_0,1) P ( M 0 , 1 ) and P ( M 0 , 2 ) P(M_0,2) P ( M 0 , 2 ) are bounded away by a constant and P P P is bounded by 1 1 1 over the enlarged grid. Thus, using [2 Lemma 4] , we can prove the degree lower bound of Ω ( R ) = Ω ( N 1 / 3 ) \Omega(\sqrt{R})=\Omega(N^{1/3}) Ω ( R ) = Ω ( N 1/3 ) which results in a query lower bound of Ω ~ ( N 1 / 3 ) \widetilde{\Omega}(N^{1/3}) Ω ( N 1/3 ) .
Figure 1. On the left, we have a yes instance balanced graph, and on the right, the no instance graph illustrates independent random edge signs. Theorem 3.3 shows that the no instance is far from balanced with high probability.
Figure 2. We describe the reduction from balancedness testing to bipartiteness testing. On the left, the construction describes what happens when b u v = 1 b_{uv}=1 b uv = 1 and on the right, it describes the reduction when b u v = 0 b_{uv}=0 b uv = 0 .
To obtain our first main result, we prove a reduction from the balancedness property testing problem to bipartiteness testing. The reduction replaces each 0-label edge with a length-2 path and each 1-label edge with a length-3 path. The reduction works because of the fact that the distance of a signed graph from balancedness is the minimum number of edges whose deletion makes the signed graph balanced.
Expansion testing lower bound Our lower bound proof for expansion testing follows a similar proof recipe as bipartiteness testing. But there are some important differences, which we discuss below.
For expansion testing, we consider similar hard instances as bipartiteness testing. However, using the same enlarged grid and c = 3 c=3 c = 3 number of matchings will no longer work since any vertex in the final graph has a constant probability of losing all of its matching neighbors. This would make the graphs in the yes distribution no longer expanders. To bypass this bottleneck, we consider c = Θ ( log N ′ ) c=\Theta(\log N') c = Θ ( log N ′ ) perfect matchings in the input graph instead of three perfect matchings. This ensures that with high probability, in a G G G of size N ′ N' N ′ sampled from the yes distribution, every cut will have sufficient expansion, even when a constant fraction of the ambient vertices is unused. This ensures that G G G is an expander.
However, adding Θ ( log N ′ ) \Theta(\log N') Θ ( log N ′ ) perfect matchings will no longer keep the graph with constant maximum degree, which is contrary to the definition of the bounded degree model. This can be fixed by a reduction: in G G G , that has N ′ N' N ′ vertices, we introduce a replacement graph gadget of Θ ( log N ′ ) \Theta(\log N') Θ ( log N ′ ) vertices for each vertex in the intermediate graph. Combining the graph gadget with the intermediate graph, we obtain a graph H H H on N = Θ ( N ′ log N ′ ) N=\Theta(N'\log N') N = Θ ( N ′ log N ′ ) vertices and with maximum degree 4, which satisfies our assumption of constant maximum degree.
We show that if G G G is an expander then H H H is as well, and similarly for being far from expanders. Thus, using a simulation argument, if expansion of H H H is testable in q q q queries then that of G G G too, so it suffices to show a lower bound for G G G . This is done by the same argument as for balancedness testing. Because of the different sizes of G G G and H H H , the polylogarithmic factor in the final bound is different than for bipartiteness, nonetheless we still obtain an Ω ( N 1 / 3 ) \Omega(N^{1/3}) Ω ( N 1/3 ) quantum query lower bound.
Conclusion In this paper we prove near-optimal quantum query complexity lower bounds for bipartiteness and expansion property testing. Our main tool is the framework of [2 ] that uses the polynomial method. The main new ideas for proving the near-optimal lower bounds are characterizing the exact number of ℓ \ell ℓ -factors in the numerator which lets us divide by the block parameter; and the use of a reciprocal polynomial instead of replacing the denominator by a constant. We believe that these ideas are potentially useful beyond the applications in this work.
Open problems
One problem left open by this work is determining the exact power of log ( N ) \log(N) log ( N ) in the complexities of both bipartiteness and expansion testing.
Another interesting question is how the complexity of these problems depends on the property testing distance parameter ε \varepsilon ε , i.e., what if we let ε \varepsilon ε depend on N N N rather than considering it a constant. Similarly, the dependence of the query complexity of expansion testing on the expansion parameter could be further examined. Note that both the classical and quantum algorithms distinguish α \alpha α -expanders and far from α ′ \alpha' α ′ -expanders, and they achieve the near-optimal complexity only if α ′ \alpha' α ′ is significantly smaller than α \alpha α . It would be interesting to see how the complexity changes for different α \alpha α versus α ′ \alpha' α ′ gaps.
Organization In Section 2, we introduce the necessary notations, definitions and previous results. In Section 3, we prove a lower bound on the balanced signed graph testing problem and reduce it to bipartiteness testing, thus yielding our first main result. In Section 4, our second main result is proved: the lower bound on expansion testing. The proofs of some of the lemmas are presented in the appendix.
Preliminaries
Notation: [ n ] [n] [ n ] denotes the set { 1 , … , n } \{1,\ldots,n\} { 1 , … , n } , and ⊕ \oplus ⊕ denotes the Boolean XOR operation. h 2 ( ⋅ ) h_2(\cdot) h 2 ( ⋅ ) denotes the binary entropy function. For simplicity, for an edge e = { u , v } e=\{u,v\} e = { u , v } of a graph we will sometimes use the shorthand e = u v e=uv e = uv . Throughout this work, we will use the notations O ( ⋅ ) O(\cdot) O ( ⋅ ) and Ω ( ⋅ ) \Omega(\cdot) Ω ( ⋅ ) to hide the dependencies on parameters ε \varepsilon ε and d d d that we consider to be constants. We will also use O ~ ( ⋅ ) \widetilde{O}(\cdot) O ( ⋅ ) and Ω ~ ( ⋅ ) \widetilde{\Omega}(\cdot) Ω ( ⋅ ) , where we hide poly-logarithmic dependencies on the parameters. We assume that the reader has some familiarity with quantum computing and refer interested readers to the textbook [20 ] for further background.
Let us start by describing our query models.
Query models
Classical Query Model
In classical query complexity, we consider inputs x ∈ Σ I x \in\Sigma^I x ∈ Σ I over a finite alphabet Σ \Sigma Σ and indexed by a set I I I . However, the input is not given explicitly to the algorithm. Instead, the algorithm has query access to an input oracle O x : I → Σ O_x:I \to\Sigma O x : I → Σ encoding x x x by O x ( i ) = x i O_x(i)=x_i O x ( i ) = x i , where the i i i -th entry of x x x is accessed. Query complexity measures the minimum number of queries that an algorithm has to make in order to decide whether an unknown input satisfies a property P P P of interest.
In this work, we will focus on the undirected bounded-degree graph model. In this model, the algorithm has query access to the adjacency list of an undirected bounded-degree graph G G G with n n n vertices and maximum degree d d d (a constant). The query access to G G G is represented as an oracle O G : V × [ d ] → V ∪ { ⊥ } O_G: V \times[d] \to V \cup\{\perp\} O G : V × [ d ] → V ∪ { ⊥ } . Then we can set I = V × [ d ] I = V \times[d] I = V × [ d ] and Σ = V ∪ { ⊥ } \Sigma= V \cup\{\perp\} Σ = V ∪ { ⊥ } , such that for any v ∈ V v \in V v ∈ V and i ∈ [ d ] i \in[d] i ∈ [ d ] , we have the following:
O G ( v , i ) = { w , if w ∈ V is the i -th neighbor of v ; ⊥ , if deg ( v ) < i . O_G(v,i) =
\begin{cases}
w, & \text{if } w \in V \text{ is the } i\text{-th neighbor of } v; \\
\perp, & \text{if } \deg(v) < i.
\end{cases} O G ( v , i ) = { w , ⊥ , if w ∈ V is the i -th neighbor of v ; if deg ( v ) < i .
Quantum Query Model
In quantum query complexity, the input oracle is a unitary O x O_x O x over Hilbert space H I ⊗ H Σ \mathcal{H}_I \otimes\mathcal{H}_\Sigma H I ⊗ H Σ defined as O x ∣ i , y ⟩ = ∣ i , y ⊕ x i ⟩ O_x \lvert i,y\rangle= \lvert i,y \oplus x_i\rangle O x ∣ i , y ⟩ = ∣ i , y ⊕ x i ⟩ , for y ∈ Σ y \in\Sigma y ∈ Σ and i ∈ I i \in I i ∈ I , where ⊕ \oplus ⊕ denotes the bit-wise XOR operation up to some binary encoding of the elements of Σ \Sigma Σ .
In the article, we are going to consider the setting where we have adjacency list query access to a bounded degree graph G G G . Using the above formalism, the oracle unitary can be written as O G ∣ v , i , y ⟩ = ∣ v , i , y ⊕ O G ( v , i ) ⟩ O_G\lvert v,i,y\rangle= \lvert v,i,y \oplus O_G(v,i)\rangle O G ∣ v , i , y ⟩ = ∣ v , i , y ⊕ O G ( v , i )⟩ . Here v , y ∈ V ( G ) ∪ { ⊥ } v,y \in V(G) \cup\{\perp\} v , y ∈ V ( G ) ∪ { ⊥ } and i ∈ [ d ] i \in[d] i ∈ [ d ] .
In quantum query complexity, we are only interested in the number of times an algorithm uses the unitary oracle, thus all the input-independent unitaries it performs between any two oracle calls can be written as a single unitary. This way, the state of a T T T -query quantum algorithm after an arbitrary t ≤ T t \le T t ≤ T number of oracle calls can be written as ∣ ψ t x ⟩ = U t O x U t − 1 … U 1 O x U 0 ∣ 0 ⟩ \lvert\psi_t^x\rangle= U_t O_x U_{t-1} \ldots U_1 O_x U_0 \lvert0\rangle ∣ ψ t x ⟩ = U t O x U t − 1 … U 1 O x U 0 ∣ 0 ⟩ . Here, we assume that the algorithm’s state consists of three registers: the query register Q Q Q holds the queried index, the answer register Y Y Y holds the query outcome, and there is some additional workspace register W W W the algorithm can use. This way, ∣ ψ t x ⟩ \lvert\psi_t^x\rangle ∣ ψ t x ⟩ is a superposition of basis states ∣ i , y , w ⟩ Q Y W \lvert i,y,w\rangle_{QYW} ∣ i , y , w ⟩ Q Y W .
Figure 3. The circuit of a quantum query algorithm.
At the end of the computation, we assume that the algorithm’s output is written on a dedicated part W o u t W_{\mathrm{out}} W out of register W W W . In the final state ∣ ψ T x ⟩ \lvert\psi_T^x\rangle ∣ ψ T x ⟩ , register W W W is measured and the algorithm succeeds if the value w o u t w_{\mathrm{out}} w out seen at W o u t W_{\mathrm{out}} W out is a correct output for input x x x .
The above representation can be used to prove the polynomial method (see Theorem 2.9) for proving quantum query complexity lower bounds.
Property testing
We now formally give the definitions related to property testing. Let us start with the notion of a graph property and what we mean by being far from a graph property.
Definition 2.1 (Graph property). A graph property is a collection of graphs that are closed under permutation of the vertices. More formally, P P P is a graph property if and only if for every graph
G = ( [ n ] , E ) G = ([n], E) G = ([ n ] , E ) and every permutation σ \sigma σ of [ n ] [n] [ n ] , G ∈ P G \in\mathcal{P} G ∈ P if and only if σ ( G ) ∈ P \sigma(G) \in\mathcal{P} σ ( G ) ∈ P , where σ ( G ) = ( [ n ] , { { σ ( u ) , σ ( v ) } : { u , v } ∈ E } ) \sigma(G) = ([n], \{\{\sigma(u), \sigma(v)\} : \{u, v\} \in E\}) σ ( G ) = ([ n ] , {{ σ ( u ) , σ ( v )} : { u , v } ∈ E }) .
Definition 2.2 (ε \varepsilon ε -far). An N N N -vertex graph G G G with bounded degree d d d is said to be ε \varepsilon ε -far from P \mathcal{P} P (for some ε ∈ ( 0 , 1 ) \varepsilon\in(0,1) ε ∈ ( 0 , 1 ) ) if one needs to modify (either add or remove) at least ε N d \varepsilon Nd εN d edges from G G G such that the modified graph will have the property P \mathcal{P} P .
Now we formally define an ε \varepsilon ε -tester.
Definition 2.3 (ε \varepsilon ε -tester). Let G = ( V , E ) G = (V, E) G = ( V , E ) be an unknown bounded degree graph with n n n vertices with maximum degree d d d and ε ∈ ( 0 , 1 ) \varepsilon\in(0,1) ε ∈ ( 0 , 1 ) be a parameter. Moreover, let P \mathcal{P} P be a graph property. Given query access to the adjacency list of G G G , an ε \varepsilon ε -tester for P \mathcal{P} P is an algorithm A \mathcal{A} A that can distinguish between the two following cases with probability at least 2 / 3 2/3 2/3 :
(i) If G ∈ P G \in\mathcal{P} G ∈ P , then A \mathcal{A} A outputs accept.
(ii) If G G G is ε \varepsilon ε -far from P \mathcal{P} P , then A \mathcal{A} A outputs reject.
The tester A \mathcal{A} A can either output accept or reject when the above two conditions do not hold.
Remark 2.4. Any ε ′ \varepsilon' ε ′ -tester by definition is an ε \varepsilon ε -tester for any 0 < ε ′ ≤ ε < 1 0 < \varepsilon' \le\varepsilon< 1 0 < ε ′ ≤ ε < 1 . Similarly, whenever in this work we say any ε \varepsilon ε -tester for some property P \mathcal{P} P requires q q q queries, we mean that there exists some constant parameter 0 < ε ′ < 1 0 < \varepsilon' < 1 0 < ε ′ < 1 such that any ε \varepsilon ε -tester with 0 < ε ≤ ε ′ 0 < \varepsilon\le\varepsilon' 0 < ε ≤ ε ′ requires q q q queries.
For expansion testing, throughout this work, we will consider the notion of vertex expansion.
Definition 2.5 (Vertex expansion). Let G = ( V , E ) G = (V, E) G = ( V , E ) be an N N N -vertex graph. For U ⊆ V U \subseteq V U ⊆ V , let
∂ G ( U ) = { v ∈ V ∖ U : v has a neighbor in U } . \partial_G(U) = \{v \in V \setminus U : v \text{ has a neighbor in } U\}. ∂ G ( U ) = { v ∈ V ∖ U : v has a neighbor in U } . For α > 0 \alpha> 0 α > 0 , G G G is said to be an α \alpha α -expander if
∣ ∂ G ( U ) ∣ ≥ α ∣ U ∣ |\partial_G(U)| \ge\alpha|U| ∣ ∂ G ( U ) ∣ ≥ α ∣ U ∣ for every U ⊆ V U \subseteq V U ⊆ V with ∣ U ∣ ≤ N / 2 |U| \le N/2 ∣ U ∣ ≤ N /2 .
Throughout this work, unless mentioned explicitly, whenever we mention “expansion”, it corresponds to vertex expansion. Some arguments below first count edges crossing between a set S S S and its complement V ∖ S V \setminus S V ∖ S . The set of edges like that are denoted as e ( S , V ∖ S ) e(S, V \setminus S) e ( S , V ∖ S ) . In a graph of maximum degree d d d , such a bound on the number of edges implies the corresponding vertex-boundary bound after a loss of at most a factor d d d .
Remark 2.6. Any α ′ \alpha' α ′ -expander by definition is an α \alpha α -expander for any 0 < α ≤ α ′ < 1 0 < \alpha\le\alpha' < 1 0 < α ≤ α ′ < 1 . Similarly, whenever in this work we say that an algorithm that distinguishes α \alpha α -expanders from graphs that are ε \varepsilon ε -far from being α ′ \alpha' α ′ -expanders needs to make q q q queries, we mean that there exists some constant parameter 0 < α 0 < 1 0 < \alpha_0 < 1 0 < α 0 < 1 such that for any 0 < α ≤ α ′ ≤ α 0 0 < \alpha\le\alpha' \le\alpha_0 0 < α ≤ α ′ ≤ α 0 and ε \varepsilon ε at most some function of α \alpha α , the testing problem requires q q q queries.
Signed graphs, balance, and frustration
A signed graph is a graph H = ( V , E ) H = (V, E) H = ( V , E ) together with a bit b e ∈ F 2 b_e \in\mathbb{F}_2 b e ∈ F 2 on every edge. We will call b e b_e b e the label or the sign of edge e e e . In this work, parallel edges are allowed and are treated as distinct constraints.
Definition 2.7 (Balance and frustration). A signed graph ( H , b ) (H,b) ( H , b ) is balanced if there is a vertex labeling x ∈ F 2 V x \in\mathbb{F}_2^V x ∈ F 2 V such that
x u ⊕ x v = b u v (1) x_u \oplus x_v = b_{uv} \tag*{(1)} x u ⊕ x v = b uv (1) for every edge u v ∈ E uv \in E uv ∈ E . The frustration index of H H H with edge sign vector b b b is
fr ( H , b ) = min x ∈ F 2 V ∣ { u v ∈ E : x u ⊕ x v ≠ b u v } ∣ . (2) \operatorname{fr}(H,b) = \min_{x \in\mathbb{F}_2^V} \left|\{uv \in E : x_u \oplus x_v \ne b_{uv}\}\right|. \tag*{(2)} fr ( H , b ) = x ∈ F 2 V min ∣ { uv ∈ E : x u ⊕ x v = b uv } ∣ . (2)
A signed graph is balanced if and only if every cycle has an even number of edges with label 1 [17 ] . The frustration index is the minimum number of edges whose deletion makes the signed graph balanced (see e.g., [Zas18]).
For signed graphs, we will use an oracle that, on querying ( v , i ) (v,i) ( v , i ) , returns either ⊥ \bot ⊥ (if v v v has no i i i -th neighbor) or ( w , b ) (w,b) ( w , b ) where w w w is the i i i -th neighbor of v v v and the label of edge v w vw v w is b b b . In particular, in our hard instance i ∈ { 1 , 2 , 3 } i \in\{1,2,3\} i ∈ { 1 , 2 , 3 } will be the id of the matching the edge belongs to, that we also call color. In our hard instances, we will consider graphs that are union of matching edges, each with a different color. In such a graph, parallel edges are possible, but only of different colors. We call such graphs colored multigraphs .
The quantum acceptance polynomial
For every possible non-null outcome z = ( w , b ) z=(w,b) z = ( w , b ) to a query a = ( v , i ) a=(v,i) a = ( v , i ) , let us introduce the indicator X a , z = 1 O ( a ) = z X_{a,z}=\mathbb{1}_{O(a)=z} X a , z = 1 O ( a ) = z . The null-outcome indicator can be replaced by X a , ⊥ = 1 − ∑ z ≠ ⊥ X a , z X_{a,\bot}=1-\sum_{z\ne\bot}X_{a,z} X a , ⊥ = 1 − ∑ z = ⊥ X a , z . We reduce the resulting polynomial using X a , z 2 = X a , z X_{a,z}^2=X_{a,z} X a , z 2 = X a , z and X a , z X a , z ′ = 0 X_{a,z}X_{a,z'}=0 X a , z X a , z ′ = 0 for any z ≠ z ′ z\ne z' z = z ′ . Thus a nonzero monomial contains at most one response indicator for each possible query.
Lemma 2.9 ([5 ] ). The acceptance probability of a quantum algorithm making q q q oracle queries is a real multilinear polynomial of degree at most 2 q 2q 2 q in the response indicators.
Every surviving monomial specifies a partial response table. In our setting of the bounded-degree graph model, each consistent table determines a colored multigraph pattern F F F (in the case of signed graphs, together with prescribed signs on its distinct edges). Inconsistent monomials have expectation zero and may be discarded. For the number of edges, vertices and components of F F F , respectively, we write
e ( F ) = ∣ E ( F ) ∣ , v ( F ) = ∣ V ( F ) ∣ , c ( F ) = comp ( F ) , e(F)=|E(F)|,\qquad v(F)=|V(F)|,\qquad c(F)=\operatorname{comp}(F), e ( F ) = ∣ E ( F ) ∣ , v ( F ) = ∣ V ( F ) ∣ , c ( F ) = comp ( F ) ,
where only vertices incident to a specified edge are counted. By the well-known Euler formula, the cycle rank (i.e., the minimum number of edges to be deleted for removing all cycles) is
β ( F ) = e ( F ) − v ( F ) + c ( F ) . (3) \beta(F)=e(F)-v(F)+c(F). \tag*{(3)} β ( F ) = e ( F ) − v ( F ) + c ( F ) . (3)
It is zero if and only if F F F is a forest.
We will also use a standard coefficient estimate. A proof is included in Section A.1 for completeness.
Lemma 2.10. Consider the acceptance polynomial in the canonical form described above. A coefficient of a degree-k k k monomial has absolute value at most 2 k 2^k 2 k . Consequently, if the number of possible query outcomes is O ( N ) O(N) O ( N ) and the algorithm makes q q q queries, then the sum of the absolute values of all coefficients is at most exp ( O ( q log N ) ) \exp(O(q\log N)) exp ( O ( q log N )) .
The Ambainis–Childs–Liu distribution and lemmas
As we will use the hard distribution and some results from [2 ] , we describe these here.
The hard distribution from ambainis2011quantum
We first describe the hard distribution P M , ℓ ( c ) P_{M,\ell}^{(c)} P M , ℓ ( c ) of graphs G G G on N N N vertices from [2 ] , that they used to prove lower bound for expansion testing. Let M ≥ N M \ge N M ≥ N and suppose that 2 ℓ 2\ell 2 ℓ divides M M M . We first describe the ambient graph A A A on M M M vertices, and our graph G G G will be an induced subgraph of A A A . We will call the vertices of G G G visible .
Partition a set of M M M vertices into ℓ \ell ℓ blocks, each containing M / ℓ M/\ell M / ℓ vertices.
Sample c c c uniformly random perfect matchings independently in every block, one for each color. This defines the ambient graph A A A .
Each one of the N N N vertices of G G G is sampled in the following way. Choose a block among the ℓ \ell ℓ blocks uniformly and independently at random. Within the chosen block, sample the visible vertex uniformly at random from those ambient vertices that have not been sampled yet. After all the N N N vertices are sampled, G G G is defined as the subgraph of A A A induced by the visible vertices.
If the number of colors c c c is clear from the context, we will just write P M , ℓ P_{M,\ell} P M , ℓ rather than P M , ℓ ( c ) P_{M,\ell}^{(c)} P M , ℓ ( c ) . If some block is assigned more than M / ℓ M/\ell M / ℓ visible vertices, the process fails, we call this an overflow event. However, this event is unlikely, we prove this in Theorem 3.11. We call distributions conditioned on the overflow event not happening as feasible distributions . The resulting visible graph has degree at most c c c , with at most one incident edge of one color.
Two important lemmas
Writing the quantum acceptance polynomial from § 2.4 , one can calculate the probability of each monomial (graph pattern) over the hard distribution P M , ℓ ( c ) P_{M,\ell}^{(c)} P M , ℓ ( c ) . This way, [2 ] proved the following lemma about the expected acceptance probability of an algorithm.
Before stating the lemma, let us define the common denominator
D q ( M , ℓ ) = ∏ a = 1 2 q ( M − ( 2 a − 1 ) ℓ ) ⌊ 2 q / a ⌋ . (4) D_q(M,\ell)=\prod_{a=1}^{2q}\left(M-(2a-1)\ell\right)^{\left\lfloor2q/a\right\rfloor}. \tag*{(4)} D q ( M , ℓ ) = a = 1 ∏ 2 q ( M − ( 2 a − 1 ) ℓ ) ⌊ 2 q / a ⌋ . (4)
Its degree is
d q : = deg D q = ∑ a = 1 2 q ⌊ 2 q a ⌋ = Θ ( q log q ) . (5) d_q:=\deg D_q=\sum_{a=1}^{2q}\left\lfloor\frac{2q}{a}\right\rfloor=\Theta(q\log q). \tag*{(5)} d q := deg D q = a = 1 ∑ 2 q ⌊ a 2 q ⌋ = Θ ( q log q ) . (5)
We will consider the expected acceptance probability with denominator D q D_q D q . This does not change the degree of the denominator or the numerator much, they both stay O ( q log q ) O(q\log q) O ( q log q ) .
Lemma 2.11 ([2 Lemma 3] ). The expected acceptance probability of a q q q -query quantum algorithm under P M , ℓ ( c ) P_{M,\ell}^{(c)} P M , ℓ ( c ) is a rational function whose denominator divides D q ( M , ℓ ) D_q(M,\ell) D q ( M , ℓ ) and whose numerator has degree O ( q log q ) O(q\log q) O ( q log q ) . The same statement holds for any linear combination of expected acceptance probabilities.
The proof in [2 ] expands the degree-2 q 2q 2 q acceptance polynomial into monomials, evaluates each graph pattern probability, and puts the probabilities over a common denominator. In the case of balancedness testing in § 3 , the extra sign bit in the query outcome changes neither the graph pattern probability nor their degree.
We also use the bivariate polynomial lemma from [2 ] . We state a translated and rescaled version; it follows from the same proof, which uses Paturi’s theorem [22 ] .
Lemma 2.12 ([2 Lemma 4] ). Let C C C and R R R be positive integers with R ≥ 2 R \ge2 R ≥ 2 . Suppose that Q ( X , ℓ ) Q(X,\ell) Q ( X , ℓ ) is a real polynomial such that ∣ Q ( X , ℓ ) ∣ ≤ 1 \lvert Q(X,\ell)\rvert\le1 ∣ Q ( X , ℓ )∣ ≤ 1 whenever 1 ≤ ℓ ≤ R 1 \le\ell\le R 1 ≤ ℓ ≤ R , ∣ X − C ∣ ≤ R 3 / 2 ℓ \lvert X-C\rvert\le\frac{R^{3/2}}{\ell} ∣ X − C ∣ ≤ ℓ R 3/2 , ℓ ∣ X \ell\mid X ℓ ∣ X . If ∣ Q ( C , 1 ) − Q ( C , 2 ) ∣ ≥ γ \lvert Q(C,1)-Q(C,2)\rvert\ge\gamma ∣ Q ( C , 1 ) − Q ( C , 2 )∣ ≥ γ for a fixed constant γ > 0 \gamma> 0 γ > 0 , then deg Q = Ω ( R ) \deg Q = \Omega(\sqrt{R}) deg Q = Ω ( R ) where the implicit constant depends only on γ \gamma γ .
Quantum query lower bound for bipartiteness testing
Theorem 3.1 (Formal version of Theorem 1.1). Let G G G be a bounded-degree graph on N N N vertices and ε ∈ ( 0 , 1 ) \varepsilon\in(0,1) ε ∈ ( 0 , 1 ) be a constant. In order to distinguish with probability at least 2 / 3 2/3 2/3 if G G G is bipartite, or ε \varepsilon ε -far from being bipartite, Ω ( N 1 / 3 / log N ) \Omega(N^{1/3}/\log N) Ω ( N 1/3 / log N ) quantum queries are necessary.
In order to prove the above theorem, we first consider balancedness testing in signed bounded degree graphs, and prove that balancedness testing is hard in quantum setting. Then we will reduce it to bipartiteness testing. Our result for balancedness testing is as follows.
Theorem 3.2. Let G G G be a bounded-degree signed graph on N N N vertices and ε ∈ ( 0 , 1 ) \varepsilon\in(0,1) ε ∈ ( 0 , 1 ) be a constant. In order to distinguish with probability at least 2 / 3 2/3 2/3 if G G G is balanced or ε \varepsilon ε -far from being balanced, Ω ( N 1 / 3 / log N ) \Omega(N^{1/3}/\log N) Ω ( N 1/3 / log N ) quantum queries are necessary.
We will define the notion of farness from being balanced via the frustration index (see Eq. (2) ).
Description of our hard instances
For the hard instance of our lower bound for balancedness testing, we will use the construction of [2 ] that we described in Section 2.5.1, setting the number of perfect matchings (colors) to c = 3 c=3 c = 3 . Let us call the graph obtained by the random process P M , ℓ P_{M,\ell} P M , ℓ a base graph. Once we obtain a base graph, we define an associated signed graph (see § 2.3 ) by assigning a bit b u v ∈ F 2 b_{uv} \in\mathbb{F}_2 b uv ∈ F 2 to every edge of the graph in two possible ways as follows.
yes distribution. Let us choose vertex labels ξ ∈ F 2 N \xi\in\mathbb{F}_2^N ξ ∈ F 2 N uniformly and independently at random, and set b u v = ξ u ⊕ ξ v b_{uv}=\xi_u \oplus\xi_v b uv = ξ u ⊕ ξ v for every edge u v uv uv .
no distribution. Choose every edge sign independently and uniformly from F 2 \mathbb{F}_2 F 2 .
From the construction, it is clear that the labeling x = ξ x=\xi x = ξ satisfies every constraint in every yes instance. We will later prove that every labeling violates a constant fraction of the constraints with probability 1 − 2 − Ω ( N ) 1-2^{-\Omega(N)} 1 − 2 − Ω ( N ) in the instances in the no distribution (see Theorem 3.3). Note that the yes and no distributions do not depend on distinct values of ℓ \ell ℓ , unlike the original hard distributions in [2 ] .
Setting up parameters To prove that the graph sampled from the no distribution is far from being balanced, we need to instantiate the construction with parameters. Below, M 0 M_0 M 0 is a parameter that will later be used to define the range of M M M , the total number of vertices considered at the beginning of the construction, but for now we will just take M = M 0 M=M_0 M = M 0 . As before, ℓ \ell ℓ denotes the number of blocks, N N N and m m m denote the total number of vertices and edges in the visible graph.
We set M 0 = 4 ⌈ 11 N 40 ⌉ M_0=4\left\lceil\frac{11N}{40}\right\rceil M 0 = 4 ⌈ 40 11 N ⌉ , and we take N N N to be sufficiently large so that M 0 M_0 M 0 is divisible by four and 11 10 N ≤ M 0 < 11 10 N + 4 \frac{11}{10}N\le M_0<\frac{11}{10}N+4 10 11 N ≤ M 0 < 10 11 N + 4 . At ℓ = 1 \ell=1 ℓ = 1 , there is no sampling failure because all N N N visible vertices fit in the single block.
Note that the ambient union of the three perfect matchings has 3 M 0 / 2 3M_0/2 3 M 0 /2 edges and the original graph has M 0 − N M_0-N M 0 − N unselected ambient vertices, which are removed during the construction. Now removing the M 0 − N M_0-N M 0 − N unused ambient vertices deletes at most 3 ( M 0 − N ) 3(M_0-N) 3 ( M 0 − N ) edges. Hence the final visible signed graph has m m m edges where
m ≥ 3 M 0 2 − 3 ( M 0 − N ) = 3 N − 3 M 0 2 ≥ 1.3 N (6) m\ge\frac{3M_0}{2}-3(M_0-N)=3N-\frac{3M_0}{2}\ge1.3N \tag*{(6)} m ≥ 2 3 M 0 − 3 ( M 0 − N ) = 3 N − 2 3 M 0 ≥ 1.3 N (6)
for every sufficiently large N N N . Eq. (6) will be used to prove the farness of the graph sampled from the no distribution.
We will use the notion of frustration index Eq. (2) to denote how far a signed graph is from being balanced. We now show that every graph sampled from the no distribution described above is far from being balanced with high probability.
Lemma 3.3. Let H = ( V , E ) H=(V,E) H = ( V , E ) be any colored multigraph4 with ∣ V ∣ = N |V|=N ∣ V ∣ = N and m m m edges. Suppose we assign every edge an independent uniform sign b e ∈ F 2 b_e\in\mathbb{F}_2 b e ∈ F 2 as in the construction of no distribution. Then, for every τ ∈ ( 0 , 1 / 2 ) \tau\in(0,1/2) τ ∈ ( 0 , 1/2 ) ,
Pr [ fr ( H , b ) ≤ τ m ] ≤ 2 N − ( 1 − h 2 ( τ ) ) m , (7) \Pr[\operatorname{fr}(H,b)\le\tau m]\le2^{N-(1-h_2(\tau))m}, \tag*{(7)} Pr [ fr ( H , b ) ≤ τ m ] ≤ 2 N − ( 1 − h 2 ( τ )) m , (7) where h 2 h_2 h 2 is the binary entropy function. In particular, if m ≥ 1.3 N m\ge1.3N m ≥ 1.3 N , then
Pr [ fr ( H , b ) ≤ m 50 ] ≤ 2 − Ω ( N ) . \Pr\left[\operatorname{fr}(H,b)\le\frac{m}{50}\right]\le2^{-\Omega(N)}. Pr [ fr ( H , b ) ≤ 50 m ] ≤ 2 − Ω ( N ) .
Proof. Let us fix a vertex labeling x ∈ F 2 N x\in\mathbb{F}_2^N x ∈ F 2 N . Note that there are 2 N 2^N 2 N possible vertex labelings. First we will bound the bad event for one fixed vertex labeling, then take union bound over all 2 N 2^N 2 N labelings. Since the edge signs in the no distribution are uniform and independent of each other, the number of constraints violated by x x x is distributed according to Bin ( m , 1 / 2 ) \operatorname{Bin}(m,1/2) Bin ( m , 1/2 ) . Therefore
Pr [ x violates at most m / 50 constraints ] = 2 − m ∑ j ≤ m / 50 ( m j ) ≤ 2 − ( 1 − h 2 ( 1 / 50 ) ) m . \Pr[x\text{ violates at most }m/50\text{ constraints}]=2^{-m}\sum_{j\le m/50}\binom{m}{j}\le2^{-(1-h_2(1/50))m}. Pr [ x violates at most m /50 constraints ] = 2 − m j ≤ m /50 ∑ ( j m ) ≤ 2 − ( 1 − h 2 ( 1/50 )) m .
where h 2 h_2 h 2 is the binary entropy function. Taking a union bound over the 2 N 2^N 2 N labelings, we have the following:
Pr [ fr ( H , b ) ≤ m 50 ] ≤ 2 N − ( 1 − h 2 ( 1 / 50 ) ) m . \Pr\left[\operatorname{fr}(H,b)\le\frac{m}{50}\right]\le2^{N-(1-h_2(1/50))m}. Pr [ fr ( H , b ) ≤ 50 m ] ≤ 2 N − ( 1 − h 2 ( 1/50 )) m .
Since h 2 ( 1 / 50 ) < 0.142 h_2(1/50)<0.142 h 2 ( 1/50 ) < 0.142 and m ≥ 1.3 N m\ge1.3N m ≥ 1.3 N , the exponent above is − Ω ( N ) -\Omega(N) − Ω ( N ) . This completes the proof. □ As a consequence, under the no distribution at ( M , ℓ ) = ( M 0 , 1 ) (M,\ell)=(M_0,1) ( M , ℓ ) = ( M 0 , 1 ) , fr ( H , b ) ≥ 0.026 N \operatorname{fr}(H,b)\ge0.026N fr ( H , b ) ≥ 0.026 N with probability 1 − 2 − Ω ( N ) 1-2^{-\Omega(N)} 1 − 2 − Ω ( N ) . Thus, at ( M 0 , 1 ) (M_0,1) ( M 0 , 1 ) , the yes distribution is supported on balanced signed graphs, while the no distribution has frustration index at least 0.026 N 0.026N 0.026 N except with exponentially small probability.
Remark 3.4. The point ( M 0 , 1 ) (M_0,1) ( M 0 , 1 ) is the only parameter value at which the signed-balance tester correctness is used. As we saw, at this point, the yes distribution is supported on balanced signed graphs and the no distribution is at constant distance from being balanced with high probability. Consequently, correctness of the tester gives a constant lower bound on the difference of the two acceptance probabilities, that we will later denote Δ ( M 0 , 1 ) \Delta(M_0,1) Δ ( M 0 , 1 ) .
The distributions with other parameter values are auxiliary. In particular, at ( M 0 , 2 ) (M_0,2) ( M 0 , 2 ) we use only the universal bound ∣ Δ ( M 0 , 2 ) ∣ ≤ 1 |\Delta(M_0,2)|\le1 ∣Δ ( M 0 , 2 ) ∣ ≤ 1 . More generally, the family indexed by ( M , ℓ ) (M,\ell) ( M , ℓ ) is introduced so that the averaged acceptance gap becomes a structured rational function on a large grid. Since the values at ( M 0 , 1 ) (M_0,1) ( M 0 , 1 ) and ( M 0 , 2 ) (M_0,2) ( M 0 , 2 ) are separated by a constant, boundedness on the full grid allows the bivariate degree lemma to force a large polynomial degree.
We will also need the following lemma about the probabilities of different label assignments on graph patterns (corresponding to monomials of the acceptance polynomial) for the yes and no distributions.
Lemma 3.5. Consider a colored multigraph F F F with v v v vertices, e e e edges and c c c connected components. Suppose we fix the labels on its edges according to the construction (either yes or no case). Under the no distribution, the label assignment has probability 2 − e 2^{-e} 2 − e . Under the yes distribution, it has probability
{ 2 − ( v − c ) , if the signed pattern is balanced , 0 , otherwise . \begin{cases}
2^{-(v-c)}, & \text{if the signed pattern is balanced},\\
0, & \text{otherwise}.
\end{cases} { 2 − ( v − c ) , 0 , if the signed pattern is balanced , otherwise . In particular, if F F F is a forest, the two probabilities are equal for every label assignment.
Proof. Note that under the no distribution, since the e e e edge labels are uniform and independent of each other, the claim follows. Under the yes distribution, due to the label assignment procedure, the assigned labels follow equations ξ u ⊕ ξ v = b u v \xi_u\oplus\xi_v=b_{uv} ξ u ⊕ ξ v = b uv on the incident vertices. The corresponding system of equations is either inconsistent or has exactly 2 c 2^c 2 c solutions. This is due to the fact that once we choose one value of any root node in each connected component, all other values in that connected component are determined. Dividing by the 2 v 2^v 2 v possible assignments to the incident vertices gives the above mentioned probability. Note that if F F F is a forest, every label assignment is consistent by the above argument, and e = v − c e=v-c e = v − c , so both probabilities are 2 − e 2^{-e} 2 − e . This completes the proof. □
Analyzing the acceptance probability
Consider an arbitrary quantum algorithm making q q q queries. Let p y e s ( M , ℓ ) p_{\mathrm{yes}}(M,\ell) p yes ( M , ℓ ) , and p n o ( M , ℓ ) p_{\mathrm{no}}(M,\ell) p no ( M , ℓ ) be its expected acceptance probabilities under the feasible distributions (assuming no overflow event happens) under yes and no distributions, respectively. Now let us define the acceptance gap
Δ ( M , ℓ ) = p y e s ( M , ℓ ) − p n o ( M , ℓ ) . (8) \Delta(M,\ell)=p_{\mathrm{yes}}(M,\ell)-p_{\mathrm{no}}(M,\ell). \tag*{(8)} Δ ( M , ℓ ) = p yes ( M , ℓ ) − p no ( M , ℓ ) . (8)
This case corresponds to the actual graph distribution. However, the formal acceptance probability gap Δ f o r m ( M , ℓ ) \Delta_{\mathrm{form}}(M,\ell) Δ form ( M , ℓ ) (where an overflow event is allowed) is easier to calculate algebraically, and later we will show that they are close to each other. Hence, we start by analyzing the formal version that we define below.
Let us formalize the notion of a consistent colored pattern as follows, which will be used in our proofs.
Definition 3.6 (Consistent colored pattern). A colored pattern is consistent if, for every color, its edges form a matching and all specified oracle responses and signs are mutually consistent. Equivalently, it has nonzero probability in the distribution P M , ℓ P_{M,\ell} P M , ℓ .
Definition 3.7 (Consistent graph pattern). Let F F F be a consistent colored pattern over the vertices of the final graph as described in § 3.1 . For every colored edge e = { u , v } e=\{u,v\} e = { u , v } of color j j j in F F F , let Y e Y_e Y e be the indicator that the color-j j j matching joins the ambient positions occupied by u u u and v v v . Now consider
Y F : = ∏ e ∈ E ( F ) Y e , W F ( M , ℓ ) : = E M , ℓ f o r m [ Y F ] . (9) Y_F := \prod_{e\in E(F)} Y_e,\qquad W_F(M,\ell) := \mathbb{E}^{\mathrm{form}}_{M,\ell}[Y_F]. \tag*{(9)} Y F := e ∈ E ( F ) ∏ Y e , W F ( M , ℓ ) := E M , ℓ form [ Y F ] . (9) Equivalently, W F ( M , ℓ ) W_F(M,\ell) W F ( M , ℓ ) is the probability in the original hard distribution (without excluding the overflow event5 ^5 5 ) that every colored edge prescribed by F F F occurs on the specified visible vertices. Edge signs are ignored and unspecified edges are unrestricted. In general, W F W_F W F is a rational function rather than a polynomial.
Note that W F W_F W F is very similar to the expected value of the acceptance probability monomials (that appear in p y e s p_{\mathrm{yes}} p yes and p n o p_{\mathrm{no}} p no ), but here the overflow event is not excluded.
The following statement is a direct consequence of the proof of Proposition 6 in [2 ] . Here we only include a short version of the proof that assumes familiarity with the proof in [2 ] , but for completeness, a full proof can be found in Section A.2. The lemma states the full cycle-rank exponent, but the later argument uses only the consequence that every nonforest pattern contributes at least one factor of ℓ \ell ℓ .
Lemma 3.8. Let F F F be a consistent colored pattern with v v v vertices, e e e edges, and c c c connected components, and let W F ( M , ℓ ) W_F(M,\ell) W F ( M , ℓ ) be the graph pattern probability from Theorem 3.7. There is a polynomial B F ( M , ℓ ) B_F(M,\ell) B F ( M , ℓ ) of degree O ( q log q ) O(q\log q) O ( q log q ) such that
W F ( M , ℓ ) = ℓ e − v + c B F ( M , ℓ ) D q ( M , ℓ ) = ℓ β ( F ) B F ( M , ℓ ) D q ( M , ℓ ) , (10) W_F(M,\ell)=\frac{\ell^{e-v+c}B_F(M,\ell)}{D_q(M,\ell)}=\frac{\ell^{\beta(F)}B_F(M,\ell)}{D_q(M,\ell)}, \tag*{(10)} W F ( M , ℓ ) = D q ( M , ℓ ) ℓ e − v + c B F ( M , ℓ ) = D q ( M , ℓ ) ℓ β ( F ) B F ( M , ℓ ) , (10) where β ( F ) \beta(F) β ( F ) denotes the cycle-rank of F F F .
Proof sketch. Let us denote the connected components of F F F as C 1 , … , C c C_1,\ldots,C_c C 1 , … , C c . The proof of [2 Lemma 3] sums over partitions L L L of [ c ] [c] [ c ] , where a class of the partition contains components placed in the same hidden block. In the notation of their equation (6), the contribution associated with L L L has the prefactor
ℓ − v + ∣ L ∣ f L ′ ( M , ℓ ) . (11) \ell^{-v+|L|}f'_L(M,\ell). \tag*{(11)} ℓ − v + ∣ L ∣ f L ′ ( M , ℓ ) . (11)
Every prescribed matching edge contributes one explicit factor of ℓ \ell ℓ . Indeed, prescribing r r r disjoint edges in one perfect matching contributes
R r = ∏ a = 1 r ℓ M − ( 2 a − 1 ) ℓ . R_r=\prod_{a=1}^{r}\frac{\ell}{M-(2a-1)\ell}. R r = a = 1 ∏ r M − ( 2 a − 1 ) ℓ ℓ .
Since F F F has e e e distinct colored edges, every term entering f L ′ f'_L f L ′ contains the factor ℓ e \ell^e ℓ e .
In the proof of Proposition 6 of [2 ] , these explicit edge factors are removed. For the resulting expression, their partition identity shows that the numerator of the redefined f L ′ f'_L f L ′ is divisible by ℓ c − ∣ L ∣ \ell^{c-|L|} ℓ c − ∣ L ∣ . Restoring the edge factors, the numerator of the original f L ′ f'_L f L ′ is therefore divisible by ℓ e + c − ∣ L ∣ \ell^{e+c-|L|} ℓ e + c − ∣ L ∣ . Multiplying by the prefactor in (11) leaves the power ℓ − v + ∣ L ∣ ℓ e + c − ∣ L ∣ = ℓ e − v + c \ell^{-v+\lvert L\rvert}\ell^{e+c-\lvert L\rvert}=\ell^{e-v+c} ℓ − v + ∣ L ∣ ℓ e + c − ∣ L ∣ = ℓ e − v + c . Every remaining denominator factor has the form M − ( 2 a − 1 ) ℓ M-(2a-1)\ell M − ( 2 a − 1 ) ℓ and is not divisible by ℓ \ell ℓ as a polynomial in M M M and ℓ \ell ℓ . Passing to the common denominator D q D_q D q and summing over partitions therefore preserves the divisibility. The degree estimate is the one proved in [2 Lemma 3] .
Remark 3.9. [2 ] considers only the number of ℓ \ell ℓ -factors needed to cancel the negative powers of ℓ \ell ℓ in their expansion application. Their proof first removes the full factor ℓ e \ell^e ℓ e and then proves the additional factor ℓ c − ∣ L ∣ \ell^{c-\lvert L\rvert} ℓ c − ∣ L ∣ . Keeping the full edge factor gives the cycle-rank exponent above.
Now we will write the formal acceptance probability gap Δ f o r m \Delta^{\mathrm{form}} Δ form . For this, we expand the degree-2 q 2q 2 q acceptance polynomial from Theorem 2.9 into canonical monomials. Conditioned on a colored graph pattern F F F , the only difference between the yes and the no cases is the probability of the edge signs. If F F F is a forest, this difference is zero by Theorem 3.5. If F F F is not a forest, then β ( F ) ≥ 1 \beta(F)\ge1 β ( F ) ≥ 1 , and Theorem 3.8 gives a factor of ℓ \ell ℓ when writing the expression over the common denominator.
Proposition 3.10. There is a polynomial H ( M , ℓ ) H(M,\ell) H ( M , ℓ ) of degree O ( q log q ) O(q\log q) O ( q log q ) such that the difference between the formal acceptance probabilities in the yes and no cases can be written as
Δ f o r m ( M , ℓ ) = ℓ H ( M , ℓ ) D q ( M , ℓ ) . (12) \Delta^{\mathrm{form}}(M,\ell)=\frac{\ell H(M,\ell)}{D_q(M,\ell)}. \tag*{(12)} Δ form ( M , ℓ ) = D q ( M , ℓ ) ℓ H ( M , ℓ ) . (12)
We will formally prove this in Section A.3 and only give a proof sketch below.
Proof sketch. Let us apply Theorem 2.11 term by term to the acceptance polynomial and use the common denominator polynomial D q D_q D q . Note that the forest monomials have zero probability difference between the yes and no cases because of Theorem 3.5. Hence, every remaining monomial has positive cycle rank, so its numerator is divisible by ℓ \ell ℓ by Theorem 3.8. A linear combination of monomials divisible by ℓ \ell ℓ remains divisible by ℓ \ell ℓ . Factoring out one ℓ \ell ℓ factor gives us (12). The degree bound follows from Theorem 2.11.
Bounding the sampling failure probability
Recall that in the hard distribution described in Section 2.5.1, it is possible that more than M / ℓ M/\ell M / ℓ vertices will be assigned to a single block during the construction of the base graph. However, we now show that this event, called an overflow , is unlikely.
The family of hard distributions used in the polynomial argument is evaluated on the grid
G N = { ( M , ℓ ) : 1 ≤ ℓ ≤ R , ∣ M − M 0 ∣ ≤ R 3 / 2 , 2 ℓ ∣ M } with R = ⌊ N 2 / 3 100 ⌋ . (13) \mathcal{G}_N=\{(M,\ell):1\le\ell\le R,\ \lvert M-M_0\rvert\le R^{3/2},\ 2\ell\mid M\}\quad\text{with}\quad R=\left\lfloor\frac{N^{2/3}}{100}\right\rfloor. \tag*{(13)} G N = {( M , ℓ ) : 1 ≤ ℓ ≤ R , ∣ M − M 0 ∣ ≤ R 3/2 , 2 ℓ ∣ M } with R = ⌊ 100 N 2/3 ⌋ . (13)
For sufficiently large N N N , every M M M in this grid is at least 1.09 N 1.09N 1.09 N .
Lemma 3.11. Let us consider the construction of hard distributions as described in Section 2.5.1 and § 3.1 . Then for every ( M , ℓ ) ∈ G N (M,\ell)\in\mathcal{G}_N ( M , ℓ ) ∈ G N ,
Pr [ some block overflows ] ≤ exp ( − Ω ( N 1 / 3 ) ) . \Pr[\text{some block overflows}]\le\exp(-\Omega(N^{1/3})). Pr [ some block overflows ] ≤ exp ( − Ω ( N 1/3 )) .
Proof. Let us fix one block, w.l.o.g. let us assume it is block B 1 B_1 B 1 . Suppose X X X denotes the random variable counting the number of visible vertices assigned to B 1 B_1 B 1 . Note that X X X is distributed according to Bin ( N , 1 / ℓ ) \operatorname{Bin}(N,1/\ell) Bin ( N , 1/ ℓ ) with mean μ = N / ℓ \mu=N/\ell μ = N / ℓ . Recall that the maximum number of vertices that can be assigned to B 1 B_1 B 1 (i.e., its capacity) is M / ℓ M/\ell M / ℓ . On G N \mathcal{G}_N G N , M N ≥ 1.09 \frac{M}{N} \ge1.09 N M ≥ 1.09 , so the capacity of B 1 B_1 B 1 is at least ( 1 + ρ ) μ (1+\rho)\mu ( 1 + ρ ) μ for some absolute constant ρ > 0 \rho> 0 ρ > 0 . Using the multiplicative Chernoff bound, we have
Pr [ X > M / ℓ ] ≤ exp ( − c N / ℓ ) \Pr[X > M/\ell] \le\exp(-cN/\ell) Pr [ X > M / ℓ ] ≤ exp ( − c N / ℓ )
for an absolute constant c > 0 c > 0 c > 0 . Taking a union bound over the ℓ \ell ℓ blocks and using ℓ ≤ R \ell\le R ℓ ≤ R , we obtain that
Pr [ some block overflows ] ≤ R exp ( − c N / R ) ≤ exp ( − Ω ( N 1 / 3 ) ) . \Pr[\text{some block overflows}] \le R\exp(-cN/R) \le\exp(-\Omega(N^{1/3})). Pr [ some block overflows ] ≤ R exp ( − c N / R ) ≤ exp ( − Ω ( N 1/3 )) .
This completes the proof.
Note that the overflow bound in Theorem 3.11 is independent of the algorithm. We now combine it with the coefficient bound for the degree-2 q 2q 2 q acceptance polynomial.
Lemma 3.12. There is an absolute constant C 1 > 0 C_1 > 0 C 1 > 0 such that, uniformly on G N \mathcal{G}_N G N and for σ ∈ { yes , no } \sigma\in\{\text{yes},\text{no}\} σ ∈ { yes , no } ,
∣ p σ f e a s ( M , ℓ ) − p σ f o r m ( M , ℓ ) ∣ ≤ exp ( C 1 q log N − c 1 N 1 / 3 ) \left|p_{\sigma}^{\mathrm{feas}}(M,\ell)-p_{\sigma}^{\mathrm{form}}(M,\ell)\right| \le\exp(C_1q\log N-c_1N^{1/3}) p σ feas ( M , ℓ ) − p σ form ( M , ℓ ) ≤ exp ( C 1 q log N − c 1 N 1/3 ) whenever q = O ( N 1 / 3 / log N ) q = O(N^{1/3}/\log N) q = O ( N 1/3 / log N ) . Consequently,
Δ ( M , ℓ ) = Δ f o r m ( M , ℓ ) + η ( M , ℓ ) , ∣ η ( M , ℓ ) ∣ ≤ 2 exp ( C 1 q log N − c 1 N 1 / 3 ) . (14) \Delta(M,\ell)=\Delta^{\mathrm{form}}(M,\ell)+\eta(M,\ell), \qquad|\eta(M,\ell)| \le2\exp(C_1q\log N-c_1N^{1/3}). \tag*{(14)} Δ ( M , ℓ ) = Δ form ( M , ℓ ) + η ( M , ℓ ) , ∣ η ( M , ℓ ) ∣ ≤ 2 exp ( C 1 q log N − c 1 N 1/3 ) . (14) In particular, if q ≤ c 0 N 1 / 3 / log N q \le c_0N^{1/3}/\log N q ≤ c 0 N 1/3 / log N for a sufficiently small constant c 0 c_0 c 0 , then η = o ( 1 ) \eta=o(1) η = o ( 1 ) holds for every parameter pair in G N \mathcal{G}_N G N .
The proof of the above lemma is deferred to Section A.4. Combining Theorems 3.10 and 3.12 gives the following statement about the feasible acceptance gap.
Proposition 3.13. There is a polynomial H ( M , ℓ ) H(M,\ell) H ( M , ℓ ) of degree O ( q log q ) O(q\log q) O ( q log q ) such that, uniformly on G N \mathcal{G}_N G N ,
Δ ( M , ℓ ) = ℓ H ( M , ℓ ) D q ( M , ℓ ) + η ( M , ℓ ) , (15) \Delta(M,\ell)=\frac{\ell H(M,\ell)}{D_q(M,\ell)}+\eta(M,\ell), \tag*{(15)} Δ ( M , ℓ ) = D q ( M , ℓ ) ℓ H ( M , ℓ ) + η ( M , ℓ ) , (15) where η = o ( 1 ) \eta=o(1) η = o ( 1 ) when q ≤ c 0 N 1 / 3 / log N q \le c_0N^{1/3}/\log N q ≤ c 0 N 1/3 / log N and c 0 c_0 c 0 is a sufficiently small constant.
Polynomial approximation of the denominator
In their lower bound for expansion testing, [2 ] bounded the denominator polynomial D q ( M , ℓ ) D_q(M,\ell) D q ( M , ℓ ) by a constant. A step for improving their result is to approximate its reciprocal by a polynomial of suitable degree.
Lemma 3.14. Let z 1 ( M , ℓ ) , … , z d ( M , ℓ ) z_1(M,\ell),\ldots,z_d(M,\ell) z 1 ( M , ℓ ) , … , z d ( M , ℓ ) be affine functions of real variables and suppose that ∣ z i ∣ ≤ 1 4 |z_i| \le\frac{1}{4} ∣ z i ∣ ≤ 4 1 for every i ∈ [ d ] i \in[d] i ∈ [ d ] throughout a region R \mathcal{R} R . Assume that we can write
D q ( M , ℓ ) = C ∏ i = 1 d ( 1 − z i ( M , ℓ ) ) , C > 0. D_q(M,\ell)=C\prod_{i=1}^{d}(1-z_i(M,\ell)), \qquad C>0. D q ( M , ℓ ) = C i = 1 ∏ d ( 1 − z i ( M , ℓ )) , C > 0. Then there is a polynomial A q ( M , ℓ ) A_q(M,\ell) A q ( M , ℓ ) of degree at most 4 d + 10 4d+10 4 d + 10 such that ∣ D q ( M , ℓ ) A q ( M , ℓ ) − 1 ∣ ≤ 10 − 2 |D_q(M,\ell)A_q(M,\ell)-1| \le10^{-2} ∣ D q ( M , ℓ ) A q ( M , ℓ ) − 1∣ ≤ 1 0 − 2 throughout R \mathcal{R} R .
We defer the formal proof of the above lemma to Section A.5, but we include some ideas of the proof here to be able to see the explicit polynomial A q A_q A q .
Making polynomial A q A_q A q explicit. To make the reciprocal polynomial explicit, let us define the index set
I q : = { ( a , r ) : 1 ≤ a ≤ 2 q , 1 ≤ r ≤ ⌊ 2 q / a ⌋ } . (16) I_q := \{(a,r): 1 \le a \le2q,\ 1 \le r \le\lfloor2q/a \rfloor\}. \tag*{(16)} I q := {( a , r ) : 1 ≤ a ≤ 2 q , 1 ≤ r ≤ ⌊ 2 q / a ⌋} . (16)
Then ∣ I q ∣ = d q |I_q| = d_q ∣ I q ∣ = d q , like in Eq. (5) . For i = ( a , r ) ∈ I q i=(a,r)\in I_q i = ( a , r ) ∈ I q , consider the affine function
z i ( M , ℓ ) : = M 0 − M + ( 2 a − 1 ) ℓ M 0 . (17) z_i(M,\ell) := \frac{M_0-M+(2a-1)\ell}{M_0}. \tag*{(17)} z i ( M , ℓ ) := M 0 M 0 − M + ( 2 a − 1 ) ℓ . (17)
The value of z i z_i z i depends only on a a a ; the second coordinate r r r only records multiplicity. With this notation, we can write
D q ( M , ℓ ) = M 0 d q ∏ i ∈ I q ( 1 − z i ( M , ℓ ) ) . (18) D_q(M,\ell)=M_0^{d_q}\prod_{i\in I_q}(1-z_i(M,\ell)). \tag*{(18)} D q ( M , ℓ ) = M 0 d q i ∈ I q ∏ ( 1 − z i ( M , ℓ )) . (18)
For a multi-index κ = ( κ i ) i ∈ I q ∈ Z ≥ 0 I q \kappa=(\kappa_i)_{i\in I_q}\in\mathbb{Z}_{\ge0}^{I_q} κ = ( κ i ) i ∈ I q ∈ Z ≥ 0 I q , write ∣ κ ∣ : = ∑ i ∈ I q κ i |\kappa|:=\sum_{i\in I_q}\kappa_i ∣ κ ∣ := ∑ i ∈ I q κ i . For j ≥ 0 j\ge0 j ≥ 0 , let
S q , j ( M , ℓ ) : = ∑ κ ∈ Z ≥ 0 I q ∣ κ ∣ = j ∏ i ∈ I q z i ( M , ℓ ) κ i . (19) S_{q,j}(M,\ell):=\sum_{\substack{\kappa\in\mathbb{Z}_{\ge0}^{I_q}\\|\kappa|=j}}\prod_{i\in I_q}z_i(M,\ell)^{\kappa_i}. \tag*{(19)} S q , j ( M , ℓ ) := κ ∈ Z ≥ 0 I q ∣ κ ∣ = j ∑ i ∈ I q ∏ z i ( M , ℓ ) κ i . (19)
Thus S q , j S_{q,j} S q , j is the degree-j j j complete homogeneous polynomial in the repeated affine factors z i z_i z i . Then
1 D q ( M , ℓ ) : = 1 M 0 d q ∑ j = 0 ∞ S q , j ( M , ℓ ) . \frac{1}{D_q(M,\ell)}:=\frac{1}{M_0^{d_q}}\sum_{j=0}^{\infty}S_{q,j}(M,\ell). D q ( M , ℓ ) 1 := M 0 d q 1 j = 0 ∑ ∞ S q , j ( M , ℓ ) .
Let us define A q A_q A q as its truncation as follows:
J q : = 4 d q + 10 , A q ( M , ℓ ) : = M 0 − d q ∑ j = 0 J q S q , j ( M , ℓ ) . (20) J_q:=4d_q+10,\qquad A_q(M,\ell):=M_0^{-d_q}\sum_{j=0}^{J_q}S_{q,j}(M,\ell). \tag*{(20)} J q := 4 d q + 10 , A q ( M , ℓ ) := M 0 − d q j = 0 ∑ J q S q , j ( M , ℓ ) . (20)
This is the total-degree-J q J_q J q truncation of the formal product expansion of D q − 1 D_q^{-1} D q − 1 . Note that A q A_q A q is defined for every ( M , ℓ ) (M,\ell) ( M , ℓ ) , independently of convergence of the infinite series.
Lemma 3.15. Suppose q = o ( N 1 / 3 ) q=o(N^{1/3}) q = o ( N 1/3 ) . Then the polynomial A q ( M , ℓ ) A_q(M,\ell) A q ( M , ℓ ) from (20) satisfies
deg A q ≤ J q = O ( q log q ) and ∣ D q ( M , ℓ ) A q ( M , ℓ ) − 1 ∣ ≤ 10 − 2 (21) \deg A_q\le J_q=O(q\log q)\quad\text{and}\quad|D_q(M,\ell)A_q(M,\ell)-1|\le10^{-2} \tag*{(21)} deg A q ≤ J q = O ( q log q ) and ∣ D q ( M , ℓ ) A q ( M , ℓ ) − 1∣ ≤ 1 0 − 2 (21) whenever 1 ≤ ℓ ≤ R 1\le\ell\le R 1 ≤ ℓ ≤ R and ∣ M − M 0 ∣ ≤ R 3 / 2 |M-M_0|\le R^{3/2} ∣ M − M 0 ∣ ≤ R 3/2 .
The proof of the above lemma is deferred to Section A.6.
Combining everything
Theorem 3.2. Let G G G be a bounded-degree signed graph on N N N vertices and ε ∈ ( 0 , 1 ) \varepsilon\in(0,1) ε ∈ ( 0 , 1 ) be a constant. In order to distinguish with probability at least 2 / 3 2/3 2/3 if G G G is balanced or ε \varepsilon ε -far from being balanced, Ω ( N 1 / 3 / log N ) \Omega(N^{1/3}/\log N) Ω ( N 1/3 / log N ) quantum queries are necessary.
Proof. Suppose, toward a contradiction, that a tester uses
q ≤ c 0 N 1 / 3 log N (22) q\le c_0\frac{N^{1/3}}{\log N} \tag*{(22)} q ≤ c 0 log N N 1/3 (22)
queries, where c 0 > 0 c_0 > 0 c 0 > 0 is a sufficiently small constant. Let us amplify the error probability of the tester to at most 1/20 using a constant number of repetitions. By slight abuse of notation, we will denote q q q for the amplified query complexity as well.
Note that at ( M 0 , 1 ) (M_0,1) ( M 0 , 1 ) , every yes instance is balanced. By Theorem 3.3, all except an exponentially small fraction of no instances have frustration index at least m / 50 ≥ 0.026 N m/50 \ge0.026N m /50 ≥ 0.026 N . Hence
Δ ( M 0 , 1 ) ≥ 0.9 − o ( 1 ) . (23) \Delta(M_0,1) \ge0.9 - o(1). \tag*{(23)} Δ ( M 0 , 1 ) ≥ 0.9 − o ( 1 ) . (23)
For every parameter pair, whether or not it satisfies a testing promise,
∣ Δ ( M , ℓ ) ∣ ≤ 1 (24) |\Delta(M,\ell)| \le1 \tag*{(24)} ∣Δ ( M , ℓ ) ∣ ≤ 1 (24)
since Δ \Delta Δ is a difference of probabilities.
Let H H H be the polynomial from Theorem 3.13 and let A q A_q A q be the polynomial from Theorem 3.15. Now let us define
P ( M , ℓ ) = 1 2 H ( M , ℓ ) A q ( M , ℓ ) . (25) P(M,\ell) = \frac{1}{2}H(M,\ell)A_q(M,\ell). \tag*{(25)} P ( M , ℓ ) = 2 1 H ( M , ℓ ) A q ( M , ℓ ) . (25)
This is a polynomial of degree O ( q log q ) O(q\log q) O ( q log q ) . From Eq. (15) ,
P ( M , ℓ ) = Δ ( M , ℓ ) − η ( M , ℓ ) 2 ℓ ( D q ( M , ℓ ) A q ( M , ℓ ) ) . (26) P(M,\ell) = \frac{\Delta(M,\ell)-\eta(M,\ell)}{2\ell}\left(D_q(M,\ell)A_q(M,\ell)\right). \tag*{(26)} P ( M , ℓ ) = 2 ℓ Δ ( M , ℓ ) − η ( M , ℓ ) ( D q ( M , ℓ ) A q ( M , ℓ ) ) . (26)
On the grid G N G_N G N , Theorem 3.12 gives η = o ( 1 ) \eta=o(1) η = o ( 1 ) and Theorem 3.15 gives
0.99 ≤ D q A q ≤ 1.01. 0.99 \le D_qA_q \le1.01. 0.99 ≤ D q A q ≤ 1.01.
Using Eq. (24) in Eq. (26) , we obtain
∣ P ( M , ℓ ) ∣ ≤ 1.01 2 ℓ ( 1 + o ( 1 ) ) < 1 (27) |P(M,\ell)| \le\frac{1.01}{2\ell}(1+o(1)) < 1 \tag*{(27)} ∣ P ( M , ℓ ) ∣ ≤ 2 ℓ 1.01 ( 1 + o ( 1 )) < 1 (27)
for every point of G N G_N G N and all sufficiently large N N N .
At ( M 0 , 1 ) (M_0,1) ( M 0 , 1 ) , equations (23) and (26) give P ( M 0 , 1 ) > 0.44 P(M_0,1)>0.44 P ( M 0 , 1 ) > 0.44 for sufficiently large N N N . At ( M 0 , 2 ) (M_0,2) ( M 0 , 2 ) , no correctness promise is used, only the fact that Δ \Delta Δ is bounded by 1: equations (24) and (26) give ∣ P ( M 0 , 2 ) ∣ < 0.26 |P(M_0,2)|<0.26 ∣ P ( M 0 , 2 ) ∣ < 0.26 . Consequently,
∣ P ( M 0 , 1 ) − P ( M 0 , 2 ) ∣ > 0.18. (28) |P(M_0,1)-P(M_0,2)| > 0.18. \tag*{(28)} ∣ P ( M 0 , 1 ) − P ( M 0 , 2 ) ∣ > 0.18. (28)
The grid has the additional divisibility condition 2 ℓ ∣ M 2\ell\mid M 2 ℓ ∣ M . Consider Q ( X , ℓ ) = P ( 2 X , ℓ ) Q(X,\ell)=P(2X,\ell) Q ( X , ℓ ) = P ( 2 X , ℓ ) and let C = M 0 / 2 C=M_0/2 C = M 0 /2 . Then Q Q Q has degree at most deg P \deg P deg P . If ℓ ∣ X \ell\mid X ℓ ∣ X and ∣ X − C ∣ ≤ R 3 / 2 2 |X-C|\le\frac{R^{3/2}}{2} ∣ X − C ∣ ≤ 2 R 3/2 , then ( 2 X , ℓ ) ∈ G N (2X,\ell)\in G_N ( 2 X , ℓ ) ∈ G N , so (27) gives ∣ Q ( X , ℓ ) ∣ ≤ 1 |Q(X,\ell)|\le1 ∣ Q ( X , ℓ ) ∣ ≤ 1 . The gap (28) holds at ( C , 1 ) (C,1) ( C , 1 ) and ( C , 2 ) (C,2) ( C , 2 ) . Applying Theorem 2.12 yields
deg P ≥ deg Q = Ω ( R ) = Ω ( N 1 / 3 ) . \deg P \ge\deg Q = \Omega(\sqrt{R}) = \Omega(N^{1/3}). deg P ≥ deg Q = Ω ( R ) = Ω ( N 1/3 ) .
On the other hand, deg P = O ( q log q ) \deg P=O(q\log q) deg P = O ( q log q ) , thus q log q = Ω ( N 1 / 3 ) q\log q=\Omega(N^{1/3}) q log q = Ω ( N 1/3 ) . Since q ≤ N q\le N q ≤ N , we get q = Ω ( N 1 / 3 log N ) q=\Omega\left(\frac{N^{1/3}}{\log N}\right) q = Ω ( l o g N N 1/3 ) contradicting (22) when c 0 c_0 c 0 is sufficiently small.
Reduction to bipartiteness testing
We now reduce the signed graph instance into a simple graph such that when the signed graph instance is balanced, the constructed simple graph is bipartite and when the signed graph has large frustration index, the resulting graph is far from being bipartite. This is a standard reduction, similar to [1 Zas18] .
Let ( H , b ) (H,b) ( H , b ) be the given signed colored graph instance. Now for each vertex u ∈ [ N ] u \in[N] u ∈ [ N ] in H H H and each color j ∈ { 1 , 2 , 3 } j \in\{1,2,3\} j ∈ { 1 , 2 , 3 } , let us introduce two auxiliary vertices a u , j , p u , j a_{u,j}, p_{u,j} a u , j , p u , j . For a colored signed edge u v uv uv of color j j j , let us orient its description so that u < v u < v u < v . Now we do the following:
If b u v = 0 b_{uv}=0 b uv = 0 , insert the even path u − a u , j − v u-a_{u,j}-v u − a u , j − v .
If b u v = 1 b_{uv}=1 b uv = 1 , let us insert the odd path u − a u , j − p u , j − v u-a_{u,j}-p_{u,j}-v u − a u , j − p u , j − v .
All unused auxiliary vertices are isolated. Let G ( H , b ) G(H,b) G ( H , b ) be the graph constructed as above.
Note that the graph G ( H , b ) G(H,b) G ( H , b ) has 7 N 7N 7 N vertices where ∣ V ( H ) ∣ = N |V(H)|=N ∣ V ( H ) ∣ = N . Since a vertex is incident to at most one edge of each color, every auxiliary vertex belongs to at most one path and differently colored parallel edges of H H H connect distinct vertices in G G G . Thus G ( H , b ) G(H,b) G ( H , b ) is simple and has maximum degree three.
Now we have the following lemma that shows the reduction is valid.
Lemma 3.16. For every signed colored multigraph ( H , b ) (H,b) ( H , b ) produced above, the graph G ( H , b ) G(H,b) G ( H , b ) satisfies
G ( H , b ) is bipartite ⟺ ( H , b ) is balanced , (29) G(H,b)\text{ is bipartite}\ \Longleftrightarrow\ (H,b)\text{ is balanced}, \tag*{(29)} G ( H , b ) is bipartite ⟺ ( H , b ) is balanced , (29) and
min { ∣ edges deleted from G ( H , b ) to make it bipartite ∣ } = fr ( H , b ) . (30) \min\{| \text{edges deleted from }G(H,b)\text{ to make it bipartite}|\}=\operatorname{fr}(H,b). \tag*{(30)} min { ∣ edges deleted from G ( H , b ) to make it bipartite ∣ } = fr ( H , b ) . (30) Moreover, each adjacency-list query to G ( H , b ) G(H,b) G ( H , b ) can be simulated using a constant number of queries to the signed graph H H H .
Proof. Following the construction described above, note that in a bipartite graph, an even path has endpoints of the same side of a correct bipartition, while an odd path has endpoints of opposite sides. Therefore a correct bipartition of the original vertices is equivalent to a labeling satisfying Eq. (1) . This proves Eq. (29) .
The paths obtained after introducing the auxiliary vertices corresponding to distinct colored edges are edge-disjoint. Let us fix a labeling of the original vertices. If a signed constraint is violated by this labeling, at least one edge must be removed from the corresponding path before the path can be properly labeled with the prescribed endpoint signs. Conversely, let us delete one edge from every path corresponding to a violated constraint. Every remaining path component can then be labeled consistently with the endpoint signs. Minimizing over all labelings gives us Eq. (30) . Since adding new edges can not change a far from bipartite graph to a bipartite graph, the required minimum number of edge modifications remains the same.
For the query simulation, note that if the algorithm queries a neighbor of such a vertex of G G G that is an original vertex in H H H , the simulation algorithm queries its at most three neighbors in H H H , determines the corresponding auxiliary vertex according to the returned endpoint and sign, and returns the requested neighbor. A query to a u , j a_{u,j} a u , j or p u , j p_{u,j} p u , j in G G G is answered by querying ( u , j ) (u,j) ( u , j ) in H H H and checking the returned endpoint and sign. This computation is reversible, and can be performed coherently in the standard way.
Theorem 3.1 (Formal version of Theorem 1.1). Let G G G be a bounded-degree graph on N N N vertices and ε ∈ ( 0 , 1 ) \varepsilon\in(0,1) ε ∈ ( 0 , 1 ) be a constant. In order to distinguish with probability at least 2 / 3 2/3 2/3 if G G G is bipartite, or ε \varepsilon ε -far from being bipartite, Ω ( N 1 / 3 / log N ) \Omega(N^{1/3}/\log N) Ω ( N 1/3 / log N ) quantum queries are necessary.
Proof. Note that, from Theorem 3.3, we know that with probability 1 − 2 − Ω ( N ) 1-2^{-\Omega(N)} 1 − 2 − Ω ( N ) a no signed instance at ( M 0 , 1 ) (M_0,1) ( M 0 , 1 ) satisfies fr ( H , b ) ≥ M 0 50 ≥ 0.026 N \operatorname{fr}(H,b) \ge\frac{M_0}{50} \ge0.026N fr ( H , b ) ≥ 50 M 0 ≥ 0.026 N . By Theorem 3.16, the corresponding ordinary graph requires at least 0.026 N 0.026N 0.026 N edge deletions to become bipartite. It has 7 N 7N 7 N vertices and maximum degree three, so it is more than 0.026 N 3 ⋅ 7 N > 10 − 3 \frac{0.026N}{3\cdot7N}>10^{-3} 3 ⋅ 7 N 0.026 N > 1 0 − 3 -far from bipartite.
Suppose a 7 N 7N 7 N -vertex bipartiteness tester uses q q q queries. The simulation argument in Theorem 3.16 gives a tester for balancedness testing using O ( q ) O(q) O ( q ) queries to the signed graph. Theorem 3.2 therefore gives q = Ω ( N 1 / 3 log N ) q=\Omega\left(\frac{N^{1/3}}{\log N}\right) q = Ω ( l o g N N 1/3 ) . For graphs whose number of vertices are not of the form of 7 N 7N 7 N , we can add at most six isolated vertices to handle every sufficiently large N N N . This completes the proof. □
Quantum query lower bound for expansion testing
In this section, we prove that expansion property testing in the bounded-degree model requires Ω ( N 1 / 3 / log 4 / 3 N ) \Omega(N^{1/3}/\log^{4/3}N) Ω ( N 1/3 / log 4/3 N ) quantum queries.
Theorem 4.1 (Formal version of Theorem 1.2 ). Let G G G be a bounded degree graph on N N N vertices and ε , α , α ′ ∈ ( 0 , 1 ) \varepsilon,\alpha,\alpha'\in(0,1) ε , α , α ′ ∈ ( 0 , 1 ) be constants with 0 < α ′ ≤ α < 1 0<\alpha'\le\alpha<1 0 < α ′ ≤ α < 1 . In order to distinguish with probability at least 2 / 3 2/3 2/3 if G G G is an α \alpha α -expander, or ε \varepsilon ε -far from being an α ′ \alpha' α ′ -expander, Ω ( N 1 / 3 / ( log N ) 4 / 3 ) \Omega(N^{1/3}/(\log N)^{4/3}) Ω ( N 1/3 / ( log N ) 4/3 ) quantum queries are necessary.
For constructing the hard instances in bipartiteness testing, we considered graphs with 3 random matchings. However, this will not be enough for expansion testing since any visible vertex in the final graph has a constant probability of losing all of its matching neighbors.
To bypass this bottleneck, we consider graphs with Θ ( log N ) \Theta(\log N) Θ ( log N ) matchings. This will ensure that every cut in the graph will have sufficient expansion with high probability even when a constant fraction of the ambient vertices is unused. Finally, we will apply a replacement-graph gadget to reduce the degree of every vertex to four.
Description of our hard instances
We consider the hard distribution P M , ℓ ( c ) P_{M,\ell}^{(c)} P M , ℓ ( c ) in Section 2.5.1 with the number of matchings c = Θ ( log N ) c=\Theta(\log N) c = Θ ( log N ) an even number. Remember that the colors of the matchings are indexed by [ c ] [c] [ c ] . Similarly to [2 ] , we obtain yes instances with high probability by setting the construction’s block number ℓ = 1 \ell=1 ℓ = 1 . For ℓ = 2 \ell=2 ℓ = 2 , we can only obtain no instances (i.e. far from expander graphs) because the resulting graph will be disconnected.
This way, we first construct an intermediate graph with degree Θ ( log N ) \Theta(\log N) Θ ( log N ) , then we will use a replacement graph gadget to transform this intermediate graph to a final graph of maximum degree 4. To show that the final graphs that we obtain from intermediate graphs in the yes distribution P M , 1 ( c ) P_{M,1}^{(c)} P M , 1 ( c ) are expanders, we will first prove that the intermediate graph is an expander, and then prove that the final graph remains an expander as well. Since every graph in the support of the no distribution P M , 2 ( c ) P_{M,2}^{(c)} P M , 2 ( c ) has two large sets of vertices with no edges between them, it is easy to see that a similar statement holds in this case as well.
Setting up parameters Let us set c = Θ ( log N ) c=\Theta(\log N) c = Θ ( log N ) , and without loss of generality, let us assume that c c c is even. Let P M , ℓ ( c ) , f e a s P_{M,\ell}^{(c),\mathrm{feas}} P M , ℓ ( c ) , feas denote the feasible distribution with c c c independent uniformly random perfect matchings in every hidden block conditioned on no overflow event happening.
We set up the same grid as we used for the bipartiteness testing lower bound.
G N = { ( M , ℓ ) : 1 ≤ ℓ ≤ R , ∣ M − M 0 ∣ ≤ R 3 / 2 , 2 ℓ ∣ M } with M 0 = 4 ⌊ 11 N 40 ⌋ , R = ⌊ N 2 / 3 100 ⌋ . (31) \mathcal{G}_N=\{(M,\ell):1\le\ell\le R,\lvert M-M_0\rvert\le R^{3/2},2\ell\mid M\}\text{ with }M_0=4\left\lfloor\frac{11N}{40}\right\rfloor,\ R=\left\lfloor\frac{N^{2/3}}{100}\right\rfloor. \tag*{(31)} G N = {( M , ℓ ) : 1 ≤ ℓ ≤ R , ∣ M − M 0 ∣ ≤ R 3/2 , 2 ℓ ∣ M } with M 0 = 4 ⌊ 40 11 N ⌋ , R = ⌊ 100 N 2/3 ⌋ . (31)
Let us start by proving that the intermediate graph is an expander.
Lemma 4.2. Let H H H be drawn from P M 0 , 1 ( c ) , f e a s P^{(c),\mathrm{feas}}_{M_0,1} P M 0 , 1 ( c ) , feas . With probability 1 − o ( 1 ) 1-o(1) 1 − o ( 1 ) ,
∣ e H ( U , V ( H ) ∖ U ) ∣ ≥ c 20 ∣ U ∣ (32) \lvert e_H(U,V(H)\setminus U)\rvert\ge\frac{c}{20}\lvert U\rvert \tag*{(32)} ∣ e H ( U , V ( H ) ∖ U )∣ ≥ 20 c ∣ U ∣ (32) holds for every U ⊆ V ( H ) U\subseteq V(H) U ⊆ V ( H ) with ∣ U ∣ ≤ N / 2 \lvert U\rvert\le N/2 ∣ U ∣ ≤ N /2 .
The proof of the above lemma is in Section A.7.
Now we show that the intermediate no instances are far from being expander.
Lemma 4.3. Fix α ′ > 0 \alpha' > 0 α ′ > 0 . For sufficiently large N N N , every graph H H H in the support of P M 0 , 2 ( c ) , f e a s P^{(c),\mathrm{feas}}_{M_0,2} P M 0 , 2 ( c ) , feas contains a set U ⊆ [ N ] U\subseteq[N] U ⊆ [ N ] such that
N 3 ≤ ∣ U ∣ ≤ N 2 , ∂ H ( U ) = ∅ . (33) \frac{N}{3}\le\lvert U\rvert\le\frac{N}{2}, \qquad\partial_H(U)=\varnothing. \tag*{(33)} 3 N ≤ ∣ U ∣ ≤ 2 N , ∂ H ( U ) = ∅ . (33) Thus H H H is α ′ / 3 c \alpha'/3c α ′ /3 c -far from every α ′ \alpha' α ′ -vertex-expander.
Proof. First let us suppose that no block overflows, and let V 1 , V 2 V_1,V_2 V 1 , V 2 be the two visible vertex classes assigned to the hidden blocks. Since ∣ V 1 ∣ + ∣ V 2 ∣ = N \lvert V_1\rvert+\lvert V_2\rvert=N ∣ V 1 ∣ + ∣ V 2 ∣ = N and each hidden block has M 0 / 2 M_0/2 M 0 /2 ambient positions, ∣ V i ∣ ≤ M 0 / 2 \lvert V_i\rvert\le M_0/2 ∣ V i ∣ ≤ M 0 /2 . Hence
∣ V i ∣ ≥ N − M 0 2 ≥ 9 N 20 − 2 ≥ N 3 \lvert V_i\rvert\ge N-\frac{M_0}{2}\ge\frac{9N}{20}-2\ge\frac{N}{3} ∣ V i ∣ ≥ N − 2 M 0 ≥ 20 9 N − 2 ≥ 3 N
for all sufficiently large N N N . Every matching edge has both endpoints in the same hidden block. Therefore there is no edge between V 1 V_1 V 1 and V 2 V_2 V 2 . Taking U U U to be the smaller of V 1 , V 2 V_1,V_2 V 1 , V 2 proves Eq. (33) .
Now let us fix the set U U U stated above. In any α ′ \alpha' α ′ -vertex-expander, U U U must have at least α ′ ∣ U ∣ \alpha'\lvert U\rvert α ′ ∣ U ∣ distinct outside neighbors. Initially it has no outside neighbor. Each added edge creates at most one new outside neighbor of U U U , while edge deletions create none. Thus at least α ′ ∣ U ∣ ≥ α ′ N / 3 \alpha'\lvert U\rvert\ge\alpha'N/3 α ′ ∣ U ∣ ≥ α ′ N /3 edge modifications are necessary. Dividing by the bounded-degree normalization c N cN c N finishes the proof. □
The replacement-product construction
We use the following standard consequence of Friedman’s second-eigenvalue theorem and the discrete Cheeger inequality; see [18 Theorems 7.10 and 4.11] .
Lemma 4.4. There exists an absolute constant h 0 > 0 h_0>0 h 0 > 0 , such that for every sufficiently large even integer n n n , there is a simple 3 3 3 -regular graph J n J_n J n on vertex set [ n ] [n] [ n ] such that
∣ e J n ( A , [ n ] ∖ A ) ∣ ≥ h 0 min { ∣ A ∣ , n − ∣ A ∣ } (34) \lvert e_{J_n}(A,[n]\setminus A)\rvert\ge h_0\min\{\lvert A\rvert,n-\lvert A\rvert\} \tag*{(34)} ∣ e J n ( A , [ n ] ∖ A )∣ ≥ h 0 min {∣ A ∣ , n − ∣ A ∣} (34) for every A ⊆ [ n ] A\subseteq[n] A ⊆ [ n ] .
Construction: For sufficiently large N N N , let us consider a fixed graph J c J_c J c according to Theorem 4.4 and label its vertices by the matching colors [ c ] [c] [ c ] . This is valid since c c c is even and is sufficiently large for large enough N N N .
Given an intermediate colored multigraph H H H , let us define its replacement graph R ( H ) R(H) R ( H ) as follows.
Replace every vertex u ∈ V ( H ) u\in V(H) u ∈ V ( H ) by a set of c c c vertices C u = { ( u , j ) : j ∈ [ c ] } C_u=\{(u,j):j\in[c]\} C u = {( u , j ) : j ∈ [ c ]} , and insert a copy of J c J_c J c on vertex set C u C_u C u . These edges are called internal edges.
For every color-j j j edge { u , v } \{u,v\} { u , v } of H H H , add the external edge { ( u , j ) , ( v , j ) } \{(u,j),(v,j)\} {( u , j ) , ( v , j )} .
Figure 4 illustrates this standard replacement-graph construction. It has c N cN c N vertices and it is simple: different colors use different auxiliary vertices, even when two edges of different colors join the same pair of intermediate vertices. Every vertex has three internal neighbors and at most one external neighbor, so the maximum degree of this graph is four.
Figure 4. The replacement graph construction. Each vertex u u u of the intermediate graph is replaced by a copy of J c J_c J c , whose color-j j j vertex is denoted ( u , j ) (u,j) ( u , j ) . A color-j j j edge { u , v } \{u,v\} { u , v } becomes the external edge { ( u , j ) , ( v , j ) } \{(u,j),(v,j)\} {( u , j ) , ( v , j )} . The color-k k k edge illustrates that differently colored parallel intermediate edges use different neighbors. Only a few neighbors and internal cloud edges are shown schematically.
Now we prove that if a graph H H H is an expander, then its corresponding replacement graph R ( H ) \mathcal{R}(H) R ( H ) is an expander as well.
Lemma 4.5. Suppose an N N N -vertex colored multigraph H H H satisfies
∣ e H ( U , V ( H ) ∖ U ) ∣ ≥ β c min { ∣ U ∣ , N − ∣ U ∣ } \lvert e_H(U,V(H)\setminus U)\rvert\ge\beta c \min\{\lvert U\rvert,N-\lvert U\rvert\} ∣ e H ( U , V ( H ) ∖ U )∣ ≥ β c min {∣ U ∣ , N − ∣ U ∣} for every U ⊆ V ( H ) U\subseteq V(H) U ⊆ V ( H ) . Then R ( H ) \mathcal{R}(H) R ( H ) has vertex expansion at least α \alpha α depending only on β \beta β and h 0 h_0 h 0 .
The proof of the above lemma is deferred to Section A.8.
The above lemmas show that a yes-instance graph remains an expander after the replacement graph construction. Now we prove that a no-instance graph remains far from being an expander after the replacement graph construction.
As shown in Figure 5 , let V 1 , V 2 V_1,V_2 V 1 , V 2 denote the classes of visible vertices corresponding to the two hidden blocks from the hard distribution construction. Every matching edge of the intermediate graph remains inside its class, so H = H [ V 1 ] ∪ ˙ H [ V 2 ] H=H[V_1]\mathbin{\dot\cup}H[V_2] H = H [ V 1 ] ∪ ˙ H [ V 2 ] . Replacing each vertex v v v by cloud C v C_v C v and adding the corresponding external edges preserves this separation. Thus, for S i = ⋃ u ∈ V i C u S_i=\bigcup_{u\in V_i}C_u S i = ⋃ u ∈ V i C u , there is no edge between S 1 S_1 S 1 and S 2 S_2 S 2 and ∂ R ( H ) ( S i ) = ∅ \partial_{\mathcal{R}(H)}(S_i)=\varnothing ∂ R ( H ) ( S i ) = ∅ .
Figure 5. A no instance before and after the replacement construction (in the non-overflow case). Only a few vertices, clouds, and edges are shown schematically; blue and red distinguish the two visible block classes, not matching colors.
Lemma 4.6. For every constant α ′ > 0 \alpha' > 0 α ′ > 0 and all sufficiently large N N N , let H H H be drawn from P M 0 , 2 ( c ) , f e a s P^{(c),\mathrm{feas}}_{M_0,2} P M 0 , 2 ( c ) , feas and let G = R ( H ) G = \mathcal{R}(H) G = R ( H ) . Every graph in the support of G G G is ε \varepsilon ε -far from being an α ′ \alpha' α ′ -vertex-expander, where ε = α ′ 12 \varepsilon= \frac{\alpha'}{12} ε = 12 α ′ . In particular, this holds with probability one.
Proof. Let us denote n ˉ = N c \bar{n} = Nc n ˉ = N c for the number of vertices of G G G . Assume that in the hard instance construction of H H H , no block overflows, and let V 1 , V 2 V_1,V_2 V 1 , V 2 be the two visible block classes of H H H . Since ∣ V 1 ∣ + ∣ V 2 ∣ = N |V_1| + |V_2| = N ∣ V 1 ∣ + ∣ V 2 ∣ = N and ∣ V i ∣ ≤ M 0 / 2 |V_i| \le M_0/2 ∣ V i ∣ ≤ M 0 /2 , the definition of M 0 M_0 M 0 gives
∣ V i ∣ ≥ N − M 0 2 ≥ 9 N 20 − 2 ≥ N 3 |V_i| \ge N - \frac{M_0}{2} \ge\frac{9N}{20} - 2 \ge\frac{N}{3} ∣ V i ∣ ≥ N − 2 M 0 ≥ 20 9 N − 2 ≥ 3 N for all sufficiently large N N N . Every matching edge lies within one of the hidden blocks, so there are no crossing edges between V 1 V_1 V 1 and V 2 V_2 V 2 . The smaller of the corresponding two unions of replacement clouds is a set S S S satisfying
n ˉ 3 ≤ ∣ S ∣ ≤ n ˉ 2 , ∂ G ( S ) = ∅ . \frac{\bar{n}}{3} \le|S| \le\frac{\bar{n}}{2}, \qquad\partial_G(S) = \varnothing. 3 n ˉ ≤ ∣ S ∣ ≤ 2 n ˉ , ∂ G ( S ) = ∅ . Thus, transforming G G G into an α ′ \alpha' α ′ -vertex-expander requires the fixed set S S S to acquire at least α ′ ∣ S ∣ ≥ α ′ n ˉ / 3 \alpha'|S| \ge\alpha'\bar{n}/3 α ′ ∣ S ∣ ≥ α ′ n ˉ /3 distinct outside neighbors. Each added crossing edge creates at most one such neighbor, thus at least α ′ n ˉ / 3 \alpha'\bar{n}/3 α ′ n ˉ /3 edge modifications are necessary. Dividing by 4 n ˉ 4\bar{n} 4 n ˉ because of the degree and size of the replacement graph G = R ( H ) G = \mathcal{R}(H) G = R ( H ) , gives distance at least α ′ / 12 \alpha'/12 α ′ /12 .
Now we argue that the replacement graph problem is at least as hard as the intermediate graph problem, up to a constant factor. We prove this by a reduction argument.
Lemma 4.7. Let H H H be an intermediate graph as described in § 4.1 and let R ( H ) \mathcal{R}(H) R ( H ) be the corresponding replacement graph as described above. For every quantum algorithm A A A making q q q adjacency-list queries to R ( H ) \mathcal{R}(H) R ( H ) , there is a quantum algorithm B B B making at most 2 q 2q 2 q queries to H H H such that, for every H H H ,
Pr [ B H a c c e p t s ] = Pr [ A R ( H ) a c c e p t s ] . \Pr[B^H\ \mathrm{accepts}] = \Pr[A^{\mathcal{R}(H)}\ \mathrm{accepts}]. Pr [ B H accepts ] = Pr [ A R ( H ) accepts ] . Consequently, a q q q -query algorithm distinguishing two distributions of replacement graphs yields a 2 q 2q 2 q -query algorithm distinguishing the corresponding distributions of intermediate graphs with the same advantage.
Proof. Following the construction described above, note that every vertex of R ( H ) \mathcal{R}(H) R ( H ) has the form ( u , j ) (u,j) ( u , j ) . Its first three neighbors are determined by the copy of the fixed graph J c J_c J c on the cloud C u C_u C u , and hence they can be returned without making any query to H H H . The possible fourth neighbor is determined by the color-j j j edge incident to u u u in H H H . A query to ( u , j ) (u,j) ( u , j ) in H H H returns a vertex v v v if such an edge { u , v } \{u,v\} { u , v } is present and returns ⊥ \perp ⊥ otherwise. Accordingly, the simulation returns ( v , j ) (v,j) ( v , j ) in the first case and ⊥ \perp ⊥ in the second case.
For the query simulation, the above computation is performed coherently. For each query made by A A A , the algorithm B B B first queries H H H to compute the color-j j j neighbor of u u u in a clean work register. It uses this value only when the queried neighbor is the fourth neighbor, writes the corresponding answer in the answer register, and then queries H H H once more to return the work register to zero. The queries to the first three neighbors are answered reversibly from the fixed description of J c J_c J c . Thus one adjacency-list query to R ( H ) \mathcal{R}(H) R ( H ) is simulated exactly, even when the query is in superposition, using at most two queries to H H H and leaving no garbage.
Replacing every oracle call of A A A by this simulation gives an algorithm B B B making at most 2 q 2q 2 q queries to H H H . Since the simulation is exact, the final states of the two computations agree, and hence
Pr [ B H a c c e p t s ] = Pr [ A R ( H ) a c c e p t s ] . \Pr[B^H\ \mathrm{accepts}] = \Pr[A^{\mathcal{R}(H)}\ \mathrm{accepts}]. Pr [ B H accepts ] = Pr [ A R ( H ) accepts ] .
The final statement follows immediately.
Corollary 4.8. There is a constant α > 0 \alpha> 0 α > 0 such that, for every fixed 0 < α ′ < α 0 < \alpha' < \alpha 0 < α ′ < α , setting ε = α ′ / 12 \varepsilon= \alpha'/12 ε = α ′ /12 gives the following.
If H H H is drawn from P M 0 , 1 ( c ) , f e a s P^{(c),\mathrm{feas}}_{M_{0,1}} P M 0 , 1 ( c ) , feas , then R ( H ) \mathcal{R}(H) R ( H ) is an α \alpha α -vertex-expander with probability 1 − o ( 1 ) 1 - o(1) 1 − o ( 1 ) .
If H H H is drawn from P M 0 , 2 ( c ) , f e a s P^{(c),\mathrm{feas}}_{M_{0,2}} P M 0 , 2 ( c ) , feas , then R ( H ) \mathcal{R}(H) R ( H ) is ε \varepsilon ε -far from being an α ′ \alpha' α ′ -vertex-expander with probability 1 1 1 .
Proof. Applying Theorems 4.2 and 4.5 with β = 1 / 20 \beta= 1/20 β = 1/20 , we have the first statement. Now if we apply Theorem 4.6 with the value of α ′ \alpha' α ′ stated in the corollary, we have the second result.
Remark 4.9. Similarly to the proof of the bipartiteness testing lower bound, here we will also consider two feasible acceptance probability values p ( M 0 , 1 ) p(M_0,1) p ( M 0 , 1 ) and p ( M 0 , 2 ) p(M_0,2) p ( M 0 , 2 ) for the yes and no distributions, respectively. However, unlike in the case of the bipartiteness lower bound, here every graph sampled from P M 0 , 2 P_{M_0,2} P M 0 , 2 is far from expander. As a result, we do not consider the difference polynomial for every parameter here. This is the approach that was considered in [2 ] .
The rational acceptance probability with logarithmically many colors
Here we prove that the acceptance probability distribution analysis for bipartiteness testing in § 3 remains valid for c = Θ ( log N ) c = \Theta(\log N) c = Θ ( log N ) colored matchings.
Lemma 4.10. Consider a quantum algorithm that makes q q q queries. In the hard distribution denoted by P M , ℓ ( c ) P^{(c)}_{M,\ell} P M , ℓ ( c ) , its expected acceptance probability has the form F ( M , ℓ ) D q ( M , ℓ ) \frac{F(M,\ell)}{D_q(M,\ell)} D q ( M , ℓ ) F ( M , ℓ ) with deg ( F ) = O ( q log q ) \deg(F) = O(q \log q) deg ( F ) = O ( q log q ) , where D q D_q D q is the denominator in (4). On the grid G N G_N G N , the expected acceptance probability conditioned on no overflow event satisfies
p ( M , ℓ ) = F ( M , ℓ ) D q ( M , ℓ ) + η ( M , ℓ ) , ∣ η ( M , ℓ ) ∣ ≤ exp ( O ( q log N ) − Ω ( N 1 / 3 ) ) . (35) p(M,\ell) = \frac{F(M,\ell)}{D_q(M,\ell)} + \eta(M,\ell), \qquad|\eta(M,\ell)| \le\exp\left(O(q \log N) - \Omega(N^{1/3})\right). \tag*{(35)} p ( M , ℓ ) = D q ( M , ℓ ) F ( M , ℓ ) + η ( M , ℓ ) , ∣ η ( M , ℓ ) ∣ ≤ exp ( O ( q log N ) − Ω ( N 1/3 ) ) . (35)
Proof. By Theorems 2.9 and 2.11, the degree-2 q 2q 2 q acceptance polynomial can be averaged monomial by monomial, and every formal monomial expectation has denominator dividing D q D_q D q . The multiplicity count in Eq. (4) is unchanged when the number of matching colors is c c c : a degree-2 q 2q 2 q monomial specifies at most 2 q 2q 2 q colored matching edges, while an occurrence of M − ( 2 a − 1 ) ℓ M - (2a - 1)\ell M − ( 2 a − 1 ) ℓ requires at least a a a specified edges in one matching and one block and hence occurs at most ⌊ 2 q / a ⌋ \lfloor2q/a \rfloor ⌊ 2 q / a ⌋ times. Thus D q D_q D q remains a common denominator, and Eq. (5) gives deg D q = O ( q log q ) \deg D_q = O(q \log q) deg D q = O ( q log q ) . By Theorem 2.11, the numerator has the same degree bound. Changing the number of available colors from 3 to Θ ( log N ) \Theta(\log N) Θ ( log N ) does not change this calculation.
There are N c Nc N c possible queries and O ( N ) O(N) O ( N ) possible responses per query. The coefficient argument of Theorem 2.10 therefore gives total coefficient absolute value
exp ( O ( q log ( N c ) ) ) = exp ( O ( q log N ) ) . \exp(O(q \log(Nc))) = \exp(O(q \log N)). exp ( O ( q log ( N c ))) = exp ( O ( q log N )) .
On G N \mathcal{G}_N G N , every block has capacity at least 1.09 times its mean occupancy. The overflow bound Theorem 3.11 applies unchanged, because it depends only on the block assignments, and gives
Pr [ some block overflows ] ≤ exp ( − Ω ( N 1 / 3 ) ) . \Pr[\text{some block overflows}] \le\exp(-\Omega(N^{1/3})). Pr [ some block overflows ] ≤ exp ( − Ω ( N 1/3 )) .
Similar to the proof of Theorem 3.12, the formal and feasible expectations of a Boolean monomial differ only on this event. Summing with Theorem 2.10 proves Eq. (35) .
Size-adjustment and a subtlety Note that the replacement graph construction described above constructs graphs with N c Nc N c vertices. To prove our lower bound for graphs on an arbitrary number of vertices, we need to add additional vertices. However, adding isolated vertices, which is a common approach to achieve such reductions, will not work here. In particular, adding isolated vertices will make the graph in the yes instance no longer an expander, a promise that is required for the lower bound. Instead, we will add additional vertices by subdividing the existing edges. For example, we will add a vertex z z z of degree 2 by subdividing a fixed internal cloud edge x y xy x y into the path x − z − y x-z-y x − z − y . Repeating this procedure O ( log N ) O(\log N) O ( log N ) times yields a graph with Θ ( N c ) \Theta(Nc) Θ ( N c ) vertices. The following two lemmas show that subdividing a sufficiently small number of edges preserves both the no and the yes instance promises. We first argue the no instances.
Lemma 4.11. Let α ′ > 0 \alpha^{\prime}>0 α ′ > 0 be a fixed constant. Let H H H be any graph in the support of P M 0 , 2 ( c ) , f e a s \mathcal{P}^{(c),\mathrm{feas}}_{M_0,2} P M 0 , 2 ( c ) , feas , let G = R ( H ) G=\mathcal{R}(H) G = R ( H ) , n ˉ : = ∣ V ( G ) ∣ = N c \bar{n}:=|V(G)|=Nc n ˉ := ∣ V ( G ) ∣ = N c . Suppose G ′ G^{\prime} G ′ is the graph obtained from G G G by subdividing r ≤ n ˉ / 4 r\leq\bar{n}/4 r ≤ n ˉ /4 edges, each at most once. Then, for all sufficiently large N N N , G ′ G^{\prime} G ′ is α ′ / 12 \alpha^{\prime}/12 α ′ /12 -far from every α ′ \alpha^{\prime} α ′ -vertex-expander.
The proof of this lemma is deferred to Section A.9.
Lemma 4.12. Let G G G be a graph of maximum degree at most four that, for some parameter ρ > 0 \rho>0 ρ > 0 , satisfies
∣ e G ( U , V ( G ) ∖ U ) ∣ ≥ ρ min { ∣ U ∣ , ∣ V ( G ) ∣ − ∣ U ∣ } . |e_G(U,V(G)\setminus U)|\geq\rho\min\{|U|,|V(G)|-|U|\}. ∣ e G ( U , V ( G ) ∖ U ) ∣ ≥ ρ min { ∣ U ∣ , ∣ V ( G ) ∣ − ∣ U ∣ } . for every U ⊆ V ( G ) U\subseteq V(G) U ⊆ V ( G ) . If at most ∣ V ( G ) ∣ / 4 |V(G)|/4 ∣ V ( G ) ∣/4 edges are subdivided, each at most once, the resulting graph has vertex expansion at least a positive constant depending only on ρ \rho ρ .
We defer the proof of this lemma to Section A.10.
Combining everything
Theorem 4.1 (Formal version of Theorem 1.2). Let G G G be a bounded degree graph on N N N vertices and ε , α , α ′ ∈ ( 0 , 1 ) \varepsilon,\alpha,\alpha^{\prime}\in(0,1) ε , α , α ′ ∈ ( 0 , 1 ) be constants with 0 < α ′ ≤ α < 1 0<\alpha^{\prime}\leq\alpha<1 0 < α ′ ≤ α < 1 . In order to distinguish with probability at least 2 / 3 2/3 2/3 if G G G is an α \alpha α -expander, or ε \varepsilon ε -far from being an α ′ \alpha^{\prime} α ′ -expander, Ω ( N 1 / 3 / ( log N ) 4 / 3 ) \Omega(N^{1/3}/(\log N)^{4/3}) Ω ( N 1/3 / ( log N ) 4/3 ) quantum queries are necessary.
Proof. We first prove the result for the intermediate graph on N ′ = N / c N^{\prime}=N/c N ′ = N / c vertices, and then by the reduction in Theorem 4.7 the main result follows. This way, we first assume that the replacement graph has exactly n ˉ = N ′ c \bar{n}=N^{\prime}c n ˉ = N ′ c vertices, where c = Θ ( log N ) c=\Theta(\log N) c = Θ ( log N ) .
Suppose a tester for the intermediate graph makes q q q queries. Let us amplify the error probability of the tester to at most 1 / 20 1/20 1/20 using a constant number of repetitions. By slight abuse of notation, we will denote q q q for the amplified query complexity as well. Moreover, let p ( M , ℓ ) p(M,\ell) p ( M , ℓ ) be its expected acceptance probability.
By Theorem 4.8, we know that p ( M 0 , 1 ) ≥ 19 20 − o ( 1 ) p(M_0,1)\geq\frac{19}{20}-o(1) p ( M 0 , 1 ) ≥ 20 19 − o ( 1 ) , and p ( M 0 , 2 ) ≤ 1 20 + o ( 1 ) p(M_0,2)\leq\frac{1}{20}+o(1) p ( M 0 , 2 ) ≤ 20 1 + o ( 1 ) .
Assume toward a contradiction that q ≤ c 0 N ′ 1 / 3 log N ′ q\leq c_0\frac{N^{\prime1/3}}{\log N^{\prime}} q ≤ c 0 l o g N ′ N ′1/3 for a sufficiently small constant c 0 c_0 c 0 . Now let us consider F F F and η \eta η as in Theorem 4.10. Since the grid and denominator are the same as in the signed proof, Theorem 3.15 gives a polynomial A q ( M , ℓ ) A_q(M,\ell) A q ( M , ℓ ) satisfying deg A q = O ( q log q ) \deg A_q=O(q\log q) deg A q = O ( q log q ) and ∣ D q A q − 1 ∣ ≤ 10 − 2 |D_qA_q-1|\leq10^{-2} ∣ D q A q − 1∣ ≤ 1 0 − 2 throughout the grid. Now let us consider the polynomial:
P ( M , ℓ ) = 1 2 F ( M , ℓ ) A q ( M , ℓ ) . P(M,\ell)=\frac{1}{2}F(M,\ell)A_q(M,\ell). P ( M , ℓ ) = 2 1 F ( M , ℓ ) A q ( M , ℓ ) .
Then deg P = O ( q log q ) \deg P = O(q \log q) deg P = O ( q log q ) and we have
P ( M , ℓ ) = p ( M , ℓ ) − η ( M , ℓ ) 2 D q ( M , ℓ ) A q ( M , ℓ ) . P(M,\ell) = \frac{p(M,\ell)-\eta(M,\ell)}{2}D_q(M,\ell)A_q(M,\ell). P ( M , ℓ ) = 2 p ( M , ℓ ) − η ( M , ℓ ) D q ( M , ℓ ) A q ( M , ℓ ) .
By Theorem 4.10, η ( M , ℓ ) = o ( 1 ) \eta(M,\ell)=o(1) η ( M , ℓ ) = o ( 1 ) uniformly under the assumed query bound. Since 0 ≤ p ≤ 1 0 \le p \le1 0 ≤ p ≤ 1 , the polynomial is bounded by one on G N ′ G_{N'} G N ′ . Moreover, P ( M 0 , 1 ) > 0.46 P(M_0,1)>0.46 P ( M 0 , 1 ) > 0.46 and ∣ P ( M 0 , 2 ) ∣ < 0.04 \lvert P(M_0,2)\rvert<0.04 ∣ P ( M 0 , 2 )∣ < 0.04 for sufficiently large N ′ N' N ′ . Rescaling M = 2 X M=2X M = 2 X and applying Theorem 2.12 gives deg P = Ω ( R ) = Ω ( N ′ 1 / 3 ) \deg P=\Omega(\sqrt{R})=\Omega(N'^{1/3}) deg P = Ω ( R ) = Ω ( N ′ 1/3 ) . The upper bound deg P = O ( q log q ) \deg P=O(q\log q) deg P = O ( q log q ) therefore implies q = Ω ( N ′ 1 / 3 log N ′ ) = Ω ( ( N / c ) 1 / 3 log N ) = Ω ( N 1 / 3 log 4 / 3 N ) q=\Omega\left(\frac{N'^{1/3}}{\log N'}\right)=\Omega\left(\frac{(N/c)^{1/3}}{\log N}\right)=\Omega\left(\frac{N^{1/3}}{\log^{4/3}N}\right) q = Ω ( l o g N ′ N ′ 1/3 ) = Ω ( l o g N ( N / c ) 1/3 ) = Ω ( l o g 4/3 N N 1/3 ) , which is in contradiction with our initial assumption for small enough constant c 0 c_0 c 0 .
Note that the argument above considers graphs with N ′ c N'^c N ′ c vertices. For graphs whose number of vertices are not of this form, we will apply the size-adjustment argument described before. This completes the proof.
Acknowledgments
The authors are grateful to Frédéric Magniez for initial discussions and the project idea of improving the expansion testing lower bound and exploring the possibility of adapting the method for bipartiteness testing.
CK is supported by French PEPR integrated project EPiQ (ANR-22-PETQ-0007) and partially supported by ANR Grant FLITTLA (ANR-21-CE48-0023). SS’s research is supported by the NRF Investigatorship award (NRF-NRFI10-2024-0006), CQT Young Researcher Career Development Grant (25-YRCDG-SS) and the grant ANR-18-IDEX-0001 between Université Paris Cité and National University of Singapore. DS’s research is supported by the German Federal Ministry of Research, Technology and Space (QuSol, 13N17173), by the Deutsche Forschungsgemeinschaft under Germany’s Excellence Strategy – EXC-2111 – 390814868, and by the Munich Quantum Valley.
Statement of AI usage: ChatGPT-6 Astra was used extensively in the development of this paper, including in exploring and refining proof ideas and in drafting and revising the text. In particular, the idea of introducing an intermediate problem in the lower bound proof of bipartiteness testing, as well as the modifications of the [2 ] proof that enable proving Ω ~ ( N 1 / 3 ) \widetilde{\Omega}(N^{1/3}) Ω ( N 1/3 ) lower bounds rather than Ω ~ ( N 1 / 4 ) \widetilde{\Omega}(N^{1/4}) Ω ( N 1/4 ) , are the result of several conversations with the mentioned AI system, which proposed these arguments developed in this paper. The authors subsequently verified, simplified, and organized the argument, and rewrote its exposition. Important concepts and ideas were manually factored out and written down in a (hopefully) intuitive, understandable way. The authors take full responsibility for the correctness and content of the paper.
Remaining proofs
Proof of lem:coefficient-bound
Lemma A.1. Consider the acceptance polynomial in the canonical form described above. A coefficient of a degree-k k k monomial has absolute value at most 2 k 2^k 2 k . Consequently, if the number of possible query outcomes is O ( N ) O(N) O ( N ) and the algorithm makes q q q queries, then the sum of the absolute values of all coefficients is at most exp ( O ( q log N ) ) \exp(O(q\log N)) exp ( O ( q log N )) .
Proof. The first part of the claim was proved in [2 Lemma 15] : let S S S be a set of variables that appear in the polynomial, and let c S c_S c S denote its coefficient, then ∣ c S ∣ ≤ 2 k |c_S| \leq2^k ∣ c S ∣ ≤ 2 k . To finish the proof, notice that there are 3 N 3N 3 N possible queries and O ( N ) O(N) O ( N ) non-null responses per query. Therefore the number of canonical monomials of degree k k k is at most ( C N 2 ) k (CN^2)^k ( C N 2 ) k for an absolute constant C C C . Then
∑ S ∣ c S ∣ ≤ ∑ k = 0 2 q ( 2 C N 2 ) k = exp ( O ( q log N ) ) . \sum_S |c_S| \le\sum_{k=0}^{2q}(2CN^2)^k = \exp(O(q \log N)). S ∑ ∣ c S ∣ ≤ k = 0 ∑ 2 q ( 2 C N 2 ) k = exp ( O ( q log N )) .
Proof of Theorem 3.8
Lemma A.2. Let F F F be a consistent colored pattern with v v v vertices, e e e edges, and c c c connected components, and let W F ( M , ℓ ) W_F(M,\ell) W F ( M , ℓ ) be the graph pattern probability from Theorem 3.7. There is a polynomial B F ( M , ℓ ) B_F(M,\ell) B F ( M , ℓ ) of degree O ( q log q ) O(q\log q) O ( q log q ) such that
W F ( M , ℓ ) = ℓ e − v + c B F ( M , ℓ ) D q ( M , ℓ ) = ℓ β ( F ) B F ( M , ℓ ) D q ( M , ℓ ) , (36) W_F(M,\ell)=\frac{\ell^{e-v+c}B_F(M,\ell)}{D_q(M,\ell)}=\frac{\ell^{\beta(F)}B_F(M,\ell)}{D_q(M,\ell)}, \tag*{(36)} W F ( M , ℓ ) = D q ( M , ℓ ) ℓ e − v + c B F ( M , ℓ ) = D q ( M , ℓ ) ℓ β ( F ) B F ( M , ℓ ) , (36) where β ( F ) \beta(F) β ( F ) denotes the cycle-rank of F F F .
Proof. Let C 1 , … , C c C_1,\ldots,C_c C 1 , … , C c be the connected components of F F F . For each i ∈ [ c ] i\in[c] i ∈ [ c ] , let v i : = ∣ V ( C i ) ∣ v_i:=|V(C_i)| v i := ∣ V ( C i ) ∣ , and, for each color j ∈ { 1 , 2 , 3 } j\in\{1,2,3\} j ∈ { 1 , 2 , 3 } , let d i , j d_{i,j} d i , j denote the number of color-j j j edges in C i C_i C i . Thus ∑ i = 1 c v i = v \sum_{i=1}^{c}v_i=v ∑ i = 1 c v i = v and ∑ i = 1 c ∑ j = 1 3 d i , j = e \sum_{i=1}^{c}\sum_{j=1}^{3}d_{i,j}=e ∑ i = 1 c ∑ j = 1 3 d i , j = e .
For d ≥ 0 d\ge0 d ≥ 0 , let us define
R d ( M , ℓ ) : = ∏ a = 1 d ℓ M − ( 2 a − 1 ) ℓ , R 0 ( M , ℓ ) : = 1. R_d(M,\ell):=\prod_{a=1}^{d}\frac{\ell}{M-(2a-1)\ell},\qquad R_0(M,\ell):=1. R d ( M , ℓ ) := a = 1 ∏ d M − ( 2 a − 1 ) ℓ ℓ , R 0 ( M , ℓ ) := 1.
Conditioned on a collection of vertices being in the same hidden block, R d ( M , ℓ ) R_d(M,\ell) R d ( M , ℓ ) is the probability that d d d prescribed disjoint edges occur in one fixed perfect matching.
We now describe how the connected components of F F F may be distributed among the hidden blocks. Let L L L be a partition of [ c ] [c] [ c ] . A class S ∈ L S\in L S ∈ L represents a set of connected components that are placed in the same hidden block. Define
f L ( M , ℓ ) : = ∏ S ∈ L ∏ j = 1 3 R ∑ i ∈ S d i , j ( M , ℓ ) . (37) f_L(M,\ell):=\prod_{S\in L}\prod_{j=1}^{3}R_{\sum_{i\in S}d_{i,j}}(M,\ell). \tag*{(37)} f L ( M , ℓ ) := S ∈ L ∏ j = 1 ∏ 3 R ∑ i ∈ S d i , j ( M , ℓ ) . (37)
Thus, conditioned on all components indexed by a class S S S lying in one common hidden block, f L ( M , ℓ ) f_L(M,\ell) f L ( M , ℓ ) is the probability that all prescribed matching edges of F F F occur.
We use the refinement order on partitions: L ′ ≤ L L'\le L L ′ ≤ L means that L ′ L' L ′ is a refinement of L L L . For L ′ ≤ L L'\le L L ′ ≤ L , let c L ′ , L c_{L',L} c L ′ , L denote the corresponding inclusion–exclusion coefficient on the partition lattice; equivalently, c L , L = 1 c_{L,L}=1 c L , L = 1 , and for L ′ < L L'<L L ′ < L , c L ′ , L c_{L',L} c L ′ , L is the signed number of refinement chains from L ′ L' L ′ to L L L . Define
f L ′ ( M , ℓ ) : = ∑ L ′ ≤ L c L ′ , L f L ′ ( M , ℓ ) . (38) f'_L(M,\ell):=\sum_{L'\le L}c_{L',L}f_{L'}(M,\ell). \tag*{(38)} f L ′ ( M , ℓ ) := L ′ ≤ L ∑ c L ′ , L f L ′ ( M , ℓ ) . (38)
We next express the topology moment W F ( M , ℓ ) W_F(M,\ell) W F ( M , ℓ ) in terms of these quantities. For a class S ∈ L S\in L S ∈ L , the probability that all vertices in the components { C i : i ∈ S } \{C_i:i\in S\} { C i : i ∈ S } choose one common hidden block is ℓ − ( ∑ i ∈ S v i ) + 1 \ell^{-\left(\sum_{i\in S}v_i\right)+1} ℓ − ( ∑ i ∈ S v i ) + 1 . Hence, for the whole partition L L L , this probability is ∏ S ∈ L ℓ − ( ∑ i ∈ S v i ) + 1 = ℓ − v + ∣ L ∣ \prod_{S\in L}\ell^{-\left(\sum_{i\in S}v_i\right)+1}=\ell^{-v+|L|} ∏ S ∈ L ℓ − ( ∑ i ∈ S v i ) + 1 = ℓ − v + ∣ L ∣ . By the partition inclusion–exclusion formula used in [2 Lemma 3] , we therefore have
W F ( M , ℓ ) = ∑ L ℓ − v + ∣ L ∣ f L ′ ( M , ℓ ) . (39) W_F(M,\ell)=\sum_L\ell^{-v+|L|}f'_L(M,\ell). \tag*{(39)} W F ( M , ℓ ) = L ∑ ℓ − v + ∣ L ∣ f L ′ ( M , ℓ ) . (39)
We now track the powers of ℓ \ell ℓ in each summand. From the definition of R d R_d R d ,
R d ( M , ℓ ) = ℓ d R d ′ ( M , ℓ ) , R d ′ ( M , ℓ ) : = ∏ a = 1 d 1 M − ( 2 a − 1 ) ℓ . (40) R_d(M,\ell)=\ell^dR'_d(M,\ell),\qquad R'_d(M,\ell):=\prod_{a=1}^{d}\frac{1}{M-(2a-1)\ell}. \tag*{(40)} R d ( M , ℓ ) = ℓ d R d ′ ( M , ℓ ) , R d ′ ( M , ℓ ) := a = 1 ∏ d M − ( 2 a − 1 ) ℓ 1 . (40)
Since F F F contains e e e prescribed colored edges in total, every f L ( M , ℓ ) f_L(M,\ell) f L ( M , ℓ ) , and hence every f L ′ ( M , ℓ ) f'_L(M,\ell) f L ′ ( M , ℓ ) , contains the explicit factor ℓ e \ell^e ℓ e .
More precisely, let us define f ~ L \widetilde{f}_L f L and f ~ L ′ \widetilde{f}'_L f L ′ by replacing every R d R_d R d in Eq. (A.2)–Eq. (A.3) by R d ′ R'_d R d ′ . Then f L ( M , ℓ ) = ℓ e f ~ L ( M , ℓ ) f_L(M,\ell)=\ell^e\widetilde{f}_L(M,\ell) f L ( M , ℓ ) = ℓ e f L ( M , ℓ ) and consequently
f L ′ ( M , ℓ ) = ℓ e f ~ L ′ ( M , ℓ ) . (41) f'_L(M,\ell)=\ell^e\widetilde{f}'_L(M,\ell). \tag*{(41)} f L ′ ( M , ℓ ) = ℓ e f L ′ ( M , ℓ ) . (41)
We now use the divisibility statement proved in [2 Proposition 6] . More precisely, the proof of that proposition shows that, after the explicit factors ℓ d \ell^d ℓ d have been removed from the terms R d R_d R d , the numerator of f ~ L ′ ( M , ℓ ) \widetilde{f}'_L(M,\ell) f L ′ ( M , ℓ ) , when written over a denominator consisting only of factors of the form M − ( 2 a − 1 ) ℓ M-(2a-1)\ell M − ( 2 a − 1 ) ℓ , is divisible by ℓ c − ∣ L ∣ \ell^{c-|L|} ℓ c − ∣ L ∣ . Therefore there exist polynomials G L ( M , ℓ ) G_L(M,\ell) G L ( M , ℓ ) and denominators Q L ( M , ℓ ) Q_L(M,\ell) Q L ( M , ℓ ) , where Q L Q_L Q L is a product of factors M − ( 2 a − 1 ) ℓ M-(2a-1)\ell M − ( 2 a − 1 ) ℓ , such that
f ~ L ′ ( M , ℓ ) = ℓ c − ∣ L ∣ G L ( M , ℓ ) Q L ( M , ℓ ) . \widetilde{f}'_L(M,\ell)=\frac{\ell^{c-|L|}G_L(M,\ell)}{Q_L(M,\ell)}. f L ′ ( M , ℓ ) = Q L ( M , ℓ ) ℓ c − ∣ L ∣ G L ( M , ℓ ) .
Using Eq. (A.6), we obtain
f L ′ ( M , ℓ ) = ℓ e + c − ∣ L ∣ G L ( M , ℓ ) Q L ( M , ℓ ) . (42) f'_L(M,\ell)=\frac{\ell^{e+c-|L|}G_L(M,\ell)}{Q_L(M,\ell)}. \tag*{(42)} f L ′ ( M , ℓ ) = Q L ( M , ℓ ) ℓ e + c − ∣ L ∣ G L ( M , ℓ ) . (42)
Substituting Eq. (A.7) into the L L L -summand of Eq. (A.4) gives
ℓ − v + ∣ L ∣ f L ′ ( M , ℓ ) = ℓ − v + ∣ L ∣ ℓ e + c − ∣ L ∣ G L ( M , ℓ ) Q L ( M , ℓ ) . (43) \ell^{-v+|L|}f'_L(M,\ell)=\frac{\ell^{-v+|L|}\ell^{e+c-|L|}G_L(M,\ell)}{Q_L(M,\ell)}. \tag*{(43)} ℓ − v + ∣ L ∣ f L ′ ( M , ℓ ) = Q L ( M , ℓ ) ℓ − v + ∣ L ∣ ℓ e + c − ∣ L ∣ G L ( M , ℓ ) . (43)
The dependence on ∣ L ∣ |L| ∣ L ∣ cancels: − v + ∣ L ∣ + e + c − ∣ L ∣ = e − v + c -v+|L|+e+c-|L|=e-v+c − v + ∣ L ∣ + e + c − ∣ L ∣ = e − v + c . Hence,
ℓ − v + ∣ L ∣ f L ′ ( M , ℓ ) = ℓ e − v + c G L ( M , ℓ ) Q L ( M , ℓ ) . (44) \ell^{-v+|L|}f'_L(M,\ell)=\frac{\ell^{e-v+c}G_L(M,\ell)}{Q_L(M,\ell)}. \tag*{(44)} ℓ − v + ∣ L ∣ f L ′ ( M , ℓ ) = Q L ( M , ℓ ) ℓ e − v + c G L ( M , ℓ ) . (44)
Thus every term in the sum Eq. (A.4) has a numerator divisible by ℓ e − v + c \ell^{e-v+c} ℓ e − v + c . By Theorem 2.11, all the denominators Q L ( M , ℓ ) Q_L(M,\ell) Q L ( M , ℓ ) divide the common denominator
D q ( M , ℓ ) = ∏ a = 1 2 q ( M − ( 2 a − 1 ) ℓ ) ⌊ 2 q / a ⌋ . D_q(M,\ell)=\prod_{a=1}^{2q}\left(M-(2a-1)\ell\right)^{\lfloor2q/a\rfloor}. D q ( M , ℓ ) = a = 1 ∏ 2 q ( M − ( 2 a − 1 ) ℓ ) ⌊ 2 q / a ⌋ .
Putting all terms in Eq. (A.4) over this common denominator therefore gives a polynomial B F ( M , ℓ ) B_F(M,\ell) B F ( M , ℓ ) such that
W F ( M , ℓ ) = ℓ e − v + c B F ( M , ℓ ) D q ( M , ℓ ) . W_F(M,\ell)=\frac{\ell^{e-v+c}B_F(M,\ell)}{D_q(M,\ell)}. W F ( M , ℓ ) = D q ( M , ℓ ) ℓ e − v + c B F ( M , ℓ ) .
Moreover, by the degree bound in Theorem 2.11, the numerator has degree O ( q log q ) O(q\log q) O ( q log q ) , and therefore deg B F = O ( q log q ) \deg B_F=O(q\log q) deg B F = O ( q log q ) .
Finally, since β ( F ) = e − v + c \beta(F)=e-v+c β ( F ) = e − v + c , we conclude that
W F ( M , ℓ ) = ℓ β ( F ) B F ( M , ℓ ) D q ( M , ℓ ) . W_F(M,\ell)=\frac{\ell^{\beta(F)}B_F(M,\ell)}{D_q(M,\ell)}. W F ( M , ℓ ) = D q ( M , ℓ ) ℓ β ( F ) B F ( M , ℓ ) .
Proposition A.3. There is a polynomial H ( M , ℓ ) H(M,\ell) H ( M , ℓ ) of degree O ( q log q ) O(q\log q) O ( q log q ) such that the difference between the formal acceptance probabilities in the yes and no cases can be written as
Δ f o r m ( M , ℓ ) = ℓ H ( M , ℓ ) D q ( M , ℓ ) . (45) \Delta^{\mathrm{form}}(M,\ell)=\frac{\ell H(M,\ell)}{D_q(M,\ell)}. \tag*{(45)} Δ form ( M , ℓ ) = D q ( M , ℓ ) ℓ H ( M , ℓ ) . (45)
Proof. By Lemma 2.9, the acceptance probability of the q q q -query quantum algorithm can be written, after putting the response indicators in canonical multilinear form, as a real polynomial
P ( X ) = ∑ μ α μ m μ ( X ) P(X)=\sum_{\mu}\alpha_\mu m_\mu(X) P ( X ) = μ ∑ α μ m μ ( X )
of degree at most 2 q 2q 2 q , where each m μ m_\mu m μ is a canonical monomial in the oracle-response indicators. For σ ∈ { y e s , n o } \sigma\in\{\mathrm{yes},\mathrm{no}\} σ ∈ { yes , no } , let
p σ f o r m ( M , ℓ ) : = E σ , M , ℓ f o r m [ P ( X ) ] p^{\mathrm{form}}_{\sigma}(M,\ell):=\mathbb{E}^{\mathrm{form}}_{\sigma,M,\ell}[P(X)] p σ form ( M , ℓ ) := E σ , M , ℓ form [ P ( X )]
denote the formal average acceptance probability. Hence
Δ f o r m ( M , ℓ ) = p y e s f o r m ( M , ℓ ) − p n o f o r m ( M , ℓ ) \Delta^{\mathrm{form}}(M,\ell)=p^{\mathrm{form}}_{\mathrm{yes}}(M,\ell)-p^{\mathrm{form}}_{\mathrm{no}}(M,\ell) Δ form ( M , ℓ ) = p yes form ( M , ℓ ) − p no form ( M , ℓ )
satisfies
Δ f o r m ( M , ℓ ) = ∑ μ α μ ( E y e s , M , ℓ f o r m [ m μ ] − E n o , M , ℓ f o r m [ m μ ] ) . (46) \Delta^{\mathrm{form}}(M,\ell)=\sum_{\mu}\alpha_\mu\left(\mathbb{E}^{\mathrm{form}}_{\mathrm{yes},M,\ell}[m_\mu]-\mathbb{E}^{\mathrm{form}}_{\mathrm{no},M,\ell}[m_\mu]\right). \tag*{(46)} Δ form ( M , ℓ ) = μ ∑ α μ ( E yes , M , ℓ form [ m μ ] − E no , M , ℓ form [ m μ ] ) . (46)
We analyze each monomial separately.
If m μ m_\mu m μ is infeasible, then its expectation is zero under both formal distributions, so it contributes nothing to Eq. (A.10). We may therefore restrict attention to feasible monomials.
Fix such a monomial m μ m_\mu m μ . By the canonical form described after Lemma 2.9, m μ m_\mu m μ determines a consistent colored multigraph pattern F μ F_\mu F μ , together with a prescribed sign on each of its distinct edges. Write v μ : = v ( F μ ) v_\mu:=v(F_\mu) v μ := v ( F μ ) , e μ : = e ( F μ ) e_\mu:=e(F_\mu) e μ := e ( F μ ) , c μ : = c ( F μ ) c_\mu:=c(F_\mu) c μ := c ( F μ ) , and β μ : = β ( F μ ) = e μ − v μ + c μ \beta_\mu:=\beta(F_\mu)=e_\mu-v_\mu+c_\mu β μ := β ( F μ ) = e μ − v μ + c μ .
Let W F μ ( M , ℓ ) W_{F_\mu}(M,\ell) W F μ ( M , ℓ ) be the formal topology moment from Definition 3.7; that is, the probability that all the colored edges prescribed by F μ F_\mu F μ occur, ignoring their signs.
Conditional on this topology, the YES and NO distributions differ only in the probability of the prescribed sign pattern. Define
s μ n o : = Pr n o [ the prescribed signs on F μ ] and s μ y e s : = Pr y e s [ the prescribed signs on F μ ] . s_\mu^{\mathrm{no}}:=\Pr_{\mathrm{no}}[\text{the prescribed signs on }F_\mu]\quad\text{and}\quad s_\mu^{\mathrm{yes}}:=\Pr_{\mathrm{yes}}[\text{the prescribed signs on }F_\mu]. s μ no := no Pr [ the prescribed signs on F μ ] and s μ yes := yes Pr [ the prescribed signs on F μ ] .
These quantities depend only on the fixed signed pattern F μ F_\mu F μ , and not on M M M or ℓ \ell ℓ . Therefore
E n o , M , ℓ f o r m [ m μ ] = W F μ ( M , ℓ ) s μ n o and E y e s , M , ℓ f o r m [ m μ ] = W F μ ( M , ℓ ) s μ y e s . \mathbb{E}^{\mathrm{form}}_{\mathrm{no},M,\ell}[m_\mu]=W_{F_\mu}(M,\ell)s_\mu^{\mathrm{no}}\quad\text{and}\quad\mathbb{E}^{\mathrm{form}}_{\mathrm{yes},M,\ell}[m_\mu]=W_{F_\mu}(M,\ell)s_\mu^{\mathrm{yes}}. E no , M , ℓ form [ m μ ] = W F μ ( M , ℓ ) s μ no and E yes , M , ℓ form [ m μ ] = W F μ ( M , ℓ ) s μ yes .
Consequently,
E y e s , M , ℓ f o r m [ m μ ] − E n o , M , ℓ f o r m [ m μ ] = δ μ W F μ ( M , ℓ ) , (47) \mathbb{E}^{\mathrm{form}}_{\mathrm{yes},M,\ell}[m_\mu]-\mathbb{E}^{\mathrm{form}}_{\mathrm{no},M,\ell}[m_\mu]=\delta_\mu W_{F_\mu}(M,\ell), \tag*{(47)} E yes , M , ℓ form [ m μ ] − E no , M , ℓ form [ m μ ] = δ μ W F μ ( M , ℓ ) , (47)
where δ μ : = s μ y e s − s μ n o \delta_\mu:=s_\mu^{\mathrm{yes}}-s_\mu^{\mathrm{no}} δ μ := s μ yes − s μ no .
We now distinguish two cases. First suppose that F μ F_\mu F μ is a forest. By Lemma 3.5, for every prescribed signing of a forest the yes and no sign probabilities are equal. Hence s μ y e s = s μ n o s_\mu^{\mathrm{yes}}=s_\mu^{\mathrm{no}} s μ yes = s μ no , so δ μ = 0 \delta_\mu=0 δ μ = 0 . Thus every forest monomial contributes exactly zero to Δ f o r m ( M , ℓ ) \Delta^{\mathrm{form}}(M,\ell) Δ form ( M , ℓ ) .
Now suppose that F μ F_\mu F μ is not a forest. Then β μ = β ( F μ ) ≥ 1 \beta_\mu=\beta(F_\mu)\ge1 β μ = β ( F μ ) ≥ 1 . By Theorem 3.8, there exists a polynomial B F μ ( M , ℓ ) B_{F_\mu}(M,\ell) B F μ ( M , ℓ ) of degree O ( q log q ) O(q\log q) O ( q log q ) such that
W F μ ( M , ℓ ) = ℓ β μ B F μ ( M , ℓ ) D q ( M , ℓ ) . (48) W_{F_\mu}(M,\ell)=\frac{\ell^{\beta_\mu}B_{F_\mu}(M,\ell)}{D_q(M,\ell)}. \tag*{(48)} W F μ ( M , ℓ ) = D q ( M , ℓ ) ℓ β μ B F μ ( M , ℓ ) . (48)
Combining Eq. (A.11) and Eq. (A.12), the contribution of m μ m_\mu m μ to the formal acceptance gap is
α μ δ μ W F μ ( M , ℓ ) = α μ δ μ ℓ β μ B F μ ( M , ℓ ) D q ( M , ℓ ) . \alpha_\mu\delta_\mu W_{F_\mu}(M,\ell)=\frac{\alpha_\mu\delta_\mu\ell^{\beta_\mu}B_{F_\mu}(M,\ell)}{D_q(M,\ell)}. α μ δ μ W F μ ( M , ℓ ) = D q ( M , ℓ ) α μ δ μ ℓ β μ B F μ ( M , ℓ ) .
Since β μ ≥ 1 \beta_\mu\ge1 β μ ≥ 1 , we may factor one power of ℓ \ell ℓ :
α μ δ μ W F μ ( M , ℓ ) = ℓ D q ( M , ℓ ) ( α μ δ μ ℓ β μ − 1 B F μ ( M , ℓ ) ) . (49) \alpha_\mu\delta_\mu W_{F_\mu}(M,\ell)=\frac{\ell}{D_q(M,\ell)}\left(\alpha_\mu\delta_\mu\ell^{\beta_\mu-1}B_{F_\mu}(M,\ell)\right). \tag*{(49)} α μ δ μ W F μ ( M , ℓ ) = D q ( M , ℓ ) ℓ ( α μ δ μ ℓ β μ − 1 B F μ ( M , ℓ ) ) . (49)
Since all forest monomials vanish, summing Eq. (A.13) over the feasible nonforest monomials gives
Δ f o r m ( M , ℓ ) = ℓ D q ( M , ℓ ) ∑ μ : m μ f e a s i b l e F μ n o t a f o r e s t α μ δ μ ℓ β μ − 1 B F μ ( M , ℓ ) . \Delta^{\mathrm{form}}(M,\ell)=\frac{\ell}{D_q(M,\ell)}
\sum_{\substack{\mu:m_\mu\ \mathrm{feasible}\\F_\mu\ \mathrm{not\ a\ forest}}}
\alpha_\mu\delta_\mu\ell^{\beta_\mu-1}B_{F_\mu}(M,\ell). Δ form ( M , ℓ ) = D q ( M , ℓ ) ℓ μ : m μ feasible F μ not a forest ∑ α μ δ μ ℓ β μ − 1 B F μ ( M , ℓ ) .
Let us define
H ( M , ℓ ) : = ∑ μ : m μ f e a s i b l e F μ n o t a f o r e s t α μ δ μ ℓ β μ − 1 B F μ ( M , ℓ ) . (50) H(M,\ell):=
\sum_{\substack{\mu:m_\mu\ \mathrm{feasible}\\F_\mu\ \mathrm{not\ a\ forest}}}
\alpha_\mu\delta_\mu\ell^{\beta_\mu-1}B_{F_\mu}(M,\ell). \tag*{(50)} H ( M , ℓ ) := μ : m μ feasible F μ not a forest ∑ α μ δ μ ℓ β μ − 1 B F μ ( M , ℓ ) . (50)
Then H ( M , ℓ ) H(M,\ell) H ( M , ℓ ) is a polynomial and
Δ f o r m ( M , ℓ ) = ℓ H ( M , ℓ ) D q ( M , ℓ ) . \Delta^{\mathrm{form}}(M,\ell)=\frac{\ell H(M,\ell)}{D_q(M,\ell)}. Δ form ( M , ℓ ) = D q ( M , ℓ ) ℓ H ( M , ℓ ) .
It remains only to verify the degree bound. Since F μ F_\mu F μ arises from a monomial of degree at most 2 q 2q 2 q , it has at most 2 q 2q 2 q distinct prescribed edges, and therefore β μ ≤ e μ ≤ 2 q \beta_\mu\le e_\mu\le2q β μ ≤ e μ ≤ 2 q . Moreover, Theorem 3.8 gives deg B F μ = O ( q log q ) \deg B_{F_\mu}=O(q\log q) deg B F μ = O ( q log q ) . Hence every summand in Eq. (A.14) has degree at most
( β μ − 1 ) + deg B F μ ≤ 2 q + O ( q log q ) = O ( q log q ) . (\beta_\mu-1)+\deg B_{F_\mu}\le2q+O(q\log q)=O(q\log q). ( β μ − 1 ) + deg B F μ ≤ 2 q + O ( q log q ) = O ( q log q ) .
Taking a finite sum does not increase the maximum degree, so deg H = O ( q log q ) \deg H=O(q\log q) deg H = O ( q log q ) . This proves the proposition.
Proof of lem:actual-formal
Lemma A.4. There is an absolute constant C 1 > 0 C_1>0 C 1 > 0 such that, uniformly on G N \mathcal{G}_N G N and for σ ∈ { y e s , n o } \sigma\in\{\mathrm{yes},\mathrm{no}\} σ ∈ { yes , no } ,
∣ p σ f e a s ( M , ℓ ) − p σ f o r m ( M , ℓ ) ∣ ≤ exp ( C 1 q log N − c 1 N 1 / 3 ) \left|p^{\mathrm{feas}}_\sigma(M,\ell)-p^{\mathrm{form}}_\sigma(M,\ell)\right|
\le\exp(C_1q\log N-c_1N^{1/3}) p σ feas ( M , ℓ ) − p σ form ( M , ℓ ) ≤ exp ( C 1 q log N − c 1 N 1/3 )
whenever q = O ( N 1 / 3 / log N ) q=O(N^{1/3}/\log N) q = O ( N 1/3 / log N ) . Consequently,
Δ ( M , ℓ ) = Δ f o r m ( M , ℓ ) + η ( M , ℓ ) , ∣ η ( M , ℓ ) ∣ ≤ 2 exp ( C 1 q log N − c 1 N 1 / 3 ) . \Delta(M,\ell)=\Delta^{\mathrm{form}}(M,\ell)+\eta(M,\ell),
\qquad
|\eta(M,\ell)|\le2\exp(C_1q\log N-c_1N^{1/3}). Δ ( M , ℓ ) = Δ form ( M , ℓ ) + η ( M , ℓ ) , ∣ η ( M , ℓ ) ∣ ≤ 2 exp ( C 1 q log N − c 1 N 1/3 ) .
In particular, if q ≤ c 0 N 1 / 3 / log N q\le c_0N^{1/3}/\log N q ≤ c 0 N 1/3 / log N for a sufficiently small constant c 0 c_0 c 0 , then η = o ( 1 ) \eta=o(1) η = o ( 1 ) holds for every parameter pair in G N \mathcal{G}_N G N .
Proof. Let P ( X ) = ∑ μ a μ m μ ( X ) P(X)=\sum_\mu a_\mu m_\mu(X) P ( X ) = ∑ μ a μ m μ ( X ) be the canonical acceptance polynomial of the q q q -query algorithm. By Lemma 2.10 , for some absolute constant C > 0 C>0 C > 0 , ∑ μ ∣ a μ ∣ ≤ exp ( C q log N ) \sum_\mu|a_\mu|\le\exp(Cq\log N) ∑ μ ∣ a μ ∣ ≤ exp ( C q log N ) . Let us fix σ ∈ { y e s , n o } \sigma\in\{\mathrm{yes},\mathrm{no}\} σ ∈ { yes , no } . Note that when no overflow event happens, the formal and feasible distributions are similar, so we can couple them in a natural way. Hence, for every canonical monomial m μ m_\mu m μ ,
∣ E σ f e a s [ m μ ] − E σ f o r m [ m μ ] ∣ ≤ Pr [ o v e r f l o w ] . \left|\mathbb{E}^{\mathrm{feas}}_\sigma[m_\mu]-\mathbb{E}^{\mathrm{form}}_\sigma[m_\mu]\right|\le\Pr[\mathrm{overflow}]. E σ feas [ m μ ] − E σ form [ m μ ] ≤ Pr [ overflow ] .
From Theorem 3.11, we know that for every ( M , ℓ ) ∈ G N (M,\ell) \in G_N ( M , ℓ ) ∈ G N , Pr [ o v e r f l o w ] ≤ exp ( − c N 1 / 3 ) \Pr[\mathrm{overflow}] \le\exp(-cN^{1/3}) Pr [ overflow ] ≤ exp ( − c N 1/3 ) for some absolute constant c > 0 c > 0 c > 0 . Therefore
∣ p σ f e a s ( M , ℓ ) − p σ f o r m ( M , ℓ ) ∣ ≤ ∑ μ ∣ a μ ∣ ∣ E σ f e a s [ m μ ] − E σ f o r m [ m μ ] ∣ ≤ exp ( C q log N − c N 1 / 3 ) . \left|p^{\mathrm{feas}}_{\sigma}(M,\ell)-p^{\mathrm{form}}_{\sigma}(M,\ell)\right|
\le\sum_{\mu}|a_\mu|\left|\mathbb{E}^{\mathrm{feas}}_{\sigma}[m_\mu]-\mathbb{E}^{\mathrm{form}}_{\sigma}[m_\mu]\right|
\le\exp(Cq\log N-cN^{1/3}). p σ feas ( M , ℓ ) − p σ form ( M , ℓ ) ≤ μ ∑ ∣ a μ ∣ E σ feas [ m μ ] − E σ form [ m μ ] ≤ exp ( C q log N − c N 1/3 ) .
Now we set
η ( M , ℓ ) : = Δ ( M , ℓ ) − Δ f o r m ( M , ℓ ) . \eta(M,\ell):=\Delta(M,\ell)-\Delta^{\mathrm{form}}(M,\ell). η ( M , ℓ ) := Δ ( M , ℓ ) − Δ form ( M , ℓ ) .
Since Δ = p y e s f e a s − p n o f e a s \Delta=p^{\mathrm{feas}}_{\mathrm{yes}}-p^{\mathrm{feas}}_{\mathrm{no}} Δ = p yes feas − p no feas and Δ f o r m = p y e s f o r m − p n o f o r m \Delta^{\mathrm{form}}=p^{\mathrm{form}}_{\mathrm{yes}}-p^{\mathrm{form}}_{\mathrm{no}} Δ form = p yes form − p no form , using the triangle inequality, we have
∣ η ( M , ℓ ) ∣ ≤ 2 exp ( C q log N − c N 1 / 3 ) . |\eta(M,\ell)|\le2\exp(Cq\log N-cN^{1/3}). ∣ η ( M , ℓ ) ∣ ≤ 2 exp ( C q log N − c N 1/3 ) .
Finally, if q ≤ c 0 N 1 / 3 log N q\le c_0\frac{N^{1/3}}{\log N} q ≤ c 0 l o g N N 1/3 for a sufficiently small absolute constant c 0 > 0 c_0>0 c 0 > 0 , then
C q log N − c N 1 / 3 ≤ − ( c − C c 0 ) N 1 / 3 = − Ω ( N 1 / 3 ) , Cq\log N-cN^{1/3}\le-(c-Cc_0)N^{1/3}=-\Omega(N^{1/3}), C q log N − c N 1/3 ≤ − ( c − C c 0 ) N 1/3 = − Ω ( N 1/3 ) ,
and hence η ( M , ℓ ) = o ( 1 ) \eta(M,\ell)=o(1) η ( M , ℓ ) = o ( 1 ) holds for every parameter pair in G N G_N G N .
Proof of lem:reciprocal
Lemma A.5. Let z 1 ( M , ℓ ) , … , z d ( M , ℓ ) z_1(M,\ell),\ldots,z_d(M,\ell) z 1 ( M , ℓ ) , … , z d ( M , ℓ ) be affine functions of real variables and suppose that ∣ z i ∣ ≤ 1 4 |z_i|\le\frac{1}{4} ∣ z i ∣ ≤ 4 1 for every i ∈ [ d ] i\in[d] i ∈ [ d ] throughout a region R \mathcal{R} R . Assume that we can write
D q ( M , ℓ ) = C ∏ i = 1 d ( 1 − z i ( M , ℓ ) ) , C > 0. D_q(M,\ell)=C\prod_{i=1}^{d}(1-z_i(M,\ell)),\qquad C>0. D q ( M , ℓ ) = C i = 1 ∏ d ( 1 − z i ( M , ℓ )) , C > 0. Then there is a polynomial A q ( M , ℓ ) A_q(M,\ell) A q ( M , ℓ ) of degree at most 4 d + 10 4d+10 4 d + 10 such that ∣ D q ( M , ℓ ) A q ( M , ℓ ) − 1 ∣ ≤ 10 − 2 |D_q(M,\ell)A_q(M,\ell)-1|\le10^{-2} ∣ D q ( M , ℓ ) A q ( M , ℓ ) − 1∣ ≤ 1 0 − 2 throughout R \mathcal{R} R .
Proof. For simplicity, in the proof we will abbreviate the functions’ notations and only write D D D , A A A , z i z_i z i .
For each i ∈ [ d ] i\in[d] i ∈ [ d ] , the assumption ∣ z i ∣ ≤ 1 / 4 < 1 |z_i|\le1/4<1 ∣ z i ∣ ≤ 1/4 < 1 allows us to use the geometric-series identity
1 1 − z i = ∑ k i = 0 ∞ z i k i . (51) \frac{1}{1-z_i}=\sum_{k_i=0}^{\infty}z_i^{k_i}. \tag*{(51)} 1 − z i 1 = k i = 0 ∑ ∞ z i k i . (51)
This series is absolutely convergent, since ∑ k i = 0 ∞ ∣ z i ∣ k i = 1 1 − ∣ z i ∣ ≤ 4 3 \sum_{k_i=0}^{\infty}|z_i|^{k_i}=\frac{1}{1-|z_i|}\le\frac{4}{3} ∑ k i = 0 ∞ ∣ z i ∣ k i = 1 − ∣ z i ∣ 1 ≤ 3 4 . Consequently, the product of the d d d series is also absolutely convergent. More explicitly,
∑ k 1 , … , k d ≥ 0 ∣ z 1 k 1 ⋯ z d k d ∣ = ∏ i = 1 d ( ∑ k i = 0 ∞ ∣ z i ∣ k i ) ≤ ( 4 3 ) d < ∞ . \sum_{k_1,\ldots,k_d\ge0}|z_1^{k_1}\cdots z_d^{k_d}|=\prod_{i=1}^{d}\left(\sum_{k_i=0}^{\infty}|z_i|^{k_i}\right)\le\left(\frac{4}{3}\right)^d<\infty. k 1 , … , k d ≥ 0 ∑ ∣ z 1 k 1 ⋯ z d k d ∣ = i = 1 ∏ d ( k i = 0 ∑ ∞ ∣ z i ∣ k i ) ≤ ( 3 4 ) d < ∞.
Absolute convergence permits us to multiply the series in Eq. (A.15) and regroup the resulting monomials according to their total degree. Hence
∏ i = 1 d ( 1 − z i ) − 1 = ∑ k 1 , … , k d ≥ 0 z 1 k 1 ⋯ z d k d = ∑ j = 0 ∞ S j ( z 1 , … , z d ) , (52) \prod_{i=1}^{d}(1-z_i)^{-1}
=\sum_{k_1,\ldots,k_d\ge0}z_1^{k_1}\cdots z_d^{k_d}
=\sum_{j=0}^{\infty}S_j(z_1,\ldots,z_d), \tag*{(52)} i = 1 ∏ d ( 1 − z i ) − 1 = k 1 , … , k d ≥ 0 ∑ z 1 k 1 ⋯ z d k d = j = 0 ∑ ∞ S j ( z 1 , … , z d ) , (52)
where
S j ( z 1 , … , z d ) : = ∑ k 1 , … , k d ≥ 0 k 1 + ⋯ + k d = j z 1 k 1 ⋯ z d k d . (53) S_j(z_1,\ldots,z_d):=\sum_{\substack{k_1,\ldots,k_d\geq0\\k_1+\cdots+k_d=j}}z_1^{k_1}\cdots z_d^{k_d}. \tag*{(53)} S j ( z 1 , … , z d ) := k 1 , … , k d ≥ 0 k 1 + ⋯ + k d = j ∑ z 1 k 1 ⋯ z d k d . (53)
Thus S j S_j S j is the sum of all monomials of total degree j j j in the auxiliary variables z 1 , … , z d z_1,\ldots,z_d z 1 , … , z d . Since each z i z_i z i is affine in the original variables, S j S_j S j has degree at most j j j in those variables.
While considering the polynomial D D D , we will consider d = d q d=d_q d = d q and enumerate the index set I q \mathcal{I}_q I q (Eq. (16) ) in any order. The polynomial in Eq. (19) can be represented as
S q , j ( M , ℓ ) = S j ( ( z i ( M , ℓ ) ) i ∈ I q ) . S_{q,j}(M,\ell)=S_j\left((z_i(M,\ell))_{i\in\mathcal{I}_q}\right). S q , j ( M , ℓ ) = S j ( ( z i ( M , ℓ ) ) i ∈ I q ) .
Since S j S_j S j is symmetric, it is invariant under the ordering. Note that S q , 0 = 1 S_{q,0}=1 S q , 0 = 1 and deg M , ℓ S q , j ≤ j \deg_{M,\ell}S_{q,j}\leq j deg M , ℓ S q , j ≤ j . We next bound S j S_j S j uniformly on the region R \mathcal{R} R . The number of nonnegative integer solutions of k 1 + ⋯ + k d = j k_1+\cdots+k_d=j k 1 + ⋯ + k d = j is ( d + j − 1 j ) \binom{d+j-1}{j} ( j d + j − 1 ) . Moreover, every monomial in Eq. (A.17) satisfies ∣ z 1 k 1 ⋯ z d k d ∣ ≤ ( 1 4 ) k 1 + ⋯ + k d = 4 − j \left|z_1^{k_1}\cdots z_d^{k_d}\right|\leq\left(\frac{1}{4}\right)^{k_1+\cdots+k_d}=4^{-j} z 1 k 1 ⋯ z d k d ≤ ( 4 1 ) k 1 + ⋯ + k d = 4 − j . Therefore, by the triangle inequality, we can say that
∣ S j ∣ ≤ ( d + j − 1 j ) 4 − j . (54) |S_j|\leq\binom{d+j-1}{j}4^{-j}. \tag*{(54)} ∣ S j ∣ ≤ ( j d + j − 1 ) 4 − j . (54)
Using the elementary estimate ( d + j − 1 j ) ≤ 2 d + j − 1 \binom{d+j-1}{j}\leq2^{d+j-1} ( j d + j − 1 ) ≤ 2 d + j − 1 , we obtain
∣ S j ∣ ≤ 2 d + j − 1 4 − j = 2 d − j − 1 . (55) |S_j|\leq2^{d+j-1}4^{-j}=2^{d-j-1}. \tag*{(55)} ∣ S j ∣ ≤ 2 d + j − 1 4 − j = 2 d − j − 1 . (55)
Let us now set J : = 4 d + 10 J:=4d+10 J := 4 d + 10 and consider the truncated polynomial
A : = 1 C ∑ j = 0 J S j . (56) A:=\frac{1}{C}\sum_{j=0}^{J}S_j. \tag*{(56)} A := C 1 j = 0 ∑ J S j . (56)
Because deg S j ≤ j \deg S_j\leq j deg S j ≤ j , we have deg A ≤ J = 4 d + 10 \deg A\leq J=4d+10 deg A ≤ J = 4 d + 10 .
It remains to bound the approximation error. By Eq. (A.16) and Eq. (A.19), we can say that
∣ ∏ i = 1 d ( 1 − z i ) − 1 − ∑ j = 0 J S j ∣ ≤ ∑ j > J ∣ S j ∣ ≤ ∑ j > J 2 d − j − 1 = 2 d − J − 1 . (57) \left|\prod_{i=1}^{d}(1-z_i)^{-1}-\sum_{j=0}^{J}S_j\right|\leq\sum_{j>J}|S_j|\leq\sum_{j>J}2^{d-j-1}=2^{d-J-1}. \tag*{(57)} i = 1 ∏ d ( 1 − z i ) − 1 − j = 0 ∑ J S j ≤ j > J ∑ ∣ S j ∣ ≤ j > J ∑ 2 d − j − 1 = 2 d − J − 1 . (57)
We now convert the additive approximation in Eq. (A.21) into the desired relative approximation. From ∣ z i ∣ ≤ 1 / 4 |z_i|\leq1/4 ∣ z i ∣ ≤ 1/4 , ∣ 1 − z i ∣ ≤ 1 + ∣ z i ∣ ≤ 5 4 |1-z_i|\leq1+|z_i|\leq\frac{5}{4} ∣1 − z i ∣ ≤ 1 + ∣ z i ∣ ≤ 4 5 , and hence we have
∏ i = 1 d ∣ 1 − z i ∣ ≤ ( 5 4 ) d . (58) \prod_{i=1}^{d}|1-z_i|\leq\left(\frac{5}{4}\right)^d. \tag*{(58)} i = 1 ∏ d ∣1 − z i ∣ ≤ ( 4 5 ) d . (58)
Using the fact that D = C ∏ i = 1 d ( 1 − z i ) D=C\prod_{i=1}^{d}(1-z_i) D = C ∏ i = 1 d ( 1 − z i ) and the definition of A A A , we have
D A − 1 = ∏ i = 1 d ( 1 − z i ) ( ∑ j = 0 J S j − ∏ i = 1 d ( 1 − z i ) − 1 ) . DA-1=\prod_{i=1}^{d}(1-z_i)\left(\sum_{j=0}^{J}S_j-\prod_{i=1}^{d}(1-z_i)^{-1}\right). D A − 1 = i = 1 ∏ d ( 1 − z i ) ( j = 0 ∑ J S j − i = 1 ∏ d ( 1 − z i ) − 1 ) .
Therefore, by Eq. (A.21) and Eq. (A.22), we have:
∣ D A − 1 ∣ ≤ ( 5 4 ) d 2 d − J − 1 = 2 − J − 1 ( 5 2 ) d . |DA-1|\leq\left(\frac{5}{4}\right)^d2^{d-J-1}=2^{-J-1}\left(\frac{5}{2}\right)^d. ∣ D A − 1∣ ≤ ( 4 5 ) d 2 d − J − 1 = 2 − J − 1 ( 2 5 ) d .
Substituting J = 4 d + 10 J = 4d + 10 J = 4 d + 10 gives us 2 − J − 1 ( 5 2 ) d = 2 − 4 d − 11 ( 5 2 ) d ≤ 10 − 2 2^{-J-1}\left(\frac{5}{2}\right)^d = 2^{-4d-11}\left(\frac{5}{2}\right)^d \le10^{-2} 2 − J − 1 ( 2 5 ) d = 2 − 4 d − 11 ( 2 5 ) d ≤ 1 0 − 2 . Thus ∣ D A − 1 ∣ ≤ 10 − 2 |DA - 1| \le10^{-2} ∣ D A − 1∣ ≤ 1 0 − 2 holds throughout R \mathcal{R} R .
All estimates above use only the assumption that ∣ z i ∣ ≤ 1 / 4 |z_i| \le1/4 ∣ z i ∣ ≤ 1/4 for every i ∈ [ d ] i \in[d] i ∈ [ d ] . Therefore the same polynomial A A A works simultaneously at every point of the region R \mathcal{R} R .
Proof of lem:denominator-approx
Lemma A.6. Suppose q = o ( N 1 / 3 ) q = o\left(N^{1/3}\right) q = o ( N 1/3 ) . Then the polynomial A q ( M , ℓ ) A_q(M,\ell) A q ( M , ℓ ) from (20) satisfies
deg A q ≤ J q = O ( q log q ) and ∣ D q ( M , ℓ ) A q ( M , ℓ ) − 1 ∣ ≤ 10 − 2 (59) \deg A_q \le J_q = O(q \log q) \quad\text{and}\quad|D_q(M,\ell)A_q(M,\ell)-1| \le10^{-2} \tag*{(59)} deg A q ≤ J q = O ( q log q ) and ∣ D q ( M , ℓ ) A q ( M , ℓ ) − 1∣ ≤ 1 0 − 2 (59)
whenever 1 ≤ ℓ ≤ R 1 \le\ell\le R 1 ≤ ℓ ≤ R and ∣ M − M 0 ∣ ≤ R 3 / 2 |M-M_0| \le R^{3/2} ∣ M − M 0 ∣ ≤ R 3/2 .
Proof. Let
I q : = { ( a , r ) : 1 ≤ a ≤ 2 q , 1 ≤ r ≤ ⌊ 2 q / a ⌋ } . (60) \mathcal{I}_q := \{(a,r): 1 \le a \le2q,\ 1 \le r \le\lfloor2q/a \rfloor\}. \tag*{(60)} I q := {( a , r ) : 1 ≤ a ≤ 2 q , 1 ≤ r ≤ ⌊ 2 q / a ⌋} . (60)
Then ∣ I q ∣ = d q |\mathcal{I}_q| = d_q ∣ I q ∣ = d q , like in Eq. (5) . Consider i = ( a , r ) ∈ I q i=(a,r)\in\mathcal{I}_q i = ( a , r ) ∈ I q . Since 1 ≤ a ≤ 2 q 1\le a\le2q 1 ≤ a ≤ 2 q , 1 ≤ ℓ ≤ R 1\le\ell\le R 1 ≤ ℓ ≤ R , and ∣ M − M 0 ∣ ≤ R 3 / 2 |M-M_0|\le R^{3/2} ∣ M − M 0 ∣ ≤ R 3/2 , we have
∣ z i ( M , ℓ ) ∣ = ∣ M 0 − M + ( 2 a − 1 ) ℓ ∣ M 0 ≤ ∣ M − M 0 ∣ + ( 2 a − 1 ) ℓ M 0 ≤ R 3 / 2 + ( 4 q − 1 ) R M 0 . (61) |z_i(M,\ell)|=\frac{|M_0-M+(2a-1)\ell|}{M_0}\le\frac{|M-M_0|+(2a-1)\ell}{M_0}\le\frac{R^{3/2}+(4q-1)R}{M_0}. \tag*{(61)} ∣ z i ( M , ℓ ) ∣ = M 0 ∣ M 0 − M + ( 2 a − 1 ) ℓ ∣ ≤ M 0 ∣ M − M 0 ∣ + ( 2 a − 1 ) ℓ ≤ M 0 R 3/2 + ( 4 q − 1 ) R . (61)
We bound the two terms in the numerator separately. From the definition of R R R , we can say that
R 3 / 2 ≤ ( N 2 / 3 100 ) 3 / 2 = N 1000 . R^{3/2}\le\left(\frac{N^{2/3}}{100}\right)^{3/2}=\frac{N}{1000}. R 3/2 ≤ ( 100 N 2/3 ) 3/2 = 1000 N .
Moreover, M 0 ≥ 11 N 10 M_0\ge\frac{11N}{10} M 0 ≥ 10 11 N . Consequently, we have
R 3 / 2 M 0 ≤ N / 1000 11 N / 10 = 1 1100 . (62) \frac{R^{3/2}}{M_0}\le\frac{N/1000}{11N/10}=\frac{1}{1100}. \tag*{(62)} M 0 R 3/2 ≤ 11 N /10 N /1000 = 1100 1 . (62)
For the second term, we can write
( 4 q − 1 ) R M 0 ≤ 4 q R M 0 ≤ 4 q ( N 2 / 3 / 100 ) 11 N / 10 = 2 55 q N 1 / 3 = o ( 1 ) , (63) \frac{(4q-1)R}{M_0}\le\frac{4qR}{M_0}\le\frac{4q(N^{2/3}/100)}{11N/10}=\frac{2}{55}\frac{q}{N^{1/3}}=o(1), \tag*{(63)} M 0 ( 4 q − 1 ) R ≤ M 0 4 q R ≤ 11 N /10 4 q ( N 2/3 /100 ) = 55 2 N 1/3 q = o ( 1 ) , (63)
where the last equality follows from q = o ( N 1 / 3 ) q=o(N^{1/3}) q = o ( N 1/3 ) .
Combining Eq. (A.24), Eq. (A.25), and Eq. (A.26), we obtain
sup i ∈ I q 1 ≤ ℓ ≤ R ∣ M − M 0 ∣ ≤ R 3 / 2 ∣ z i ( M , ℓ ) ∣ ≤ 1 1100 + o ( 1 ) . \sup_{\substack{i\in\mathcal{I}_q\\1\le\ell\le R\\|M-M_0|\le R^{3/2}}}|z_i(M,\ell)|\le\frac{1}{1100}+o(1). i ∈ I q 1 ≤ ℓ ≤ R ∣ M − M 0 ∣ ≤ R 3/2 sup ∣ z i ( M , ℓ ) ∣ ≤ 1100 1 + o ( 1 ) .
In particular, for all sufficiently large N N N , ∣ z i ( M , ℓ ) ∣ ≤ 1 4 |z_i(M,\ell)|\le\frac14 ∣ z i ( M , ℓ ) ∣ ≤ 4 1 simultaneously for every i ∈ I q i\in\mathcal{I}_q i ∈ I q and every ( M , ℓ ) (M,\ell) ( M , ℓ ) in the stated region.
We may therefore apply Lemma 3.14 with C = M 0 d q C=M_0^{d_q} C = M 0 d q , d = d q d=d_q d = d q , and with the repeated affine functions ( z i ( M , ℓ ) ) i ∈ I q (z_i(M,\ell))_{i\in\mathcal{I}_q} ( z i ( M , ℓ ) ) i ∈ I q . The total-degree truncation constructed in that lemma is precisely
M 0 − d q ∑ j = 0 4 d q + 10 S q , j ( M , ℓ ) , M_0^{-d_q}\sum_{j=0}^{4d_q+10}S_{q,j}(M,\ell), M 0 − d q j = 0 ∑ 4 d q + 10 S q , j ( M , ℓ ) ,
which is the polynomial A q ( M , ℓ ) A_q(M,\ell) A q ( M , ℓ ) defined above. Hence ∣ D q ( M , ℓ ) A q ( M , ℓ ) − 1 ∣ ≤ 10 − 2 |D_q(M,\ell)A_q(M,\ell)-1| \le10^{-2} ∣ D q ( M , ℓ ) A q ( M , ℓ ) − 1∣ ≤ 1 0 − 2 holds throughout the entire region.
It remains to bound the degree. We have d q = ∑ a = 1 2 q ⌈ 2 a q ⌉ ≤ 2 q ∑ a = 1 2 q 1 a ≤ 2 q ( 1 + log 2 q ) d_q=\sum_{a=1}^{2q}\left\lceil\frac{2^a}{q}\right\rceil\le2q\sum_{a=1}^{2q}\frac{1}{a}\le2q(1+\log2q) d q = ∑ a = 1 2 q ⌈ q 2 a ⌉ ≤ 2 q ∑ a = 1 2 q a 1 ≤ 2 q ( 1 + log 2 q ) . Therefore J q = 4 d q + 10 = O ( q log ( q ) ) J_q=4d_q+10=O(q\log(q)) J q = 4 d q + 10 = O ( q log ( q )) . Since every S q , j S_{q,j} S q , j has degree at most j j j in ( M , ℓ ) (M,\ell) ( M , ℓ ) , we have deg A q ≤ J q = O ( q log ( q ) ) \deg A_q\le J_q=O(q\log(q)) deg A q ≤ J q = O ( q log ( q )) . This proves the lemma.
Proof of lem:logdegree-expansion
Lemma A.7. Let H H H be drawn from P M 0 , 1 ( c ) , f e a s P^{(c),\mathrm{feas}}_{M_0,1} P M 0 , 1 ( c ) , feas . With probability 1 − o ( 1 ) 1-o(1) 1 − o ( 1 ) ,
∣ e H ( U , V ( H ) ∖ U ) ∣ ≥ c 20 ∣ U ∣ (64) \lvert e_H(U,V(H)\setminus U)\rvert\ge\frac{c}{20}\lvert U\rvert \tag*{(64)} ∣ e H ( U , V ( H ) ∖ U )∣ ≥ 20 c ∣ U ∣ (64)
holds for every U ⊆ V ( H ) U\subseteq V(H) U ⊆ V ( H ) with ∣ U ∣ ≤ N / 2 \lvert U\rvert\le N/2 ∣ U ∣ ≤ N /2 .
Proof. Let us condition on the positions of the N N N visible vertices among the M 0 M_0 M 0 ambient vertices. Consider a set U U U of u ≤ N / 2 u\le N/2 u ≤ N /2 visible vertices and consider one uniformly random perfect matching. We repeatedly choose an unmatched vertex of U U U and expose its partner, for ⌈ u / 2 ⌉ \lceil u/2\rceil ⌈ u /2 ⌉ steps. Such a vertex is always available, since each exposure removes at most two vertices of U U U .
Before the ( t + 1 ) (t+1) ( t + 1 ) -th exposure, at most t t t visible vertices outside U U U have been used. Hence at least N − u − t ≥ N / 4 N-u-t\ge N/4 N − u − t ≥ N /4 unmatched visible vertices outside U U U remain. The exposed partner is uniform among the remaining ambient vertices. Since M 0 ≤ 6 N / 5 M_0\le6N/5 M 0 ≤ 6 N /5 for sufficiently large N N N , the conditional probability that this exposure gives a crossing edge is at least 1 / 5 1/5 1/5 .
The number of crossing edges exposed in the c c c independent matchings therefore stochastically dominates
Z ∼ Bin ( c ⌈ u 2 ⌉ , 1 5 ) . Z\sim\operatorname{Bin}\left(c\left\lceil\frac{u}{2}\right\rceil,\frac{1}{5}\right). Z ∼ Bin ( c ⌈ 2 u ⌉ , 5 1 ) .
The mean of the random variable Z Z Z is at least c u / 10 cu/10 c u /10 . Using Chernoff bound, we have
P [ ∣ e H ( U , V ∖ U ) ∣ < c u 20 ] ≤ exp ( − c u 80 ) . \mathbb{P}\left[\lvert e_H(U,V\setminus U)\rvert<\frac{cu}{20}\right]\le\exp\left(-\frac{cu}{80}\right). P [ ∣ e H ( U , V ∖ U )∣ < 20 c u ] ≤ exp ( − 80 c u ) .
Taking a union bound over all sets U U U gives
∑ u = 1 ⌊ N / 2 ⌋ ( N u ) exp ( − c u 80 ) ≤ ∑ u = 1 ⌊ N / 2 ⌋ ( e N u N − 5 ) u = o ( 1 ) , \sum_{u=1}^{\lfloor N/2\rfloor}\binom{N}{u}\exp\left(-\frac{cu}{80}\right)
\le\sum_{u=1}^{\lfloor N/2\rfloor}\left(\frac{eN}{u}N^{-5}\right)^u=o(1), u = 1 ∑ ⌊ N /2 ⌋ ( u N ) exp ( − 80 c u ) ≤ u = 1 ∑ ⌊ N /2 ⌋ ( u e N N − 5 ) u = o ( 1 ) ,
where we used c ≥ 400 log N c\ge400\log N c ≥ 400 log N . This proves the lemma.
Proof of lem:replacement-expansion
Lemma A.8. Suppose an N N N -vertex colored multigraph H H H satisfies
∣ e H ( U , V ( H ) ∖ U ) ∣ ≥ β c min { ∣ U ∣ , N − ∣ U ∣ } \lvert e_H(U,V(H)\setminus U)\rvert\ge\beta c\min\{\lvert U\rvert,N-\lvert U\rvert\} ∣ e H ( U , V ( H ) ∖ U )∣ ≥ β c min {∣ U ∣ , N − ∣ U ∣}
for every U ⊆ V ( H ) U\subseteq V(H) U ⊆ V ( H ) . Then R ( H ) R(H) R ( H ) has vertex expansion at least α \alpha α depending only on β \beta β and h 0 h_0 h 0 .
Proof. Let S ⊆ V ( R ( H ) ) S\subseteq V(R(H)) S ⊆ V ( R ( H )) and assume t : = ∣ S ∣ ≤ N c / 2 t:=\lvert S\rvert\le Nc/2 t := ∣ S ∣ ≤ N c /2 . For each cloud let us define S u = S ∩ C u S_u=S\cap C_u S u = S ∩ C u , and define U = { u : ∣ S u ∣ > c / 2 } U=\{u:\lvert S_u\rvert>c/2\} U = { u : ∣ S u ∣ > c /2 } and S 0 = ⋃ u ∈ U C u S_0=\bigcup_{u\in U}C_u S 0 = ⋃ u ∈ U C u . Let b = ∣ S △ S 0 ∣ = ∑ u min { ∣ S u ∣ , c − ∣ S u ∣ } b=\lvert S\mathbin{\triangle}S_0\rvert=\sum_u\min\{\lvert S_u\rvert,c-\lvert S_u\rvert\} b = ∣ S △ S 0 ∣ = ∑ u min {∣ S u ∣ , c − ∣ S u ∣} . By the expansion of the cloud graph, the number of internal edges crossing the cut is at least
∣ e i n t ( S , S c ) ∣ ≥ h 0 b . (65) \lvert e_{\mathrm{int}}(S,S^c)\rvert\ge h_0b. \tag*{(65)} ∣ e int ( S , S c )∣ ≥ h 0 b . (65)
For the external edges, let us start from the cut determined by the union of whole clouds S 0 S_0 S 0 . Changing the cut-membership of one replacement-graph vertex changes the status of at most one external edge. Hence
∣ e e x t ( S , S c ) ∣ ≥ ∣ e H ( U , U c ) ∣ − b . \lvert e_{\mathrm{ext}}(S,S^c)\rvert\ge\lvert e_H(U,U^c)\rvert-b. ∣ e ext ( S , S c )∣ ≥ ∣ e H ( U , U c )∣ − b .
Moreover, both ∣ S 0 ∣ = c ∣ U ∣ \lvert S_0\rvert=c\lvert U\rvert ∣ S 0 ∣ = c ∣ U ∣ and its complement have size at least t − b t-b t − b . Therefore
∣ e e x t ( S , S c ) ∣ ≥ β ( t − b ) − b = β t − ( β + 1 ) b . (66) \lvert e_{\mathrm{ext}}(S,S^c)\rvert\ge\beta(t-b)-b=\beta t-(\beta+1)b. \tag*{(66)} ∣ e ext ( S , S c )∣ ≥ β ( t − b ) − b = β t − ( β + 1 ) b . (66)
Now if b ≥ β t / ( 2 ( β + 1 ) ) b\ge\beta t/(2(\beta+1)) b ≥ β t / ( 2 ( β + 1 )) , then Eq. (A.27) is at least h 0 β 2 ( β + 1 ) t \frac{h_0\beta}{2(\beta+1)}t 2 ( β + 1 ) h 0 β t . Otherwise, Eq. (A.28) is at least β t / 2 \beta t/2 β t /2 . Thus we have
∣ e R ( H ) ( S , S c ) ∣ ≥ ρ t , ρ : = min { β 2 , h 0 β 2 ( β + 1 ) } > 0. \lvert e_{\mathcal{R}(H)}(S,S^c)\rvert\ge\rho t,\qquad\rho:=\min\left\{\frac{\beta}{2},\frac{h_0\beta}{2(\beta+1)}\right\}>0. ∣ e R ( H ) ( S , S c )∣ ≥ ρt , ρ := min { 2 β , 2 ( β + 1 ) h 0 β } > 0.
Since the maximum degree is four, every outside boundary vertex is incident to at most four crossing edges. Hence ∣ ∂ R ( H ) S ∣ ≥ ρ 4 ∣ S ∣ \lvert\partial_{\mathcal{R}(H)}S\rvert\ge\frac{\rho}{4}\lvert S\rvert ∣ ∂ R ( H ) S ∣ ≥ 4 ρ ∣ S ∣ . Choosing α = ρ / 4 \alpha=\rho/4 α = ρ /4 , we have the proof. □
Proof of lem:no-subdivision
Proof of Theorem 4.11
Lemma A.9. Let α ′ > 0 \alpha^\prime>0 α ′ > 0 be a fixed constant. Let H H H be any graph in the support of P M 0 , 2 ( c ) , f e a s \mathcal{P}_{M_0,2}^{(c),\mathrm{feas}} P M 0 , 2 ( c ) , feas , let G = R ( H ) G=\mathcal{R}(H) G = R ( H ) , n ˉ : = ∣ V ( G ) ∣ = N c \bar n:=\lvert V(G)\rvert=Nc n ˉ := ∣ V ( G )∣ = N c . Suppose G ′ G^\prime G ′ is the graph obtained from G G G by subdividing r ≤ n ˉ / 4 r\le\bar n/4 r ≤ n ˉ /4 edges, each at most once. Then, for all sufficiently large N N N , G ′ G^\prime G ′ is α ′ / 12 \alpha^\prime/12 α ′ /12 -far from every α ′ \alpha^\prime α ′ -vertex-expander.
Proof. Let V 1 , V 2 V_1,V_2 V 1 , V 2 be the two classes of visible vertices corresponding to the two hidden blocks in the construction of H H H . Similar to the proof of Theorem 4.6, let us define
S i : = ⋃ u ∈ V i C u , i ∈ { 1 , 2 } . S_i:=\bigcup_{u\in V_i}C_u,\qquad i\in\{1,2\}. S i := u ∈ V i ⋃ C u , i ∈ { 1 , 2 } .
Since no block overflows, we have ∣ V i ∣ ≥ N − M 0 20 ≥ 9 N 20 − 2 \lvert V_i\rvert\ge N-\frac{M_0}{20}\ge\frac{9N}{20}-2 ∣ V i ∣ ≥ N − 20 M 0 ≥ 20 9 N − 2 . Consequently, we have
∣ S i ∣ = c ∣ V i ∣ ≥ 9 N c 20 − 2 c = 9 n ˉ 20 − 2 c . (67) \lvert S_i\rvert=c\lvert V_i\rvert\ge\frac{9Nc}{20}-2c=\frac{9\bar n}{20}-2c. \tag*{(67)} ∣ S i ∣ = c ∣ V i ∣ ≥ 20 9 N c − 2 c = 20 9 n ˉ − 2 c . (67)
Moreover, every edge of G G G has both endpoints in either S 1 S_1 S 1 or S 2 S_2 S 2 , and hence there is no edge between S 1 S_1 S 1 and S 2 S_2 S 2 .
Every edge that is subdivided therefore has both endpoints in one of the sets S i S_i S i , i ∈ [ 2 ] i\in[2] i ∈ [ 2 ] . Let us assign its new subdivision vertex to that same set. Let Z i Z_i Z i be the set of subdivision vertices assigned to S i S_i S i , and let us write
S i ′ : = S i ∪ Z i , i ∈ { 1 , 2 } . S_i^\prime:=S_i\cup Z_i,\qquad i\in\{1,2\}. S i ′ := S i ∪ Z i , i ∈ { 1 , 2 } .
Then V ( G ′ ) = S 1 ′ ∪ ˙ S 2 ′ V(G^\prime)=S_1^\prime\mathbin{\dot\cup}S_2^\prime V ( G ′ ) = S 1 ′ ∪ ˙ S 2 ′ and ∣ e G ′ ( S 1 ′ , S 2 ′ ) ∣ = 0 \lvert e_{G^\prime}(S_1^\prime,S_2^\prime)\rvert=0 ∣ e G ′ ( S 1 ′ , S 2 ′ )∣ = 0 . Let n ′ : = ∣ V ( G ′ ) ∣ = n ˉ + r n^\prime:=\lvert V(G^\prime)\rvert=\bar n+r n ′ := ∣ V ( G ′ )∣ = n ˉ + r . Since r ≤ n ˉ / 4 r\le\bar n/4 r ≤ n ˉ /4 , we have n ′ / 3 ≤ 5 n ˉ / 12 n^\prime/3\le5\bar n/12 n ′ /3 ≤ 5 n ˉ /12 . On the other hand, since n ˉ = N c \bar n=Nc n ˉ = N c , for all sufficiently large N N N , 9 n ˉ 20 − 2 c ≥ 5 n ˉ 12 \frac{9\bar n}{20}-2c\ge\frac{5\bar n}{12} 20 9 n ˉ − 2 c ≥ 12 5 n ˉ . This implies that n ˉ / 30 ≥ 2 c \bar n/30\ge2c n ˉ /30 ≥ 2 c , which holds whenever N ≥ 60 N\ge60 N ≥ 60 . It follows from Eq. (A.29) that
∣ S i ′ ∣ ≥ ∣ S i ∣ ≥ n ′ 3 , i ∈ { 1 , 2 } . \lvert S_i^\prime\rvert\ge\lvert S_i\rvert\ge\frac{n^\prime}{3},\qquad i\in\{1,2\}. ∣ S i ′ ∣ ≥ ∣ S i ∣ ≥ 3 n ′ , i ∈ { 1 , 2 } .
Let S S S be the smaller of S 1 ′ S_1^\prime S 1 ′ and S 2 ′ S_2^\prime S 2 ′ . Then we have
n ′ 3 ≤ ∣ S ∣ ≤ n ′ 2 , ∂ G ′ ( S ) = ∅ . \frac{n^\prime}{3}\le\lvert S\rvert\le\frac{n^\prime}{2},\qquad\partial_{G^\prime}(S)=\varnothing. 3 n ′ ≤ ∣ S ∣ ≤ 2 n ′ , ∂ G ′ ( S ) = ∅ .
Suppose that G ~ \widetilde{G} G is an α ′ \alpha' α ′ -vertex-expander obtained from G ′ G' G ′ by edge modifications. In G ~ \widetilde{G} G , the fixed set S S S must have at least ∣ ∂ G ~ ( S ) ∣ ≥ α ′ ∣ S ∣ ≥ α ′ n ′ 3 |\partial_{\widetilde{G}}(S)| \ge\alpha'|S| \ge\frac{\alpha'n'}{3} ∣ ∂ G ( S ) ∣ ≥ α ′ ∣ S ∣ ≥ 3 α ′ n ′ distinct outside neighbors. Initially, S S S has no outside neighbor. Each added edge creates at most one new outside neighbor of S S S , while edge deletions create none. Therefore at least α ′ n ′ 3 \frac{\alpha'n'}{3} 3 α ′ n ′ edge modifications are necessary.
Moreover, subdividing edges does not increase the maximum degree, so G ′ G' G ′ has maximum degree at most four. Finally, dividing the required number of modifications by the bounded-degree normalization 4 n ′ 4n' 4 n ′ gives us α ′ n ′ / 3 4 n ′ = α ′ 12 \frac{\alpha'n'/3}{4n'} = \frac{\alpha'}{12} 4 n ′ α ′ n ′ /3 = 12 α ′ . Thus G ′ G' G ′ is α ′ / 12 \alpha'/12 α ′ /12 -far from every α ′ \alpha' α ′ -vertex-expander. This completes the proof.
Proof of lem:bounded-subdivision
Lemma A.10. Let G G G be a graph of maximum degree at most four that, for some parameter ρ > 0 \rho> 0 ρ > 0 , satisfies
∣ e G ( U , V ( G ) ∖ U ) ∣ ≥ ρ min { ∣ U ∣ , ∣ V ( G ) ∣ − ∣ U ∣ } |e_G(U,V(G)\setminus U)| \ge\rho\min\{|U|,|V(G)|-|U|\} ∣ e G ( U , V ( G ) ∖ U ) ∣ ≥ ρ min { ∣ U ∣ , ∣ V ( G ) ∣ − ∣ U ∣ }
for every U ⊆ V ( G ) U \subseteq V(G) U ⊆ V ( G ) . If at most ∣ V ( G ) ∣ / 4 |V(G)|/4 ∣ V ( G ) ∣/4 edges are subdivided, each at most once, the resulting graph has vertex expansion at least a positive constant depending only on ρ \rho ρ .
Proof. Let m = ∣ V ( G ) ∣ m = |V(G)| m = ∣ V ( G ) ∣ , r ≤ m / 4 r \le m/4 r ≤ m /4 be the number of subdivision vertices, and let G ′ G' G ′ be the subdivided graph. Consider S ⊆ V ( G ′ ) S \subseteq V(G') S ⊆ V ( G ′ ) with ∣ S ∣ ≤ ( m + r ) / 2 |S| \le(m+r)/2 ∣ S ∣ ≤ ( m + r ) /2 . Let us define A = S ∩ V ( G ) A = S \cap V(G) A = S ∩ V ( G ) and let B B B be the subdivision vertices in S S S .
Every original edge crossing ( A , V ( G ) ∖ A ) (A,V(G)\setminus A) ( A , V ( G ) ∖ A ) is replaced by a path whose endpoints lie on opposite sides, and therefore gives at least one crossing edge of G ′ G' G ′ . Hence the cut has at least ρ min { ∣ A ∣ , m − ∣ A ∣ } \rho\min\{|A|,m-|A|\} ρ min { ∣ A ∣ , m − ∣ A ∣ } (A.30) crossing edges. In addition, the vertices in B B B have 2 ∣ B ∣ 2|B| 2∣ B ∣ incident path edges, of which at most 4 ∣ A ∣ 4|A| 4∣ A ∣ end in A A A . Thus the cut also has at least
max { 0 , 2 ∣ B ∣ − 4 ∣ A ∣ } (68) \max\{0,2|B|-4|A|\} \tag*{(68)} max { 0 , 2∣ B ∣ − 4∣ A ∣ } (68)
crossing edges.
Suppose first that ∣ A ∣ ≥ ∣ S ∣ / 6 |A| \ge|S|/6 ∣ A ∣ ≥ ∣ S ∣/6 . If ∣ A ∣ ≤ m / 2 |A| \le m/2 ∣ A ∣ ≤ m /2 , then Eq. (A.30) is at least ρ ∣ S ∣ / 6 \rho|S|/6 ρ ∣ S ∣/6 . If ∣ A ∣ > m / 2 |A| > m/2 ∣ A ∣ > m /2 , then
m − ∣ A ∣ ≥ m − ∣ S ∣ ≥ m − r 2 ≥ 3 m 8 . m-|A| \ge m-|S| \ge\frac{m-r}{2} \ge\frac{3m}{8}. m − ∣ A ∣ ≥ m − ∣ S ∣ ≥ 2 m − r ≥ 8 3 m .
Since ∣ S ∣ ≤ ( m + r ) / 2 ≤ 5 m / 8 |S| \le(m+r)/2 \le5m/8 ∣ S ∣ ≤ ( m + r ) /2 ≤ 5 m /8 , this is at least 3 ∣ S ∣ / 5 3|S|/5 3∣ S ∣/5 , and the first bound is again a constant multiple of ∣ S ∣ |S| ∣ S ∣ .
Finally, if ∣ A ∣ < ∣ S ∣ / 6 |A| < |S|/6 ∣ A ∣ < ∣ S ∣/6 , then ∣ B ∣ > 5 ∣ S ∣ / 6 |B| > 5|S|/6 ∣ B ∣ > 5∣ S ∣/6 , so the expression in Eq. (A.31) is larger than ∣ S ∣ |S| ∣ S ∣ . Thus G ′ G' G ′ has constant edge expansion. Since the maximum degree is still four, dividing the number of crossing edges by four gives constant vertex expansion. This completes the proof.