betaFeedback

WorksPhysics and Astronomy

Near-optimal quantum query lower bounds on bipartiteness and expansion testing in the bounded-degree graph model

Abstract

In this work, we study bipartiteness and expansion testing, two canonical problems in graph property testing in the bounded-degree model through the lens of quantum query complexity. In the classical setting, it is known that Θ~(N)\widetildeΘ(\sqrt{N}) queries are necessary and sufficient for both these testing problems (Goldreich and Ron, 1999, 2000 & 2002), where NN denotes the number of vertices of the input graph. Due to their significance, (Ambainis, Childs, and Liu, 2011) initiated the study of these problems in the quantum setting and designed quantum algorithms for bipartiteness and expansion testing that perform O~(N1/3)\widetilde{O}(N^{1/3}) queries, showing a polynomial speedup. They also proved that Ω~(N1/4)\widetildeΩ(N^{1/4}) queries are necessary for expansion testing, but the possibility of an exponential quantum advantage for bipartiteness testing remained open. Despite significant effort, there has been no improvement in these results in the last decade and a half. In this work, we prove essentially tight Ω~(N1/3)\widetildeΩ(N^{1/3}) quantum query lower bounds for both bipartiteness and expansion testing, thereby completely characterizing the quantum query complexity of these problems up to polylogarithmic factors. While our proofs use the polynomial method similarly to Ambainis, Childs, and Liu, we use intermediate problems that we relate to the main problems via reductions, and perform a more precise analysis of the resulting polynomials, leading to the near-optimal lower bounds.

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} is called a graph property. For a property P\mathcal{P}, a graph GG is said to satisfy P\mathcal{P}, if G∈PG \in\mathcal{P}, and is said to be ε\varepsilon-far from P\mathcal{P}, if one needs to modify at least an ε\varepsilon-fraction of the edges in GG to obtain a graph in P\mathcal{P}, for some parameter ε∈(0,1)\varepsilon\in(0,1). An ε\varepsilon-tester for P\mathcal{P} is a randomized algorithm, that accepts graphs G∈PG \in\mathcal{P}, and rejects graphs that are ε\varepsilon-far from P\mathcal{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 dd. 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 GG is bipartite or ε\varepsilon-far from bipartite, by performing as few queries as possible. [14, 15] proved that O~(N)\widetilde{O}(\sqrt{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 GG is an α\alpha-expander, or ε\varepsilon-far from all α′\alpha'-expanders, for some parameters α,α′\alpha,\alpha' with 0<α′≤α<10 < \alpha' \le\alpha< 1. [15, 16] proved that O~(N)\widetilde{O}(\sqrt{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~(N1/3)\widetilde{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 Ω~(N1/4)\widetilde{\Omega}(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 NN) 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 Ω~(N1/3)\widetilde{\Omega}(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 NN vertex bounded-degree graphs is required to perform Ω~(N1/3)\widetilde{\Omega}(N^{1/3}) queries.

Theorem 1.2 (Informal statement of Theorem 4.1). Any two-sided error quantum ε\varepsilon-tester for testing expansion of NN-vertex bounded-degree graphs must make Ω~(N1/3)\widetilde{\Omega}(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 PM,ℓP_{M,\ell} of input graphs: take MM vertices and consider a partition of the vertex set into ℓ\ell blocks of equal size V1,…,VℓV_1,\ldots,V_\ell (we take the parameters such that 2ℓ2\ell divides MM). In each ViV_i for i∈[ℓ]i \in[\ell], take cc 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 cc, and we will call it the ambient graph AA.

The actual input graph GG on NN vertices (N≤MN \le M) is constructed by sampling vertices randomly from AA. For each vertex of GG, first sample a uniformly random block ViV_i and then sample a uniformly random vertex inside ViV_i among those that have not been sampled yet. GG is the subgraph of AA induced by the sampled vertices, thus it has maximum degree at most cc. One can prove that the “overflow” event, i.e. when more than M/ℓM/\ell vertices are sampled from the same block, is very unlikely.

In their proof they take M=(1+Θ(N−0.1))NM=(1+\Theta(N^{-0.1}))N. They show that when the parameter ℓ=1\ell=1, then graph GG is an expander with high probability, and it is clear that ℓ=2\ell=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 PM,1P_{M,1} should be accepted with high probability, and those sampled from PM,2P_{M,2} should be accepted with small probability; moreover, the acceptance probability is trivially bounded by 11 for all valid parameter pairs (M,ℓ)(M,\ell). 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 qq-query quantum algorithm over distribution PM,ℓP_{M,\ell} is a fraction of two bivariate polynomials f(M,ℓ)g(M,ℓ)\frac{f(M,\ell)}{g(M,\ell)}, where both ff and gg are of degree O(qlog⁡q)O(q\log q) and the denominator divides Dq=∏k=12q(M−(2k−1)ℓ)[2q/k]D_q=\prod_{k=1}^{2q}(M-(2k-1)\ell)^{[2q/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 xu,v,jx_{u,v,j} of the event “vertices uu and vv are connected by an edge of color jj.” 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 PM,ℓP_{M,\ell}. 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−M0∣≤R3/2|M-M_0| \le R^{3/2} and ℓ≤R\ell\le R with M0=(1+Θ(N−0.1))NM_0=(1+\Theta(N^{-0.1}))N and R∈Θ(N1/2)R\in\Theta(N^{1/2}), such that 2ℓ2\ell divides MM. Their lemma yields a degree lower bound of Ω(R)=Ω(N1/4)\Omega(\sqrt{R})=\Omega(N^{1/4}), and since the degree is O(qlog⁡q)O(q\log q), the query lower bound is Ω~(N1/4)\widetilde{\Omega}(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 uvuv has label that is the XOR of the bits of uu and vv.

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=3c=3 matchings over blocks of vertices. Any graph in the hard distribution has at least 1.3N1.3N 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 qq-query quantum query algorithm with inputs sampled from the hard distribution PM,ℓP_{M,\ell}, is a fraction of two polynomials each of degree O(qlog⁡(q))O(q\log(q)), and the denominator divides Dq=∏k=12q(M−(2k−1)ℓ)⌊2q/k⌋D_q=\prod_{k=1}^{2q}(M-(2k-1)\ell)^{\lfloor2q/k\rfloor}. We denote this acceptance probability as pyesp_{\mathrm{yes}} and pnop_{\mathrm{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,ℓ)=pyes(M,ℓ)−pno(M,ℓ)\Delta(M,\ell)=p_{\mathrm{yes}}(M,\ell)-p_{\mathrm{no}}(M,\ell) over the common denominator DqD_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} where e,v,ce,v,c denote the number of edges, vertices and components of the corresponding graph pattern, respectively; and e−v+ce-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,ℓ)Dq(M,ℓ)\Delta(M,\ell)=\frac{\ell H(M,\ell)}{D_q(M,\ell)}.

The next step is to approximate the reciprocal of the denominator by a low degree polynomial. This is done by writing DqD_q in a special product form, rewriting its reciprocal as an infinite sum and truncating it. The resulting polynomial Aq(M,ℓ)A_q(M,\ell) satisfies ∣DqAq−1∣≤0.01|D_qA_q-1|\le0.01.

Now we define our final polynomial as P(M,ℓ)=H(M,ℓ)Aq(M,ℓ)/2P(M,\ell)=H(M,\ell)A_q(M,\ell)/2 which still satisfies deg⁡(P)∈O(qlog⁡q)\deg(P)\in O(q\log q). We consider the hard distribution over the enlarged grid ∣M−M0∣≤R3/2|M-M_0|\le R^{3/2} and ℓ≤R\ell\le R with M0=4⌈11N40⌉M_0=4\left\lceil\frac{11N}{40}\right\rceil and R∈Θ(N2/3)R\in\Theta(N^{2/3}), such that 2ℓ2\ell divides MM. Moreover, we know that P(M0,1)P(M_0,1) and P(M0,2)P(M_0,2) are bounded away by a constant and PP is bounded by 11 over the enlarged grid. Thus, using [2 Lemma 4], we can prove the degree lower bound of Ω(R)=Ω(N1/3)\Omega(\sqrt{R})=\Omega(N^{1/3}) which results in a query lower bound of Ω~(N1/3)\widetilde{\Omega}(N^{1/3}).

Balanced and unbalanced signed graph constructions

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.

Reduction from balancedness testing to bipartiteness testing

Figure 2. We describe the reduction from balancedness testing to bipartiteness testing. On the left, the construction describes what happens when buv=1b_{uv}=1 and on the right, it describes the reduction when buv=0b_{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=3c=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') perfect matchings in the input graph instead of three perfect matchings. This ensures that with high probability, in a GG of size 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 GG is an expander.

However, adding Θ(log⁡N′)\Theta(\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 GG, that has N′N' vertices, we introduce a replacement graph gadget of Θ(log⁡N′)\Theta(\log N') vertices for each vertex in the intermediate graph. Combining the graph gadget with the intermediate graph, we obtain a graph HH on N=Θ(N′log⁡N′)N=\Theta(N'\log N') vertices and with maximum degree 4, which satisfies our assumption of constant maximum degree.

We show that if GG is an expander then HH is as well, and similarly for being far from expanders. Thus, using a simulation argument, if expansion of HH is testable in qq queries then that of GG too, so it suffices to show a lower bound for GG. This is done by the same argument as for balancedness testing. Because of the different sizes of GG and HH, the polylogarithmic factor in the final bound is different than for bipartiteness, nonetheless we still obtain an Ω(N1/3)\Omega(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) 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 NN 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

References

  1. [1]Florian Adriaens and Simon Apers. Testing cluster properties of signed graphs. In WWW, pages 49–59. ACM, 2023.DOI
  2. [2]Andris Ambainis, Andrew M Childs, and Yi-Kai Liu. Quantum property testing for bounded-degree graphs. In International Workshop on Approximation Algorithms for Combinatorial Optimization, pages 365–376. Springer, 2011.
  3. [3]Simon Apers. Expansion testing using quantum fast-forwarding and seed sets. Quantum, 4:323, 2020.DOI
  4. [4]Scott Aaronson and Yaoyun Shi. Quantum lower bounds for the collision and the element distinctness problems. Journal of the ACM (JACM), 51(4):595–605, 2004.DOI
  5. [5]Robert Beals, Harry Buhrman, Richard Cleve, Michele Mosca, and Ronald de Wolf. Quantum lower bounds by polynomials. Journal of the ACM (JACM), 48(4):778–797, 2001.
  6. [6]Shalev Ben-David, Andrew M. Childs, András Gilyén, William Kretschmer, Supartha Podder, and Daochen Wang. Symmetries, graph properties, and quantum speedups. In Sandy Irani, editor, 61st IEEE Annual Symposium on Foundations of Computer Science, FOCS 2020, Durham, NC, USA, November 16-19, 2020, pages 649–660. IEEE, 2020.
  7. [7]Harry Buhrman, Lance Fortnow, Ilan Newman, and Hein Röhrig. Quantum property testing. In Proceedings of the fourteenth annual ACM-SIAM symposium on Discrete algorithms, pages 480–488, 2003.
  8. [8]Arnab Bhattacharyya and Yuichi Yoshida. Property Testing: Problems and Techniques. Springer Nature, 2022.
  9. [9]Kuo-Chin Chen, Simon Apers, and Min-Hsiu Hsieh. (quantum) complexity of testing signed graph clusterability. In TQC, volume 310 of LIPIcs, pages 8:1–8:16. Schloss Dagstuhl - Leibniz-Zentrum für Informatik, 2024.arxiv.org/abs/2311.10480
  10. [10]Sourav Chakraborty, Eldar Fischer, Arie Matsliah, and Ronald de Wolf. New results on quantum property testing. In 30th International Conference on Foundations of Software Technology and Theoretical Computer Science, page 145, 2010.arxiv.org/abs/1005.0523
  11. [11]Artur Czumaj and Christian Sohler. Sublinear-time algorithms. In Property Testing - Current Research and Surveys. 2010.DOI
  12. [12]Katalin Friedl, Frédéric Magniez, Miklos Santha, and Pranab Sen. Quantum testers for hidden group properties. In International Symposium on Mathematical Foundations of Computer Science, pages 419–428. Springer, 2003.
  13. [13]Oded Goldreich. Introduction to property testing. Cambridge University Press, 2017.DOI
  14. [14]Oded Goldreich and Dana Ron. A sublinear bipartiteness tester for bounded degree graphs. Combinatorica, 19:335–373, 1999.
  15. [15]Oded Goldreich and Dana Ron. Property testing in bounded degree graphs. Algorithmica, 32:302–343, 2002.
  16. [16]Oded Goldreich and Dana Ron. On testing expansion in bounded-degree graphs. Studies in Complexity and Cryptography, pages 68–75, 2011.
  17. [17]Frank Harary. On the notion of balance of a signed graph. Michigan Mathematical Journal, 2(2):143–146, 1953.DOI
  18. [18]Shlomo Hoory, Nathan Linial, and Avi Wigderson. Expander graphs and their applications. Bulletin of the American Mathematical Society, 43(4):439–561, October 2006.DOI
  19. [19]Ashley Montanaro and Ronald de Wolf. A survey of quantum property testing. Theory Comput., 7:1–81, 2016.arxiv.org/abs/1310.2035
  20. [20]Michael A. Nielsen and Isaac L. Chuang. Quantum Computation and Quantum Information. Cambridge University Press, Cambridge, UK, 2000.
  21. [21]Asaf Nachmias and Asaf Shapira. Testing the expansion of a graph. Information and Computation, 208(4):309–314, 2010.
  22. [22]Ramamohan Paturi. On the degree of polynomials that approximate symmetric boolean functions (preliminary version). In Proceedings of the twenty-fourth annual ACM symposium on Theory of computing, pages 468–474, 1992.DOI
  23. [23]Dana Ron. Algorithmic and analysis techniques in property testing. Foundations and Trends in Theoretical Computer Science, 2009.DOI
  24. [24]Ronitt Rubinfeld and Asaf Shapira. Sublinear time algorithms. SIAM Journal on Discrete Mathematics (SIDMA), 2011.
  25. [25]Peter W. Shor. Algorithms for quantum computation: Discrete logarithms and factoring. In Proceedings of the 35th Annual Symposium on Foundations of Computer Science (FOCS), pages 124–134. IEEE, 1994.

Paper details

vlnc:W_4sfkspfg
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Physics and Astronomy

GPT-6 Astra (bare)

View statement
Looking for related papers…
Contents