arXiv:2610.23560quant-phOct 2026

Manuscript Offprint

arXiv:2610.23560

Electrostatic Limits on Quantum Spatial Search

Weikang Li

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Weikang Li 1,2,†^{1,2,\dagger}

1^{1}Center for Quantum Information, IIIS, Tsinghua University, Beijing 100084, China

2^{2}Hefei National Laboratory, Hefei 230088, China

We prove that a quantum walker cannot search a two-dimensional lattice in Grover's O(N)O(\sqrt{N}) time, resolving the long-standing open question posed by Aaronson and Ambainis in 2003. A walker that hops between neighbouring sites of an L×LL \times L lattice, N=L2N = L^2, needs Ω(Nlog⁡N)\Omega(\sqrt{N} \log N) local steps at least to find a marked vertex, even with unlimited memory and free queries. Hence, Tulsi's algorithm is asymptotically optimal. Our proof rests on a surprising correspondence with classical electrostatics. We treat the marked vertex as a point charge and weight the overlap between the walker's states with and without the mark by the potential drop, which vanishes where queries act. Only local steps change this weighted overlap, at a rate limited by the field energy, so the lower bound is set by the self-potential of the charge. In the plane this self-potential grows logarithmically with system size, like the Coulomb potential, leading to the extra root-logarithmic factor. Several marked vertices turn the charge into a conductor, and the lower bound depends on their arrangement through its capacitance.

Grover’s algorithm finds one marked item among N with O(N)O(\sqrt{N}) queries, an optimal quadratic speedup assuming that every item is reachable in a single step [1–3]. When the items sit on a lattice and a quantum walker can move only between neighbouring sites, information about the marked item must travel through space [4]. This spatial search problem is a prototype application of quantum walks [5–9] and a natural task for lattice platforms such as photonic waveguide arrays, ultracold atoms and superconducting qubit grids [10–12]. In three or more dimensions a local walker finds the marked vertex in O(N)O(\sqrt{N}) steps, matching Grover’s algorithm [13–15]. On the square lattice the fastest known algorithms take O(Nlog⁡N)O(\sqrt{N} \log N) steps. It has remained open whether a better algorithm can remove the extra factor log⁡N\sqrt{\log N}, or whether it is imposed inevitably by two-dimensional locality [14–17].

Aaronson and Ambainis introduced the spatial query model and searched the L×LL \times L lattice, N=L2N = L^2, in O(N(log⁡N)3/2)O(\sqrt{N}(\log N)^{3/2}) steps [15]. Subsequent works lowered the cost to O(Nlog⁡N)O(\sqrt{N} \log N) by combining amplitude amplification with coined walks, which steer the hops with an internal coin state [13], coinless walks [18, 19], and continuous-time walks [14, 20]. Tulsi's walk, which adds one control qubit to the coined walk, reaches O(Nlog⁡N)O(\sqrt{N} \log N) with constant success probability [21], and several other walks have since matched this scaling [22–25]. A second line of work relates the cost of search to classical random walks. Quantum-walk search frameworks [26–28] led to algorithms that find a marked vertex on any graph in the square root of the classical hitting time, up to logarithmic factors [29–32]. On the square lattice this hitting time is of order Nlog⁡NN \log N, which again gives the factor log⁡N\sqrt{\log N}. With kk marked vertices, these algorithms take the square root of the hitting time of the marked set, up to logarithmic factors [30, 33]. This hitting time depends on how the marked vertices are arranged, and so does the speed of specific quantum walks [34–36]. However, no matching lower bound is known for general algorithms. The best one has remained Ω(N)\Omega(\sqrt{N}) for one marked vertex and for k=o(N)k = o(N) [2, 15], and stronger bounds cover only specific families of walks [6, 37, 38].

Resolving the above issue requires a lower bound that holds for every local algorithm. Three challenges stand in the way. First, the walker may carry unbounded memory and apply different position-dependent operations at each step, which rules out analyses based on the spectrum or dispersion relation of a fixed walk operator [38, 39]. Second, a bound must count local steps rather than queries, because O(N)O(\sqrt{N}) queries suffice on the square lattice if the walker moves enough between them [16, 40]. Third, light-cone and hybrid arguments track how far amplitude can travel [15, 41], but distance alone gives only Ω(N)\Omega(\sqrt{N}), the diameter of the lattice.

Here, we bridge quantum spatial search and classical electrostatics and prove that every local algorithm needs Ω(Nlog⁡N)\Omega(\sqrt{N} \log N) local steps to search the square lattice. As a result, Tulsi's algorithm is asymptotically optimal. The key is the overlap between the runs with and without the marked vertex, weighted by the electrostatic potential drop from that vertex (Fig. 1). The weight vanishes where queries act, and its field energy limits how much any local step can change the overlap, regardless of the workspace size. On a broad class of vertex-transitive graphs, the bound is of order the square root of the classical hitting time. On these graphs, locality therefore permits at most a quadratic speedup over the simple random walk. With several marked vertices, the charge spreads over a conductor whose capacitance governs the bound. For sparse marked sets on the square lattice, compact clusters are harder to find than periodic subgrids by a factor of order k\sqrt{k} (Fig. 2). The bound exposes a propagation cost that query complexity does not capture. Grover search underlies many quantum algorithms for optimization and machine learning [42, 43], but their implementation cost depends on how data are accessed [44, 45]. On a two-dimensional lattice, local propagation imposes an unavoidable search cost even when oracle queries are free.

Model. Let G=(V,E)G = (V, E) be a connected vertex-transitive graph, whose symmetries map any vertex to any other, with N≥2N \geq 2 vertices and degree dd. A single walker [15] has the state space H=⨁x∈VHx\mathcal{H} = \bigoplus_{x \in V} \mathcal{H}_x, where a walker at vertex xx carries an internal workspace Hx\mathcal{H}_x of arbitrary dimension. An algorithm starts from a state independent of the marked vertex mm and applies two kinds of operations in any order. A local step is a unitary UU that may depend on time and position but not on mm, and whose blocks Uxy:Hy→HxU_{xy}: \mathcal{H}_y \to \mathcal{H}_x vanish unless x=yx = y or

(a)

Figure

(b)

Figure

(c)

FIG. 1. Electrostatic bound. (a) Potential drop Bm(x)=A−K(x,m)B_m(x) = A - K(x, m), the Dirichlet-optimal weight of the overlap, on a 41×4141 \times 41 torus in units of AA, with contours at Bm/A=0.5B_m/A = 0.5, 0.75 and 1 and white lines along every fourth row and column. It vanishes at the marked vertex mm (orange), where queries act, and grows logarithmically with distance. Blue dots sketch the walker amplitude. (b) Real part of the weighted overlap FF for w=Bmw = B_m along a schematic trajectory (purple). It starts at AA, does not jump at queries (orange dots) and changes by at most 2A/N\sqrt{2A/N} per local step [Eq. (2), dashed line], which forbids the red region. Success with probability pp requires ReF≲A1−p\text{Re} F \lesssim A\sqrt{1 - p} (green), up to endpoint terms of order (A+S)/N(A + S)/\sqrt{N}, and reaching this region takes at least T∗T_* local steps, the right side of Eq. (5). (c) Self-potential AA on the nn-dimensional torus of linear size LL. The line is the exact (L2−1)/(12L)(L^2 - 1)/(12L) for n=1n = 1, dots and squares are spectral sums for n=2n = 2 and n=3n = 3, and the dashed lines are (ln⁡L)/2π+0.0488(\ln L)/2\pi + 0.0488 [6] and the three-dimensional limit 0.2527.

{x,y}∈E\{x, y\} \in E. A query OmO_m acts on Hm\mathcal{H}_m by an arbitrary, possibly time-dependent unitary and as the identity on every other Hx\mathcal{H}_x. A final measurement {Mn}\{M_n\} outputs a guess nn, and pp denotes the success probability averaged over mm. With a marked set M\mathcal{M}, queries act in this way on every vertex of M\mathcal{M}, and outputting any of them counts as success. The model contains coined walks, Szegedy's quantized random walks [26] and Tulsi's walk directly, and staggered walks at a constant-factor cost. On-site measurements can be deferred into the workspace (Sec. S1 of the Supplemental Material [46]). We count only the number TT of local steps and grant queries for free, so the bounds also limit the total time. Finite-size inequalities hold for every pp, whereas statements with Ω\Omega, Θ\Theta or o(1)o(1) refer to a fixed target success probability 0<p<10 < p < 1 (Sec. S1.3).

Electrostatic bound. After tt local steps and the queries applied so far, let ata_t be the state of the unmarked run, in which every query acts as the identity, and btmb_t^m the state of the run in which mm is marked. For a real weight w(x,m)w(x, m), let Wm\mathsf{W}_m multiply Hx\mathcal{H}_x by w(x,m)w(x, m), and define the weighted overlap

Ft=1N∑m⟨at∣Wm∣btm⟩.(1)F_{t}=\frac{1}{N}\sum_{m}\langle a_{t}|\mathsf{W}_{m}|b_{t}^{m}\rangle. \tag{1}

It weights the overlap of the hybrid argument [2] by position, in the spirit of adversary methods [47]. It may be complex and need not change monotonically. We require w(m,m)=0w(m, m) = 0 and w(gx,gm)=w(x,m)w(gx, gm) = w(x, m) for every automorphism gg of GG, so that the mean wˉ\bar{w} of w(⋅,m)w(\cdot, m) and its Dirichlet energy Ew=∑{x,y}∈E[w(x,m)−w(y,m)]2\mathcal{E}_w = \sum_{\{x, y\} \in E} [w(x, m) - w(y, m)]^2 do not depend on mm. Here Ew\mathcal{E}_w is the field energy when ww is viewed as a potential. Since a query changes bmb^m only inside Hm\mathcal{H}_m, where Wm\mathsf{W}_m vanishes, WmOm=Wm\mathsf{W}_m O_m = \mathsf{W}_m and queries leave each term of FF unchanged. Initially a0=b0ma_0 = b_0^m, and F0=wˉF_0 = \bar{w} because ∑mw(x,m)=Nwˉ\sum_m w(x, m) = N \bar{w} for every xx by vertex transitivity.

A local step UU changes the mmth term by ⟨a∣Dm∣bm⟩\langle a|D_m|b^m\rangle, where Dm=U†WmU−Wm=U†[Wm,U]D_m = U^\dagger \mathsf{W}_m U - \mathsf{W}_m = U^\dagger [\mathsf{W}_m, U] is Hermitian, so ∣ΔF∣≤N−1∑m∥[Wm,U]a∥|\Delta F| \leq N^{-1} \sum_m \|[\mathsf{W}_m, U]a\|. This estimate uses the unmarked state alone, so the marked runs may be arbitrary. The commutator ([Wm,U]a)x=∑yUxy[w(x,m)−w(y,m)]ay([\mathsf{W}_m, U]a)_x = \sum_y U_{xy}[w(x, m) - w(y, m)]a_y measures how much the weight changes along the edges on which UU moves amplitude. Since each block row (Uxy)y(U_{xy})_y of a unitary is a contraction, ∥([Wm,U]a)x∥2≤∑y∼x[w(x,m)−w(y,m)]2∥ay∥2\|([\mathsf{W}_m, U]a)_x\|^2 \leq \sum_{y \sim x}[w(x, m) - w(y, m)]^2 \|a_y\|^2. After summation over xx and mm, vertex transitivity makes the coefficient of each ∥ay∥2\|a_y\|^2 equal to 2Ew2\mathcal{E}_w, hence

1N∑m∥[Wm,U]a∥2≤2EwN,∣ΔF∣≤2EwN(2)\frac{1}{N}\sum_{m}\|[W_{m},U]a\|^{2}\leq\frac{2\mathcal{E}_{w}}{N},\qquad|\Delta F|\leq\sqrt{\frac{2\mathcal{E}_{w}}{N}} \tag{2}

for every local step and every normalized aa (Fig. 1(b)). Averaging over mm is essential, because each weight is steep near its own marked vertex but the walker cannot be near every vertex at once. A strong bound needs a large mean and a small energy, two demands that conflict because the weight vanishes at mm.

Electrostatics resolves this conflict. Let L=dI−Adj\mathcal{L} = dI - Adj be the graph Laplacian, with Adj the adjacency matrix. The potential K(⋅,m)K(\cdot, m) of a unit charge at m in a uniform neutralizing background is the Green function of the graph,

LK(⋅,m)=δm−1N,∑xK(x,m)=0.(3)\mathcal{L}K(\cdot,m)=\delta_{m}-\frac{1}{N},\qquad\sum_{x}K(x,m)=0. \tag{3}

With the Dirichlet form ⟨u,Lv⟩=∑{x,y}∈E[u(x)−u(y)][v(x)−v(y)]\langle u, \mathcal{L}v \rangle = \sum_{\{x, y\} \in E} [u(x) - u(y)] [v(x) - v(y)], Eq. (3) gives wˉ=−⟨w(⋅,m),LK(⋅,m)⟩\bar{w} = -\langle w(\cdot, m), \mathcal{L}K(\cdot, m) \rangle for every weight that vanishes at mm. It also shows that the energy of the potential equals its value at the charge, the self-potential A=K(m,m)A = K(m, m),

∑{x,y}∈E[K(x,m)−K(y,m)]2=A.(4)\sum_{\{x,y\}\in E}\left[K(x,m)-K(y,m)\right]^{2}=A. \tag{4}

The Cauchy–Schwarz inequality for the Dirichlet form then implies wˉ≤EwA\bar{w} \leq \sqrt{\mathcal{E}_w A}, with equality only for nonnegative multiples of the potential drop from mm, Bm(x)=A−K(x,m)B_m(x) = A - K(x, m)

(a)

Figure

(b)

(c)

FIG. 2. Marked sets and tightness of the bound. (a) Potential drop BM(x)=AM−KM(x)B_{\mathcal{M}}(x) = A_{\mathcal{M}} - K_{\mathcal{M}}(x) for two arrangements of k=16k = 16 marked vertices (orange) on a 64×6464 \times 64 torus, a periodic 4×44 \times 4 subgrid and a compact 4×44 \times 4 cluster, on a common square-root grey scale. The spatial average of BMB_{\mathcal{M}} equals AMA_{\mathcal{M}}. (b) Self-potential AMA_{\mathcal{M}} on the 1024×10241024 \times 1024 torus for periodic subgrids (filled circles), uniformly random sets (open circles, medians of four samples, whose spread is smaller than the symbols) and compact square clusters (orange squares), with ln⁡(N/k)/(4πk)\ln(N/k)/(4\pi k) and ln⁡(N/k)/(4π)\ln(N/k)/(4\pi) dashed. At k=1k = 1 each set is a single marked vertex. (c) Number of local steps TT at which Tulsi's walk [21] reaches its peak success probability for one marked vertex from a uniform initial state (filled circles), and the sharpened bound Tmin⁡T_{\min} at the same success probability (open circles), both divided by Lln⁡LL\sqrt{\ln L}. The dashed line is the L→∞L \to \infty limit (1−1−p)/π(1 - \sqrt{1 - p})/\sqrt{\pi} of Tmin⁡/(Lln⁡L)T_{\min}/(L\sqrt{\ln L}) at p=0.558p = 0.558, the success probability at L=1024L = 1024. No algorithm with the same success probability enters the red region. Lines guide the eye.

(Fig. 1(a)). This is Dirichlet’s principle. Among all functions that vanish at mm and have a given mean, a multiple of BmB_m has the least energy. With w=Bmw = B_m, FF starts at AA and moves by at most 2A/N\sqrt{2A/N} per local step. Physically, AA is the energy dissipated when a unit current enters the network at mm and leaves uniformly through all vertices [48], and th=NdAt_h = NdA is the mean hitting time of mm for the simple random walk from the uniform distribution, where a walk that starts at mm hits it at time zero [49, 50]. Vertex transitivity makes AA and the norm S=[∑xK(x,m)2]1/2S = [\sum_x K(x, m)^2]^{1/2} independent of mm, and in terms of the nonzero Laplacian eigenvalues λ\lambda, A=N−1∑λ>0λ−1A = N^{-1} \sum_{\lambda > 0} \lambda^{-1} and S2=N−1∑λ>0λ−2S^2 = N^{-1} \sum_{\lambda > 0} \lambda^{-2}.

It remains to relate FF to success. At the end, write cm=⟨aT∣bTm⟩c_m = \langle a_T | b_T^m \rangle and cˉ=N−1∑mcm\bar{c} = N^{-1} \sum_m c_m. With KmK_m multiplying Hx\mathcal{H}_x by K(x,m)K(x, m), Eq. (1) for w=Bmw = B_m gives FT=Acˉ−rF_T = A\bar{c} - r with r=N−1∑m⟨aT∣Km∣bTm⟩r = N^{-1} \sum_m \langle a_T | K_m | b_T^m \rangle, and ∣r∣≤S/N|r| \leq S/\sqrt{N} because ∑mK(x,m)2=S2\sum_m K(x, m)^2 = S^2. Splitting cmc_m with MmM_m and I−MmI - M_m gives ∣cm∣≤qm+1−pm|c_m| \leq \sqrt{q_m} + \sqrt{1 - p_m}, where pm=⟨bTm∣Mm∣bTm⟩p_m = \langle b_T^m | M_m | b_T^m \rangle and the probabilities qm=⟨aT∣Mm∣aT⟩q_m = \langle a_T | M_m | a_T \rangle sum to at most one. By concavity of the square root, Recˉ≤1−p+N−1/2\mathrm{Re} \bar{c} \leq \sqrt{1 - p} + N^{-1/2}. With Eq. (2) for Ew=A\mathcal{E}_w = A, this proves the electrostatic bound (Sec. S3).

Theorem. On a connected vertex-transitive graph, every algorithm in the spatial query model that succeeds with average probability p uses

T≥(1−1−p−N−1/2)NA−S2A(5)T\geq\frac{\left(1-\sqrt{1-p}-N^{-1/2}\right)\sqrt{N}A-S}{\sqrt{2A}} \tag{5}

local steps.

With the endpoint ratio η=S/(NA)\eta = S/(\sqrt{NA}), the right side of Eq. (5) is [1−1−p−N−1/2−η]NA/2[1 - \sqrt{1 - p} - N^{-1/2} - \eta]\sqrt{NA/2}, so every algorithm needs Ω(NA)\Omega(\sqrt{NA}) local steps whenever η→0\eta \to 0. The same bound holds for deciding whether any vertex is marked with error probability at most ε<1/2\varepsilon < 1/2, with 1−1−p−N−1/21 - \sqrt{1 - p} - N^{-1/2} replaced by 1−2ε(1−ε)1 - 2\sqrt{\varepsilon(1 - \varepsilon)}, because the unmarked run is then a legitimate input. For continuous-time evolution under nearest-neighbour Hamiltonians HtH_t with oracle terms on Hm\mathcal{H}_m, only the hopping part moves FF, and the integrated hopping strength ∫∥Hthop∥dt\int \|H_t^{\text{hop}}\| dt obeys the same bound as TT (Secs. S3 and S8).

Square lattice. As in Pólya’s theorem on random walks [51], the plane is the borderline case. The self-potential is 1/2d1/2d times the expected number of visits of the lazy simple random walk to its starting vertex in excess of the uniform rate 1/N1/N per step (Sec. S2), and on the tori ZLn\mathbb{Z}_L^n it diverges as L→∞L \to \infty exactly when the walk on Zn\mathbb{Z}^n is recurrent, that is, for n≤2n \leq 2 (Fig. 1(c)). On the L×LL \times L torus, Fourier estimates [52] give

A=ln⁡L2π+O(1),S≤0.194L(6)A=\frac{\ln L}{2\pi}+O(1),\qquad S\leq0.194L \tag{6}

(Sec. S4). The growth of A reflects the logarithmic form of the two-dimensional Coulomb potential. Hence η=O(1/ln⁡L)\eta = O(1/\ln L), and the theorem becomes

T≥(1−1−p)Nln⁡N8π[1+o(1)].(7)T\geq\left(1-\sqrt{1-p}\right)\sqrt{\frac{N\ln N}{8\pi}}\left[1+o(1)\right]. \tag{7}

Tulsi’s walk reaches constant success probability with O(Nlog⁡N)O(\sqrt{N \log N}) local steps [21], and a fixed number of verified repetitions reaches any fixed p<1p < 1, so the optimal number of local steps on the torus is Θ(Nlog⁡N)\Theta(\sqrt{N \log N}). The same holds on the open lattice. Equation (7) still applies because its edges are torus edges, and Tulsi’s walk runs on it with at most twice as many local steps, since the torus embeds in it with neighbouring sites at most two steps apart (Sec. S5). This settles the question of Aaronson and Ambainis [15]. The extra factor log⁡N\sqrt{\log N} is thus set by two-dimensional space, not by the known algorithms, and remains even with only O(N)O(\sqrt{N}) queries [16].

The weight BmB_{m} has a direct meaning for electrical networks and random walks. Its value Bm(x)B_{m}(x) is half the effective resistance between m and x [53, 54], and NdBm(x)NdB_{m}(x) is the mean time that the simple random walk takes to reach m from x (Sec. S2). Effective resistance already bounds the cost of quantum-walk search algorithms from above [28, 55]. Here the effective resistance A between the uniform distribution and m bounds the cost of every local algorithm from below. As S2≤A/λ2S^2 \leq A/\lambda_2, with λ2\lambda_2 the smallest nonzero Laplacian eigenvalue, Eq. (5) implies

T≥(1−1−p−N−1/2)th2d−12λ2.(8)T\geq\left(1-\sqrt{1-p}-N^{-1/2}\right)\sqrt{\frac{t_{\mathrm{h}}}{2d}}-\frac{1}{\sqrt{2\lambda_{2}}}. \tag{8}

Whenever thλ2/d→∞t_{\mathrm{h}}\lambda_2/d \to \infty, every local algorithm thus needs Ω(th/d)\Omega(\sqrt{t_{\mathrm{h}}/d}) local steps. The hitting-time algorithm of Ref. [29] finds one marked vertex in O(th)O(\sqrt{t_{\mathrm{h}}}) local steps, including preparation from a known vertex and repetition to any fixed success probability (Sec. S3), so this scaling is tight for bounded degree. On graphs that are also edge-transitive, with all edges equivalent, the lower bound improves to Ω(th)\Omega(\sqrt{t_{\mathrm{h}}}) whenever η→0\eta \to 0 (Sec. S7). On tori of dimension n≥3n \geq 3, where AA is bounded, it becomes Ω(N)\Omega(\sqrt{N}). On a cycle, where η→1/5\eta \to 1/\sqrt{5}, a truncated distance weight replaces the potential and gives Ω(N)\Omega(N) for every fixed pp (Sec. S4).

Several marked vertices. With kk marked vertices the weight must vanish on the whole marked set M\mathcal{M}. Dirichlet's principle then selects the potential of a conductor that occupies M\mathcal{M}, and the point charge spreads into the equilibrium charge of M\mathcal{M} (Fig. 2(a)). On the L×LL \times L torus, let KMK_{\mathcal{M}} be the zero-mean potential that takes a constant value AMA_{\mathcal{M}} on M\mathcal{M} and solves LKM=ρM−1/N\mathcal{L}K_{\mathcal{M}} = \rho_{\mathcal{M}} - 1/N for a unit charge ρM≥0\rho_{\mathcal{M}} \geq 0 supported on M\mathcal{M}. Its self-potential is the inverse capacitance of the conductor, AM=1/[1⊤(L+)MM−11]A_{\mathcal{M}} = 1/[\mathbf{1}^{\top}(\mathcal{L}^{+})_{\mathcal{M}\mathcal{M}}^{-1}\mathbf{1}] with (L+)MM(\mathcal{L}^{+})_{\mathcal{M}\mathcal{M}} the block of the Laplacian pseudoinverse on M\mathcal{M}, and it fixes the mean hitting time of M\mathcal{M} from the uniform distribution, th(M)=4NAMt_{\mathrm{h}}(\mathcal{M}) = 4NA_{\mathcal{M}}. Let the inputs be the NN translates of M\mathcal{M}, with pp averaged over them. The proof then applies with the translates of KMK_{\mathcal{M}} in place of K(⋅,m)K(\cdot, m), which are again Dirichlet-optimal (Sec. S6). The only change is that kk outputs are now correct, which replaces N−1/2N^{-1/2} by k/N\sqrt{k/N} and gives

T≥[1−1−p−k/N−ηM]NAM2.(9)T\geq\left[1-\sqrt{1-p}-\sqrt{k/N}-\eta_{\mathcal{M}}\right]\sqrt{\frac{N A_{\mathcal{M}}}{2}}. \tag{9}

Here the endpoint ratio ηM=SM/(NAM)\eta_{\mathcal{M}} = S_{\mathcal{M}} / (\sqrt{N} A_{\mathcal{M}}), with SMS_{\mathcal{M}} the norm of KMK_{\mathcal{M}}, is the coefficient of variation of the mean hitting time over starting vertices. Equation (9) holds for every nonempty proper marked set, even when the algorithm knows the pattern and only its translation is hidden (Sec. S6).

In the sparse regime k=o(N)k = o(N), Eq. (9) and matching algorithms fix the optimal scaling for two opposite arrangements, which differ by a factor of order k\sqrt{k}. For a periodic subgrid of spacing ℓ=N/k\ell = \sqrt{N/k}, KMK_M is 1/k times the potential of one marked vertex on the ℓ×ℓ\ell \times \ell quotient torus, where all marked vertices map to a single site. Hence AM=ln⁡(N/k)/(4πk)+O(1/k)A_M = \ln(N/k)/(4\pi k) + O(1/k) and ηM→0\eta_M \to 0. Tulsi's walk matches this bound on the quotient torus, a reduction that Ref. [34] applied to the coined walk, and the optimal number of local steps is Θ((N/k)log⁡(N/k))\Theta(\sqrt{(N/k)\log(N/k)}). A compact cluster instead acts as a single conductor of radius of order k\sqrt{k}, whose self-potential in the plane falls only logarithmically with its size: AM=ln⁡(N/k)/(4π)+O(1)A_M = \ln(N/k)/(4\pi) + O(1), ηM→0\eta_M \to 0 and T≥(1−1−p)Nln⁡(N/k)/(8π)[1+o(1)]T \geq (1 - \sqrt{1 - p})\sqrt{N\ln(N/k)/(8\pi)}[1 + o(1)]. Since the worst case over placements is at least this translation average, finding one of kk marked vertices takes Ω(Nlog⁡(N/k))\Omega(\sqrt{N\log(N/k)}) local steps, even when kk is known. The same bound holds for deciding between none and exactly kk marked vertices with fixed error 0<ε<1/20 < \varepsilon < 1/2, the problem OR(k)\text{OR}^{(k)} of Ref. [15], and improves the two-dimensional bound Ω(N)\Omega(\sqrt{N}) given there. For known kk, random thinning [15] gives a matching upper bound O(Nlog⁡(N/k))O(\sqrt{N\log(N/k)}) for both problems, by keeping one random vertex in each cell of a coarse lattice and searching these vertices with Tulsi's walk (Sec. S6). On the 1024×10241024 \times 1024 torus with k=64k = 64 (Fig. 2(b)), an 8×88 \times 8 cluster has 52 times the self-potential of the periodic subgrid, whereas four uniformly random sets exceed it by only 24%–26% (Sec. S9).

On the square torus the speed limit sharpens, which lets us test how much room the bound leaves. Since all its edges are equivalent and it has no triangles for L≥4L \geq 4, each local step moves F by at most A/2N\sqrt{A/2N}, which doubles the bound (5) to a value Tmin⁡T_{\min} (Sec. S7). We simulated Tulsi's walk for L = 16 to 1024 (Fig. 2(c)). At L = 1024 it reaches p = 0.558 after T=7.6Tmin⁡T = 7.6T_{\min} local steps, and T/Tmin⁡T/T_{\min} decreases steadily from 10.5 at L = 16. Its overlap F, which is real here, moves on average at 0.44 times the sharpened speed limit but falls 3.4 times as far as the bound requires, so the gap comes more from the excess fall of F than from its rate (Sec. S9).

Discussion. Ref. [38] conjectured that reversible quantum walks offer at most a quadratic speedup in hitting time over a suitable classical walk on the same graph. The electrostatic bound establishes an analogous limit for arbitrary local algorithms on a broad class of vertex-transitive graphs, with the simple random walk as the classical reference. Likewise, the gap of order k\sqrt{k} between compact clusters and periodic subgrids in the sparse regime is a property of the search problem rather than of particular walks [34, 36].

The hypotheses of the model clarify how additional resources can change the limit. Several walkers or excitations each couple to the oracle [56]. Long-range hops change the underlying graph and lower its self-potential [57–59]. Nonlinear dynamics breaks the linearity and unitarity on which the overlap argument rests [60, 61]. Oracle fields that extend beyond the marked vertices can change the weighted overlap directly [62]. Interesting questions for future work include matching bounds for an unknown number of marked vertices and for dense or typical random marked sets. Another is the extension to graphs without vertex transitivity, such as fractals and random networks. More broadly, the argument suggests a strategy to prove lower bounds for other local quantum algorithms: choose a weight that vanishes where the oracle acts, minimize its Dirichlet energy at fixed mean, and relate the final overlap to success.

We thank Dong-Ling Deng for his invaluable comments and suggestions. We also thank Da-Wei Wang, Zhide Lu, and Yixuan Ma for discussions. We acknowledge support from the National Natural Science Foundation of China (T2225008), the Quantum Science and Technology-National Science and

Technology Major Project (2021ZD0302203), the Fundamental and Interdisciplinary Disciplines Breakthrough Plan of the Ministry of Education of China (JYB2025XDXM112), and the Tsinghua University Dushi Program. We acknowledge the use of GPT-6 Astra and Opus-5.5 to assist with theoretical calculations. We checked all derivations and numerical results and take full responsibility for the content.

Data availability. The data and code supporting the results of this study are available at github.com/LWKJJONAK/QuSearch.

†^{\dagger} weikang_li@tsinghua.edu.cn

[1] L. K. Grover, Quantum mechanics helps in searching for a needle in a haystack, Phys. Rev. Lett. 79, 325 (1997).

[2] C. H. Bennett, E. Bernstein, G. Brassard, and U. Vazirani, Strengths and weaknesses of quantum computing, SIAM J. Comput. 26, 1510 (1997).

[3] C. Zalka, Grover's quantum searching algorithm is optimal, Phys. Rev. A 60, 2746 (1999).

[4] P. Benioff, Space searches with a quantum robot, in Quantum Computation and Information, Contemporary Mathematics, Vol. 305, edited by S. J. Lomonaco, Jr. and H. E. Brandt (American Mathematical Society, Providence, RI, 2002) pp. 1–12.

[5] N. Shenvi, J. Kempe, and K. B. Whaley, Quantum random-walk search algorithm, Phys. Rev. A 67, 052307 (2003).

[6] A. M. Childs and J. Goldstone, Spatial search by quantum walk, Phys. Rev. A 70, 022314 (2004).

[7] J. Kempe, Quantum random walks: An introductory overview, Contemp. Phys. 44, 307 (2003).

[8] S. E. Venegas-Andraca, Quantum walks: a comprehensive review, Quantum Inf. Process. 11, 1015 (2012).

[9] R. Portugal, Quantum Walks and Search Algorithms, 2nd ed., Quantum Science and Technology (Springer, Cham, 2018).

[10] H. Tang, X.-F. Lin, Z. Feng, J.-Y. Chen, J. Gao, K. Sun, C.-Y. Wang, P.-C. Lai, X.-Y. Xu, Y. Wang, L.-F. Qiao, A.-L. Yang, and X.-M. Jin, Experimental two-dimensional quantum walk on a photonic chip, Sci. Adv. 4, eaat3174 (2018).

[11] P. M. Preiss, R. Ma, M. E. Tai, A. Lukin, M. Rispoli, P. Zupancic, Y. Lahini, R. Islam, and M. Greiner, Strongly correlated quantum walks in optical lattices, Science 347, 1229 (2015).

[12] M. Gong, S. Wang, C. Zha, M.-C. Chen, H.-L. Huang, Y. Wu, Q. Zhu, Y. Zhao, S. Li, S. Guo, H. Qian, Y. Ye, F. Chen, C. Ying, J. Yu, D. Fan, D. Wu, H. Su, H. Deng, H. Rong, K. Zhang, S. Cao, J. Lin, Y. Xu, L. Sun, C. Guo, N. Li, F. Liang, V. M. Bastidas, K. Nemoto, W. J. Munro, Y.-H. Huo, C.-Y. Lu, C.-Z. Peng, X. Zhu, and J.-W. Pan, Quantum walks on a programmable two-dimensional 62-qubit superconducting processor, Science 372, 948 (2021).

[13] A. Ambainis, J. Kempe, and A. Rivosh, Coins make quantum walks faster, in Proceedings of the Sixteenth Annual ACM-SIAM Symposium on Discrete Algorithms (SODA '05) (Society for Industrial and Applied Mathematics, Philadelphia, PA, 2005) pp. 1099–1108.

[14] A. M. Childs and J. Goldstone, Spatial search and the Dirac equation, Phys. Rev. A 70, 042312 (2004).

[15] S. Aaronson and A. Ambainis, Quantum search of spatial regions, Theory of Computing 1, 47 (2005).

[16] Abhijith J. and A. Patel, Improving quantum spatial search in two dimensions, Quantum Inf. Comput. 19, 555 (2019).

[17] J. Burke and C. Mc Goldrick, Exact and optimal recursive quantum search via Hilbert-space decomposition (2026), arXiv:2608.23002 [quant-ph].

[18] R. Portugal and T. D. Fernandes, Quantum search on the two-dimensional lattice using the staggered model with Hamiltonians, Phys. Rev. A 95, 042341 (2017).

[19] A. Ambainis, R. Portugal, and N. Nahimov, Spatial search on grids with minimum memory, Quantum Inf. Comput. 15, 1233 (2015).

[20] A. M. Childs and Y. Ge, Spatial search by continuous-time quantum walks on crystal lattices, Phys. Rev. A 89, 052337 (2014).

[21] A. Tulsi, Faster quantum-walk algorithm for the two-dimensional spatial search, Phys. Rev. A 78, 012310 (2008).

[22] A. Ambainis, A. Bačkurs, N. Nahimovs, R. Ozols, and A. Rivosh, Search by quantum walks on two-dimensional grid without amplitude amplification, in Theory of Quantum Computation, Communication, and Cryptography (TQC 2012), Lecture Notes in Computer Science, Vol. 7582, edited by K. Iwama, Y. Kawano, and M. Murao (Springer, Berlin, Heidelberg, 2013) pp. 87–97.

[23] T. G. Wong, Faster search by lackadaisical quantum walk, Quantum Inf. Process. 17, 68 (2018).

[24] P. Høyer and Z. Yu, Analysis of lackadaisical quantum walks, Quantum Inf. Comput. 20, 1138 (2020).

[25] P. Høyer and J. Leahy, Spatial search via an interpolated memoryless walk, Phys. Rev. A 106, 022418 (2022).

[26] M. Szegedy, Quantum speed-up of Markov chain based algorithms, in 45th Annual IEEE Symposium on Foundations of Computer Science (FOCS 2004) (IEEE, 2004) pp. 32–41.

[27] F. Magniez, A. Nayak, J. Roland, and M. Santha, Search via quantum walk, SIAM J. Comput. 40, 142 (2011).

[28] A. Belovs, Quantum walks and electric networks (2013), arXiv:1302.3143.

[29] H. Krovi, F. Magniez, M. Ozols, and J. Roland, Quantum walks can find a marked element on any graph, Algorithmica 74, 851 (2016).

[30] A. Ambainis, A. Gilyén, S. Jeffery, and M. Kokainis, Quadratic speedup for finding marked vertices by quantum walks, in Proceedings of the 52nd Annual ACM SIGACT Symposium on Theory of Computing (STOC 2020) (ACM, 2020) pp. 412–424.

[31] S. Apers, A. Gilyén, and S. Jeffery, A unified framework of quantum walk search, in 38th International Symposium on Theoretical Aspects of Computer Science (STACS 2021), Leibniz International Proceedings in Informatics (LIPIcs), Vol. 187, edited by M. Bläser and B. Monmege (Schloss Dagstuhl – Leibniz-Zentrum für Informatik, Dagstuhl, Germany, 2021) pp. 6:1–6:13.

[32] S. Apers, S. Chakraborty, L. Novo, and J. Roland, Quadratic speedup for spatial search by continuous-time quantum walk, Phys. Rev. Lett. 129, 160502 (2022).

[33] P. Høyer and M. Komeili, Efficient quantum walk on the grid with multiple marked elements, in 34th Symposium on Theoretical Aspects of Computer Science (STACS 2017), Leibniz International Proceedings in Informatics (LIPIcs), Vol. 66, edited by H. Vollmer and B. Vallée (Schloss Dagstuhl – Leibniz-Zentrum für Informatik, Dagstuhl, Germany, 2017) pp. 42:1–42:14.

[34] N. Nahimovs and A. Rivosh, Quantum walks on two-dimensional grids with multiple marked locations, Int. J. Found. Comput. Sci. 29, 687 (2018).

[35] N. Nahimovs and R. A. M. Santos, Adjacent vertices can be hard to find by quantum walks, in SOFSEM 2017: Theory and Practice of Computer Science, Lecture Notes in Computer Science, Vol. 10139, edited by B. Steffen, C. Baier, M. van den Brand, J. Eder, M. Hinchey, and T. Margaria (Springer, Cham, 2017) pp. 256–267.

[36] M. Roget, H. Kadri, and G. Di Molfetta, Optimality conditions for spatial search with multiple marked vertices, Phys. Rev. Res. 5, 033021 (2023).

[37] S. Chakraborty, L. Novo, and J. Roland, Optimality of spatial search via continuous-time quantum walks, Phys. Rev. A 102, 032214 (2020).

[38] F. Magniez, A. Nayak, P. C. Richter, and M. Santha, On the hitting times of quantum versus random walks, Algorithmica 63, 91 (2012).

[39] D. Aharonov, A. Ambainis, J. Kempe, and U. Vazirani, Quantum walks on graphs, in Proceedings of the Thirty-Third Annual ACM Symposium on Theory of Computing (STOC '01) (ACM, 2001) pp. 50–59.

[40] G. Li, J. Luo, and L. Li, Universal quantum spatial search via controlled intermittent quantum walks, Phys. Rev. A 114, 032440 (2026).

[41] E. H. Lieb and D. W. Robinson, The finite group velocity of quantum spin systems, Commun. Math. Phys. 28, 251 (1972).

[42] A. Montanaro, Quantum algorithms: an overview, npj Quantum Inf. 2, 15023 (2016).

[43] J. Biamonte, P. Wittek, N. Pancotti, P. Rebentrost, N. Wiebe, and S. Lloyd, Quantum machine learning, Nature 549, 195 (2017).

[44] V. Giovannetti, S. Lloyd, and L. Maccone, Quantum random access memory, Phys. Rev. Lett. 100, 160501 (2008).

[45] S. Aaronson, Read the fine print, Nat. Phys. 11, 291 (2015).

[46] See Supplemental Material at [URL will be inserted by publisher] for the scope of the model, complete proofs, lattice estimates, the matching algorithms, the sharpened speed limit, continuous-time evolution and numerical illustrations, which includes Refs. [2, 6, 15, 21, 29–34, 36, 40, 48, 50, 52–54, 63].

[47] A. Ambainis, Quantum lower bounds by quantum arguments, J. Comput. Syst. Sci. 64, 750 (2002).

[48] P. G. Doyle and J. L. Snell, Random Walks and Electric Networks, Carus Mathematical Monographs, Vol. 22 (Mathematical Association of America, Washington, DC, 1984).

[49] L. Lovász, Random walks on graphs: A survey, in Combinatorics, Paul Erdős is Eighty, Bolyai Society Mathematical Studies, Vol. 2, edited by D. Miklós, V. T. Sós, and T. Szőnyi (János Bolyai Mathematical Society, Budapest, 1996) pp. 353–398.

[50] D. A. Levin and Y. Peres, Markov Chains and Mixing Times, 2nd ed. (American Mathematical Society, 2017).

[51] G. Pólya, Über eine Aufgabe der Wahrscheinlichkeitsrechnung betreffend die Irrfahrt im Straßennetz, Mathematische Annalen 84, 149 (1921).

[52] G. F. Lawler and V. Limic, Random Walk: A Modern Introduction (Cambridge University Press, 2010).

[53] P. Tetali, Random walks and the effective resistance of networks, J. Theor. Probab. 4, 101 (1991).

[54] A. K. Chandra, P. Raghavan, W. L. Ruzzo, R. Smolensky, and P. Tiwari, The electrical resistance of a graph captures its commute and cover times, Comput. Complexity 6, 312 (1996).

[55] S. Piddock, Quantum walk search algorithms and effective resistance (2019), arXiv:1912.04196 [quant-ph].

[56] D. Lewis, L. Banchi, and S. Bose, Quantum spatial search with multiple excitations (2024), arXiv:2410.05945 [quant-ph].

[57] D. Lewis, A. Benhemou, N. Feinstein, L. Banchi, and S. Bose, Optimal quantum spatial search with one-dimensional long-range interactions, Phys. Rev. Lett. 126, 240502 (2021).

[58] P. R. Giri, Quantum walk search on a two-dimensional grid with extra edges, Int. J. Theor. Phys. 62, 121 (2023).

[59] E. C. King, M. Linnebacher, P. P. Orth, M. Rizzi, and G. Morigi, Optimal spatial searches with long-range tunneling, Phys. Rev. Res. 7, 043020 (2025).

[60] G. Di Molfetta and B. Herzog, Searching via nonlinear quantum walk on the 2D-grid, Algorithms 13, 305 (2020).

[61] D. A. Meyer and T. G. Wong, Spatial search by nonlinear quantum walk (2026), arXiv:2606.01403 [quant-ph].

[62] J. Zylberman and F. Debbasch, Dirac spatial search with electric fields, Entropy 23, 1441 (2021).

[63] J. G. Kemeny and J. L. Snell, Finite Markov Chains, Undergraduate Texts in Mathematics (Springer, New York, 1976).

Supplemental Material: Electrostatic Limits on Quantum Spatial Search

This Supplemental Material proves the electrostatic bound for quantum spatial search with one marked vertex on vertex-transitive graphs and with translated marked sets on the square torus. It evaluates both bounds on lattices, constructs the matching algorithms and describes the numerical illustrations. Table S1 collects the notation.

TABLE S1. Notation.

SymbolMeaning
G=(V,E),N,dG=(V,E),N,dconnected vertex-transitive graph, number of vertices (N≥2N\ge 2), degree
H=⨁xHx\mathcal{H}=\bigoplus_x \mathcal{H}_xwalker space; Hx\mathcal{H}_x is the internal workspace at vertex xx
U,Uxy,UdU, U_{xy}, U_dlocal step, its blocks Hy→Hx\mathcal{H}_y\to \mathcal{H}_x, its on-site part ⨁xUxx\bigoplus_x U_{xx}
TTnumber of local steps
at,btm,btga_t, b_t^m, b_t^gunmarked run; marked run with mark mm; marked run with marked set M+g\mathcal{M}+g
{Mn},p\{M_n\}, pfinal measurement; success probability averaged over the inputs
L=dI−Adj⁡,λ2,G\mathcal{L}=dI-\operatorname{Adj}, \lambda_2, \mathcal{G}graph Laplacian, its smallest nonzero eigenvalue, its pseudoinverse L+\mathcal{L}^+
K(x,m),A,SK(x,m), A, Spotential of a unit charge at mm (Eq. (S1)), self-potential K(m,m)K(m,m), norm [∑xK(x,m)2]1/2[\sum_x K(x,m)^2]^{1/2}
Km,Bm\mathsf{K}_m, \mathsf{B}_mmultiplication by K(x,m)K(x,m) on Hx\mathcal{H}_x; A−KmA-\mathsf{K}_m
FtF_tweighted overlap, Eqs. (S9) and (S23)
M,k,g\mathcal{M}, k, gmarked set on the L×LL\times L torus, k=∣M∣k=|\mathcal{M}|, translation vector
KM,ρM,AM,SMK_{\mathcal{M}}, \rho_{\mathcal{M}}, A_{\mathcal{M}}, S_{\mathcal{M}}equilibrium potential and charge of M\mathcal{M}, its self-potential and norm
η,ηM\eta, \eta_{\mathcal{M}}endpoint ratios S/(NA)S/(\sqrt{N}A) and SM/(NAM)S_{\mathcal{M}}/(\sqrt{N}A_{\mathcal{M}})
th,th(M)t_{\mathrm{h}}, t_{\mathrm{h}}(\mathcal{M})mean hitting time of a vertex, of M\mathcal{M}, from the uniform distribution
Tmin⁡T_{\min}sharpened bound on the square torus, Eq. (S34)