Triangle finding is a fundamental problem in graph theory that has played a central role in the development of quantum algorithmic techniques. For N-vertex graphs given by their adjacency matrices, a long line of work has improved the quantum query upper bound from O(N3/2) to O(N5/4). However, the best known lower bound has remained the elementary Ω(N) bound obtained from unstructured search. We prove the first superlinear quantum query lower bound for triangle finding, showing that Ω(N13/12) queries are necessary. Our result also implies the same lower bound for triangle detection and for detecting every fixed connected non-bipartite graph.
The proof builds on the compressed oracle approach of Zhandry and the transfer approaches of Belovs. It compares the computation on graphs with a planted triangle to the computation on random graphs conditioned to be triangle-free, through a map on the input registers that almost commutes with every query. We average over local changes to the input while preserving its distribution, through a procedure known as conditional resampling. Our main technical contribution is a set of estimates that let us control the query error under this averaging, despite the dependence introduced by conditioning a dense graph to be triangle-free.
*Department of Computer Science and Technology, University of Cambridge. ajcornelissen@outlook.com.
†Joint Center for Quantum Information and Computer Science, University of Maryland. asgilani@umd.edu.
‡Department of Computer Science, The University of British Columbia. zxingyu@cs.ubc.ca.
Triangle finding asks for three pairwise adjacent vertices in a graph given by queries to its adjacency matrix. It is a basic test of how quantum algorithms exploit the structure of a small certificate: a solution consists of only three edges, but the possible solutions overlap in many ways. For a graph on N vertices, classical randomized algorithms require Θ(N2) queries in the worst case, whereas searching over all vertex triples with Grover's algorithm uses O(N3/2) quantum queries [Gro96]. The elementary quantum lower bound is Ω(N), obtained by embedding unstructured search [BBBV97].
Triangle finding has helped drive the development of quantum algorithmic techniques, with a long line of work yielding progressively better quantum query upper bounds. Table 1 summarizes this progress. The best known quantum query upper bound exponent is 5/4 [LG14, CLM20, Kin26]. In contrast, the lower bound has remained linear. The difficulty of proving a superlinear bound has been noted repeatedly in work on quantum graph algorithms [MSS07, CK12, LG14, CGP26].
Approach
Quantum queries
Reference
Search over triples
O(N3/2)
Grover [Gro96]
Combinatorial arguments and search
O(N10/7)
Szegedy [Sze03]
Quantum walks
O(N13/10)
Magniez–Santha–Szegedy [MSS07]
Learning graphs
O(N35/27)
Belovs [Bel12]
Learning graphs
O(N9/7)
Lee–Magniez–Santha [LMS17]
Nested quantum walks
O(N9/7)
Jeffery–Kothari–Magniez [JKM13]
Combinatorial arguments and walks
O(N5/4)
Le Gall [LG14]
Extended learning graphs (ELGs)
O(N5/4)
Carette–Laurière–Magniez [CLM20]
Combinatorial arguments and ELGs
N5/4/2Ω(log∗N)
Kintali [Kin26]
Table 1: Progress in quantum query upper bounds for triangle finding in the adjacency matrix model. The first row is the direct application of quantum search to vertex triples. The notation O suppresses polylogarithmic factors. In the last row, log∗N denotes the iterated binary logarithm.
The small size of a triangle certificate is itself an obstacle for some lower bound techniques. The certificate complexity barrier limits the adversary method with nonnegative weights to O(N) for triangle detection [Zha05, ŠS06]. Gilani and Zhou [GZ26] recently proved superlinear quantum query lower bounds for larger cliques and, more generally, every fixed connected subgraph of chromatic number at least four. Their applications do not yield a superlinear bound for triangles.
1.1 Results
In this work, we prove the first superlinear lower bound for the triangle finding problem.
Theorem 1.1 (Main result). The quantum query complexity of the triangle finding problem is Ω(N13/12), where 13/12≈1.0833.
Figure 1 places this lower bound alongside the preceding upper bounds.
Combining the search-to-decision reduction for triangles [CGP26, Lemma 23] with the subgraph detection reduction of [GZ26, Corollary 5.3] gives the following consequence.
Corollary 1.2. For every fixed connected non-bipartite graph H, detecting H as a subgraph of an N-vertex graph in the adjacency matrix model requires Ω(N13/12) quantum queries.
Figure 1: Bounds on the exponent of the quantum query complexity of triangle finding in the adjacency matrix model. Subpolynomial factors are omitted; Table 1 gives the precise upper bounds.
We obtain Theorem 1.1 using a novel framework for lower bounding quantum query complexity recently introduced by Belovs [Bel26]. The framework in fact shows a lower bound for a more general task. Fix any graph G known to the algorithm. Write m:=∣E(G)∣, let Δ be its maximum degree, and let M≥1 be its number of triangles. Choose a triangle of G uniformly, set its edges to one, and sample the other edges from the product Bernoulli(p) distribution conditioned on that triangle being unique. Under this distribution, we have the following theorem.
Theorem 1.3 (Informal version of Theorem 5.1). There are absolute constants C0,C1>0, such that
0<p≤10Δ1,Δp≥C0log(2m)⟹σ≤C1(t+3)Mp1/6Δ1/3,
where σ is the average success probability of any t-query quantum algorithm that outputs the hidden triangle under this distribution.
For the complete tripartite graph G=Kn,n,n, we have m=3n2, Δ=2n, and M=n3, giving the claimed bound in Theorem 1.1 with p=Θ(n−1/2). The same lower bound holds for unrestricted triangle detection, by the constant-factor search-to-decision reduction for triangles [CGP26, Lemma 23].
The proof compares these positive inputs with Bernoulli graphs conditioned to be triangle-free, at density p=Θ(n−1/2). At this density an unconditioned Bernoulli graph has about n3/2 triangles and is easy to search. Conditioning removes all of them while keeping a simple local rule: given the other edges, an edge is either forced to be absent or remains a Bernoulli(p) bit. The positive inputs plant a uniformly random triangle T, and condition on it being the unique one.
1.2 Discussion
Related work. Our proof uses Zhandry's compressed oracle method [Zha19], in the form adapted to product distributions with biased bits [CMSZ21, HM23], as the guide for the calculation with independent bits, and Belovs's transfer operator approach [Bel26] for the comparison of computations. Gilani and Zhou [GZ26] used these tools to prove superlinear lower bounds for finding certificates under product distributions, including the subgraph applications mentioned above. The comparison is also related to the general adversary method [HLŠ07]: the query error depends only on the matrix entries joining inputs that differ at the queried coordinate. We estimate this error through probability-weighted bounds on workspace vectors.
Recording arguments for input distributions conditioned to exclude rare events were also developed by Gilani, Wang, Wu, and Zhou [GWWZ26] for triangle finding in the edge list model. Here, by contrast, the conditioning event of being triangle-free has exponentially small probability under the product distribution, and our estimates analyze conditional resampling directly under the dependent distribution. Sums of conditional variances also arise in probabilistic analyses of conditional resampling; see, for example, [CMT15, Section 1.1].
What limits the exponent. The bound of Theorem 5.1 improves as the density grows, and the density is limited by our use of the conditioned distribution. The probability estimate (5.5) and the interaction estimates of Lemma 5.4 both need Δp2 to be a small constant. This condition keeps the interaction between conditional averages small enough to bound sums of conditional variances as we bounded sums of record weights for independent bits. The calculation of Section 2 itself does not limit the density. At the largest allowed density, Theorem 1.3 gives the lower bound Ω(MΔ−5/12). Since M≤NΔ2 and Δ≤N, we have MΔ−5/12≤N13/12. Thus, up to constant factors, the complete tripartite graph is the best choice.
Tightness for sparse graphs. Smaller densities give bounds for sparse graphs, which are tight up to polylogarithmic factors in a range of edge counts.
For G=Kn,n,n, Theorem 1.3 applies for every p with Clogn/n≤p≤1/(102n), for an absolute constant C, and gives t=Ω(n7/6p1/6). Let N:=3n and mˉ:=4n2p, and let C be the class of graphs with at most mˉ edges and maximum degree at most 13mˉ/N. Write μ+ for the positive input distribution. With the planted triangle fixed, removing outside edges cannot create another triangle. Thus Lemma 5.2 bounds the upper tails of the outside edges by those of independent Bernoulli bits. Accounting for the three planted edges, which increase any degree by at most two, Chernoff bounds give μ+(C)=1−o(1). An algorithm succeeding with probability at least 2/3 on C, run with the same query limit on every input, therefore has average success σ≥(2/3)μ+(C)=2/3−o(1), while the exact verifier rejects every triangle-free input. Since n7/6p1/6=Θ(N5/6mˉ1/6), finding a triangle in graphs from C requires
Ω(N5/6mˉ1/6)queriesforNlogN≲mˉ≲N3/2,
even when the triangle is unique. Applying the extended learning graph of Carette, Laurière, and Magniez [CLM20, Theorem 6] gives triangle detection on C using O(N5/6(mˉlogN)1/6+mˉ/N) queries.¹ The second term is smaller than the first when mˉ≤N8/5. Finding reduces to detection at a polylogarithmic cost: repeatedly partition the remaining vertices into four nearly equal parts and test which part can be removed while retaining a triangle. Keeping removed vertices as isolated vertices preserves both bounds defining C. Therefore Theorem 1.3 determines the query complexity of triangle finding on this class of graphs up to polylogarithmic factors. In particular, at mˉ≈N3/2, the exponent 13/12 is optimal for this input distribution up to polylogarithmic factors.
¹Add a known disjoint bipartite graph on two parts of size N, regular of degree ⌈mˉ/N⌉. The padded graph has 3N vertices, between mˉ and 3mˉ edges, and maximum and root-mean-square degrees O(mˉ/N). Choose the subset size in their learning graph to be ⌈(3N)4/3/(mˉlog(3N))1/3⌉. For sufficiently large N in the stated range, it lies between (3N)2/mˉ and 3N, so Theorem 6 applies to every padded input and gives the displayed bound uniformly. The added component contains no triangles and requires no input queries.
Open problems. The main question is the gap between N13/12 and the upper bound N5/4. By the previous paragraph, closing it requires negative inputs that are denser, or more structured, than a triangle-free Bernoulli graph at density Θ(N−1/2). At higher densities, the interaction terms in our conditional resampling estimates are no longer guaranteed to be small. Extending the argument would require controlling these stronger interactions. The estimates apply to any family of forbidden all-ones patterns, and it would be interesting to find other problems where comparison with a conditioned distribution is the natural route to a lower bound.
Organization. Section 2 explains the proof through the calculation with independent bits and lists the facts that must be reproved for the triangle-free distribution. Section 3 fixes notation. Section 4 proves the comparison theorem and the estimates for conditional resampling. Section 5 proves the lower bound for triangle finding.
2 Proof overview
Throughout, G is a fixed graph known to the algorithm, and the input is a subgraph of G given by x∈{0,1}I with I:=E(G). Write m:=∣I∣, Δ for the maximum degree of G, st(w)⊆I for the set of edges of G at a vertex w, T for the set of triangles of G, each identified with its three edges, V(T) for the vertex set of T∈T, and M:=∣T∣. We call the elements of T candidates. The edge density is p. For the main result G=Kn,n,n, so that m=3n2, Δ=2n, M=n3, and p=Θ(n−1/2).
2.1 The comparison method and the input distributions
For an input distribution ρ, the joint state of an algorithm after t queries is ∣Ψt⟩=∑xρ(x)∣ψtx⟩⊗∣x⟩, where ∣ψtx⟩ is its workspace state on input x. More generally, a joint vector is f=∑xρ(x)fx⊗∣x⟩ with arbitrary workspace vectors fx, and ∣ρ⟩=∑xρ(x)∣x⟩ is the initial state of the input register. A query to an edge e multiplies the workspace vector at x by (−1)xe in the corresponding branch of the workspace. We denote the corresponding operator acting on the input register by Qe.
Let ρ− be a distribution on negative inputs and ρ+ a distribution on positive inputs, with the planted triangle kept as a label that the algorithm cannot access. Following Belovs's transfer viewpoint [Bel26], we look for a linear map Υ from the negative to the positive input register with two properties:
(i) Υ∣ρ−⟩=∣ρ+⟩, so the two computations agree before the first query;
(ii) each query changes the comparison by at most ε on the states that actually occur:
∥(O+Υ−ΥO−)∣Ψ−⟩∥≤ε,
where O± apply the query to the joint states under the two distributions.
Input-independent unitaries commute with Υ, so the errors add up: ∥∥Ψt+⟩−Υ∣Ψt−⟩∥≤tε. Append three queries that verify the proposed triangle. The verifier rejects every negative input, and its acceptance projector acts on the workspace, hence commutes with Υ. Therefore the average success probability satisfies σ≤(t+3)ε (Theorem 4.1).
To bound ε, write the part of the negative state just before a query with phase register ∣1⟩ as ∑e∣e,1⟩⊗fe. These query components satisfy ∑e∥fe∥2≤1, and each has infinity norm ∥fe∥∞:=maxx∥(fe)x∥≤1, because the workspace state is a unit vector on every input. The query error is the orthogonal sum of the vectors (Qe+Υ−ΥQe−)fe. Suppose that, for every query index e and every negative joint vector f,
∥(Qe+Υ−ΥQe−)f∥2≤α∥f∥2+β∥f∥∞2.
Summing over e bounds the squared query error by α∑e∥fe∥2+β∑e∥fe∥∞2≤α+mβ. The terms β∥fe∥∞2 account for inputs of small total probability. Their maxima can occur at different inputs for different e, which is why their sum carries the factor m.
The simplest instance is the hybrid argument of Bennett, Bernstein, Brassard, and Vazirani [BBBV97]. For search on m bits, with negative input 0m and positive input δi with a single one at a uniformly random position i, the map Υ∣0m⟩:=m−1/2∑i∣δi⟩ satisfies (Qj+Υ−ΥQj−)∣0m⟩=−2m−1/2∣δj⟩, so ε=2/m. We will construct Υ with ε≈n−13/12.
The input distributions. Our eventual error bound decreases with p after optimizing the averaging parameter, so we seek a triangle-free input distribution with p as large as our estimates permit. A dense graph with independent edges, however, has many triangles: at p=Θ(n−1/2), a random subgraph of Kn,n,n has about n3/2 of them, and Grover search over triples finds one with O(n3/4) queries. The verifier step above needs negative inputs with no triangle at all. We therefore use
ν:=Bernoulli(p)⊗I,μ−:=ν(⋅∣notriangle),
and, for T∈T, the distribution μT that sets the edges of T to one and samples the other edges from ν conditioned on T being the unique triangle. The positive distribution μ+ chooses T uniformly. Conditioning makes the edges dependent, but the dependence is local. Given all other edges, an edge uv is either forced to be absent, because some w has uw and vw present, or it is a Bernoulli(p) bit. Moreover, planting T into a negative input creates another triangle only through a present path of length two that closes an edge of T. There are at most 3Δ such paths, each present with probability at most p2 by Lemma 5.2, so planting changes little as long as Δp2 is a small constant.
2.2 One candidate: records and the four-input map
Until Section 2.5, we replace μ− by ν and μT by the distribution νT that sets the edges of T to one and keeps the other edges independent, which plants T without conditioning. We first describe what queries do for independent bits, and then construct the comparison for a single candidate T.
Records. For independent bits, the following orthonormal basis of each coordinate of the input register makes queries transparent:
∣ωp⟩:=1−p∣0⟩+p∣1⟩,∣ηp⟩:=p∣0⟩−1−p∣1⟩.
The initial input state is ∣ν⟩=∣ωp⟩⊗I. For S⊆I, let ∣S⟩ be the product state with ∣ηp⟩ on the coordinates in S and ∣ωp⟩ elsewhere, and expand a joint vector as f=∑SaS⊗∣S⟩ with workspace vectors aS. In the language of Zhandry's compressed oracle [Zha19], adapted to biased bits [CMSZ21, HM23], the term aS⊗∣S⟩ has records on S.
Two operators connect records with workspace vectors. Let Ei average the workspace vector over bit i, so that (Eif)x=(1−p)fxi←0+pfxi←1, and put Di:=I−Ei. On coordinate i, Ei is the projection onto ∣ωp⟩ and Di the projection onto ∣ηp⟩. Thus Di fixes ∣S⟩ if i∈S and annihilates it otherwise: it projects onto the components with a record at i. Its squared norm has two readings:
∥Dif∥2=S∋i∑∥aS∥2=EX∼ν∥fX−(Eif)X∥2.(2.1)
The first sum is the weight of the records at i. In the second expression, (Eif)X is the conditional mean with all other coordinates fixed, so the expectation is the conditional variance averaged over those coordinates. This expression also applies to dependent bits and is the quantity used in the actual proof.
A query to e acts on coordinate e alone, by the matrix (1−2p2p(1−p)2p(1−p)2p−1) in the basis (∣ωp⟩,∣ηp⟩). Its off-diagonal entries create or remove a record at e, and they are captured by the commutator
Since Qe commutes with Di for i=e and QeDeQe−De=QeKe, each query increases the expected number of records ⟨∑iDi⟩ by at most 2p(1−p). Both facts also hold for the conditioned distribution (Section 4.3), so this record budget does too.
The four-input map. The T-component of Υ will assign to each positive input containing T a linear combination of workspace vectors at negative inputs. We need to choose both the inputs and the coefficients in this combination. First consider a positive input y whose unique triangle is T. For A⊆T, let yA agree with y outside T and contain exactly the edges of A inside T. For A=T this input does not contain T, and under the distributions of Section 2.1 it is negative. The map should satisfy Υ∣ρ−⟩=∣ρ+⟩ and give the same result whether an edge of T is queried before or after applying the map, starting from the initial state. Since each such edge is present in y, querying it after applying the map gives phase −1. The linear combination of its query phases on the negative inputs must therefore also equal −1. Each present edge of T makes an input rarer by a factor p/(1−p), and the error bounds will pay for the rarity of the inputs used. We therefore use the most probable negative assignments 000, 100, 010, 001 of the three edges (Figure 2), with coefficients λ0,…,λ3. The condition Υ∣ρ−⟩=∣ρ+⟩ requires ∑kλk=1. A query to the first edge of T has phase −1 on y and, among the four inputs, phase −1 only on 100. Matching the phase at y therefore requires λ0−λ1+λ2+λ3=−1, that is, λ1=1. The other two edges give λ2=λ3=1, and then λ0=−2:
(TTf)y:=i∈T∑fy{i}−2fy∅,(2.3)
where the same rule is used for every y∈suppνT in the calculation for independent bits, and the joint vector TTf carries the weights of νT. For every e∈T, it satisfies TTQe−∣ν⟩=−∣νT⟩=Qe+TT∣ν⟩.
Figure 2: The four-input map for a positive input y whose unique triangle is T={uv,uw,vw}. The four inputs on the left are negative and agree with y outside T. Solid edges are present and dotted edges are absent; the bit order is uv,uw,vw. The coefficients −2,+1,+1,+1 are determined by TT∣ν⟩=∣νT⟩ and TTQe−∣ν⟩=−∣νT⟩ for each e∈T.
In the computational basis on the three bits of T, TT is the functional (⟨100∣+⟨010∣+⟨001∣)/p(1−p)2−2⟨000∣/(1−p)3 with the fixed bits of the planted triangle suppressed. The denominators remove the square root probability weights on T. The identities ⟨0∣/1−p=⟨ωp∣+p/(1−p)⟨ηp∣ and ⟨1∣/p=⟨ωp∣−(1−p)/p⟨ηp∣ give
Group the record components by their remaining record set S∖T. Each group contains at most eight components, with coefficient c0=1 for the component having no record in T and coefficients of order O(p−1/2) for the others. Different groups remain orthogonal after applying TT. Applying Cauchy–Schwarz within each group and summing gives
∥TTg∥2≤c∥g∥2+pci∈T∑∥Dig∥2.(2.5)
The factor 1/p is paid only by records in T. In particular ∥TT∥2≤c/p.
The query error. For e∈/T the four inputs agree with y on e, so Qe+TT=TTQe−. For e∈T, the query gives phase −1 on y and y{e}, and phase +1 on the other three negative inputs. Substituting these phases into (2.3) gives
The term fy{e} has cancelled: whatever the query does at e, the error depends only on the other two edges of T. In the record basis, the error vanishes on components with no record on T∖{e}, multiplies a single record there by a factor O(p−1/2), and multiplies two records by O(1). In either language,
∥(Qe+TT−TTQe−)f∥2≤pci∈T∖{e}∑∥Dif∥2.(2.7)
2.3 Many candidates: averaging over vertex stars
Why averaging is needed. Let Υ0:=M−1/2⨁TTT. The factor 1/M reflects choosing the planted triangle T uniformly from T in the positive input distribution. Thus
∥Υ0f∥2=M1T∈T∑∥TTf∥2.
Define Lw:=∑i∈st(w)Di. On a record state ∣S⟩, it counts the recorded edges incident to w: Lw∣S⟩=∣S∩st(w)∣∣S⟩. Hence, for f=∑SaS⊗∣S⟩,
⟨f,Lwf⟩=S∑∣S∩st(w)∣∥aS∥2.
For a normalized f, this is the expected number of recorded edges incident to w. For e=uv, the candidates through e are {uv,uw,vw}, one for each common neighbour w, and each edge of st(u)∪st(v) is one of the other two edges for at most one of them. By (2.7),
∥(Qe+Υ0−Υ0Qe−)f∥2≤pMc⟨f,(Lu+Lv)f⟩.(2.8)
The record budget bounds only the total number of records in expectation; it does not prevent their concentration in the stars of u and v. The bound for a query to uv can therefore depend on the entire record budget. Since Lu+Lv⪯2∑i∈IDi, summing (2.8) over the query components of the state after t queries and applying the record budget bounds the squared error of the next query by pMO(tp)=O(t/(pM)). The comparison argument adds the query errors in norm. Including the three verification queries, for t≥1 this gives σ≲tt/(pM)≲t3/2p−1/4M−1/2. Hence we obtain only t≳M1/3p1/6, which is n11/12 for Kn,n,n. On its own, the four-input map thus gives only a sublinear lower bound for Kn,n,n. The averaging introduced next will improve this bound by discounting components with many records near the candidate.
The averaging. We precompose TT with an averaging operator FT acting on the negative input register. It should
(R1) satisfy FT∣ν⟩=∣ν⟩, so that Υ∣ρ−⟩=∣ρ+⟩ still holds;
(R2) reduce the contribution of components with many records near T, while allowing candidates that share a star to be bounded together using a single averaging operator;
(R3) be an average over inputs, so that it does not increase the infinity norm, which controls rare inputs in the actual proof;
together with the averaging operators for individual stars Fw:=(I+Lw/R)−1. In the record basis all of these are diagonal. With kw(S):=∣S∩st(w)∣ and kT(S):=∑w∈V(T)kw(S),
FT∣S⟩=R+kT(S)R∣S⟩,Fw∣S⟩=R+kw(S)R∣S⟩.(2.9)
The averaging operator FT is defined by random-scan Gibbs sampling: (FTf)x is the expected workspace vector at the final input of the walk started at x. At each step, stop with probability R/(R+∑ihT(i)); otherwise choose an incidence between a vertex of T and an edge of its star uniformly, resample that edge from its conditional distribution, and repeat. Resampling coordinate i is the projection Ei: it fixes ∣S⟩ if i∈/S and annihilates it if i∈S. Thus FT∣S⟩ is ∣S⟩ times the probability that the walk stops before touching a recorded coordinate, which is R/(R+kT(S)): at each step, the probabilities of stopping and touching a record are proportional to R and kT(S), while updates to other coordinates leave ∣S⟩ unchanged. The sampling procedure gives (R1) and (R3). The query commutator in (R4) is computed in (2.15). These three properties also hold under the conditioned distribution.
We average over all three stars so that the same map works for every query index. Whichever edge uv of T is queried, its other two edges lie in st(u) and st(v), and these stars are part of the averaging for every candidate through uv. Since kT(S)≥ku(S) and kT(S)≥kv(S), (2.9) lets us bound the contributions from all these candidates using the averaging operators Fu and Fv.
Summing the conditional variances. To prove (R2), we make this comparison precise and sum over each star using the following three estimates:
Equation (2.10) holds because both operators are diagonal in the record basis. Equation (2.11) holds because kT≥kw, so that FT2⪯FT⪯Fw. Equation (2.12) holds because the Di commute, so the sum equals ⟨f,LwFwf⟩, and LwFw=R(1−Fw): a star with k records, each damped by R/(R+k), costs kR/(R+k)≤R in total.
For a queried edge e=uv, apply (2.10) to each candidate T∋e, then (2.11) at u for the edge uw and at v for vw. As T varies, its other edges uw and vw are all distinct, so (2.12) gives
and the squared error is M−1∑T∥gT∥2. The sum of squared norms of the first terms is bounded using (2.7) and (2.13). For the second term, the query sends ∣S⟩ with e∈/S to (1−2p)∣S⟩+2p(1−p)∣S∪{e}⟩, so
and similarly with S∖{e} when e∈S. The bracket is at most h/R.
The commutator is nonzero exactly when T contains an endpoint of e. Figure 3 shows the possible positions. Write Ae for the candidates containing e=uv, at most Δ of them, and Bu,v for those containing u but not v, at most (2Δ) of them.
Both endpoints. Here hT(e)=2, so (2.15) gives ∥[Qe,FT]∥2=O(p/R2). Together with ∥TT∥2≤c/p, this bounds the squared norm of the second term in (2.14) by O(∥f∥2/R2) for each candidate. Summing over ∣Ae∣≤Δ candidates and using (2.7) and (2.13) for the first term gives
T∈Ae∑∥gT∥2≤c(pR+R2Δ)∥f∥2.(2.16)
One endpoint. Here e∈/T, so only the second term remains: gT=TTqT with qT:=[Qe,FT]f and hT(e)=1. We use (2.5). First, ∑T∈Bu,v∥qT∥2≤(2Δ)R24p(1−p)∥f∥2≤R22Δ2p∥f∥2. Second, [Qe,FT]=R−1FTKeFT since hT(e)=1. For i∈T we have i=e, so by (2.10) and [Di,Ke]=0, DiqT=R−1FTKeFTDif. Hence the conditional variances in (2.5) contribute at most R24c∑T∑i∈T∥FTDif∥2.
Figure 3: A candidate triangle T and a queried edge uv of the fixed graph.
To bound this sum, write each candidate as T={uw,uz,wz}. For the two edges uw and uz, use the common star at u. Each such edge occurs in at most Δ candidates, so (2.11)–(2.12) bound their total contribution by ΔR∥f∥2. For the opposite edge wz, use the star of its first endpoint in a fixed vertex order. There are at most Δ choices of this endpoint, since each is adjacent to u, and each edge assigned to one of these stars belongs to at most one candidate containing u. These edges contribute another ΔR∥f∥2. Thus,
T∈Bu,v∑i∈T∑∥FTDif∥2≤2ΔR∥f∥2.(2.17)
Substituting these bounds into (2.5) gives
T∈Bu,v∑∥gT∥2≤c(R2Δ2p+RΔ)∥f∥2,(2.18)
and the same holds for Bv,u. Using only ∥TT∥2≤c/p would give Δ2/R2 in place of Δ2p/R2 in (2.18), losing the desired exponent.
Why use these averaging weights. A sharp cutoff that keeps only components with kT(S)≤R would also bound the error through e by cR/(pM). But its commutator with a query has a term of size 2p(1−p) on every component at the cutoff, and a state with R records in st(u) sits at the cutoff for all of the roughly Δ2 candidates through u, costing order Δ2p instead of Δ2p/R2.
The exponent. Adding (2.16) and two instances of (2.18) and dividing by M gives
Taking R=(Δp)2/3≥1 balances R/p and Δ2p/R2; the other terms are no larger since Δp≥1. For Kn,n,n at p=Θ(n−1/2), R=Θ(n1/3): a candidate is left essentially undamped until its stars carry about n1/3 records, while each star has about n present edges. The resulting error is ε≈Δ1/3/(Mp1/6). The bound on ε decreases as p grows. The density restriction comes from the conditioning: planting locality and the interaction estimates below need Δp2 to be a small constant, so we take p=Θ(Δ−1/2). Then ε≈Δ5/12/M, which is n−13/12 for Kn,n,n, and σ≤(t+3)ε gives t=Ω(n13/12).
2.5 From independent bits to the conditioned distribution
The calculation above uses ν, but the verifier step requires μ− . We now take Ei to average coordinate i conditionally on the other coordinates under μ−, and keep the same definitions of Di, FT, and Fw. The projections Di need not commute, so there is no common product basis of records. Two edge coordinates can interact when a third present edge completes a triangle with them; the degrees of the sampled graph therefore bound the number of interactions. The four-input map retains its formula for workspace vectors, but its joint vectors now use the probability weights of μ− and μT.
Table 2 gives the replacements for the estimates under the product distribution. The record budget still bounds the sum of conditional variances, and (2.6) and the counting arguments remain valid. The three steps that used commutation are replaced using the two-coordinate estimate of Lemma 4.3 and bounds on the sampled degrees.
Fact for independent bits
Under the triangle-free distribution μ−
Reference
record weight ∥Dif∥2
conditional variance, averaged over the other coordinates
Section 4.2
FT∣S⟩=R+kT(S)R∣S⟩
FT averages workspace vectors by conditional resampling, satisfies FT∣μ−⟩=∣μ−⟩, and contracts ∥⋅∥∞
Lemma 4.2
(2.11)
holds because inversion reverses order
(5.15)
[Qe,FT]=RhT(e)FTKeFT
the operator identity holds verbatim, with ∥Ke∥≤2p
(5.30)
norm bound (2.5); error bound (2.7)
hold up to constants, by planting locality
Lemma 5.3
(2.10)
∥DiFTf∥2≤4∥FTDif∥2+Rp∥f∥2+rare
(5.19)
(2.12)
∑i∈st(w)⟨Dif,FwDif⟩≤3R∥f∥2+rare
(5.18)
[Di,Ke]=0,i=e
∥[Di,Ke]∥≤2p
(5.33)
—
terms β∥f∥∞2 from rare inputs contribute mβ to the squared query error
Theorem 4.1; (5.39)
Table 2: The estimates under the product distribution and their replacements under μ−, for R≥1, 0<p≤1/(10Δ), and Δp≥1. “Rare” denotes terms proportional to ∥f∥∞2 and the bound on the degree tail in (5.17); their coefficients are given in the cited estimates.
Sections 4.2 to 4.4 establish the conditional resampling estimates; Section 5 checks their hypotheses for the triangle-free distribution and follows the calculation above. For candidates containing the queried edge, replacing (2.10) adds O(Δ/(MR)) to the coefficient of ∥f∥2. For candidates containing just one endpoint, the additional contribution to this coefficient is O(Δ2p/(MR2)), using R≥1. Both orders already occur in (2.19). The terms for rare inputs contain the factor e−cΔp. With the same choice of R, taking Δp≥C0log(2m) for a sufficiently large constant C0 absorbs them even after summing over all m query indices by (5.39). This gives the same exponent.
3 Preliminaries
3.1 Notation
Let I be a finite set of input coordinates. An input is a bit string x∈{0,1}I. For S⊆I, write xS:=(xe)e∈S; the strings 0S and 1S assign zero and one, respectively, to every coordinate of S.
We order bit strings coordinatewise. An event is increasing if changing zeros to ones preserves membership in the event.
For a probability measure ρ on a finite set Ω, let suppρ:={x∈Ω:ρ(x)>0} and write Eρ for expectation. We use ρ(⋅∣A) only when ρ(A)>0, and write 1A for the indicator of A. The distribution Bernoulli(p) assigns probability p to one and 1−p to zero.
All Hilbert spaces are finite dimensional and complex, with inner products conjugate-linear in the first argument. Script letters denote Hilbert spaces and calligraphic letters denote sets or families. We write linear operators as A,B,…. We use kets for normalized pure states and bold symbols for general vectors. Thus ∣ψ⟩ has unit norm, while f and an operator image such as A∣ψ⟩ need not. The adjoint is denoted by †, and ⟨ψ∣:=∣ψ⟩†.
Unmarked vector norms and inner products are Hilbert space norms and inner products. For a linear map A, its operator norm is
∥A∥:=u=0sup∥u∥∥Au∥.
We write l for the identity operator and Π for an orthogonal projector, so Π†=Π2=Π. For operators on the same space, [A,B]:=AB−BA. For self-adjoint operators, A⪯B means that B−A is positive semidefinite, or equivalently that ⟨u,(B−A)u⟩≥0 for every u; the notation 0≺A means that A is positive definite.
Unless stated otherwise, log denotes the natural logarithm. Constants in asymptotic notation may depend on parameters explicitly held fixed in the statement. The notation O~ suppresses polylogarithmic factors. We use c for positive constants that may change between occurrences, specifying their allowed dependence, and C for absolute constants. Subscripted constants such as C0,C1 are fixed within the statement and proof that use them.
3.2 Queries, joint states, and workspace vectors
The workspace W consists of an index register, a one-qubit phase register, and the remaining registers Wrest. Its basis states are written ∣e,b⟩⊗∣w⟩, where e∈I, b∈{0,1}, and w labels a basis of Wrest. On input x, a query acts as
Ox(∣e,b⟩⊗∣w⟩):=(−1)bxe∣e,b⟩⊗∣w⟩.(3.1)
This is the usual bit oracle conjugated by a Hadamard on the phase register, so it has the same query cost. All input-independent operations are free. The branch b = 0 allows us to pad a computation to a fixed number of queries.
We purify private randomness and retain intermediate measurement outcomes coherently. Starting from an input-independent pure state, an algorithm alternates queries with input-independent unitaries and ends with a measurement. Its workspace includes the output register and any verification ancillas from the outset. On input x, let ∣ψtx⟩∈W be the normalized state after t queries.
For an input distribution ρ on {0,1}I, introduce the input register and its initial state
Hρ:=span{∣x⟩:x∈suppρ},∣ρ⟩:=x∈suppρ∑ρ(x)∣x⟩.
The basis is orthonormal. We place the workspace before the input register, and represent the computation by
∣Ψt,ρ⟩:=x∈suppρ∑ρ(x)∣ψtx⟩⊗∣x⟩.
This joint state is normalized because every ∣ψtx⟩ is normalized. Tracing out the input register gives the algorithm's workspace state averaged over ρ. The joint oracle applies Ox to the workspace on the component labelled by x. The input register is used only for analysis and is accessible to the algorithm only through these queries.
A search algorithm has bounded error on a promised class of positive inputs if it returns a valid solution with probability at least 2/3 on every input in the class. Its output on an input with no solution is unrestricted. We will append an exact verifier when comparing these two cases.
Workspace vectors and local operations. The proof also uses vectors obtained by applying linear maps to joint states. For a fixed distribution ρ, every f∈W⊗Hρ has a unique expansion
f=x∈suppρ∑ρ(x)fx⊗∣x⟩,fx∈W.(3.2)
We call fx the workspace vector associated with input x. It does not include the factor ρ(x). Orthogonality gives
⟨f,g⟩=Ex∼ρ⟨fx,gx⟩W,∥f∥2=Ex∼ρ∥fx∥W2.
We call the maximum of their norms the infinity norm:
∥f∥∞:=x∈suppρmax∥fx∥W.
This norm depends on the reference distribution ρ. For any event A, it bounds the contribution of inputs in A by
x∈A∩suppρ∑ρ(x)∥fx∥W2≤ρ(A)∥f∥∞2.
For an actual computation, the workspace vectors are the unit vectors ∣ψtx⟩, and hence
∥∣ψtx⟩∥=1foreveryx,∥∣Ψt,ρ⟩∥=∥∣Ψt,ρ⟩∥∞=1.
In particular, every query component has workspace vectors of norm at most one, since it is obtained by projecting each ∣ψtx⟩.
We specify local operations by their action on the workspace vectors. The resulting joint vector retains the same square root probability weights unless a different distribution is specified for that vector. Operators acting on the input register act as the identity on the workspace and therefore commute with operations on the workspace. All estimates are uniform in the dimension of W.
In particular, define the phase operator Qe acting on the input register by
(Qef)x:=(−1)xefx.(3.3)
A controlled query applies Qe on components with query index e and phase register ∣1⟩, and acts as the identity when the phase register is ∣0⟩. Superscripts – and + distinguish phase operators for two input distributions. A distribution may also include a hidden label a, in which case we use basis states ∣a,x⟩ and the same square root probability convention. Queries retain the label and read only x.
Finally, for X∼ρ on {0,1}I, define conditional averaging over coordinate e by
This operation replaces each workspace vector by its conditional mean, with all coordinates except e fixed. Write
Dρ,e:=I−Eρ,e
for the corresponding conditional difference. We omit ρ from the subscripts when the distribution is fixed. In Section 4.2, we write these operators explicitly on the two possible values of the bit and prove their projection properties.
4 Comparison and conditional resampling
We compare computations under two input distributions using a linear map in the sense of Belovs [Bel26]. The map matches the initial states, and bounding its error under each query lets us bound the algorithm's success probability.
We use conditional resampling to average the workspace vectors before applying the comparison map. The averaging reduces a weighted sum of conditional variances while almost commuting with each query. We bound these effects first for arbitrary Boolean input distributions, then for Bernoulli bits conditioned to avoid all-ones patterns. For the latter, the main step is to bound the interaction between two conditional averages by the corresponding conditional variances. The resulting estimates control sums of averaged conditional variances and the error in moving a conditional difference through an averaging operator.
4.1 Comparing two computations
Let ρ− and ρ+ be two input distributions for a search problem on the same Boolean coordinate set I. The negative distribution is supported on inputs with no valid output. The positive distribution may include a hidden label, in which case its input register has basis states ∣a,x⟩ and the oracle reads only x. The algorithm has no direct access to either input register. Write X,Y for the two input spaces and ∣ρ−⟩,∣ρ+⟩ for their normalized probability superpositions.
Recall the joint vector convention in (3.2). For a workspace W, a negative joint vector f∈W⊗X has workspace vectors fx∈W, with
f=x∈suppρ−∑ρ−(x)fx⊗∣x⟩.
Its Hilbert norm and infinity norm are, respectively,
∥f∥2=Ex∼ρ−∥fx∥2,∥f∥∞=x∈suppρ−max∥fx∥.
We seek a linear map Υ:X→Y with Υ∣ρ−⟩=∣ρ+⟩. This equality makes the two computations agree before any queries. The map acts on the input register and as the identity on the workspace. Under either distribution, the phase operator Qe± acts on the corresponding input register, multiplying a basis vector labelled by x by (−1)xe. The corresponding controlled oracle O± applies Qe± on components with query index e and phase register ∣1⟩, and acts as the identity when the phase register is ∣0⟩.
Theorem 4.1 (Comparison of computations). Suppose Υ∣ρ−⟩=∣ρ+⟩ and there are nonnegative numbers αe,βe such that, for every finite workspace W and every f∈W⊗X,
∥(Qe+Υ−ΥQe−)f∥2≤αe∥f∥2+βe∥f∥∞2.(4.1)
Suppose an output can be verified exactly with v queries, with verification always rejecting on negative inputs. Every t-query algorithm with average success probability σ under ρ+ then satisfies
σ≤(t+v)(e∈Imaxαe+e∈I∑βe)1/2.(4.2)
Proof. Let ∣Ψ−⟩ be an actual negative joint state just before a query, with normalized workspace state ∣ψx⟩ on each input. Extract its components with query index e and phase register ∣1⟩:
fe:=(⟨e,1∣⊗I)∣Ψ−⟩,(fe)x=(⟨e,1∣⊗I)∣ψx⟩.
These vectors need not be normalized. Orthogonality of the index register and normalization on each input give
e∑∥fe∥2≤1,∥fe∥∞≤1.
Components with phase register ∣0⟩ contribute no error. The comparison preserves the index and phase registers, so its errors for distinct query indices are orthogonal. Thus (4.1) implies
∥(O+Υ−ΥO−)∣Ψ−⟩∥2≤ε2,ε2:=emaxαe+e∑βe.(4.3)
Run the same circuit under the two distributions. Initially, ∣Ψ0+⟩=Υ∣Ψ0−⟩ because the workspace is input independent. If ∪j is the next input-independent unitary, then
In the last equality, we commuted Υ with Uj and added and subtracted UjO+Υ∣Ψj−⟩. The first term propagates the previous error by a unitary, and the second has norm at most ε by (4.3). Induction gives ∥∥Ψj+⟩−Υ∣Ψj−⟩∥≤jε.
Append the exact verifier coherently, padding to v queries if necessary. Let Πacc be its acceptance projector. Verification preserves the original success probability and rejects every negative input, so Πacc∣Ψt+v−⟩=0. Since the projector acts only on workspace, it commutes with Υ. Consequently,
The two terms in (4.1) behave differently when the query index is in superposition. For an actual state, ∑e∥fe∥2≤1, so the contributions αe∥fe∥2 sum to at most maxeαe. We also have ∥fe∥∞≤1 for every e, but these maxima may occur on different inputs. Different inputs can place their entire amplitude on different query indices, making ∑e∥fe∥∞2 as large as ∣I∣. Thus the contributions βe∥fe∥∞2 are bounded by ∑eβe.
In our application, ∣I∣=m and each βe contains a factor e−Ω(Δp). The hypothesis Δp≥C0log(2m) makes this factor small enough to absorb the additional factor m from summing over query indices.
4.2 Conditional variances and averaging
Let ρ be a probability measure on {0,1}I. All operators in this subsection use ρ. Fix an assignment to the coordinates outside i that has positive probability. If both values of xi are allowed, let q be the conditional probability of xi=1. Suppressing the fixed coordinates, define
∣ωq⟩:=1−q∣0⟩+q∣1⟩,∣ηq⟩:=q∣0⟩−1−q∣1⟩.
The restrictions of Ei and Di to these two inputs are
Ei=∣ωq⟩⟨ωq∣,Di=∣ηq⟩⟨ηq∣.
Write f0,f1 for the workspace vectors corresponding to xi=0,1, respectively, with the same fixed assignment outside i. After suppressing the fixed outside coordinates and their common square root probability weight, the joint vector is
1−qf0⊗∣0⟩+qf1⊗∣1⟩.
The projectors act on the input bit of this vector. The operator Ei forgets the dependence of the workspace vectors on xi, with the outside coordinates fixed, while Di retains that dependence:
Since ∣ωq⟩ and ∣ηq⟩ are orthonormal, these restrictions are complementary orthogonal projections. If only one value of xi is allowed, Ei acts as the identity and Di is zero on that input. Hence
Ei†=Ei2=Ei,Di†=Di2=Di,⟨f,Dif⟩=∥Dif∥2.
The squared norm ∥Dif∥2 is the conditional variance of the workspace vectors, averaged over the outside coordinates:
Thus ⟨f,Hf⟩ is the weighted sum of conditional variances. For the product distribution ρ=Bernoulli(p)⊗I, we have q=p for every outside assignment. In the basis of Section 2.2, Ei discards the components with a record at i, while Di selects them. Thus H counts records with weights wi. For dependent bits, q can depend on the outside assignment, and the projections Di need not commute.
Instead of resampling in a fixed order, we use conditional resampling to distribute the updates randomly across the coordinates, reducing the weighted sum of conditional variances while keeping the error introduced at each query index small. Fix R>0. Starting at x∈suppρ, stop with probability R/(R+w). Otherwise choose i with probability wi/w, resample it from its conditional distribution under ρ, and repeat. When w=0, stop immediately. Let K count the resampling steps, with expectation w/R, and let XK be the final input. Define the averaging operator F by
(Ff)x:=E[fXK∣X0=x].
The joint vector Ff retains the weights ρ(x). Resampling from the conditional distribution keeps every input in the support of ρ. The averaging operator satisfies F∣ρ⟩=∣ρ⟩ and contracts the infinity norm. The stopping rule also gives a useful formula for comparing different choices of resampling coordinates. For w>0, one step has averaging operator A:=w−1∑iwiEi. The averaging operator F is an average of powers of A, so the two operators commute. Conditioning on whether the procedure stops before its first update gives
F=R+wRI+R+wwFA.
Since H=w(I−A), we obtain
F=(I+H/R)−1.(4.6)
The inverse exists because H is positive semidefinite. Equation (4.6) also holds when w = 0.
Lemma 4.2 (Properties of conditional resampling). The averaging operator F is self-adjoint and satisfies
0⪯F2⪯F⪯I,F∣ρ⟩=∣ρ⟩,∥Ff∥∞≤∥f∥∞.(4.7)
If H′⪰H and F′:=(I+H′/R)−1, then
0⪯(F′)2⪯F′⪯F.(4.8)
For every operator B acting on the input register,
[B,F]=R−1F[H,B]F.(4.9)
Moreover,
⟨Ff,HFf⟩≤4R∥f∥2.(4.10)
All infinity norms in this lemma use ρ.
Proof. Since H is positive semidefinite, it has an orthonormal eigenbasis with nonnegative eigenvalues. By (4.6), F is diagonal in the same basis, with eigenvalues (1+λ/R)−1∈(0,1] for λ≥0. Thus F is self-adjoint and 0⪯F2⪯F⪯I.
By (3.4), we have Ei∣ρ⟩=∣ρ⟩ for every i. Thus H∣ρ⟩=0, and (4.6) gives F∣ρ⟩=∣ρ⟩. Moreover, the triangle inequality gives, for every x∈suppρ,
∥(Ff)x∥=∥E[fXK∣X0=x]∥≤E[∥fXK∥∣X0=x]≤∥f∥∞.
Taking the maximum over x proves ∥Ff∥∞≤∥f∥∞.
Inversion reverses the order of positive definite operators. Applying this to I+H/R⪯I+H′/R proves (4.8).
For (4.9), use F−1=I+H/R:
[B,F]=F(F−1B−BF−1)F=R−1F[H,B]F.
The scalar inequality u/(1+u/R)2≤R/4 for u≥0 proves (4.10) by spectral calculus.
4.3 Conditioned Boolean inputs and two-coordinate interactions
For independent coordinates, the conditional projections commute. After conditioning, the order of resampling can matter. Let F be a family of nonempty subsets of I; its members may have different sizes. Set
The set Ω is downward closed: changing ones to zeros keeps an input in Ω. It contains the all-zero input, so the conditioning is well defined. In the rest of this section, all operators acting on the input register, joint vectors, and infinity norms use μ unless specified otherwise.
After all coordinates except i are fixed, either setting xi=1 completes a forbidden set and i is forced to zero, or both values are allowed and its conditional distribution is Bernoulli(p). In the latter case, (4.4) applies with q=p. The conditional variance is then
Since Aij(x) depends only on coordinates outside i,j, [Aij,Di]=[Aij,Dj]=0. The event Aij(x)=1 contains every configuration on which resampling i and j can fail to commute. The following lemma bounds these interactions.
Lemma 4.3 (Two-coordinate interaction). For distinct i,j∈I and every f∈W⊗Hμ,
Both resampling orders preserve the coordinates outside {i,j}.
Proof. Fix an assignment to the coordinates outside i,j that has positive probability. Downward closure leaves one of the following allowed sets:
{00},{00,10},{00,01},{00,10,01},{00,10,01,11}.
All except {00,10,01} are products of one-coordinate sets, and their conditional distributions factor. In these cases the two projections commute and their product is positive semidefinite, which proves (4.17)−(4.20) in these cases.
In the remaining case, each single insertion is allowed but their joint insertion is forbidden. There is therefore a set C∈F containing both i,j, with xk=1 for every k∈C∖{i,j}. Thus Aij(x)=1 on all three inputs. The conditional probabilities of 00, 10, 01 are
q00:=1+p1−p,q10:=1+pp,q01:=1+pp.
The restrictions of Di and Dj to these inputs are Pi:=∣ui⟩⟨ui∣ and Pj:=∣uj⟩⟨uj∣, respectively, where
Here fab denotes the workspace vector at xi=a,xj=b, with the outside assignment fixed. Suppressing those coordinates and their common square root probability weight, the joint vector is
q00f00⊗∣00⟩+q10f10⊗∣10⟩+q01f01⊗∣01⟩.
The projections act on its two input bits. Their sum has eigenvectors ∣ui⟩±∣uj⟩ with eigenvalues 1±p, and
Each of g00,g10,g01 has norm at most 2p∥f∥∞. If Aij(x)=0, the conditional distribution factors, so gx=0. Thus
∥gx∥≤2pAij(x)∥f∥∞,
which proves (4.20).
4.4 Conditional differences after averaging
We derive two consequences of Lemma 4.3: a bound on sums of averaged conditional variances over a common block of coordinates, and a way to move a conditional difference through an averaging operator.
Summing over a common block. We seek a bound on ∑i∥FiDif∥2 proportional to R∥f∥2, even when many indices i are summed. Bounding each term separately by ∥f∥2 would lose a factor equal to the number of indices i. We instead look for a single averaging operator F over a common set of coordinates such that Fi2⪯F for every i. This comparison gives
i∑∥FiDif∥2≤i∑⟨Dif,FDif⟩,
so all terms on the right use the same averaging operator.
To see what this common averaging operator accomplishes, suppose that the projections Πi commute, and put L:=∑iΠi and F:=(1+L/R)−1. Decompose f into orthogonal components on which every Πi acts either as the identity or as zero. If a component g is selected by exactly k projections, it appears in k summands. At the same time, Lg=kg, so Fg=Rg/(R+k). Its total contribution is therefore
i∑⟨Πig,FΠig⟩=R+kkR∥g∥2≤R∥g∥2.
The components counted more often are thus reduced more strongly by the averaging operator. Summing over the orthogonal components gives a bound of R∥f∥2, independent of the number of projections.
For dependent inputs, the conditional projections need not commute, so this common decomposition is no longer available. The following lemma controls the additional commutator terms in the sum.
Lemma 4.4 (Summing projections). Let Π1,…,Πℓ be orthogonal projections on a finite-dimensional Hilbert space, and put L:=∑i=1ℓΠi. Suppose that γ>0 and κ≥0 satisfy
L2⪰γL,i=1∑ℓ∥[Πi,L]g∥2≤κ2⟨g,Lg⟩foreveryg.(4.21)
For every R>0, let F:=(1+L/R)−1. Then
i=1∑ℓ⟨Πif,FΠif⟩≤(2+γ2κ2)R∥f∥2foreveryf.(4.22)
Proof. Put Y:=∑i⟨Πif,FΠif⟩. Write FΠi=ΠiF+[F,Πi] and use Πi2=Πi. Applying (4.9) gives
The first term is at most R∥f∥2, since LF=R(I−F) and 0⪯F⪯I.
The first hypothesis in (4.21) says that every positive eigenvalue of L is at least γ. For h∈kerL,
0=⟨h,Lh⟩=i∑∥Πih∥2,
so every Πi annihilates h. By self-adjointness, Πif is therefore orthogonal to ker L. On this orthogonal complement, the eigenvalues of F are at most R/(R+γ), so F2⪯RF/(R+γ) there. It follows that
i∑∥FΠif∥2≤R+γRY,⟨Ff,LFf⟩≤R+γR2∥f∥2.(4.24)
For the second inequality in (4.24), a positive eigenvalue λ≥γ contributes the factor λR2/(R+λ)2≤R2/(R+γ), while a zero eigenvalue contributes zero.
Apply Cauchy–Schwarz to the sum in (4.23), and then use the second hypothesis in (4.21) with g=Ff. Together with (4.24), this gives
If f=0, the conclusion is immediate. Otherwise set y:=Y/(R∥f∥2). Since R+γ≥γ,
y≤1+R+γκy≤1+2y+2γ2κ2.
Rearranging proves (4.22).
We now return to the conditioned Bernoulli distribution μ defined in (4.11) and its projections Di. We call a set B⊆I a block of coordinates. After fixing all coordinates outside B, the conditional operations within B act on a single conditional input distribution. If each coordinate can interact with only a few others throughout this conditional distribution, Lemma 4.4 gives the desired bound. The next statement also allows a small probability of outside assignments for which this condition fails.
Lemma 4.5 (A common block of coordinates). Let B⊆I, and define
LB:=i∈B∑Di,Ni,B(x):=j∈B∖{i}∑Aij(x)(i∈B).
Suppose that GB is an event determined by the coordinates outside B, with μ(GBc)≤b, where 0≤b≤1. Assume that, for some d≥0 with pd≤1/10,
Ni,B(x)≤dforeveryi∈Bandeveryx∈suppμ∩GB.(4.25)
For each i∈B, let Hi be a positive semidefinite operator acting on the input register and satisfying Hi⪰LB. For any R>0, put
The equality uses Aij(x)=Aji(x) and Aij(x)2=Aij(x). Thus Lemma 4.4 applies with
γ:=1−pd≥109,κ2:=2(1+p)(pd)2≤1003.
Since 2+κ2/γ2<3, it follows that
i∈B∑⟨Dif,FBDif⟩≤3R∥f∥2.(4.27)
For the general case, fix the coordinates outside B. Each Di,i∈B, and hence FB, preserves these outside coordinates. Within the resulting conditional input distribution, the joint vector has the original workspace vectors and the conditional square root probability weights. The distribution is still obtained by conditioning independent Bernoulli bits on a downward-closed set of allowed assignments within B, so (4.17)–(4.20) remain valid there. On an outside assignment in GB, (4.25) holds for every permitted assignment within B, so the preceding argument proves (4.27) in the conditional norm.
On any other outside assignment, 0⪯FB⪯I and the fact that the Di are projections give, in the conditional norm,
i∈B∑⟨Dif,FBDif⟩≤i∈B∑∥Dif∥2≤∣B∣∥f∥2.
Averaging the good conditional bounds contributes at most 3R∥f∥2. Averaging the remaining bounds contributes at most ∣B∣μ(GBc)∥f∥∞2. This proves the second inequality in (4.26). □
Moving a difference through an averaging operator. Lemma 4.5 controls sums of ∥FDif∥2. Query errors instead produce the opposite order, DiFf. The following lemma compares the two orders.
Lemma 4.6 (Moving a difference through an averaging operator). Let H=∑jwjDj, where wj≥0 and ∑jwj≤w. Fix i∈I. Suppose an event G satisfies μ(Gc)≤b, and
j=i∑wjAij(x)≤d(x∈G),0≤d≤w,pd≤52.
For R≥1 and F=(I+H/R)−1, every joint vector f∈W⊗Hμ satisfies
Multiplying by μ(x) and summing over x∈suppμ∩G, then extending the nonnegative sum to all x∈suppμ and applying (4.18), bounds this contribution by
dp2(1+p)j=i∑wj(∥AijDif∥2+∥AijDjf∥2).
For the first sum, split the expectation according to whether x∈G. On G, use ∑j=iwjAij(x)≤d; on its complement, use ∑j=iwjAij(x)≤w and ∥Dif∥∞≤2∥f∥∞. This gives
The inputs in Gc contribute at most 4p2w2b∥f∥∞2. Together, the two exceptional contributions have coefficient at most
(4(1+p)p2dw+4p2w2)b≤16p2w2b=τ2.
This proves (4.29). Both uses of G split an expectation according to the input x indexing the workspace vector: first ([Di,H]f)x, then (Dif)x. The event can therefore depend on all coordinates, as allowed in the statement.
Apply (4.9) and (4.29) to Ff. Using ∥Ff∥≤∥f∥ and ∥Ff∥∞≤∥f∥∞, together with (4.10), gives
Move the second term to the left and substitute the definition of τ2 to prove (4.28). The smallness condition on pd is used only in this last absorption step.
5 Triangle finding
We first prove a bound in terms of the number of triangles and the maximum degree of a fixed graph, then apply it to Kn,n,n. All constants in this section are absolute.
Let G be a finite simple undirected graph known to the algorithm. The input is an unknown subgraph Gx on the same vertex set, specified by x∈{0,1}I, where I:=E(G) and xe=1 precisely when e is present. Pairs outside I, including repeated vertices, have known answer zero. Write m:=∣I∣, let Δ be the maximum degree of G, and let T be its family of triangles, each identified with its three-edge set. Put M:=∣T∣, and assume M≥1. Thus m≥3 and Δ≥2.
For the positive input distribution, choose T∈T uniformly, set its edges to one, and sample the other edges independently with probability p, conditioned on T being the unique triangle. This conditioning has positive probability, since all edges outside T can be zero. Denote the distribution for a fixed T by μT, and put μ+:=M−1∑TμT. The algorithm is given G but is not told T. Write σ for its average probability of finding the triangle.
Theorem 5.1 (Triangle search in a fixed graph). There are absolute constants C0,C1>0 such that the following holds. Let G have m edges, maximum degree Δ, and M≥1 triangles. If
0<p≤10Δ1,Δp≥C0log(2m),(5.1)
then every t-query quantum algorithm has average success probability σ under μ+ satisfying
σ≤C1(t+3)Mp1/6Δ1/3.(5.2)
We first prove Theorem 5.1, assuming (5.1) throughout and taking C0 large enough that Δp≥1. We then specialize to the complete tripartite graph.
5.1 Input distributions and local comparison
Let Ω− be the set of triangle-free subgraphs of G, and put
ν:=Bernoulli(p)⊗I,μ−:=ν(⋅∣Ω−),X:=Hμ−.
The all-zero input makes this conditioning well defined. From now on, the conditional averages Ei and differences Di use this negative distribution. It is an instance of the conditioned Bernoulli distribution in Section 4.3, with forbidden sets T. Unless another distribution is displayed, f denotes a vector in W⊗X, and ∥f∥∞=maxx∈Ω−∥fx∥.
For T∈T, write Tˉ:=I∖T and νTˉ:=Bernoulli(p)⊗Tˉ. Let GT be the event on these outside coordinates that setting all three edges of T to one gives a graph whose unique triangle is T. Thus μT samples z from νTˉ(⋅∣GT) and returns (z,1T). We retain T as a label in the positive input register:
The label is determined by the input's unique triangle and is not accessible to the algorithm. The phase operators Qe− and Qe+ act on the negative and positive input registers, respectively, as defined in (3.3). The same notation Qe+ on YT denotes its restriction to that component.
We will compare workspace vectors at positive inputs with those at a few negative inputs. To compare their probability weights, we first bound increasing events under μ− by their probabilities under the product distribution ν.
Lemma 5.2 (Comparison with independent bits). Let Ω⊆{0,1}I be nonempty and downward closed, and put μ:=ν(⋅∣Ω), where ν=Bernoulli(p)⊗I. There is a coupling (X,Y) with X∼μ, Y∼ν, and Xi≤Yi for every i∈I. Consequently, every increasing event has probability under μ at most its probability under ν.
Proof. We construct both inputs using the same independent random numbers. The key point is that, even after some coordinates have been chosen, the conditional probability of a one under μ is at most p. To see this, let Z∼μ and fix all coordinates except i to an assignment of positive probability. Downward closure leaves either only Zi=0 or both values allowed. In the latter case their conditional probabilities are 1−p and p, respectively. For any J⊆I∖{i}, averaging over the coordinates outside J∪{i} therefore gives
Pr[Zi=1∣ZJ]=E[Pr[Zi=1∣ZI∖{i}]ZJ]≤p.(5.4)
Relabel the coordinates as I=[m]. For each prefix (x1,…,xi−1) of positive probability under μ, put
Equation (5.4) gives qi≤p. Sample U1,…,Um independently and uniformly from (0,1), and define successively
Xi:=1{Ui≤qi(X1,…,Xi−1)},Yi:=1{Ui≤p}.
For i=1, the conditioning in q1 is empty. At step i, the variable Ui is independent of X1,…,Xi−1, so the conditional probability that Xi=1 is exactly qi(X1,…,Xi−1). Induction on i shows that every prefix of X has the corresponding marginal distribution under μ, and hence X∼μ. Each Yi depends only on Ui and is Bernoulli(p), so the Yi are independent and Y∼ν.
Since qi≤p, whenever Xi=1 the same random number also gives Yi=1. Thus Xi≤Yi for every coordinate. If A is an increasing event, X∈A then implies Y∈A, and consequently
μ(A)=Pr[X∈A]≤Pr[Y∈A]=ν(A).
Starting from a negative input, filling T can create another triangle only if that triangle shares an edge with T. Its two other edges must already be present. Distinct triangles share at most one edge, and there are at most Δ triangles through any fixed edge. Applying Lemma 5.2 to μ− and taking a union bound therefore give
μ−(GT)≥1−3Δp2≥0.97.(5.5)
Here GT is evaluated on a full input by looking only at its edges outside T.
Put Z:=ν(Ω−) and ZT:=νTˉ(GT). On GT, exactly the seven proper subsets of T give negative inputs. Hence
The last inequality uses p≤1/2 and (5.5). We will use the bound rT≤c later in the proof.
A comparison using four negative inputs. For y∈suppμT and U⊆T, let yU agree with y outside T and have exactly the edges in U present inside T. Every proper U gives a negative input: deletion cannot create a different triangle, and at least one edge of T is missing.
As explained in Section 2.2, we combine the workspace vectors at the four most probable of these inputs, y∅ and y{i} for i∈T. We seek a linear map TT:X→YT satisfying TT∣μ−⟩=∣μT⟩ and giving the same result whether an edge of T is queried before or after applying the map, starting from ∣μ−⟩. These two requirements determine its scalar coefficients:
(TTf)y:=i∈T∑fy{i}−2fy∅.(5.7)
The resulting joint vector is ∑yμT(y)(TTf)y⊗∣y⟩. Thus (5.7) combines workspace vectors, while the probability weights in the resulting vector are those of μT. For every e∈T,
where both sums range over supp μT. For each z∈GT, (5.6) gives
μT(z,1T)=ZTνTˉ(z)=rTμ−(z,0T).(5.8)
We will use the following two consequences:
∥f0(T)∥2≤c∥f∥2,∥fi(T)−f0(T)∥2≤pc∥Dif∥2.(5.9)
Multiplying (5.8) by ∥f(z,0T)∥2 and summing over z∈GT proves the first inequality in (5.9), using rT≤c from (5.6). For the second inequality in (5.9), fix z∈GT and set the other two edges of T to zero. Both values of xi are allowed, so by (4.12) these two negative inputs contribute
Zp(1−p)3νTˉ(z)∥fy{i}−fy⋄∥2,y:=(z,1T),
to ∥Dif∥2. Here (1−p)2νTˉ(z)/Z is the total probability of the two inputs, and p(1−p) is their conditional variance factor. Summing over the distinct assignments z∈GT yields ∥Dif∥2≥(p/rT)∥fi(T)−f0(T)∥2, proving the bound.
Lemma 5.3 (Local comparison). We have TT∣μ−⟩=∣μT⟩. For every f,
Proof. The four scalar coefficients in (5.7) sum to one, so TT∣μ−⟩=∣μT⟩. Write TTf=f0(T)+∑i∈T(fi(T)−f0(T)) and apply (5.9) to its four terms. This proves (5.10), and contraction of each Di gives (5.11). For e∈/T, all four inputs have the same value of xe, so Qe+TT=TTQe−. For e∈T, the query gives phase -1 on y and y{e}, and phase +1 on the other three evaluated inputs. Substituting these phases gives (5.12); then (5.9) gives (5.13). □
5.2 Star averages and sums over triangles
We now define the averages of Section 2.3 for the triangle-free distribution. For each vertex w, put
st(w):={i∈I:w∈i},Lw:=i∈st(w)∑Di.
For a joint vector f, the sum of conditional variances over the edges incident to w is
The weights satisfy 0≤hT(i)≤2 and ∑ihT(i)≤3Δ. By Lemma 4.2, Fw∣μ−⟩=FT∣μ−⟩=∣μ−⟩, and both averaging operators contract ∥⋅∥ and ∥⋅∥∞. All triangles containing w can be compared with the same averaging operator Fw: since HT⪰Lw for w∈V(T), (4.8) gives
FT2⪯FT⪯Fw.(5.15)
To check the local hypotheses for these averages, we first control degrees in the random input. Define
There are at most 2m nonisolated vertices. By Lemma 5.2, the degree event at each vertex is no more likely under μ− than under the product distribution. A union bound therefore gives
The bounds (5.18) and (5.19) use different degree events. For Lemma 4.5, the good event must be determined outside the star, and the interaction bound must hold for every permitted assignment within it. In contrast, Lemma 4.6 allows the good event degmax≤d0 to depend on the full input. Figure 4 illustrates the distinction. Take B:=st(u)={uv,uw,uz} and fix the two outside edges vw,wz to be present, with no other possible edges. The interaction count for uw is Nuw,B(x)=xvw+xwz=2 for every permitted star assignment, whether or not uw is present. However, the first two permitted assignments have maximum degrees two and three, respectively. Thus a bound on the degree of the current full graph need not remain valid under resampling within the star. We use the maximum degree of the outside graph for (5.18), and degmax for (5.19).
Lemma 5.4 (Bounds for star averages). For every vertex w, every R > 0, and every negative joint vector f,
i∈st(w)∑⟨Dif,FwDif⟩≤3R∥f∥2+Δb∥f∥∞2.(5.18)
Put τ2:=144p2Δ2b. For every triangle T, coordinate i∈I, and R≥1,
Figure 4: Resampling a star while keeping the outside edges fixed. Thin solid edges are fixed and present. Thick solid edges are present star edges; dotted edges are absent. The first two assignments are triangle-free. The third contains uvw, so it has zero probability under the conditional distribution on the star.
Proof. For (5.18), fix all edges outside st(w). A permitted set of present star edges cannot contain both wu and wv when the outside edge uw is present. These are exactly the restrictions: a triangle through w has two star edges and one outside edge, and the fixed outside assignment already contains no triangle. Thus the conditional distribution on the star is that of independent Bernoulli(p) bits conditioned on avoiding these forbidden pairs. For i=wu, the count Ni,st(w)(x) is the number of present outside edges uv for which wv∈st(w). It depends only on the outside assignment and is at most the degree of u in that outside graph. Thus an outside assignment with maximum degree at most d0 gives Ni,st(w)(x)≤d0 for every i∈st(w), uniformly over all permitted assignments inside the star. The probability of a bad outside assignment is at most b, because deleting a star cannot increase maximum degree. This good event depends only on outside coordinates. By (5.16), Lemma 4.5 applies and gives (5.18).
For (5.19), use the event degmax≤d0 in Lemma 4.6. Fix i=uv. An edge that can complete a triangle with i is of the form uw with vw present, or vw with uw present. There are at most degu(x)+degv(x)≤2d0 such edges at an input x in this event. Since each weight hT(j) is at most two, their total weight is at most 4d0. Using ∑jhT(j)≤3Δ, the coefficient of ∥f∥∞2 in (4.28) is at most 64p2(3Δ)2b/R2=4τ2/R2. The numerical hypotheses also hold: p(4d0)≤36Δp2≤0.36<2/5. Moreover, Δp≥1 and p≤1/(10Δ) imply Δ≥100 and p≤1/100, whence 4d0≤36Δp≤3Δ. Applying Lemma 4.6 proves (5.19). □
Summing over triangles. We now sum the conditional variances over the triangles that meet a queried edge. By (5.15), terms from different triangles that use the star at w can all be bounded with Fw. For an edge i∈T and either endpoint w of i,
∥FTDif∥2=⟨Dif,FT2Dif⟩≤⟨Dif,FwDif⟩.(5.20)
When several triangle terms use the same edge i and star at w, the term ⟨Dif,FwDif⟩ is counted with that multiplicity.
Fix a queried edge e=uv and define
Ae:={T∈T:e∈T},Bu,v:={T∈T:u∈V(T),v∈/V(T)}.
Up to exchanging u and v, these are the two ways that a triangle can meet the queried edge: a triangle containing both endpoints contains e itself.
Lemma 5.5 (Two triangle sums). For every negative joint vector f and R≥1,
Proof. For (5.21), we first bound the sum of ∥FTDif∥2. For T={uv,uw,vw}∈Ae, bound the term for uw using the star at u, and the term for vw using the star at v. Each edge occurs at most once in its respective star. By (5.20) and (5.18),
There are at most Δ such triangles and hence at most 2Δ terms. Applying (5.19) to each proves (5.21).
For (5.22), let T={uw,uz,wz}∈Bu,v. The edges uw,uz belong to the star at u. Each fixed edge there belongs to at most Δ triangles. The terms for these edges sum to at most Δ times the right side of (5.18). For the opposite edge wz, choose its first endpoint in a fixed vertex order and use that endpoint's star. There are at most Δ choices of this endpoint, because it is adjacent to u in G. For each chosen endpoint, an edge wz occurs for at most one triangle with the fixed vertex u. Applying (5.18) to each such star gives
Its component for fixed T is TTFTf, with the convention in (5.3). Since FT∣μ−⟩=∣μ−⟩ and TT∣μ−⟩=∣μT⟩, we have Υ∣μ−⟩=∣μ+⟩.
The query phases on the positive input and the four negative inputs need not agree. The query also need not commute with the preceding average. For the component of the error with fixed T, write
Proof. Recall the commutator Ke=[De,Qe−] from (4.13), here under the negative distribution. By (4.14), ∥Ke∥≤2p and ∥Kef∥∞≤2∥f∥∞. For i=e, [Di,Qe−]=0, so (4.15) specializes to
The last inequality uses R≥1 and that FT is a contraction. Now sum over T∈Bu,v and i∈T, and apply (5.22). There are O(Δ2) pairs; using R≥1 and p≤1 gives
Equation (5.36) also holds for Bv,u. Adding its two instances and (5.31), then dividing by M as in (5.3), proves (5.27)–(5.29).
Choosing the amount of averaging. To balance R/p and Δ2p/R2 in (5.28), take
R:=(Δp)2/3.(5.37)
Since Δp≥1, we have R≥1 and the other terms in (5.28) are no larger. Thus
α≤cMp1/3Δ2/3.(5.38)
Proof of Theorem 5.1. Use the comparison (5.25) with the choice (5.37). Put A0:=Δ2/3/(Mp1/3). We have α≤cA0 by (5.38). To apply Theorem 4.1, it remains to show mβ≤cA0. Substituting τ2=144p2Δ2b and (5.37) into (5.29), the four terms divided by A0 are at most absolute constants times
bΔ1/3p−2/3,bΔ,b/p,bΔ2/3p−4/3,
respectively. Since p≥1/Δ, each is at most cbΔ2. There are m query indices, so
A0mβ≤cmbΔ2≤cm4exp(−ctailΔp),(5.39)
where we used Δ≤m and (5.17). Taking C0 sufficiently large in (5.1) makes the last expression bounded by an absolute constant, uniformly in m.
To finish, an output consisting of three distinct vertices is checked for membership in T without queries, and three queries verify its edges. This verifier always rejects on μ−. By Theorem 4.1, (5.38), and (5.39),
σ≤(t+3)α+mβ≤C1(t+3)Mp1/6Δ1/3.
Proof of Theorem 1.1. Take G to be the complete tripartite graph Kn,n,n, whose three parts have size n and are known to the algorithm. Every input graph has edges only between different parts. Then m=3n2, Δ=2n, and M=n3. Set p:=1/(102n). The first condition in (5.1) holds with equality, and for sufficiently large n,
Δp=102n≥C0log(6n2).
Thus Theorem 5.1 gives
σ≤C1(t+3)n3/2p1/6(2n)1/3≤c(t+3)n−13/12.
An algorithm succeeding with probability at least 2/3 on every promised positive input has at least this average success, and therefore needs Ω(n13/12) queries. For an arbitrary number N of vertices, take n:=⌊N/3⌋ and leave the remaining vertices isolated. All additional pairs have known answer zero. This proves the Ω(N13/12) lower bound. □
Corollary 1.2. For every fixed connected non-bipartite graph H, detecting H as a subgraph of an N-vertex graph in the adjacency matrix model requires Ω(N13/12) quantum queries.
Proof of Corollary 1.2. By [GZ26, Corollary 5.3], detecting a fixed connected non-bipartite graph H is at least as hard as detecting a triangle, up to constant factors in the number of vertices and queries. The result follows from Theorem 1.1 and the constant-factor search-to-decision reduction for triangles [CGP26, Lemma 23]. □
Acknowledgments
We thank Aleksandrs Belovs for suggesting that his framework based on a hidden type could be applied to lower bounds for triangle finding. We also thank Subhasree Patro, Zeph Landau and Thiago Bergamaschi for motivating discussions. AC is supported by ERC Starting Grant 101163189. ASG received support from the National Science Foundation (grant 26-17356). XZ is supported by NSERC Grant RGPIN-2024-06493.
Use of generative AI. Our initial proof established an Ω(nlogn) lower bound by building on Belovs's approach with additional constructions and estimates with the help of OpenAI GPT 6 Astra. Starting from this proof, GPT 6 Astra developed the entire argument yielding the improved Ω(n13/12) bound.
OpenAI GPT 6 Astra, and Anthropic Opus 5.5 were used for literature searches, manuscript drafting and revision, proof development and checking, and LaTeX preparation. The authors retain full responsibility for reviewing the generated material and for all mathematical claims and final text.
References
[BBBV97] Charles H. Bennett, Ethan Bernstein, Gilles Brassard, and Umesh Vazirani. Strengths and weaknesses of quantum computing. SIAM Journal on Computing, 26(5):1510–1523, 1997. doi:10.1137/S0097539796300933.
[Bel12] Aleksandrs Belovs. Span programs for functions with constant-sized 1-certificates. In STOC 2012, pages 77–84, 2012. doi:10.1145/2213977.2213985.
[Bel26] Aleksandrs Belovs. Tight quantum lower bound for k-distinctness. In 67th Annual IEEE Symposium on Foundations of Computer Science (FOCS 2026), 2026. To appear. arXiv:2604.05133v2.
[CGP26] Arjan Cornelissen, Amin Shiraz Gilani, and Subhasree Patro. Quantum algorithms for path and cycle containment problems. In APPROX/RANDOM 2026, volume 392 of LIPIcs, pages 72:1–72:23, 2026. doi:10.4230/LIPIcs.APPROX/RANDOM.2026.72.
[CK12] Andrew M. Childs and Robin Kothari. Quantum query complexity of minor-closed graph properties. SIAM Journal on Computing, 41(6):1426–1450, 2012. doi:10.1137/110833026.
[CLM20] Titouan Carette, Mathieu Laurière, and Frédéric Magniez. Extended learning graphs for triangle finding. Algorithmica, 82(4):980–1005, 2020. doi:10.1007/s00453-019-00627-z.
[CMSZ21] Jan Czajkowski, Christian Majenz, Christian Schaffner, and Sebastian Zur. Quantum lazy sampling and game-playing proofs for quantum indifferentiability. arXiv:1904.11477v4, 2021. URL: https://arxiv.org/abs/1904.11477v4.
[CMT15] Pietro Caputo, Georg Menz, and Prasad Tetali. Approximate tensorization of entropy at high temperature. Annales de la Faculté des sciences de Toulouse: Mathématiques, 24(4):691–716, 2015. doi:10.5802/afst.1460.
[Gro96] Lov K. Grover. A fast quantum mechanical algorithm for database search. In STOC 1996, pages 212–219, 1996. doi:10.1145/237814.237866.
[GWWZ26] Amin Shiraz Gilani, Daochen Wang, Pei Wu, and Xingyu Zhou. Quantum algorithms on edge lists: Hiding, shuffling, and cycle finding. In ICALP 2026, volume 374 of LIPIcs, pages 97:1–97:16, 2026. doi:10.4230/LIPIcs.ICALP.2026.97.
[GZ26] Amin Shiraz Gilani and Xingyu Zhou. Superlinear quantum query lower bounds for subgraph detection. arXiv:2609.40263v2, 2026. URL: https://arxiv.org/abs/2609.40263v2.
[HLŠ07] Peter Høyer, Troy Lee, and Robert Špalek. Negative weights make adversaries stronger. In STOC 2007, pages 526–535, 2007. doi:10.1145/1250790.1250867.
[HM23] Yassine Hamoudi and Frédéric Magniez. Quantum time-space tradeoff for finding multiple collision pairs. ACM Transactions on Computation Theory, 15(1–2):3:1–3:22, 2023. doi:10.1145/3589986.
[JKM13] Stacey Jeffery, Robin Kothari, and Frédéric Magniez. Nested quantum walks with quantum data structures. In SODA 2013, pages 1474–1485, 2013. doi:10.1137/1.9781611973105.106.
[LG14] François Le Gall. Improved quantum algorithm for triangle finding via combinatorial arguments. In FOCS 2014, pages 216–225, 2014. doi:10.1109/FOCS.2014.31.
[LMS17] Troy Lee, Frédéric Magniez, and Miklos Santha. Improved quantum query algorithms for triangle detection and associativity testing. Algorithmica, 77(2):459–486, 2017. doi:10.1007/s00453-015-0084-9.
[MSS07] Frédéric Magniez, Miklos Santha, and Mario Szegedy. Quantum algorithms for the triangle problem. SIAM Journal on Computing, 37(2):413–424, 2007. doi:10.1137/050643684.
[ŠS06] Robert Špalek and Mario Szegedy. All quantum adversary methods are equivalent. Theory of Computing, 2(1):1–18, 2006. doi:10.4086/toc.2006.v002a001.
[Sze03] Mario Szegedy. On the quantum query complexity of detecting triangles in graphs, 2003. URL: https://arxiv.org/abs/quant-ph/0310107, arXiv:quant-ph/0310107.
[Zha05] Shengyu Zhang. On the power of Ambainis lower bounds. Theoretical Computer Science, 339(2-3):241–256, 2005. doi:10.1016/j.tcs.2005.01.019.
[Zha19] Mark Zhandry. How to record quantum queries, and applications to quantum indifferentiability. In Advances in Cryptology—CRYPTO 2019, Part II, volume 11693 of Lecture Notes in Computer Science, pages 239–268, 2019. doi:10.1007/978-3-030-26951-7_9.