main.pdf
Electrostatic Limits on Quantum Spatial Search
Abstract
Grover’s algorithm finds one marked item among N N N with O ( N ) O(\sqrt{N}) O ( N ) queries, an optimal quadratic speedup assuming that every item is reachable in a single step [1 , 2 , 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 , 6 , 7 , 8 , 9 ] and a natural task for lattice platforms such as photonic waveguide arrays, ultracold atoms and superconducting qubit grids [10 , 11 , 12 ] . In three or more dimensions a local walker finds the marked vertex in O ( N ) O(\sqrt{N}) O ( N ) steps, matching Grover’s algorithm [13 , 14 , 15 ] . On the square lattice the fastest known algorithms take O ( N log N ) O(\sqrt{N\log N}) O ( N log N ) steps. It has remained open whether a better algorithm can remove the extra factor log N \sqrt{\log N} log N , or whether it is imposed inevitably by two-dimensional locality [14 , 15 , 16 , 17 ] .
Aaronson and Ambainis introduced the spatial query model and searched the L × L L \times L L × L lattice, N = L 2 N=L^2 N = L 2 , in O ( N ( log N ) 3 / 2 ) O(\sqrt{N}(\log N)^{3/2}) O ( N ( log N ) 3/2 ) steps [15 ] . Subsequent works lowered the cost to O ( N log N ) O(\sqrt{N\log N}) O ( 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 ( N log N ) O(\sqrt{N\log N}) O ( 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 N log N N\log N N log N , which again gives the factor log N \sqrt{\log N} log N . With k k k 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}) Ω ( N ) for one marked vertex and for k = O ( N ) 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}) O ( 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}) Ω ( N ) , the diameter of the lattice.
Here, we bridge quantum spatial search and classical electrostatics and prove that every local algorithm needs Ω ( N log N ) \Omega(\sqrt{N\log N}) Ω ( 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 (see Figure 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} k (Figure 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.
Figure 1. Electrostatic bound. (a) Potential drop B m ( x ) = A − K ( x , m ) B_m(x)=A-K(x,m) B m ( x ) = A − K ( x , m ) , the Dirichlet-optimal weight of the overlap, on a 41 × 41 41 \times41 41 × 41 torus in units of A A A , with contours at B m / A = 0.5 B_m/A=0.5 B m / A = 0.5 , 0.75 0.75 0.75 and 1 1 1 and white lines along every fourth row and column. It vanishes at the marked vertex m m m (orange), where queries act, and grows logarithmically with distance. Blue dots sketch the walker amplitude. (b) Real part of the weighted overlap F F F for w = B m w=B_m w = B m along a schematic trajectory (purple). It starts at A A A , does not jump at queries (orange dots) and changes by at most 2 A / N \sqrt{2A/N} 2 A / N per local step [Eq. (2)], dashed line, which forbids the red region. Success with probability p p p requires Re F ≲ A 1 − p \operatorname{Re} F \lesssim A\sqrt{1-p} Re F ≲ A 1 − p (green), up to endpoint terms of order ( A + S ) / N (A+S)/\sqrt{N} ( A + S ) / N , and reaching this region takes at least T ∗ T_* T ∗ local steps, the right side of Eq. (5) . (c) Self-potential A A A on the n n n -dimensional torus of linear size L L L . The line is the exact ( L 2 − 1 ) / ( 12 L ) (L^2-1)/(12L) ( L 2 − 1 ) / ( 12 L ) for n = 1 n=1 n = 1 , dots and squares are spectral sums for n = 2 n=2 n = 2 and n = 3 n=3 n = 3 , and the dashed lines are ( ln L ) / 2 π + 0.0488 (\ln L)/2\pi+0.0488 ( ln L ) /2 π + 0.0488 [6 ] and the three-dimensional limit 0.2527 0.2527 0.2527 .
Figure 2. Marked sets and tightness of the bound. (a) Potential drop B M ( x ) = A M − K M ( x ) B_M(x)=A_M-K_M(x) B M ( x ) = A M − K M ( x ) for two arrangements of k = 16 k=16 k = 16 marked vertices (orange) on a 64 × 64 64\times64 64 × 64 torus, a periodic 4 × 4 4\times4 4 × 4 subgrid and a compact 4 × 4 4\times4 4 × 4 cluster, on a common square-root grey scale. The spatial average of B M B_M B M equals A M A_M A M . (b) Self-potential A M A_M A M on the 1024 × 1024 1024\times1024 1024 × 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) ln ( N / k ) / ( 4 π k ) and ln ( N / k ) / ( 4 π ) \ln(N/k)/(4\pi) ln ( N / k ) / ( 4 π ) dashed. At k = 1 k=1 k = 1 each set is a single marked vertex. (c) Number of local steps T T T 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 T min T_{\min} T m i n at the same success probability (open circles), both divided by L ln L L\sqrt{\ln L} L ln L . The dashed line is the L → ∞ L\to\infty L → ∞ limit ( 1 − 1 − p ) / π (1-\sqrt{1-p})/\sqrt{\pi} ( 1 − 1 − p ) / π of T min / ( L ln L ) T_{\min}/(L\sqrt{\ln L}) T m i n / ( L ln L ) at p = 0.558 p=0.558 p = 0.558 , the success probability at L = 1024 L=1024 L = 1024 . No algorithm with the same success probability enters the red region. Lines guide the eye.
Model. Let G = ( V , E ) G=(V,E) G = ( V , E ) be a connected vertex-transitive graph, whose symmetries map any vertex to any other, with N ≥ 2 N \ge2 N ≥ 2 vertices and degree d d d . A single walker [15 ] has the state space H = ⨁ x ∈ V H x \mathcal{H}=\bigoplus_{x\in V}\mathcal{H}_x H = ⨁ x ∈ V H x , where a walker at vertex x x x carries an internal workspace H x \mathcal{H}_x H x of arbitrary dimension. An algorithm starts from a state independent of the marked vertex m m m and applies two kinds of operations in any order. A local step is a unitary U U U that may depend on time and position but not on m m m , and whose blocks U x y : H y → H x U_{xy}:\mathcal{H}_y\to\mathcal{H}_x U x y : H y → H x vanish unless x = y x=y x = y or { x , y } ∈ E \{x,y\} \in E { x , y } ∈ E . A query O m O_m O m acts on H m \mathcal{H}_m H m by an arbitrary, possibly time-dependent unitary and as the identity on every other H x \mathcal{H}_x H x . A final measurement { M n } \{M_n\} { M n } outputs a guess n n n , and p p p denotes the success probability averaged over m m m . With a marked set M \mathcal{M} M , queries act in this way on every vertex of M \mathcal{M} 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 T T T of local steps and grant queries for free, so the bounds also limit the total time. Finite-size inequalities hold for every p p p , whereas statements with Ω \Omega Ω , Θ \Theta Θ or o ( 1 ) o(1) o ( 1 ) refer to a fixed target success probability 0 < p < 1 0<p<1 0 < p < 1 (Sec. S1.3).
Electrostatic bound. After t t t local steps and the queries applied so far, let a t a_t a t be the state of the unmarked run, in which every query acts as the identity, and b t m b_t^m b t m the state of the run in which m m m is marked. For a real weight w ( x , m ) w(x,m) w ( x , m ) , let W m W_m W m multiply H x \mathcal{H}_x H x by w ( x , m ) w(x,m) w ( x , m ) , and define the weighted overlap
F t = 1 N ∑ m ⟨ a t ∣ W m ∣ b t m ⟩ . (1) F_t=\frac{1}{N}\sum_m\langle a_t|W_m|b_t^m\rangle. \tag*{(1)} F t = N 1 m ∑ ⟨ a t ∣ W m ∣ b t m ⟩ . (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 ) = 0 w(m,m)=0 w ( m , m ) = 0 and w ( g x , g m ) = w ( x , m ) w(gx,gm)=w(x,m) w ( g x , g m ) = w ( x , m ) for every automorphism g g g of G G G , so that the mean w ˉ \bar{w} w ˉ of w ( ⋅ , m ) w(\cdot,m) w ( ⋅ , m ) and its Dirichlet energy E w = ∑ { 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 E w = ∑ { x , y } ∈ E [ w ( x , m ) − w ( y , m ) ] 2 do not depend on m m m . Here E w \mathcal{E}_w E w is the field energy when w w w is viewed as a potential. Since a query changes b m b^m b m only inside H m \mathcal{H}_m H m , where W m W_m W m vanishes, W m O m = W m W_mO_m=W_m W m O m = W m and queries leave each term of F F F unchanged. Initially a 0 = b 0 m a_0=b_0^m a 0 = b 0 m , and F 0 = w ˉ F_0=\bar{w} F 0 = w ˉ because ∑ m w ( x , m ) = N w ˉ \sum_m w(x,m)=N\bar{w} ∑ m w ( x , m ) = N w ˉ for every x x x by vertex transitivity.
A local step U U U changes the m m m th term by ⟨ a ∣ D m ∣ b m ⟩ \langle a|D_m|b^m\rangle ⟨ a ∣ D m ∣ b m ⟩ , where D m = U † W m U − W m = U † [ W m , U ] D_m=U^\dagger W_mU-W_m=U^\dagger[W_m,U] D m = U † W m U − W m = U † [ W m , U ] is Hermitian, so
∣ Δ F ∣ ≤ N − 1 ∑ m ∥ [ W m , U ] ∥ |\Delta F|\leq N^{-1}\sum_m\|[W_m,U]\| ∣Δ F ∣ ≤ N − 1 ∑ m ∥ [ W m , U ] ∥ . This estimate uses the unmarked state alone, so the marked runs may be arbitrary. The commutator ( [ W m , U ] a ) x = ∑ y U x y [ w ( x , m ) − w ( y , m ) ] a y ([W_m,U]a)_x=\sum_yU_{xy}[w(x,m)-w(y,m)]a_y ([ W m , U ] a ) x = ∑ y U x y [ w ( x , m ) − w ( y , m )] a y measures how much the weight changes along the edges on which U U U moves amplitude. Since each block row ( U x y ) y (U_{xy})_y ( U x y ) y of a unitary is a contraction, ∥ ( [ W m , U ] a ) x ∥ 2 ≤ ∑ y ∼ x [ w ( x , m ) − w ( y , m ) ] 2 ∥ a y ∥ 2 \|([W_m,U]a)_x\|^2\leq\sum_{y\sim x}[w(x,m)-w(y,m)]^2\|a_y\|^2 ∥ ([ W m , U ] a ) x ∥ 2 ≤ ∑ y ∼ x [ w ( x , m ) − w ( y , m ) ] 2 ∥ a y ∥ 2 . After summation over x x x and m m m , vertex transitivity makes the coefficient of each ∥ a y ∥ 2 \|a_y\|^2 ∥ a y ∥ 2 equal to 2 E w 2\mathcal{E}_w 2 E w , hence
1 N ∑ m ∥ [ W m , U ] a ∥ 2 ≤ 2 E w N , ∣ Δ F ∣ ≤ 2 E w N (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)} N 1 m ∑ ∥ [ W m , U ] a ∥ 2 ≤ N 2 E w , ∣Δ F ∣ ≤ N 2 E w (2)
for every local step and every normalized a a a (Figure 1 (b)). Averaging over m m m 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 m m m .
Electrostatics resolves this conflict. Let L = d I − Adj \mathcal{L}=dI-\operatorname{Adj} L = d I − Adj be the graph Laplacian, with Adj \operatorname{Adj} Adj the adjacency matrix. The potential K ( ⋅ , m ) K(\cdot,m) K ( ⋅ , m ) of a unit charge at m m m in a uniform neutralizing background is the Green function of the graph,
L K ( ⋅ , m ) = δ m − 1 N , ∑ x K ( x , m ) = 0. (3) \mathcal{L}K(\cdot,m)=\delta_m-\frac{1}{N},\qquad\sum_xK(x,m)=0. \tag*{(3)} L K ( ⋅ , m ) = δ m − N 1 , x ∑ K ( x , m ) = 0. (3)
With the Dirichlet form ⟨ u , v ⟩ = ∑ { x , y } ∈ E [ u ( x ) − u ( y ) ] [ v ( x ) − v ( y ) ] \langle u,v\rangle=\sum_{\{x,y\}\in E}[u(x)-u(y)][v(x)-v(y)] ⟨ u , v ⟩ = ∑ { x , y } ∈ E [ u ( x ) − u ( y )] [ v ( x ) − v ( y )] , Eq. (3) gives w ˉ = − ⟨ w ( ⋅ , m ) , K ( ⋅ , m ) ⟩ \bar{w}=-\langle w(\cdot,m),K(\cdot,m)\rangle w ˉ = − ⟨ w ( ⋅ , m ) , K ( ⋅ , m )⟩ for every weight that vanishes at m m m . 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) A = K ( m , m ) ,
∑ { x , y } ∈ E [ K ( x , m ) − K ( y , m ) ] 2 = A . (4) \sum_{\{x,y\}\in E}[K(x,m)-K(y,m)]^2=A. \tag*{(4)} { x , y } ∈ E ∑ [ K ( x , m ) − K ( y , m ) ] 2 = A . (4)
The Cauchy–Schwarz inequality for the Dirichlet form then implies w ˉ ≤ E w A \bar{w}\leq\sqrt{\mathcal{E}_wA} w ˉ ≤ E w A , with equality only for nonnegative multiples of the potential drop from m m m , B m ( x ) = A − K ( x , m ) B_m(x)=A-K(x,m) B m ( x ) = A − K ( x , m ) (Fig. 1a). This is Dirichlet’s principle. Among all functions that vanish at m m m and have a given mean, a multiple of B m B_m B m has the least energy. With w = B m w=B_m w = B m , F F F starts at A A A and moves by at most 2 A / N \sqrt{2A/N} 2 A / N per local step. Physically, A A A is the energy dissipated when a unit current enters the network at m m m and leaves uniformly through all vertices [48], and t h = N d A t_h=NdA t h = N d A is the mean hitting time of m m m for the simple random walk from the uniform distribution, where a walk that starts at m m m hits it at time zero [49, 50]. Vertex transitivity makes A A A and the norm S = [ ∑ x K ( x , m ) 2 ] 1 / 2 S=\left[\sum_x K(x,m)^2\right]^{1/2} S = [ ∑ x K ( x , m ) 2 ] 1/2 independent of m m m , and in terms of the nonzero Laplacian eigenvalues λ \lambda λ , A = N − 1 ∑ λ > 0 λ − 1 A=N^{-1}\sum_{\lambda>0}\lambda^{-1} A = N − 1 ∑ λ > 0 λ − 1 and S 2 = N − 1 ∑ λ > 0 λ − 2 S^2=N^{-1}\sum_{\lambda>0}\lambda^{-2} S 2 = N − 1 ∑ λ > 0 λ − 2 .
It remains to relate F F F to success. At the end, write c m = ⟨ a T ∣ b m T ⟩ c_m=\langle a_T|b_m^T\rangle c m = ⟨ a T ∣ b m T ⟩ and c ˉ = N − 1 ∑ m c m \bar{c}=N^{-1}\sum_m c_m c ˉ = N − 1 ∑ m c m . With K m K_m K m multiplying H x \mathcal{H}_x H x by K ( x , m ) K(x,m) K ( x , m ) , Eq. (1) for w = B m w=B_m w = B m gives F T = A c ˉ − r F_T=A\bar{c}-r F T = A c ˉ − r with r = N − 1 ∑ m ⟨ a T ∣ K m ∣ b m T ⟩ r=N^{-1}\sum_m\langle a_T|K_m|b_m^T\rangle r = N − 1 ∑ m ⟨ a T ∣ K m ∣ b m T ⟩ , and ∣ r ∣ ≤ S / N |r|\le S/\sqrt{N} ∣ r ∣ ≤ S / N because ∑ m K ( x , m ) 2 = S 2 \sum_m K(x,m)^2=S^2 ∑ m K ( x , m ) 2 = S 2 . Splitting c m c_m c m with M m M_m M m and I − M m I-M_m I − M m gives ∣ c m ∣ ≤ q m + 1 − p m |c_m|\le\sqrt{q_m}+\sqrt{1-p_m} ∣ c m ∣ ≤ q m + 1 − p m , where p m = ⟨ b m T ∣ M m ∣ b m T ⟩ p_m=\langle b_m^T|M_m|b_m^T\rangle p m = ⟨ b m T ∣ M m ∣ b m T ⟩ and the probabilities q m = ⟨ a T ∣ M m ∣ a T ⟩ q_m=\langle a_T|M_m|a_T\rangle q m = ⟨ a T ∣ M m ∣ a T ⟩ sum to at most one. By concavity of the square root, Re c ˉ ≤ 1 − p + N − 1 / 2 \operatorname{Re}\bar{c}\le\sqrt{1-p}+N^{-1/2} Re c ˉ ≤ 1 − p + N − 1/2 . With Eq. (2) for E w = A E_w=A 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 p p uses
T ≥ ( 1 − 1 − p − N − 1 / 2 ) N A − S 2 A (5) T\ge\frac{\left(1-\sqrt{1-p-N^{-1/2}}\right)\sqrt{NA}-S}{\sqrt{2A}} \tag*{(5)} T ≥ 2 A ( 1 − 1 − p − N − 1/2 ) N A − S (5) local steps.
With the endpoint ratio η = S / ( N A ) \eta=S/(\sqrt{N}A) η = S / ( N A ) , the right side of Eq. (5) is [ 1 − 1 − p − N − 1 / 2 − η ] N A / 2 [1-\sqrt{1-p}-N^{-1/2}-\eta]\sqrt{NA}/2 [ 1 − 1 − p − N − 1/2 − η ] N A /2 , so every algorithm needs Ω ( N A ) \Omega(\sqrt{NA}) Ω ( N A ) local steps whenever η → 0 \eta\to0 η → 0 . The same bound holds for deciding whether any vertex is marked with error probability at most ϵ < 1 / 2 \epsilon<1/2 ϵ < 1/2 , with 1 − 1 − p − N − 1 / 2 1-\sqrt{1-p-N^{-1/2}} 1 − 1 − p − N − 1/2 replaced by 1 − 2 ϵ ( 1 − ϵ ) 1-2\sqrt{\epsilon(1-\epsilon)} 1 − 2 ϵ ( 1 − ϵ ) , because the unmarked run is then a legitimate input. For continuous-time evolution under nearest-neighbour Hamiltonians H t H_t H t with oracle terms on H m H_m H m , only the hopping part moves F F F , and without oracle hopping strength ∫ ∥ H t h o p ∥ d t \int\|H_t^{\mathrm{hop}}\|\,dt ∫ ∥ H t hop ∥ d t obeys the same bound as T T T (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/2d$ times the expected number of visits of the lazy simple random walk to its starting vertex in excess of the uniform rate 1 / N 1/N 1/ N per step (Sec. S2), and on the tori Z L n \mathbb{Z}_L^n Z L n it diverges as L → ∞ L\to\infty L → ∞ exactly when the walk on Z n \mathbb{Z}^n Z n is recurrent, that is, for $n\le2 ({xref}Fig. 1(c)). On the $L\times L$ torus, Fourier estimates {citep}[52]` give
A = ln L 2 π + O ( 1 ) , S ≤ 0.194 L (6) A=\frac{\ln L}{2\pi}+O(1),\qquad S\le0.194L \tag*{(6)} A = 2 π ln L + O ( 1 ) , S ≤ 0.194 L (6)
(Sec. S4). The growth of A A A reflects the logarithmic form of the two-dimensional Coulomb potential. Hence η = O ( 1 / ln L ) \eta=O(1/\ln L) η = O ( 1/ ln L ) , and the theorem becomes
T ≥ ( 1 − 1 − p ) N ln N 8 π [ 1 + o ( 1 ) ] . (7) T\ge(1-\sqrt{1-p})\sqrt{\frac{N\ln N}{8\pi}}\,[1+o(1)]. \tag*{(7)} T ≥ ( 1 − 1 − p ) 8 π N ln N [ 1 + o ( 1 )] . (7)
Tulsi’s walk reaches constant success probability with O ( N log N ) O(\sqrt{N\log N}) O ( N log N ) local steps [21], and a fixed number of verified repetitions reaches any fixed p < 1 p<1 p < 1 , so the optimal number of local steps on the torus is Θ ( N log N ) \Theta(\sqrt{N\log N}) Θ ( 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} log N is thus set by two-dimensional space, not by the known algorithms, and remains even with only O ( N ) O(\sqrt{N}) O ( N ) queries [16 ] .
The weight B m B_m B m has a direct meaning for electrical networks and random walks. Its value B m ( x ) B_m(x) B m ( x ) is half the effective resistance between m m m and x x x [53, 54], and N d B m ( x ) NdB_m(x) N d B m ( x ) is the mean time that the simple random walk takes to reach m m m from x x x (Sec. S2). Effective resistance already bounds the cost of quantum-walk search algorithms from above [28, 55]. Here the effective resistance A A A between the uniform distribution and m m m bounds the cost of every local algorithm from below. As S 2 ≤ A / λ 2 S^2 \le A/\lambda_2 S 2 ≤ A / λ 2 , with λ 2 \lambda_2 λ 2 the smallest nonzero Laplacian eigenvalue, Eq. (5) implies
T ≥ ( 1 − 1 − p − N − 1 / 2 ) t h 2 d − 1 2 λ 2 . (8) T \ge\left(1-\sqrt{1-p}-N^{-1/2}\right)\sqrt{\frac{t_h}{2d}}-\frac{1}{\sqrt{2\lambda_2}}. \tag*{(8)} T ≥ ( 1 − 1 − p − N − 1/2 ) 2 d t h − 2 λ 2 1 . (8)
Whenever t h λ 2 / d → ∞ t_h\lambda_2/d \to\infty t h λ 2 / d → ∞ , every local algorithm thus needs Ω ( t h / d ) \Omega(\sqrt{t_h/d}) Ω ( t h / d ) local steps. The hitting-time algorithm of Ref. [29] finds one marked vertex in O ( t h ) O(\sqrt{t_h}) O ( t 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 Ω ( t h ) \Omega(\sqrt{t_h}) Ω ( t h ) whenever η → 0 \eta\to0 η → 0 (Sec. S7). On tori of dimension n ≥ 3 n \ge3 n ≥ 3 , where A A A is bounded, it becomes Ω ( N ) \Omega(\sqrt{N}) Ω ( N ) . On a cycle, where η → 1 / 5 \eta\to1/\sqrt{5} η → 1/ 5 , a truncated distance weight replaces the potential and gives Ω ( N ) \Omega(N) Ω ( N ) for every fixed p p p (Sec. S4).
Several marked vertices. With k k k marked vertices the weight must vanish on the whole marked set M \mathcal{M} M . Dirichlet’s principle then selects the potential of a conductor that occupies M \mathcal{M} M , and the point charge spreads into the equilibrium charge of M \mathcal{M} M (Figure 2 (a)). On the L × L L \times L L × L torus, let K M K_{\mathcal{M}} K M be the zero-mean potential that takes a constant value A M A_{\mathcal{M}} A M on M \mathcal{M} M and solves L K M = ρ M − 1 / N \mathcal{L}K_{\mathcal{M}}=\rho_{\mathcal{M}}-1/N L K M = ρ M − 1/ N for a unit charge ρ M ≥ 0 \rho_{\mathcal{M}}\ge0 ρ M ≥ 0 supported on M \mathcal{M} M . Its self-potential is the inverse capacitance of the conductor, A M = 1 / [ 1 T ( L + ) M M 1 ] A_{\mathcal{M}}=1/[\mathbf{1}^{\mathsf{T}}(L^+)_{\mathcal{M}\mathcal{M}}\mathbf{1}] A M = 1/ [ 1 T ( L + ) MM 1 ] with ( L + ) M M (L^+)_{\mathcal{M}\mathcal{M}} ( L + ) MM the block of the Laplacian pseudoinverse on M \mathcal{M} M , and it fixes the mean hitting time of M \mathcal{M} M from the uniform distribution, t h ( M ) = 4 N A M t_h(\mathcal{M})=4NA_{\mathcal{M}} t h ( M ) = 4 N A M . Let the inputs be the N N N translates of M \mathcal{M} M , with p p p averaged over them. The proof then applies with the translates of K M K_{\mathcal{M}} K M in place of K ( ⋅ , m ) K(\cdot,m) K ( ⋅ , m ) , which are again Dirichlet-optimal (Sec. S6). The only change is that k k k outputs are now correct, which replaces N − 1 / 2 N^{-1/2} N − 1/2 by k / N \sqrt{k/N} k / N and gives
T ≥ [ 1 − 1 − p − k N − η M ] N A M 2 . (9) T \ge\left[1-\sqrt{1-p}-\sqrt{\frac{k}{N}}-\eta_{\mathcal{M}}\right]\sqrt{\frac{NA_{\mathcal{M}}}{2}}. \tag*{(9)} T ≥ [ 1 − 1 − p − N k − η M ] 2 N A M . (9)
Here the endpoint ratio η M = S M / ( N A M ) \eta_{\mathcal{M}}=S_{\mathcal{M}}/(\sqrt{N}A_{\mathcal{M}}) η M = S M / ( N A M ) , with S M S_{\mathcal{M}} S M the norm of K M K_{\mathcal{M}} K M , is the coefficient of variation of the mean hitting time over starting vertices. (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) 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} k . For a periodic subgrid of spacing ℓ = N / k \ell=\sqrt{N/k} ℓ = N / k , K M K_{\mathcal{M}} K M is 1 / k 1/k 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 A M = ln ( N / k ) / ( 4 π k ) + O ( 1 / k ) A_{\mathcal{M}}=\ln(N/k)/(4\pi k)+O(1/k) A M = ln ( N / k ) / ( 4 π k ) + O ( 1/ k ) and η M → 0 \eta_{\mathcal{M}}\to0 η M → 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)) Θ ( N / k log ( N / k )) . A compact cluster instead acts as a single conductor of radius of order k \sqrt{k} k , whose self-potential in the plane falls only logarithmically with its size: A M = ln ( N / k ) / ( 4 π ) + O ( 1 ) A_{\mathcal{M}}=\ln(N/k)/(4\pi)+O(1) A M = ln ( N / k ) / ( 4 π ) + O ( 1 ) , η M → 0 \eta_{\mathcal{M}}\to0 η M → 0 and T ≥ ( 1 − 1 − p ) N ln ( N / k ) / ( 8 π ) [ 1 + o ( 1 ) ] T\ge(1-\sqrt{1-p})\sqrt{N\ln(N/k)/(8\pi)}[1+o(1)] T ≥ ( 1 − 1 − p ) N ln ( N / k ) / ( 8 π ) [ 1 + o ( 1 )] . Since the worst case over placements is at least this translation average, finding one of k k k marked vertices takes Ω ( N log ( N / k ) ) \Omega(\sqrt{N\log(N/k)}) Ω ( N log ( N / k ) ) local steps, even when k k k is known. This random bound holds for deciding between none and exactly k k k marked vertices with fixed error 0 < ε < 1 / 2 0<\varepsilon<1/2 0 < ε < 1/2 , the problem O R ( k ) \mathrm{OR}^{(k)} OR ( k ) of Ref. [15 ] , and improves the two-dimensional bound Ω ( N ) \Omega(\sqrt{N}) Ω ( N ) given there. For known k k k , random thinning [15 ] gives a matching upper bound O ( N log ( N / k ) ) O(\sqrt{N\log(N/k)}) O ( 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 × 1024 1024\times1024 1024 × 1024 torus with k = 64 k=64 k = 64 (Figure 2 (b)), an 8 × 8 8\times8 8 × 8 cluster has 52 times the self-potential of the periodic subgrid, whereas four uniformly random sets exceed it by only 24 % 24\% 24% –26 % 26\% 26% (§ 3.3.7 ).
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 ≥ 4 L\ge4 L ≥ 4 , each local step moves F F F by at most A / 2 N \sqrt{A/2N} A /2 N , which doubles the bound (5) to a value T min T_{\min} T m i n (Sec. S7). We simulated Tulsi’s walk for L = 16 L=16 L = 16 to $1024 ({xref}Fig. 2(c)). At $L=1024$ it reaches $p=0.558$ after $T=7.6T_{\min}$ local steps, and $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 ({xref}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} 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 weight 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.
Acknowledgments
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 .
References
supplement.pdf
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.
Spatial Query Model
Definitions
Let G = ( V , E ) G=(V,E) G = ( V , E ) be a finite, connected, vertex-transitive simple graph with N ≥ 2 N \ge2 N ≥ 2 vertices and degree d d d . The state space of a single walker is the direct sum H = ⨁ x ∈ V H x \mathcal{H}=\bigoplus_{x\in V}\mathcal{H}_x H = ⨁ x ∈ V H x , where the internal workspace H x \mathcal{H}_x H x at vertex x x x is finite-dimensional and its dimension may grow with N N N . Write v = ( v x ) x ∈ V v=(v_x)_{x\in V} v = ( v x ) x ∈ V for a vector of H \mathcal{H} H , with v x ∈ H x v_x\in\mathcal{H}_x v x ∈ H x .
An algorithm starts from a normalized state a 0 a_0 a 0 that does not depend on the input and applies two kinds of operations, interleaved in any order. A local step is a unitary U U U on H \mathcal{H} H that does not depend on the input and whose blocks U x y : H y → H x U_{xy}:\mathcal{H}_y\to\mathcal{H}_x U x y : H y → H x vanish unless x = y x=y x = y or { x , y } ∈ E \{x,y\}\in E { x , y } ∈ E . It may depend on time and position. A query with marked vertex m m m is a unitary O m O_m O m that acts on H m \mathcal{H}_m H m by an arbitrary, possibly time-dependent unitary and as the identity on H x \mathcal{H}_x H x for every x ≠ m x\ne m x = m . With a marked set M M M , whose vertices are also called marks, the query acts by an arbitrary on-site unitary on every H x \mathcal{H}_x H x with x ∈ M x\in M x ∈ M and as the identity elsewhere. The lower bounds hold for all such queries, and the upper bounds use the usual membership query, which flips an internal flag or a phase at marked vertices. We denote the number of local steps by T T T and grant queries for free. At the end, a measurement { M n } n ∈ V \{M_n\}_{n\in V} { M n } n ∈ V that is the same for all inputs, with an optional failure outcome, outputs a vertex n n n , and the algorithm succeeds if n n n is marked.
The marked run b t m b_t^m b t m applies the operations of the algorithm with the queries of input m m m . Section S6 writes b t g b_t^g b t g for the run on a translated marked set. The unmarked run a t a_t a t applies the same operations with every query replaced by the identity, and it is defined whether or not the unmarked input belongs to the promised problem. All runs are normalized. Here t t t counts local steps: a t a_t a t and b t m b_t^m b t m are the states after t t t local steps and the queries applied so far, and a T a_T a T , b T m b_T^m b T m are the final states. For one marked vertex, the success probability is p m = ⟨ b T m ∣ M m ∣ b T m ⟩ p_m=\langle b_T^m|M_m|b_T^m\rangle p m = ⟨ b T m ∣ M m ∣ b T m ⟩ , and p = N − 1 ∑ m p m p=N^{-1}\sum_m p_m p = N − 1 ∑ m p m .
Scope of the model
Local steps are the Z Z Z -local transformations of Aaronson and Ambainis [1 ] , in which amplitude moves only along edges. Their C C C -local transformations are special cases. In these, the basis states are partitioned into disjoint subspaces, each supported on one vertex or on a pair of adjacent vertices, and the unitary is block diagonal on this partition, so the operations on different blocks commute. A sequential product of unitaries on overlapping edges can move amplitude across more than one edge and is in general not one local step. The H H H -local transformations e i H e^{iH} e i H of Ref. [1 ] , with H H H nearest-neighbour and ∥ H ∥ ≤ π \lVert H\rVert\le\pi ∥ H ∥ ≤ π , can also move amplitude across many edges. Each is a unit-time evolution whose hopping part H − ⨁ x H x x H-\bigoplus_x H_{xx} H − ⨁ x H xx has norm at most 2 ∥ H ∥ ≤ 2 π 2\lVert H\rVert\le2\pi 2 ∥ H ∥ ≤ 2 π . By Sec. S8, the lower bounds then hold with each such step counted as 2 π 2\pi 2 π local steps. Coined walks (with a coin as workspace), Szegedy walks (with a neighbour label as workspace, and an on-site reflection followed by a move along the labelled edge) and ancilla-controlled walks such as Tulsi’s [2 ] are local steps interleaved with queries. Staggered walks whose tessellation cells contain vertices at distance two fit the model after each cell unitary is decomposed into a constant number of local steps.
Intermediate on-site measurements can be deferred into the workspace. Their Kraus operators have the form Λ j = ⨁ x Λ j ( x ) \Lambda_j=\bigoplus_x\Lambda_j(x) Λ j = ⨁ x Λ j ( x ) with ∑ j Λ j ( x ) † Λ j ( x ) = I H x \sum_j\Lambda_j(x)^\dagger\Lambda_j(x)=I_{\mathcal{H}_x} ∑ j Λ j ( x ) † Λ j ( x ) = I H x . At each position the isometry v ↦ ∑ j Λ j ( x ) v ⊗ ∣ j ⟩ v\mapsto\sum_j\Lambda_j(x)v\otimes\lvert j\rangle v ↦ ∑ j Λ j ( x ) v ⊗ ∣ j ⟩ completes to a unitary on an enlarged workspace, and feedback controlled by the recorded outcomes is a direct sum of local steps and retains block locality. More general intermediate instruments, including global measurements, are admitted only through coherent implementations by local steps, which count towards T T T . Classical random choices independent of the input are purified in the same way.
The bounds concern a fixed number of local steps. For a randomized stopping time τ \tau τ , measured in operations, suppose its expectation is at most E \mathcal{E} E on every input and the average success probability is at least p 0 > 0 p_0>0 p 0 > 0 . Truncation at τ max = ⌈ 2 E / p 0 ⌉ \tau_{\max}=\lceil2\mathcal{E}/p_0\rceil τ m a x = ⌈ 2 E / p 0 ⌉ operations, with halted branches padded by identities, loses at most p 0 / 2 p_0/2 p 0 /2 of the average success probability by Markov’s inequality. The bounds applied to the truncated algorithm bound τ max \tau_{\max} τ m a x from below, and hence E \mathcal{E} E . No assumption on the stopping time of the unmarked run is needed.
The direct sum over positions describes one walker. The internal workspace may be arbitrarily large and may even store coordinates, but locality and queries refer only to the position x x x . Additional position registers that also couple to the oracle therefore lie outside the model, as do nonlinear evolution and queries acting away from the marked vertices. Long-range hops change the underlying graph rather than leaving the model. The bound then refers to the enlarged graph, whose self-potential must be recomputed, and Theorem S3.2 applies when that graph is again vertex-transitive.
Range of the results
The finite-size inequalities, Theorems S3.2 and S6.1 with their corollaries, hold for every success probability p p p . Theorem S6.1 holds for every nonempty proper marked set, whether or not the algorithm knows M M M or k k k . Asymptotic statements need more, since measuring a uniform initial state already succeeds with probability k / N k/N k / N without any local step. Asymptotic lower bounds therefore assume a success probability bounded away from zero, and matching complexities, written with Θ \Theta Θ , refer to a fixed target success probability 0 < p < 1 0<p<1 0 < p < 1 , or to a fixed error 0 < ϵ < 1 / 2 0<\epsilon<1/2 0 < ϵ < 1/2 for decision problems. For several marked vertices they refer in addition to the sparse regime N / k → ∞ N/k\to\infty N / k → ∞ . The forms Ω ( N A ) \Omega(\sqrt{NA}) Ω ( N A ) and Ω ( N A M ) \Omega(\sqrt{NA_M}) Ω ( N A M ) hold for every such p p p when the endpoint ratio η \eta η or η M \eta_M η M tends to zero (Section S3), as it does for the dimension n ≥ 2 n\ge2 n ≥ 2 , for periodic subgrids and for compact clusters. Section S4 treats the cycle, where η \eta η does not vanish. The matching worst-case upper bound of Theorem S6.5 assumes that k k k is known.
Electrostatic potentials
One charge on a vertex-transitive graph
The Laplacian L = d I − Adj \mathcal{L}=dI-\operatorname{Adj} L = d I − Adj , with Adj \operatorname{Adj} Adj the adjacency matrix, is positive semidefinite with a simple zero eigenvalue on constant vectors. Write L + \mathcal{L}^{+} L + for its Moore–Penrose pseudoinverse and define
K ( x , m ) = ( L + ) x m , so that L K ( ⋅ , m ) = δ m − 1 N 1 , ∑ x K ( x , m ) = 0. (10) K(x,m)=(\mathcal{L}^{+})_{xm},\qquad\text{so that}\qquad\mathcal{L}K(\cdot,m)=\delta_m-\frac{1}{N}\mathbf{1},\qquad\sum_x K(x,m)=0. \tag*{(10)} K ( x , m ) = ( L + ) x m , so that L K ( ⋅ , m ) = δ m − N 1 1 , x ∑ K ( x , m ) = 0. (10)
The function K ( ⋅ , m ) K(\cdot,m) K ( ⋅ , m ) is the electrostatic potential of a unit charge at m m m in a uniform neutralizing background.
Lemma S2.1 (Symmetries). (i) K ( x , m ) = K ( m , x ) K(x,m)=K(m,x) K ( x , m ) = K ( m , x ) and ∑ m K ( x , m ) = 0 \sum_m K(x,m)=0 ∑ m K ( x , m ) = 0 for every x x x . (ii) K ( g x , g m ) = K ( x , m ) K(gx,gm)=K(x,m) K ( g x , g m ) = K ( x , m ) for every automorphism g g g of G G G . (iii) The self-potential A = K ( m , m ) A=K(m,m) A = K ( m , m ) and S 2 = ∑ x K ( x , m ) 2 S^2=\sum_x K(x,m)^2 S 2 = ∑ x K ( x , m ) 2 do not depend on m m m , and
A = 1 N ∑ λ > 0 1 λ , S 2 = 1 N ∑ λ > 0 1 λ 2 , (11) A=\frac{1}{N}\sum_{\lambda>0}\frac{1}{\lambda},\qquad S^2=\frac{1}{N}\sum_{\lambda>0}\frac{1}{\lambda^2}, \tag*{(11)} A = N 1 λ > 0 ∑ λ 1 , S 2 = N 1 λ > 0 ∑ λ 2 1 , (11) where the sums run over the nonzero eigenvalues of L \mathcal{L} L with multiplicity. In particular A > 0 A>0 A > 0 .
Proof. (i) The pseudoinverse L + \mathcal{L}^{+} L + is symmetric and annihilates constants, so its rows and columns sum to zero. (ii) A permutation matrix P g P_g P g of an automorphism commutes with L \mathcal{L} L , hence with L + \mathcal{L}^{+} L + . (iii) By (ii) and vertex transitivity the diagonals of L + \mathcal{L}^{+} L + and of ( L + ) 2 (\mathcal{L}^{+})^2 ( L + ) 2 are constant, equal to N − 1 tr L + N^{-1}\operatorname{tr}\mathcal{L}^{+} N − 1 tr L + and N − 1 tr ( L + ) 2 N^{-1}\operatorname{tr}(\mathcal{L}^{+})^2 N − 1 tr ( L + ) 2 . Finally, S 2 = ∑ x ( L + ) x m 2 = [ ( L + ) 2 ] m m S^2=\sum_x(\mathcal{L}^{+})_{xm}^2=[(\mathcal{L}^{+})^2]_{mm} S 2 = ∑ x ( L + ) x m 2 = [( L + ) 2 ] mm .
Lemma S2.2 (Dirichlet energy). For every m m m ,
∑ { x , y } ∈ E [ K ( x , m ) − K ( y , m ) ] 2 = A , (12) \sum_{\{x,y\}\in E}[K(x,m)-K(y,m)]^2=A, \tag*{(12)} { x , y } ∈ E ∑ [ K ( x , m ) − K ( y , m ) ] 2 = A , (12)
and for every vertex y y y ,
∑ m ∑ x ∼ y [ K ( x , m ) − K ( y , m ) ] 2 = 2 A . (13) \sum_m\sum_{x\sim y}[K(x,m)-K(y,m)]^2=2A. \tag*{(13)} m ∑ x ∼ y ∑ [ K ( x , m ) − K ( y , m ) ] 2 = 2 A . (13)
Proof. The left side of Eq. (S3) equals ⟨ K ( ⋅ , m ) , L K ( ⋅ , m ) ⟩ = K ( m , m ) − N − 1 ∑ x K ( x , m ) = A \langle K(\cdot,m),\mathcal{L}K(\cdot,m)\rangle=K(m,m)-N^{-1}\sum_xK(x,m)=A ⟨ K ( ⋅ , m ) , L K ( ⋅ , m )⟩ = K ( m , m ) − N − 1 ∑ x K ( x , m ) = A . Denote the left side of Eq. (S4) by σ ( y ) \sigma(y) σ ( y ) . For an automorphism g g g , Lemma S2.1(ii) and the substitutions m = g m ′ m=gm' m = g m ′ , x = g x ′ x=gx' x = g x ′ give σ ( g y ) = σ ( y ) \sigma(gy)=\sigma(y) σ ( g y ) = σ ( y ) , and vertex transitivity makes σ \sigma σ constant. Its average is N − 1 ∑ m ∑ y ∑ x ∼ y [ K ( x , m ) − K ( y , m ) ] 2 N^{-1}\sum_m\sum_y\sum_{x\sim y}[K(x,m)-K(y,m)]^2 N − 1 ∑ m ∑ y ∑ x ∼ y [ K ( x , m ) − K ( y , m ) ] 2 , in which each edge appears twice, so Eq. (S3) gives σ = 2 A \sigma=2A σ = 2 A . Edge transitivity is not needed. □ \square □
Proposition S2.3 (Electrical and random-walk meaning). In the network G G G with unit edge conductances: (i) A A A is the Dirichlet energy of the point-to-uniform current flow, in which a unit current enters at m m m and the currents 1 / N 1/N 1/ N leave at every vertex. The sink currents are prescribed, and the sink vertices are not held at a common potential. This energy is the effective resistance between m m m and the uniform distribution. (ii) The effective resistance between m m m and x x x satisfies R e f f ( m , x ) = 2 A − 2 K ( m , x ) R_{\mathrm{eff}}(m,x)=2A-2K(m,x) R eff ( m , x ) = 2 A − 2 K ( m , x ) , and its mean over all vertices x x x , including m m m , is 2 A 2A 2 A . (iii) For the non-lazy simple random walk P = Adj / d = I − L / d P=\operatorname{Adj}/d=I-\mathcal{L}/d P = Adj / d = I − L / d , started from the uniform distribution π \pi π , which is stationary, and for τ m = inf { t ≥ 0 : X t = m } \tau_m=\inf\{t\ge0:X_t=m\} τ m = inf { t ≥ 0 : X t = m } , the mean hitting times are E x τ m = N d [ A − K ( x , m ) ] \mathbb{E}_x\tau_m=Nd[A-K(x,m)] E x τ m = N d [ A − K ( x , m )] and t h = E π τ m = N d A t_h=\mathbb{E}_\pi\tau_m=NdA t h = E π τ m = N d A . (iv) S 2 ≤ A / λ 2 S^2\le A/\lambda_2 S 2 ≤ A / λ 2 . (v) For the lazy walk P ′ = ( I + P ) / 2 P'=(I+P)/2 P ′ = ( I + P ) /2 , A = ( 2 d ) − 1 ∑ t ≥ 0 [ P ′ t ( m , m ) − N − 1 ] A=(2d)^{-1}\sum_{t\ge0}[P'^t(m,m)-N^{-1}] A = ( 2 d ) − 1 ∑ t ≥ 0 [ P ′ t ( m , m ) − N − 1 ] , that is, 1 / 2 d 1/2d 1/2 d times the expected number of visits of the lazy walk started at m m m to m m m in excess of the uniform rate N − 1 N^{-1} N − 1 per step.
Proof. (i) The potential K ( ⋅ , m ) K(\cdot,m) K ( ⋅ , m ) drives the net current vector δ m − N − 1 1 \delta_m-N^{-1}\mathbf{1} δ m − N − 1 1 , and its dissipated energy is the left side of Eq. (S3) [3 ] . (ii) The effective resistance is R e f f ( m , x ) = ( δ m − δ x ) T L + ( δ m − δ x ) R_{\mathrm{eff}}(m,x)=(\delta_m-\delta_x)^{\mathsf{T}}\mathcal{L}^{+}(\delta_m-\delta_x) R eff ( m , x ) = ( δ m − δ x ) T L + ( δ m − δ x ) [4 , 5 ] , and averaging over x x x with Lemma S2.1(i) gives the mean. (iii) The function h m ( x ) = N d [ A − K ( x , m ) ] h_m(x)=Nd[A-K(x,m)] h m ( x ) = N d [ A − K ( x , m )] vanishes at m m m and satisfies [ ( I − P ) h m ] ( x ) = − N [ L K ( ⋅ , m ) ] ( x ) = 1 [(I-P)h_m](x)=-N[\mathcal{L}K(\cdot,m)](x)=1 [( I − P ) h m ] ( x ) = − N [ L K ( ⋅ , m )] ( x ) = 1 for x ≠ m x\ne m x = m . This Dirichlet problem determines E x τ m \mathbb{E}_x\tau_m E x τ m uniquely on a finite connected graph, and averaging over x x x gives N d A NdA N d A . Equivalently, the fundamental matrix Z = ( I − P + Π ) − 1 − Π Z=(I-P+\Pi)^{-1}-\Pi Z = ( I − P + Π ) − 1 − Π , with Π \Pi Π the projector onto constants, equals d L + d\mathcal{L}^{+} d L + , and E π τ m = Z m m / π m \mathbb{E}_\pi\tau_m=Z_{mm}/\pi_m E π τ m = Z mm / π m [6 , 7 ] , and the inverse exists for periodic chains as well. Counting from t ≥ 1 t\ge1 t ≥ 1 alone, conditioning on X 0 ≠ m X_0\ne m X 0 = m divides by 1 − 1 / N 1-1/N 1 − 1/ N , and a lazy walk doubles the value. (iv) Each term of S 2 S^2 S 2 in Eq. (S2) obeys λ − 2 ≤ λ 2 − 1 λ − 1 \lambda^{-2}\le\lambda_2^{-1}\lambda^{-1} λ − 2 ≤ λ 2 − 1 λ − 1 . (v) The lazy chain is aperiodic, so Z ′ = ∑ t ≥ 0 ( P ′ t − Π ) Z'=\sum_{t\ge0}(P'^t-\Pi) Z ′ = ∑ t ≥ 0 ( P ′ t − Π ) converges and equals ( I − P ′ + Π ) − 1 − Π (I-P'+\Pi)^{-1}-\Pi ( I − P ′ + Π ) − 1 − Π . Since I − P ′ = L / 2 d I-P'=\mathcal{L}/2d I − P ′ = L /2 d , Z ′ = 2 d L + Z'=2d\mathcal{L}^{+} Z ′ = 2 d L + and Z m m ′ = 2 d A Z'_{mm}=2dA Z mm ′ = 2 d A . □ \square □
The equilibrium potential of a marked set
On the torus V = Z L 2 V=\mathbb{Z}_L^2 V = Z L 2 , L ≥ 3 L\ge3 L ≥ 3 , N = L 2 N=L^2 N = L 2 , L = 4 I − Adj \mathcal{L}=4I-\operatorname{Adj} L = 4 I − Adj , let M ⊆ V \mathcal{M}\subseteq V M ⊆ V be nonempty with k = ∣ M ∣ k=|\mathcal{M}| k = ∣ M ∣ , and write G = L + \mathcal{G}=\mathcal{L}^{+} G = L + and G M M \mathcal{G}_{\mathcal{M}\mathcal{M}} G MM for its principal submatrix indexed by M \mathcal{M} M .
Lemma S2.4 (Equilibrium potential). There is a unique zero-mean function K M K_{\mathcal{M}} K M that is constant on M \mathcal{M} M , with value A M A_{\mathcal{M}} A M , and satisfies
L K M = ρ M − N − 1 1 , supp ρ M ⊆ M , ∑ x ρ M ( x ) = 1. (14) \mathcal{L}K_{\mathcal{M}}=\rho_{\mathcal{M}}-N^{-1}\mathbf{1},\qquad\operatorname{supp}\rho_{\mathcal{M}}\subseteq\mathcal{M},\qquad\sum_x\rho_{\mathcal{M}}(x)=1. \tag*{(14)} L K M = ρ M − N − 1 1 , supp ρ M ⊆ M , x ∑ ρ M ( x ) = 1. (14)
Here ρ M ( x ) ≥ N − 1 \rho_{\mathcal{M}}(x)\ge N^{-1} ρ M ( x ) ≥ N − 1 on M \mathcal{M} M , A M > 0 A_{\mathcal{M}}>0 A M > 0 , and
∑ { x , y } ∈ E [ K M ( x ) − K M ( y ) ] 2 = A M , A M = 1 1 T G M M − 1 1 , ρ M ∣ M = G M M − 1 1 1 T G M M − 1 1 , K M = G ρ M . (15) \sum_{\{x,y\}\in E}[K_{\mathcal{M}}(x)-K_{\mathcal{M}}(y)]^2=A_{\mathcal{M}},\qquad A_{\mathcal{M}}=\frac{1}{\mathbf{1}^{\mathsf{T}}\mathcal{G}_{\mathcal{M}\mathcal{M}}^{-1}\mathbf{1}},\qquad\rho_{\mathcal{M}\mid\mathcal{M}}=\frac{\mathcal{G}_{\mathcal{M}\mathcal{M}}^{-1}\mathbf{1}}{\mathbf{1}^{\mathsf{T}}\mathcal{G}_{\mathcal{M}\mathcal{M}}^{-1}\mathbf{1}},\qquad K_{\mathcal{M}}=\mathcal{G}\rho_{\mathcal{M}}. \tag*{(15)} { x , y } ∈ E ∑ [ K M ( x ) − K M ( y ) ] 2 = A M , A M = 1 T G MM − 1 1 1 , ρ M ∣ M = 1 T G MM − 1 1 G MM − 1 1 , K M = G ρ M . (15)
Equivalently, A M = min ρ T G ρ A_{\mathcal{M}}=\min\rho^{\mathsf{T}}\mathcal{G}\rho A M = min ρ T G ρ over charges ρ \rho ρ supported on M \mathcal{M} M with 1 T ρ = 1 \mathbf{1}^{\mathsf{T}}\rho=1 1 T ρ = 1 , even if signed charges are admitted. Proof. Solve the Dirichlet problem u ∣ M = 0 u|_{\mathcal{M}}=0 u ∣ M = 0 , ( L u ) ( x ) = 1 (\mathcal{L}u)(x)=1 ( L u ) ( x ) = 1 for x ∉ M x\notin\mathcal{M} x ∈ / M . Since the principal submatrix of L \mathcal{L} L on the unmarked vertices is positive definite, the solution is unique, and the maximum principle ensures u > 0 u>0 u > 0 off M \mathcal{M} M . Set A M = N − 2 ∑ x u ( x ) A_{\mathcal{M}}=N^{-2}\sum_x u(x) A M = N − 2 ∑ x u ( x ) , K M = A M − u / N K_{\mathcal{M}}=A_{\mathcal{M}}-u/N K M = A M − u / N and ρ M = N − 1 1 + L K M \rho_{\mathcal{M}}=N^{-1}\mathbf{1}+\mathcal{L}K_{\mathcal{M}} ρ M = N − 1 1 + L K M . Then ∑ x K M ( x ) = 0 \sum_x K_{\mathcal{M}}(x)=0 ∑ x K M ( x ) = 0 , K M ∣ M = A M K_{\mathcal{M}}|_{\mathcal{M}}=A_{\mathcal{M}} K M ∣ M = A M and ρ M = 0 \rho_{\mathcal{M}}=0 ρ M = 0 off M \mathcal{M} M . On M \mathcal{M} M , ( L u ) ( s ) = − ∑ y ∼ s u ( y ) ≤ 0 (\mathcal{L}u)(s)=-\sum_{y\sim s}u(y)\leq0 ( L u ) ( s ) = − ∑ y ∼ s u ( y ) ≤ 0 , so ρ M ( s ) = [ 1 + ∑ y ∼ s u ( y ) ] / N ≥ 1 / N \rho_{\mathcal{M}}(s)=[1+\sum_{y\sim s}u(y)]/N\geq1/N ρ M ( s ) = [ 1 + ∑ y ∼ s u ( y )] / N ≥ 1/ N , and the total charge is one. The energy is K M T L K M = K M T ρ M = A M K_{\mathcal{M}}^{\mathsf{T}}\mathcal{L}K_{\mathcal{M}}=K_{\mathcal{M}}^{\mathsf{T}}\rho_{\mathcal{M}}=A_{\mathcal{M}} K M T L K M = K M T ρ M = A M .
The difference of two solutions is harmonic off M \mathcal{M} M , constant on M \mathcal{M} M and of zero mean, so the maximum principle makes it constant everywhere and hence zero. A nonzero vector supported on the proper subset M \mathcal{M} M is not constant, so G M M G_{\mathcal{M}\mathcal{M}} G MM is positive definite. Solving G M M ρ M = A M 1 G_{\mathcal{M}\mathcal{M}}\rho_{\mathcal{M}}=A_{\mathcal{M}}\mathbf{1} G MM ρ M = A M 1 and normalizing gives the matrix formulas, and strict convexity with its Lagrange equations proves the variational statement. □
For M = { m } \mathcal{M}=\{m\} M = { m } the lemma returns K ( ⋅ , m ) K(\cdot,m) K ( ⋅ , m ) and A A A . Let τ M = inf { t ≥ 0 : X t ∈ M } \tau_{\mathcal{M}}=\inf\{t\geq0:X_t\in\mathcal{M}\} τ M = inf { t ≥ 0 : X t ∈ M } for the non-lazy simple random walk P = Adj / 4 P=\operatorname{Adj}/4 P = Adj /4 , and h M ( x ) = E x τ M h_{\mathcal{M}}(x)=\mathbb{E}_x\tau_{\mathcal{M}} h M ( x ) = E x τ M . The Dirichlet equation ( I − P ) h M = 1 (I-P)h_{\mathcal{M}}=1 ( I − P ) h M = 1 off M \mathcal{M} M gives h M = 4 u h_{\mathcal{M}}=4u h M = 4 u , with u u u from the proof of Lemma S2.4, so
h M ( x ) = 4 N [ A M − K M ( x ) ] , t h ( M ) = E π τ M = 4 N A M . (16) h_{\mathcal{M}}(x)=4N[A_{\mathcal{M}}-K_{\mathcal{M}}(x)],\qquad t_h(\mathcal{M})=\mathbb{E}_{\pi}\tau_{\mathcal{M}}=4NA_{\mathcal{M}}. \tag*{(16)} h M ( x ) = 4 N [ A M − K M ( x )] , t h ( M ) = E π τ M = 4 N A M . (16)
With S M 2 = ∑ x K M ( x ) 2 S_{\mathcal{M}}^2=\sum_x K_{\mathcal{M}}(x)^2 S M 2 = ∑ x K M ( x ) 2 , the endpoint ratio
η M = S M N A M = sd x ∼ Uniform ( V ) h M ( x ) E x ∼ Uniform ( V ) h M ( x ) (17) \eta_{\mathcal{M}}=\frac{S_{\mathcal{M}}}{\sqrt{NA_{\mathcal{M}}}}=\frac{\operatorname{sd}_{x\sim\operatorname{Uniform}(V)}h_{\mathcal{M}}(x)}{\mathbb{E}_{x\sim\operatorname{Uniform}(V)}h_{\mathcal{M}}(x)} \tag*{(17)} η M = N A M S M = E x ∼ Uniform ( V ) h M ( x ) sd x ∼ Uniform ( V ) h M ( x ) (17)
is the coefficient of variation of the mean hitting time over starting vertices.
The electrostatic bound
Let K m K_m K m multiply H x \mathcal{H}_x H x by K ( x , m ) K(x,m) K ( x , m ) and let B m = A − K m B_m=A-K_m B m = A − K m . The weighted overlap with weight B m B_m B m is
F t = 1 N ∑ m ⟨ a t ∣ B m ∣ b t m ⟩ . (18) F_t=\frac{1}{N}\sum_m\langle a_t|B_m|b_t^m\rangle. \tag*{(18)} F t = N 1 m ∑ ⟨ a t ∣ B m ∣ b t m ⟩ . (18)
Lemma S3.1 (Speed limit). For every local step U U U and every normalized a ∈ H a\in\mathcal{H} a ∈ H ,
1 N ∑ m ∥ [ K m , U ] a ∥ 2 ≤ 2 A N . (19) \frac{1}{N}\sum_m\|[K_m,U]a\|^2\leq\frac{2A}{N}. \tag*{(19)} N 1 m ∑ ∥ [ K m , U ] a ∥ 2 ≤ N 2 A . (19)
Proof. The component of the commutator at vertex x x x is ( [ K m , U ] a ) x = ∑ y U x y [ K ( x , m ) − K ( y , m ) ] a y ([K_m,U]a)_x=\sum_y U_{xy}[K(x,m)-K(y,m)]a_y ([ K m , U ] a ) x = ∑ y U x y [ K ( x , m ) − K ( y , m )] a y , where only y = x y=x y = x and the neighbours of x x x contribute, and the term y = x y=x y = x vanishes. The block row R x = ( U x y ) y R_x=(U_{xy})_y R x = ( U x y ) y maps ⨁ y H y \bigoplus_y\mathcal{H}_y ⨁ y H y to H x \mathcal{H}_x H x and satisfies R x R x † = I H x R_xR_x^{\dagger}=I_{\mathcal{H}_x} R x R x † = I H x , which makes it a contraction. Applied to the vector with components [ K ( x , m ) − K ( y , m ) ] a y [K(x,m)-K(y,m)]a_y [ K ( x , m ) − K ( y , m )] a y , it gives
∥ ( [ K m , U ] a ) x ∥ 2 ≤ ∑ y ∼ x [ K ( x , m ) − K ( y , m ) ] 2 ∥ a y ∥ 2 . (20) \|([K_m,U]a)_x\|^2\leq\sum_{y\sim x}[K(x,m)-K(y,m)]^2\|a_y\|^2. \tag*{(20)} ∥ ([ K m , U ] a ) x ∥ 2 ≤ y ∼ x ∑ [ K ( x , m ) − K ( y , m ) ] 2 ∥ a y ∥ 2 . (20)
Summation over x x x and m m m and Eq. (13) give ∑ m ∥ [ K m , U ] a ∥ 2 ≤ 2 A ∑ y ∥ a y ∥ 2 = 2 A \sum_m\|[K_m,U]a\|^2\leq2A\sum_y\|a_y\|^2=2A ∑ m ∥ [ K m , U ] a ∥ 2 ≤ 2 A ∑ y ∥ a y ∥ 2 = 2 A . □
Theorem S3.2 (Electrostatic bound). Every algorithm in the spatial query model on a connected vertex-transitive graph with average success probability p p p satisfies
T ≥ ( 1 − 1 − p − N − 1 / 2 ) N A − S 2 A . (21) T\geq\frac{(1-\sqrt{1-p}-N^{-1/2})\sqrt{N}A-S}{\sqrt{2A}}. \tag*{(21)} T ≥ 2 A ( 1 − 1 − p − N − 1/2 ) N A − S . (21)
Proof. Initial value. All runs start from a 0 a_0 a 0 , and N − 1 ∑ m K m = 0 N^{-1}\sum_m K_m=0 N − 1 ∑ m K m = 0 by Lemma S2.1(i), so F 0 = A F_0=A F 0 = A .
Queries. The query O m O_m O m differs from the identity only on H m \mathcal{H}_m H m , where B m B_m B m vanishes since K ( m , m ) = A K(m,m)=A K ( m , m ) = A . Hence B m O m = B m B_mO_m=B_m B m O m = B m , and a query, which maps b m b^m b m to O m b m O_mb^m O m b m and leaves a a a unchanged, changes no term of F F F .
Local steps. A local step U U U maps a ↦ U a a\mapsto Ua a ↦ U a and b m ↦ U b m b^m\mapsto Ub^m b m ↦ U b m and changes the m m m th term by ⟨ a ∣ D m ∣ b m ⟩ \langle a|D_m|b^m\rangle ⟨ a ∣ D m ∣ b m ⟩ with D m = U † B m U − B m = − U † [ K m , U ] D_m=U^\dagger B_mU-B_m=-U^\dagger[K_m,U] D m = U † B m U − B m = − U † [ K m , U ] . The operator D m D_m D m is Hermitian, so ∣ ⟨ a ∣ D m ∣ b m ⟩ ∣ = ∣ ⟨ D m a , b m ⟩ ∣ ≤ ∥ D m a ∥ = ∥ [ K m , U ] a ∥ |\langle a|D_m|b^m\rangle|=|\langle D_ma,b^m\rangle|\leq\|D_ma\|=\|[K_m,U]a\| ∣ ⟨ a ∣ D m ∣ b m ⟩ ∣ = ∣ ⟨ D m a , b m ⟩ ∣ ≤ ∥ D m a ∥ = ∥ [ K m , U ] a ∥ . The Cauchy–Schwarz inequality and Lemma S3.1 give
∣ Δ F ∣ ≤ 1 N ∑ m ∥ [ K m , U ] a ∥ ≤ ( 1 N ∑ m ∥ [ K m , U ] a ∥ 2 ) 1 / 2 ≤ 2 A N . (22) |\Delta F|\leq\frac{1}{N}\sum_m\|[K_m,U]a\|\leq\left(\frac{1}{N}\sum_m\|[K_m,U]a\|^2\right)^{1/2}\leq\sqrt{\frac{2A}{N}}. \tag*{(22)} ∣Δ F ∣ ≤ N 1 m ∑ ∥ [ K m , U ] a ∥ ≤ ( N 1 m ∑ ∥ [ K m , U ] a ∥ 2 ) 1/2 ≤ N 2 A . (22)
After T T T local steps, therefore, ∣ F T − A ∣ ≤ T 2 A / N \lvert F_T-A\rvert\le T\sqrt{2A/N} ∣ F T − A ∣ ≤ T 2 A / N .
Endpoint. Write c m = ⟨ a T ∣ b T m ⟩ c_m=\langle a_T\mid b_T^m\rangle c m = ⟨ a T ∣ b T m ⟩ and c ˉ = N − 1 ∑ m c m \bar c=N^{-1}\sum_m c_m c ˉ = N − 1 ∑ m c m . Then F T = A c ˉ − r F_T=A\bar c-r F T = A c ˉ − r with r = N − 1 ∑ m ⟨ a T ∣ K m ∣ b T m ⟩ r=N^{-1}\sum_m\langle a_T\mid K_m\mid b_T^m\rangle r = N − 1 ∑ m ⟨ a T ∣ K m ∣ b T m ⟩ , and
∣ r ∣ ≤ 1 N ∑ m ∥ K m a T ∥ ≤ ( 1 N ∑ m ∑ x K ( x , m ) 2 ∥ ( a T ) x ∥ 2 ) 1 / 2 = S N . (23) \lvert r\rvert\le\frac{1}{N}\sum_m\lVert K_m a_T\rVert\le\left(\frac{1}{N}\sum_m\sum_x K(x,m)^2\lVert(a_T)_x\rVert^2\right)^{1/2}=\frac{S}{\sqrt N}. \tag*{(23)} ∣ r ∣ ≤ N 1 m ∑ ∥ K m a T ∥ ≤ ( N 1 m ∑ x ∑ K ( x , m ) 2 ∥( a T ) x ∥ 2 ) 1/2 = N S . (23)
since ∑ m K ( x , m ) 2 = S 2 \sum_m K(x,m)^2=S^2 ∑ m K ( x , m ) 2 = S 2 for every x x x by Lemma S2.1(i) and (iii).
Measurement. Let q m = ⟨ a T ∣ M m ∣ a T ⟩ q_m=\langle a_T\mid M_m\mid a_T\rangle q m = ⟨ a T ∣ M m ∣ a T ⟩ , so ∑ m q m ≤ 1 \sum_m q_m\le1 ∑ m q m ≤ 1 . Splitting c m = ⟨ M m 1 / 2 a T , M m 1 / 2 b T m ⟩ + ⟨ ( I − M m ) 1 / 2 a T , ( I − M m ) 1 / 2 b T m ⟩ c_m=\langle M_m^{1/2}a_T,M_m^{1/2}b_T^m\rangle+\langle(I-M_m)^{1/2}a_T,(I-M_m)^{1/2}b_T^m\rangle c m = ⟨ M m 1/2 a T , M m 1/2 b T m ⟩ + ⟨( I − M m ) 1/2 a T , ( I − M m ) 1/2 b T m ⟩ and applying the Cauchy–Schwarz inequality to each term gives
∣ c m ∣ ≤ p m q m + ( 1 − p m ) ( 1 − q m ) ≤ q m + 1 − p m . (24) \lvert c_m\rvert\le\sqrt{p_mq_m}+\sqrt{(1-p_m)(1-q_m)}\le\sqrt{q_m}+\sqrt{1-p_m}. \tag*{(24)} ∣ c m ∣ ≤ p m q m + ( 1 − p m ) ( 1 − q m ) ≤ q m + 1 − p m . (24)
The triangle inequality and concavity of the square root give Re c ˉ ≤ N − 1 ∑ m ( q m + 1 − p m ) ≤ N − 1 / 2 + 1 − p \operatorname{Re}\bar c\le N^{-1}\sum_m(\sqrt{q_m}+\sqrt{1-p_m})\le N^{-1/2}+\sqrt{1-p} Re c ˉ ≤ N − 1 ∑ m ( q m + 1 − p m ) ≤ N − 1/2 + 1 − p .
Combination. Hence T 2 A / N ≥ A − Re F T ≥ A ( 1 − 1 − p − N − 1 / 2 ) − S / N T\sqrt{2A/N}\ge A-\operatorname{Re}F_T\ge A(1-\sqrt{1-p}-N^{-1/2})-S/\sqrt N T 2 A / N ≥ A − Re F T ≥ A ( 1 − 1 − p − N − 1/2 ) − S / N , which is Eq. (21) . A negative right side is a trivial bound. □ \square □
Endpoint ratio. In terms of the endpoint ratio η = S / ( N A ) \eta=S/(\sqrt N A) η = S / ( N A ) , the right side of Eq. (21) is [ 1 − 1 − p − N − 1 / 2 − η ] N A / 2 [1-\sqrt{1-p}-N^{-1/2}-\eta]\sqrt N A/2 [ 1 − 1 − p − N − 1/2 − η ] N A /2 . For p ≥ p 0 > 0 p\ge p_0>0 p ≥ p 0 > 0 the theorem therefore implies T = Ω ( N A ) T=\Omega(\sqrt N A) T = Ω ( N A ) along every family of graphs with N → ∞ N\to\infty N → ∞ and η → 0 \eta\to0 η → 0 . The ratio need not vanish. On the cycle η → 1 / 5 \eta\to1/\sqrt5 η → 1/ 5 (Section S4), and the bound is then of order N A \sqrt N A N A only for p > 2 / 5 − 1 / 5 p>2/\sqrt5-1/5 p > 2/ 5 − 1/5 .
Query lower bound. Independently of the graph, consecutive queries merge into at most Q = T + 1 Q=T+1 Q = T + 1 query blocks O m , j O_{m,j} O m , j , each acting trivially outside H m \mathcal H_m H m . Let a j a_j a j be the unmarked state just before block j j j . The hybrid argument [8 ] gives
( ∑ m ∥ b T m − a T ∥ 2 ) 1 / 2 ≤ ∑ j = 1 Q ( ∑ m ∥ ( O m , j − I ) a j ∥ 2 ) 1 / 2 ≤ 2 Q , \left(\sum_m\lVert b_T^m-a_T\rVert^2\right)^{1/2}\le\sum_{j=1}^{Q}\left(\sum_m\lVert(O_{m,j}-I)a_j\rVert^2\right)^{1/2}\le2Q, ( m ∑ ∥ b T m − a T ∥ 2 ) 1/2 ≤ j = 1 ∑ Q ( m ∑ ∥( O m , j − I ) a j ∥ 2 ) 1/2 ≤ 2 Q ,
since ∑ m ∥ ( a j ) m ∥ 2 = 1 \sum_m\lVert(a_j)_m\rVert^2=1 ∑ m ∥( a j ) m ∥ 2 = 1 . The final measurement then gives N p ≤ ( ∑ m ∥ M m 1 / 2 a T ∥ 2 ) 1 / 2 + ( ∑ m ∥ M m 1 / 2 ( b T m − a T ) ∥ 2 ) 1 / 2 ≤ 1 + 2 Q \sqrt{N}p\le(\sum_m\lVert M_m^{1/2}a_T\rVert^2)^{1/2}+(\sum_m\lVert M_m^{1/2}(b_T^m-a_T)\rVert^2)^{1/2}\le1+2Q N p ≤ ( ∑ m ∥ M m 1/2 a T ∥ 2 ) 1/2 + ( ∑ m ∥ M m 1/2 ( b T m − a T ) ∥ 2 ) 1/2 ≤ 1 + 2 Q . Thus T + 1 ≥ ( N p − 1 ) / 2 T+1\ge(\sqrt Np-1)/2 T + 1 ≥ ( N p − 1 ) /2 , even with free queries. This bound complements Eq. (21) on dense graphs, where the self-potential is small.
Proposition S3.3 (Dirichlet-optimal weight). Let f : V × V → R f:V\times V\to\mathbb R f : V × V → R satisfy f ( m , m ) = 0 f(m,m)=0 f ( m , m ) = 0 and f ( g x , g m ) = f ( x , m ) f(gx,gm)=f(x,m) f ( g x , g m ) = f ( x , m ) for every automorphism g g g of G G G , and write f ˉ = N − 1 ∑ x f ( x , m ) \bar f=N^{-1}\sum_x f(x,m) f ˉ = N − 1 ∑ x f ( x , m ) and E f = ∑ { x , y } ∈ E [ f ( x , m ) − f ( y , m ) ] 2 \mathcal E_f=\sum_{\{x,y\}\in E}[f(x,m)-f(y,m)]^2 E f = ∑ { x , y } ∈ E [ f ( x , m ) − f ( y , m ) ] 2 , which do not depend on m m m . With multiplication by f ( ⋅ , m ) f(\mathord\cdot,m) f ( ⋅ , m ) in place of B m B_m B m in Eq. (18) , queries leave the overlap unchanged, its initial value is f ˉ \bar f f ˉ , and each local step changes it by at most ( 2 E f / N ) 1 / 2 (2\mathcal E_f/N)^{1/2} ( 2 E f / N ) 1/2 . Moreover f ˉ ≤ ( E f A ) 1 / 2 \bar f\le(\mathcal E_f A)^{1/2} f ˉ ≤ ( E f A ) 1/2 , with equality if and only if f ( ⋅ , m ) = c [ A − K ( ⋅ , m ) ] f(\mathord\cdot,m)=c[A-K(\mathord\cdot,m)] f ( ⋅ , m ) = c [ A − K ( ⋅ , m )] for some c ≥ 0 c\ge0 c ≥ 0 .
Proof. Invariance and vertex transitivity give ∑ m f ( x , m ) = N f ˉ \sum_m f(x,m)=N\bar f ∑ m f ( x , m ) = N f ˉ for every x x x and ∑ m ∑ x ∼ y [ f ( x , m ) − f ( y , m ) ] 2 = 2 E f \sum_m\sum_{x\sim y}[f(x,m)-f(y,m)]^2=2\mathcal E_f ∑ m ∑ x ∼ y [ f ( x , m ) − f ( y , m ) ] 2 = 2 E f for every y y y , as in Lemma S2.2, and the proofs of Lemma S3.1 and Theorem S3.2 then apply with f f f in place of B m B_m B m . For the inequality, ⟨ u , L v ⟩ = ∑ { x , y } ∈ E [ u ( x ) − u ( y ) ] [ v ( x ) − v ( y ) ] \langle u,Lv\rangle=\sum_{\{x,y\}\in E}[u(x)-u(y)][v(x)-v(y)] ⟨ u , Lv ⟩ = ∑ { x , y } ∈ E [ u ( x ) − u ( y )] [ v ( x ) − v ( y )] . With u = f ( ⋅ , m ) u=f(\mathord\cdot,m) u = f ( ⋅ , m ) and v = K ( ⋅ , m ) v=K(\mathord\cdot,m) v = K ( ⋅ , m ) , Eq. (10) gives ⟨ u , L v ⟩ = f ( m , m ) − f ˉ = − f ˉ \langle u,Lv\rangle=f(m,m)-\bar f=-\bar f ⟨ u , Lv ⟩ = f ( m , m ) − f ˉ = − f ˉ , and the Cauchy–Schwarz inequality with Lemma S2.2 implies f ˉ ≤ ( E f A ) 1 / 2 \bar f\le(\mathcal E_fA)^{1/2} f ˉ ≤ ( E f A ) 1/2 . Equality requires the edge differences of u u u to be a nonpositive multiple of those of v v v , which on a connected graph means u = c ( A − v ) u=c(A-v) u = c ( A − v ) , since u ( m ) = 0 u(m)=0 u ( m ) = 0 . □ \square □
Equivalently, A − K ( ⋅ , m ) A-K(\mathord\cdot,m) A − K ( ⋅ , m ) minimizes the Dirichlet energy among functions that vanish at m m m and have mean A A A , which is Dirichlet’s principle for a grounded point. For a general weight the endpoint term of the bound becomes ∥ f ( ⋅ , m ) − f ˉ ∥ / N \lVert f(\mathord\cdot,m)-\bar f\rVert/\sqrt N ∥ f ( ⋅ , m ) − f ˉ ∥ / N , which equals S / N S/\sqrt N S / N for f = A − K ( ⋅ , m ) f=A-K(\mathord\cdot,m) f = A − K ( ⋅ , m ) . The proposition thus selects the potential by the ratio f ˉ / E f 1 / 2 \bar f/\mathcal E_f^{1/2} f ˉ / E f 1/2 , not by the complete finite-size bound, which another weight can improve when the endpoint term is large (Section S4).
Corollary S3.4 (Hitting time). Under the hypotheses of Theorem S3.2,
T ≥ ( 1 − 1 − p − N − 1 / 2 ) ( t h 2 d − 1 2 λ 2 ) . (25) T\ge(1-\sqrt{1-p}-N^{-1/2})\left(\sqrt{\frac{t_h}{2d}}-\frac{1}{\sqrt{2\lambda_2}}\right). \tag*{(25)} T ≥ ( 1 − 1 − p − N − 1/2 ) ( 2 d t h − 2 λ 2 1 ) . (25)
For fixed p > 0 p>0 p > 0 it follows that T = Ω ( t h / d ) T=\Omega(\sqrt{t_h/d}) T = Ω ( t h / d ) whenever t h λ 2 / d → ∞ t_h\lambda_2/d\to\infty t h λ 2 / d → ∞ .
Proof. By Proposition S2.3(iii), N A / 2 A = N A / 2 = t h / 2 d \sqrt{N}A/\sqrt{2A}=\sqrt{N}A/2=\sqrt{t_h/2d} N A / 2 A = N A /2 = t h /2 d , and by Proposition S2.3(iv), S / 2 A ≤ ( 2 λ 2 ) − 1 / 2 S/\sqrt{2A}\le(2\lambda_2)^{-1/2} S / 2 A ≤ ( 2 λ 2 ) − 1/2 . □ \square □
Matching upper bound. The interpolated walk of Ref. [9 ] finds a single marked vertex with constant probability using O ( t h ) O(\sqrt{t_{\mathrm h}}) O ( t h ) controlled walk applications. We use the lazy simple random walk. Its hitting time conditioned on an unmarked start, the convention of that reference, is 2 t h / ( 1 − 1 / N ) 2t_{\mathrm h}/(1-1/N) 2 t h / ( 1 − 1/ N ) . Its stationary state is uniform, and the marked weight 1 / N 1/N 1/ N and hitting time are independent of the unknown mark. Theorem 6 and Proposition 3 of that reference therefore apply. Each controlled walk is a product of on-site operations, membership queries and a controlled shift along an edge (Sec. 2.4 and Appendix B.2 of that reference), and costs O ( 1 ) O(1) O ( 1 ) local steps here.
Preparation from a known vertex fits within the same budget. Let D D D be the graph diameter. The variational formula for effective resistance, applied to f ( z ) = dist ( x , z ) f(z)=\operatorname{dist}(x,z) f ( z ) = dist ( x , z ) , gives dist ( x , y ) 2 ≤ ∣ E ∣ R e f f ( x , y ) \operatorname{dist}(x,y)^2\leq|E|R_{\mathrm{eff}}(x,y) dist ( x , y ) 2 ≤ ∣ E ∣ R eff ( x , y ) , since ∑ { u , v } ∈ E [ f ( u ) − f ( v ) ] 2 ≤ ∣ E ∣ \sum_{\{u,v\}\in E}[f(u)-f(v)]^2\leq|E| ∑ { u , v } ∈ E [ f ( u ) − f ( v ) ] 2 ≤ ∣ E ∣ . Positive semidefiniteness of L + L^+ L + implies ∣ K ( x , y ) ∣ ≤ A |K(x,y)|\leq A ∣ K ( x , y ) ∣ ≤ A , and Proposition S2.3 then yields
D 2 ≤ 4 ∣ E ∣ A = 2 t h . D^2\leq4|E|A=2t_{\mathrm h}. D 2 ≤ 4∣ E ∣ A = 2 t h .
A breadth-first spanning tree prepares the uniform state in O ( D ) O(D) O ( D ) local steps. At each depth, a vertex with subtree size n v n_v n v retains a fraction 1 / n v 1/n_v 1/ n v of its incoming probability and sends fractions n c / n v n_c/n_v n c / n v to its children c c c , using separate internal labels for retained amplitude and for each outgoing tree edge. All moves at one depth occur in parallel. After a failed trial, returning to the root and preparing again also costs O ( D ) O(D) O ( D ) . Verification and a fixed number of repetitions reach any fixed success probability below one, with total cost O ( t h ) O(\sqrt{t_{\mathrm h}}) O ( t h ) .
Proposition S3.5 (Detection). Suppose an algorithm decides whether a marked vertex exists, accepting the unmarked input with probability at most ε \varepsilon ε and every input with one marked vertex with probability at least 1 − ε 1-\varepsilon 1 − ε , where 0 ≤ ε < 1 / 2 0\leq\varepsilon<1/2 0 ≤ ε < 1/2 . Then
T ≥ ( 1 − 2 ε ( 1 − ε ) ) N A − S 2 A . (26) T\geq\frac{(1-2\sqrt{\varepsilon(1-\varepsilon)})\sqrt{NA}-S}{\sqrt{2A}}. \tag*{(26)} T ≥ 2 A ( 1 − 2 ε ( 1 − ε ) ) N A − S . (26)
Proof. The proof of Theorem S3.2 applies up to the measurement step. Let { M y e s , M n o } \{M_{\mathrm{yes}},M_{\mathrm{no}}\} { M yes , M no } be the final measurement, q = ⟨ a T ∣ M y e s ∣ a T ⟩ ≤ ε q=\langle a_T|M_{\mathrm{yes}}|a_T\rangle\leq\varepsilon q = ⟨ a T ∣ M yes ∣ a T ⟩ ≤ ε and p m = ⟨ b T m ∣ M y e s ∣ b T m ⟩ ≥ 1 − ε p_m=\langle b_T^m|M_{\mathrm{yes}}|b_T^m\rangle\geq1-\varepsilon p m = ⟨ b T m ∣ M yes ∣ b T m ⟩ ≥ 1 − ε . As in Eq. (24) , ∣ c m ∣ ≤ q p m + ( 1 − q ) ( 1 − p m ) |c_m|\leq\sqrt{qp_m}+\sqrt{(1-q)(1-p_m)} ∣ c m ∣ ≤ q p m + ( 1 − q ) ( 1 − p m ) . With sin 2 θ q = q \sin^2\theta_q=q sin 2 θ q = q and sin 2 θ m = p m \sin^2\theta_m=p_m sin 2 θ m = p m this equals cos ( θ m − θ q ) \cos(\theta_m-\theta_q) cos ( θ m − θ q ) , and on the region q ≤ ε q\leq\varepsilon q ≤ ε , p m ≥ 1 − ε p_m\geq1-\varepsilon p m ≥ 1 − ε the angle difference is at least π / 2 − 2 arcsin ε \pi/2-2\arcsin\sqrt{\varepsilon} π /2 − 2 arcsin ε , so ∣ c m ∣ ≤ 2 ε ( 1 − ε ) |c_m|\leq2\sqrt{\varepsilon(1-\varepsilon)} ∣ c m ∣ ≤ 2 ε ( 1 − ε ) . Hence Re c ‾ ≤ 2 ε ( 1 − ε ) \operatorname{Re}\overline{c}\leq2\sqrt{\varepsilon(1-\varepsilon)} Re c ≤ 2 ε ( 1 − ε ) , and the combination step completes the proof. □
Lattices
On the torus Z L n \mathbb{Z}_L^n Z L n , L ≥ 3 L\geq3 L ≥ 3 , with N = L n N=L^n N = L n and degree d = 2 n d=2n d = 2 n , the Laplacian eigenvalues are λ ν = ∑ r = 1 n 4 sin 2 ( π ν r / L ) \lambda_\nu=\sum_{r=1}^n4\sin^2(\pi\nu_r/L) λ ν = ∑ r = 1 n 4 sin 2 ( π ν r / L ) for ν ∈ Z L n \nu\in\mathbb{Z}_L^n ν ∈ Z L n , and
K ( x , 0 ) = 1 N ∑ ν ≠ 0 e 2 π i ν ⋅ x / L λ ν , A = 1 N ∑ ν ≠ 0 1 λ ν , S 2 = 1 N ∑ ν ≠ 0 1 λ ν 2 . (27) K(x,0)=\frac{1}{N}\sum_{\nu\neq0}\frac{e^{2\pi i\nu\cdot x/L}}{\lambda_\nu},\qquad A=\frac{1}{N}\sum_{\nu\neq0}\frac{1}{\lambda_\nu},\qquad S^2=\frac{1}{N}\sum_{\nu\neq0}\frac{1}{\lambda_\nu^2}. \tag*{(27)} K ( x , 0 ) = N 1 ν = 0 ∑ λ ν e 2 π i ν ⋅ x / L , A = N 1 ν = 0 ∑ λ ν 1 , S 2 = N 1 ν = 0 ∑ λ ν 2 1 . (27)
Proposition S4.1 (Square torus). For n = 2 n=2 n = 2 and L ≥ 3 L\geq3 L ≥ 3 , with j 0 = ⌊ ( L − 1 ) / 2 ⌋ j_0=\lfloor(L-1)/2\rfloor j 0 = ⌊( L − 1 ) /2 ⌋ ,
1 π 2 ∑ j = 1 j 0 1 j ≤ A ≤ 1 2 ∑ j = 1 ⌊ L / 2 ⌋ 1 j , S 2 ≤ ζ ( 3 ) 32 L 2 , (28) \frac{1}{\pi^2}\sum_{j=1}^{j_0}\frac{1}{j}\leq A\leq\frac{1}{2}\sum_{j=1}^{\lfloor L/2\rfloor}\frac{1}{j},\qquad S^2\leq\frac{\zeta(3)}{32}L^2, \tag*{(28)} π 2 1 j = 1 ∑ j 0 j 1 ≤ A ≤ 2 1 j = 1 ∑ ⌊ L /2 ⌋ j 1 , S 2 ≤ 32 ζ ( 3 ) L 2 , (28) and A = ( 2 π ) − 1 ln L + O ( 1 ) A=(2\pi)^{-1}\ln L+O(1) A = ( 2 π ) − 1 ln L + O ( 1 ) .
Proof. Represent each frequency once by ν = ( ν 1 , ν 2 ) ∈ { ⌊ − L / 2 ⌋ , … , ⌈ L / 2 ⌉ − 1 } 2 \nu=(\nu_1,\nu_2)\in\{\lfloor-L/2\rfloor,\ldots,\lceil L/2\rceil-1\}^2 ν = ( ν 1 , ν 2 ) ∈ {⌊ − L /2 ⌋ , … , ⌈ L /2 ⌉ − 1 } 2 , with r 2 = ∣ ν ∣ 2 r^2=|\nu|^2 r 2 = ∣ ν ∣ 2 . The inequalities 2 θ / π ≤ sin θ ≤ θ 2\theta/\pi\leq\sin\theta\leq\theta 2 θ / π ≤ sin θ ≤ θ on [ 0 , π / 2 ] [0,\pi/2] [ 0 , π /2 ] give 16 r 2 / L 2 ≤ λ ν ≤ 4 π 2 r 2 / L 2 16r^2/L^2\leq\lambda_\nu\leq4\pi^2r^2/L^2 16 r 2 / L 2 ≤ λ ν ≤ 4 π 2 r 2 / L 2 . The Chebyshev shells max ( ∣ ν 1 ∣ , ∣ ν 2 ∣ ) = j \max(|\nu_1|,|\nu_2|)=j max ( ∣ ν 1 ∣ , ∣ ν 2 ∣ ) = j have 8 j 8j 8 j points when complete, which holds for j ≤ j 0 j\leq j_0 j ≤ j 0 , and at most 8 j 8j 8 j points otherwise, and on it j 2 ≤ r 2 ≤ 2 j 2 j^2\leq r^2\leq2j^2 j 2 ≤ r 2 ≤ 2 j 2 . The lower bound on A A A uses the complete shells with λ ν ≤ 8 π 2 j 2 / L 2 \lambda_\nu\leq8\pi^2j^2/L^2 λ ν ≤ 8 π 2 j 2 / L 2 , the upper bound uses all shells with λ ν ≥ 16 j 2 / L 2 \lambda_\nu\geq16j^2/L^2 λ ν ≥ 16 j 2 / L 2 , and S 2 ≤ N − 1 ∑ j 8 j L 4 / ( 256 j 4 ) = ζ ( 3 ) L 2 / 32 S^2\leq N^{-1}\sum_j8jL^4/(256j^4)=\zeta(3)L^2/32 S 2 ≤ N − 1 ∑ j 8 j L 4 / ( 256 j 4 ) = ζ ( 3 ) L 2 /32 .
For the asymptotics, 0 ≤ u − sin u ≤ u 3 / 6 0\leq u-\sin u\leq u^3/6 0 ≤ u − sin u ≤ u 3 /6 and u 2 − sin 2 u ≤ u 4 / 3 u^2-\sin^2u\leq u^4/3 u 2 − sin 2 u ≤ u 4 /3 on [ 0 , π / 2 ] [0,\pi/2] [ 0 , π /2 ] give 0 ≤ 4 π 2 r 2 / L 2 − λ ν ≤ 4 π 4 r 4 / ( 3 L 4 ) 0\leq4\pi^2r^2/L^2-\lambda_\nu\leq4\pi^4r^4/(3L^4) 0 ≤ 4 π 2 r 2 / L 2 − λ ν ≤ 4 π 4 r 4 / ( 3 L 4 ) , and with λ ν ≥ 16 r 2 / L 2 \lambda_\nu\geq16r^2/L^2 λ ν ≥ 16 r 2 / L 2 this yields the uniform estimate
0 ≤ 1 L 2 λ ν − 1 4 π 2 r 2 ≤ π 2 48 L 2 . (29) 0\leq\frac{1}{L^2\lambda_\nu}-\frac{1}{4\pi^2r^2}\leq\frac{\pi^2}{48L^2}. \tag*{(29)} 0 ≤ L 2 λ ν 1 − 4 π 2 r 2 1 ≤ 48 L 2 π 2 . (29)
for all ν ≠ 0 \nu\neq0 ν = 0 . Summation over at most L 2 L^2 L 2 frequencies gives A = ( 4 π 2 ) − 1 ∑ ν ≠ 0 ∣ ν ∣ − 2 + E L A=(4\pi^2)^{-1}\sum_{\nu\neq0}|\nu|^{-2}+E_L A = ( 4 π 2 ) − 1 ∑ ν = 0 ∣ ν ∣ − 2 + E L with 0 ≤ E L ≤ π 2 / 48 0\leq E_L\leq\pi^2/48 0 ≤ E L ≤ π 2 /48 . Comparing ∣ ν ∣ − 2 |\nu|^{-2} ∣ ν ∣ − 2 with its integral over the unit cell centred at ν \nu ν has error O ( ∣ ν ∣ − 3 ) O(|\nu|^{-3}) O ( ∣ ν ∣ − 3 ) , whose lattice sum converges, and the integral of ∣ x ∣ − 2 |x|^{-2} ∣ x ∣ − 2 over the frequency square with a fixed neighbourhood of the origin removed is 2 π ln L + O ( 1 ) 2\pi\ln L+O(1) 2 π ln L + O ( 1 ) [10 ] . Hence A = ( 2 π ) − 1 ln L + O ( 1 ) A=(2\pi)^{-1}\ln L+O(1) A = ( 2 π ) − 1 ln L + O ( 1 ) . □
For p ≥ p 0 > 0 p \ge p_0 > 0 p ≥ p 0 > 0 , set α 0 = 1 − 1 − p 0 \alpha_0=1-\sqrt{1-p_0} α 0 = 1 − 1 − p 0 . The right side of Eq. (21) is then at least α 0 L A / 2 − A / 2 − S / 2 A \alpha_0 L\sqrt{A/2}-\sqrt{A/2}-S/\sqrt{2A} α 0 L A /2 − A /2 − S / 2 A , whose positive term is Θ ( L log L ) \Theta(L\sqrt{\log L}) Θ ( L log L ) and whose subtracted terms are O ( log L ) O(\sqrt{\log L}) O ( log L ) and O ( L / log L ) O(L/\sqrt{\log L}) O ( L / log L ) . With A = ( 2 π ) − 1 ln L [ 1 + o ( 1 ) ] A=(2\pi)^{-1}\ln L[1+o(1)] A = ( 2 π ) − 1 ln L [ 1 + o ( 1 )] and L 2 ln L = 1 2 N ln N L^2\ln L=\frac{1}{2}N\ln N L 2 ln L = 2 1 N ln N , this gives main-text Eq. (7) ,
T ≥ ( 1 − 1 − p ) N ln N 8 π [ 1 + o ( 1 ) ] . (30) T \ge(1-\sqrt{1-p})\sqrt{\frac{N\ln N}{8\pi}}[1+o(1)]. \tag*{(30)} T ≥ ( 1 − 1 − p ) 8 π N ln N [ 1 + o ( 1 )] . (30)
On the square torus, A A A is the sum S 1 , 2 S_{1,2} S 1 , 2 of Ref. [11 ] , whose Eq. (42) gives A = ( 2 π ) − 1 ln L + c □ + O ( L − 2 ) A=(2\pi)^{-1}\ln L+c_{\square}+O(L^{-2}) A = ( 2 π ) − 1 ln L + c □ + O ( L − 2 ) with c □ ≈ 0.0488 c_{\square}\approx0.0488 c □ ≈ 0.0488 . The spectral sums of Eq. (11) up to L = 8192 L=8192 L = 8192 are consistent with this expansion and give $c_{\square}\approx 0.048766 ({xref}Fig. 1(c) of the main text). Those up to $L=4096$ give $S/L\approx 0.0622 (Table S2 ).
Table S2. Self-potential A A A and norm S S S on the torus Z L n \mathbb{Z}_L^n Z L n , evaluated from the spectral sums of Eq. (11) . For n = 1 n=1 n = 1 , A = ( L 2 − 1 ) / ( 12 L ) A=(L^2-1)/(12L) A = ( L 2 − 1 ) / ( 12 L ) exactly.
Routing and open boundaries
Lemma S5.1 (Routing). Let W W W be a permutation of a set of distinguished basis states of H \mathcal{H} H , and suppose each distinguished state e e e comes with a fixed nearest-neighbour path of length at most D ≥ 1 D\ge1 D ≥ 1 from its vertex to the vertex of W ( e ) W(e) W ( e ) , chosen independently of the input. With additional on-site workspace, W W W can be implemented on the distinguished states by D D D local steps that leave no amplitude in the added workspace. An on-site unitary C C C applied before W W W can be absorbed into the first of these steps.
Proof. Pad each path with on-site waits to exactly D D D moves, and introduce distinct transit states τ e , 1 , … , τ e , D − 1 \tau_{e,1},\ldots,\tau_{e,D-1} τ e , 1 , … , τ e , D − 1 at its successive intermediate vertices. Define a permutation R R R of the enlarged basis by R ( e ) = τ e , 1 R(e)=\tau_{e,1} R ( e ) = τ e , 1 , R ( τ e , j ) = τ e , j + 1 R(\tau_{e,j})=\tau_{e,j+1} R ( τ e , j ) = τ e , j + 1 and R ( τ e , D − 1 ) = W ( e ) R(\tau_{e,D-1})=W(e) R ( τ e , D − 1 ) = W ( e ) , fixing every other basis state. For D = 1 D=1 D = 1 , put R = W R=W R = W . Each distinguished target state has exactly one preimage, since W W W is a permutation, and each transit state has exactly one preimage, so R R R is unitary. Every move crosses at most one edge, so R R R is a local step. On distinguished states R D = W R^D=W R D = W , and no transit amplitude remains after the D D D moves. For an on-site C C C , the first step R ( C ⊕ I ) R(C\oplus I) R ( C ⊕ I ) is still local, so W C WC W C costs D D D local steps. Finally, R R R does not depend on the input, because paths and transit labels are fixed in advance. □ \square □
The open L × L L \times L L × L lattice has a subset of the torus edges and the same vertex set. A local step on the open lattice is therefore a local step on the torus, and every open-lattice algorithm obeys Eq. (21) with the torus constants. The open lattice is not vertex-transitive, but the proof uses only the symmetry of the torus potential.
Proposition S5.2 (Folded torus). For L ≥ 3 L \ge3 L ≥ 3 , Tulsi’s walk on the L × L L \times L L × L torus runs on the open L × L L \times L L × L lattice with at most twice as many local steps, the same queries and at most four additional internal states per vertex.
Proof. With h = ⌈ L / 2 ⌉ h = \lceil L/2 \rceil h = ⌈ L /2 ⌉ , place cycle vertex c ∈ Z L c \in\mathbb{Z}_L c ∈ Z L at position ϕ ( c ) = 2 c \phi(c) = 2c ϕ ( c ) = 2 c of the path { 0 , … , L − 1 } \{0,\ldots,L-1\} { 0 , … , L − 1 } for c < h c < h c < h and at ϕ ( c ) = 2 ( L − c ) − 1 \phi(c) = 2(L-c)-1 ϕ ( c ) = 2 ( L − c ) − 1 for c ≥ h c \ge h c ≥ h . The cycle then visits all even positions in increasing order and the odd positions in decreasing order, so every cycle edge joins positions at distance one or two. The product map Φ = ϕ × ϕ \Phi= \phi\times\phi Φ = ϕ × ϕ is a bijection onto the open lattice that sends every torus edge to a fixed path of length one or two along one axis.
Tulsi’s local step is W C WC W C , an on-site unitary C C C (the coin and the control) followed by the flip-flop shift W W W , which moves each basis state of the control branch ∣ 1 ⟩ \lvert1\rangle ∣ 1 ⟩ along one torus edge and fixes the branch ∣ 0 ⟩ \lvert0\rangle ∣ 0 ⟩ . To obtain the stated workspace bound, use two local permutations P 1 , P 2 P_1,P_2 P 1 , P 2 without padding the short routes. For a folded edge of length two, let e , f e,f e , f be its flip-flop basis states, with W ( e ) = f W(e)=f W ( e ) = f and W ( f ) = e W(f)=e W ( f ) = e , and add distinct states τ e , τ f \tau_e,\tau_f τ e , τ f at its midpoint. In cycle notation, set
P 1 = ( e τ e ) ( f τ f ) , P 2 = ( e τ e f τ f ) . P_1=(e\ \tau_e)(f\ \tau_f),\qquad P_2=(e\ \tau_e\ f\ \tau_f). P 1 = ( e τ e ) ( f τ f ) , P 2 = ( e τ e f τ f ) .
Then P 2 P 1 P_2P_1 P 2 P 1 swaps e e e and f f f and fixes both transit states, and every move of either permutation crosses at most one open-lattice edge. On each length-one edge, take P 1 = I P_1=I P 1 = I and let P 2 P_2 P 2 perform the flip-flop swap. Both permutations fix the control branch ∣ 0 ⟩ \lvert0\rangle ∣ 0 ⟩ . Because the blocks have disjoint basis labels even when their physical paths intersect, their direct sums are local unitaries and P 2 P 1 = W ⊕ I P_2P_1=W\oplus I P 2 P 1 = W ⊕ I . Absorbing C ⊕ I C\oplus I C ⊕ I into the first step gives P 2 [ P 1 ( C ⊕ I ) ] P_2[P_1(C\oplus I)] P 2 [ P 1 ( C ⊕ I )] .
For both odd and even L L L , the length-two edges of the folded cycle are exactly { j , j + 2 } \{j,j+2\} { j , j + 2 } , 0 ≤ j ≤ L − 3 0 \le j \le L-3 0 ≤ j ≤ L − 3 . Thus a lattice vertex is the midpoint of at most one such edge per axis, which requires at most four added internal states in total. Queries act at Φ ( m ) \Phi(m) Φ ( m ) between completed simulated steps, when the transit states are empty, and the final outcome is relabelled by Φ − 1 \Phi^{-1} Φ − 1 . □
An initial state concentrated on one vertex reaches the uniform superposition of Tulsi’s walk with 2 ( L − 1 ) 2(L-1) 2 ( L − 1 ) further local steps, by preparing a uniform row with neighbouring two-level rotations and then each column in parallel, which does not change the scaling. A membership query verifies the output, and after a failed trial, returning to the starting vertex and preparing again costs O ( L ) O(L) O ( L ) local steps. Since each trial succeeds with probability bounded below by a constant, a fixed number of independent trials reaches any fixed success probability below one, on the torus and on the open lattice, within O ( N log N ) O(\sqrt{N}\log N) O ( N log N ) local steps.
Several marked vertices
On the L × L L \times L L × L torus, an input is a translate M g = M + g \mathcal{M}_g=\mathcal{M}+g M g = M + g of a fixed nonempty proper marked set M \mathcal{M} M , with g ∈ V g\in V g ∈ V uniformly distributed. The algorithm may know M \mathcal{M} M , and hence k k k , but not g g g . Distinct translations may give the same set, and averaging over all N N N translations is then equivalent to averaging over the distinct sets of the orbit. Success means outputting any vertex of M g \mathcal{M}_g M g .
The bound for translated marked sets
With K M K_{\mathcal{M}} K M , A M A_{\mathcal{M}} A M and S M S_{\mathcal{M}} S M from Section S2.2, let K g ( x ) = K M ( x − g ) K_g(x)=K_{\mathcal{M}}(x-g) K g ( x ) = K M ( x − g ) , let K g K_g K g multiply H x \mathcal{H}_x H x by K g ( x ) K_g(x) K g ( x ) , but B g = A M − K g B_g=A_{\mathcal{M}}-K_g B g = A M − K g , and define
F t = 1 N ∑ g ⟨ a t ∣ B g ∣ b t g ⟩ (31) F_t=\frac{1}{N}\sum_g\langle a_t|B_g|b_t^g\rangle \tag*{(31)} F t = N 1 g ∑ ⟨ a t ∣ B g ∣ b t g ⟩ (31)
where b t g b_t^g b t g is the run on input M g \mathcal{M}_g M g .
Theorem S6.1 (Translated marked sets). Every algorithm with average success probability p p p over the translates of M \mathcal{M} M obeys
T ≥ ( 1 − 1 − p − k / N ) N A M − S M 2 A M = ( 1 − 1 − p − k / N − η M ) N A M 2 . (32) T \ge\frac{(1-\sqrt{1-p}-\sqrt{k/N})\sqrt{N}A_{\mathcal{M}}-S_{\mathcal{M}}}{\sqrt{2}A_{\mathcal{M}}}
=\left(1-\sqrt{1-p}-\sqrt{k/N}-\eta_{\mathcal{M}}\right)\sqrt{\frac{NA_{\mathcal{M}}}{2}}. \tag*{(32)} T ≥ 2 A M ( 1 − 1 − p − k / N ) N A M − S M = ( 1 − 1 − p − k / N − η M ) 2 N A M . (32) If p ≥ p 0 > 0 p \ge p_0>0 p ≥ p 0 > 0 , k / N → 0 k/N\to0 k / N → 0 and η M → 0 \eta_{\mathcal{M}}\to0 η M → 0 along a family of marked sets, then T = Ω ( N A M ) = Ω ( t h ( M ) ) T=\Omega(\sqrt{NA_{\mathcal{M}}})=\Omega(\sqrt{t_h(\mathcal{M})}) T = Ω ( N A M ) = Ω ( t h ( M ) ) .
Proof. The translation average of K g ( x ) K_g(x) K g ( x ) is zero for each x x x , so F 0 = A M F_0=A_M F 0 = A M . Since B g B_g B g vanishes on every vertex of M g M_g M g , B g O g = B g B_gO_g=B_g B g O g = B g for the query O g O_g O g of input M g M_g M g , and queries leave F F F invariant. The quantity σ ( y ) = ∑ g ∑ x ∼ y [ K g ( x ) − K g ( y ) ] 2 \sigma(y)=\sum_g\sum_{x\sim y}[K_g(x)-K_g(y)]^2 σ ( y ) = ∑ g ∑ x ∼ y [ K g ( x ) − K g ( y ) ] 2 is translation invariant, hence constant in y y y , and its average over y y y counts each edge twice, so the energy identity of Lemma S2.4 gives σ ( y ) = 2 A M \sigma(y)=2A_M σ ( y ) = 2 A M . The block-row argument of Lemma S3.1 then bounds N − 1 ∑ g ∥ [ K g , U ] a ∥ 2 N^{-1}\sum_g\lVert[K_g,U]a\rVert^2 N − 1 ∑ g ∥[ K g , U ] a ∥ 2 by 2 A M / N 2A_M/N 2 A M / N , and as in Theorem S3.2, ∣ F T − A M ∣ ≤ T 2 A M / N |F_T-A_M|\le T\sqrt{2A_M/N} ∣ F T − A M ∣ ≤ T 2 A M / N .
At the end, c g = ⟨ a T ∣ b T g ⟩ c_g=\langle a_T|b_T^g\rangle c g = ⟨ a T ∣ b T g ⟩ and F T = A M c ˉ − r F_T=A_M\bar c-r F T = A M c ˉ − r , with r = N − 1 ∑ g ⟨ a T ∣ K g ∣ b T g ⟩ r=N^{-1}\sum_g\langle a_T|K_g|b_T^g\rangle r = N − 1 ∑ g ⟨ a T ∣ K g ∣ b T g ⟩ . Translation averaging gives ∑ g K g ( x ) 2 = S M 2 \sum_gK_g(x)^2=S_M^2 ∑ g K g ( x ) 2 = S M 2 and hence ∣ r ∣ ≤ S M / N |r|\le S_M/\sqrt{N} ∣ r ∣ ≤ S M / N . Let E g = ∑ x ∈ M g M x E_g=\sum_{x\in M_g}M_x E g = ∑ x ∈ M g M x , q g = ⟨ a T ∣ E g ∣ a T ⟩ q_g=\langle a_T|E_g|a_T\rangle q g = ⟨ a T ∣ E g ∣ a T ⟩ and p g = ⟨ b T g ∣ E g ∣ b T g ⟩ p_g=\langle b_T^g|E_g|b_T^g\rangle p g = ⟨ b T g ∣ E g ∣ b T g ⟩ . Splitting the overlap with E g E_g E g and I − E g I-E_g I − E g yields ∣ c g ∣ ≤ q g + 1 − p g |c_g|\le\sqrt{q_g}+\sqrt{1-p_g} ∣ c g ∣ ≤ q g + 1 − p g . Each vertex belongs to exactly k k k of the translated sets, counted with multiplicity, so N − 1 ∑ g q g = ( k / N ) ∑ x ⟨ a T ∣ M x ∣ a T ⟩ ≤ k / N N^{-1}\sum_gq_g=(k/N)\sum_x\langle a_T|M_x|a_T\rangle\le k/N N − 1 ∑ g q g = ( k / N ) ∑ x ⟨ a T ∣ M x ∣ a T ⟩ ≤ k / N . Concavity gives Re c ˉ ≤ k / N + 1 − p \operatorname{Re}\bar c\le\sqrt{k/N}+\sqrt{1-p} Re c ˉ ≤ k / N + 1 − p , and the final step of the proof of Theorem S3.2 proves Eq. (32) . Its hitting-time form follows from Eq. (16) . □
The translates of A M − K M A_M-K_M A M − K M are again the Dirichlet-optimal weights. For a weight f ( x − g ) f(x-g) f ( x − g ) that vanishes on M g M_g M g , Eq. (14) gives ⟨ f ( ⋅ − g ) , L K g ⟩ = ⟨ f ( ⋅ − g ) , ρ M g ⟩ − f ˉ = − f ˉ \langle f(\cdot-g),LK_g\rangle=\langle f(\cdot-g),\rho_{M_g}\rangle-\bar f=-\bar f ⟨ f ( ⋅ − g ) , L K g ⟩ = ⟨ f ( ⋅ − g ) , ρ M g ⟩ − f ˉ = − f ˉ , and f ˉ ≤ ( E f A M ) 1 / 2 \bar f\le(\mathbb{E}fA_M)^{1/2} f ˉ ≤ ( E f A M ) 1/2 follows as in Proposition S3.3, with equality only for nonnegative multiples of A M − K g A_M-K_g A M − K g .
Corollary S6.2 (Detection). Deciding between no marked vertex and a translate of M M M , with false-positive and false-negative probabilities at most ε \varepsilon ε on every input, 0 ≤ ε < 1 / 2 0\le\varepsilon<1/2 0 ≤ ε < 1/2 , requires
T ≥ [ 1 − 2 ε ( 1 − ε ) − η M ] N A M 2 . T\ge[1-2\sqrt{\varepsilon(1-\varepsilon)}-\eta_M]\frac{\sqrt{NA_M}}{2}. T ≥ [ 1 − 2 ε ( 1 − ε ) − η M ] 2 N A M .
Proof. For the common yes/no measurement, q = ⟨ a T ∣ M y e s ∣ a T ⟩ ≤ ε q=\langle a_T|M_{\mathrm{yes}}|a_T\rangle\le\varepsilon q = ⟨ a T ∣ M yes ∣ a T ⟩ ≤ ε as in Proposition S3.5 and p g ≥ 1 − ε p_g\ge1-\varepsilon p g ≥ 1 − ε , so the binary fidelity bound of that proposition gives ∣ c g ∣ ≤ 2 ε ( 1 − ε ) |c_g|\le2\sqrt{\varepsilon(1-\varepsilon)} ∣ c g ∣ ≤ 2 ε ( 1 − ε ) . The remaining steps are unchanged. □
For a random pattern, the theorem covers one realization that the algorithm knows, with its translates as inputs. This differs from drawing a new random set for each input. An asymptotic statement for random patterns would require probabilistic control of both A M A_M A M and η M \eta_M η M .
Periodic subgrids
Let ℓ ≥ 3 \ell\ge3 ℓ ≥ 3 divide L L L , and let M = { ( i ℓ , j ℓ ) : 0 ≤ i , j < L / ℓ } M=\{(i\ell,j\ell):0\le i,j<L/\ell\} M = {( i ℓ , j ℓ ) : 0 ≤ i , j < L / ℓ } , with k = ( L / ℓ ) 2 k=(L/\ell)^2 k = ( L / ℓ ) 2 and N / k = ℓ 2 N/k=\ell^2 N / k = ℓ 2 . Write K ( ℓ ) K^{(\ell)} K ( ℓ ) , A ( ℓ ) A^{(\ell)} A ( ℓ ) and S ( ℓ ) S^{(\ell)} S ( ℓ ) for the single-mark potential, self-potential and norm on the ℓ × ℓ \ell\times\ell ℓ × ℓ torus, the quotient torus of M M M .
Proposition S6.3 (Periodic subgrids). The equilibrium charge and potential are ρ M = k − 1 1 M \rho_M=k^{-1}1_M ρ M = k − 1 1 M and K M ( x ) = k − 1 K ( ℓ ) ( x m o d ℓ ) K_M(x)=k^{-1}K^{(\ell)}(x\bmod\ell) K M ( x ) = k − 1 K ( ℓ ) ( x mod ℓ ) , with A M = A ( ℓ ) / k A_M=A^{(\ell)}/k A M = A ( ℓ ) / k and S M 2 = ( S ( ℓ ) ) 2 / k S_M^2=(S^{(\ell)})^2/k S M 2 = ( S ( ℓ ) ) 2 / k . Consequently, Eq. (32) coincides with the single-mark bound on the quotient torus,
T ≥ ( 1 − 1 − p − ℓ − 1 ) ℓ A ( ℓ ) − S ( ℓ ) 2 A ( ℓ ) . (33) T\ge\frac{(1-\sqrt{1-p}-\ell^{-1})\ell A^{(\ell)}-S^{(\ell)}}{\sqrt{2A^{(\ell)}}}. \tag*{(33)} T ≥ 2 A ( ℓ ) ( 1 − 1 − p − ℓ − 1 ) ℓ A ( ℓ ) − S ( ℓ ) . (33) As ℓ → ∞ \ell\to\infty ℓ → ∞ , equivalently N / k → ∞ N/k\to\infty N / k → ∞ ,
A M = ln ( N / k ) 4 π k + O ( k − 1 ) , η M = O ( 1 / ln ( N / k ) ) , (34) A_M=\frac{\ln(N/k)}{4\pi k}+O(k^{-1}),\qquad\eta_M=O(1/\ln(N/k)), \tag*{(34)} A M = 4 π k ln ( N / k ) + O ( k − 1 ) , η M = O ( 1/ ln ( N / k )) , (34) and the optimal number of local steps is O ( ( N / k ) ln ( N / k ) ) O(\sqrt{(N/k)\ln(N/k)}) O ( ( N / k ) ln ( N / k ) ) for any fixed target success probability 0 < p < 1 0<p<1 0 < p < 1 .
Proof. Applying L \mathcal{L} L to the repeated quotient function gives the source 1 / k − 1 / ( k ℓ 2 ) = 1 / k − 1 / N 1/k-1/(k\ell^2)=1/k-1/N 1/ k − 1/ ( k ℓ 2 ) = 1/ k − 1/ N at each marked vertex and − 1 / N -1/N − 1/ N elsewhere. The repeated function has zero mean and is constant on M M M , so uniqueness in Lemma S2.4 proves the formula. The norm follows because there are k k k copies of the quotient. With A ( ℓ ) = ( ln ℓ ) / ( 2 π ) + O ( 1 ) A^{(\ell)}=(\ln\ell)/(2\pi)+O(1) A ( ℓ ) = ( ln ℓ ) / ( 2 π ) + O ( 1 ) and S ( ℓ ) = O ( ℓ ) S^{(\ell)}=O(\ell) S ( ℓ ) = O ( ℓ ) from Proposition S4.1, and ln ℓ = 1 2 ln ( N / k ) \ln\ell=\frac12\ln(N/k) ln ℓ = 2 1 ln ( N / k ) , the asymptotics follow, and substitution in Eq. (32) cancels the factors k − 1 / 2 k^{-1/2} k − 1/2 . For the upper bound, a uniform initial state and identical on-site operations keep the walk in the subspace invariant under translations by ℓ \ell ℓ , which is the quotient torus, and the multi-mark query acts there as a single-mark query. Tulsi’s walk [2 ] therefore succeeds with constant probability after O ( ℓ ln ℓ ) O(\ell\sqrt{\ln\ell}) O ( ℓ ln ℓ ) local steps. Reference [12 ] uses the same symmetry reduction for the walk of Ambainis, Kempe and Rivosh. A localized start is prepared with O ( ℓ ) O(\ell) O ( ℓ ) local steps in an open ℓ × ℓ \ell\times\ell ℓ × ℓ window containing one marked vertex, where Proposition S5.2 runs the walk. A membership query verifies the output, and returning and preparing again within the same window costs O ( ℓ ) O(\ell) O ( ℓ ) local steps per trial, so a fixed number of independent trials reaches any fixed success probability below one. □
For this pattern, and for every pattern that is invariant under exchanging the two axes up to a translation, the correlation ∑ z K M ( z ) K M ( z + e ) \sum_z K_M(z)K_M(z+e) ∑ z K M ( z ) K M ( z + e ) takes the same value for the four unit vectors e e e . The proof of Proposition S7.1 then applies to the translates and gives, for L ≥ 4 L \ge4 L ≥ 4 , N − 1 ∑ g ∥ [ K g , U ] a ∥ 2 = ( A M / 2 N ) ( 1 − ∥ U d a ∥ 2 ) ≤ A M / 2 N N^{-1}\sum_g\lVert[K_g,U]a\rVert^2=(A_M/2N)(1-\lVert U_da\rVert^2)\le A_M/2N N − 1 ∑ g ∥[ K g , U ] a ∥ 2 = ( A M /2 N ) ( 1 − ∥ U d a ∥ 2 ) ≤ A M /2 N , which doubles the right side of Eq. (32) . For periodic subgrids the leading term becomes ( 1 − 1 − p ) ( N / k ) ln ( N / k ) / ( 2 π ) (1-\sqrt{1-p})\sqrt{(N/k)\ln(N/k)/(2\pi)} ( 1 − 1 − p ) ( N / k ) ln ( N / k ) / ( 2 π ) , with a correction of order ( N / k ) / ln ( N / k ) \sqrt{(N/k)/\ln(N/k)} ( N / k ) / ln ( N / k ) .
Compact clusters and the worst case
For any marked set, positivity of ρ M \rho_M ρ M and the triangle inequality give
S M = ∥ ∑ s ∈ M ρ M ( s ) G ( ⋅ , s ) ∥ ≤ S = O ( L ) , (35) S_M=\left\lVert\sum_{s\in M}\rho_M(s)\mathcal{G}(\cdot,s)\right\rVert\le S=O(L), \tag*{(35)} S M = s ∈ M ∑ ρ M ( s ) G ( ⋅ , s ) ≤ S = O ( L ) , (35)
where S = ∥ G ( ⋅ , 0 ) ∥ S=\lVert\mathcal{G}(\cdot,0)\rVert S = ∥ G ( ⋅ , 0 )∥ is the single-mark norm of Proposition S4.1.
Proposition S6.4 (Compact clusters). Let k ≥ 1 k\ge1 k ≥ 1 and κ = ⌊ k ⌋ \kappa=\lfloor\sqrt{k}\rfloor κ = ⌊ k ⌋ , and let the cluster C k C_k C k have exactly k k k vertices, contain a κ × κ \kappa\times\kappa κ × κ square and lie in a ( κ + 1 ) × ( κ + 1 ) (\kappa+1)\times(\kappa+1) ( κ + 1 ) × ( κ + 1 ) square. Then, uniformly as N / k → ∞ N/k\to\infty N / k → ∞ ,
A C k = ln ( N / k ) 4 π + O ( 1 ) , η C k = O ( 1 / ln ( N / k ) ) , (36) A_{C_k}=\frac{\ln(N/k)}{4\pi}+O(1),\qquad\eta_{C_k}=O(1/\ln(N/k)), \tag*{(36)} A C k = 4 π ln ( N / k ) + O ( 1 ) , η C k = O ( 1/ ln ( N / k )) , (36) and every local algorithm that finds a marked vertex with fixed average success probability p > 0 p>0 p > 0 on the translates of C k C_k C k obeys
T ≥ ( 1 − 1 − p ) N ln ( N / k ) 8 π [ 1 + o ( 1 ) ] . (37) T\ge(1-\sqrt{1-p})\sqrt{\frac{N\ln(N/k)}{8\pi}}[1+o(1)]. \tag*{(37)} T ≥ ( 1 − 1 − p ) 8 π N ln ( N / k ) [ 1 + o ( 1 )] . (37)
Proof. For a unit charge ρ \rho ρ , ρ T G ρ = L − 2 ∑ ν ≠ 0 ∣ ρ ^ ( ν ) ∣ 2 / λ ν \rho^{\mathsf T}G\rho=L^{-2}\sum_{\nu\ne0}|\widehat{\rho}(\nu)|^2/\lambda_\nu ρ T Gρ = L − 2 ∑ ν = 0 ∣ ρ ( ν ) ∣ 2 / λ ν , with the frequencies of Proposition S4.1. For the lower bound, the equilibrium charge is a probability distribution on a set of diameter O ( κ ) O(\kappa) O ( κ ) . After its support is translated to the origin, cos t ≥ 1 − t 2 / 2 \cos t\ge1-t^2/2 cos t ≥ 1 − t 2 /2 bounds the deficit 1 − ∣ ρ C k ^ ( ν ) ∣ 2 1-|\widehat{\rho_{C_k}}(\nu)|^2 1 − ∣ ρ C k ( ν ) ∣ 2 by C 0 κ 2 ∣ ν ∣ 2 / L 2 C_0\kappa^2|\nu|^2/L^2 C 0 κ 2 ∣ ν ∣ 2 / L 2 , for an absolute constant C 0 C_0 C 0 . Restricting the sum to 0 < ∣ ν ∣ ≤ c 0 L / κ 0<|\nu|\le c_0L/\kappa 0 < ∣ ν ∣ ≤ c 0 L / κ for a fixed small c 0 > 0 c_0>0 c 0 > 0 and using 1 / ( L 2 λ ν ) ≥ 1 / ( 4 π 2 ∣ ν ∣ 2 ) 1/(L^2\lambda_\nu)\ge1/(4\pi^2|\nu|^2) 1/ ( L 2 λ ν ) ≥ 1/ ( 4 π 2 ∣ ν ∣ 2 ) yields A C k ≥ ( 4 π 2 ) − 1 ∑ 0 < ∣ ν ∣ ≤ c 0 L / κ ∣ ν ∣ − 2 − O ( 1 ) = ( 2 π ) − 1 ln ( L / κ ) − O ( 1 ) A_{C_k}\ge(4\pi^2)^{-1}\sum_{0<|\nu|\le c_0L/\kappa}|\nu|^{-2}-O(1)=(2\pi)^{-1}\ln(L/\kappa)-O(1) A C k ≥ ( 4 π 2 ) − 1 ∑ 0 < ∣ ν ∣ ≤ c 0 L / κ ∣ ν ∣ − 2 − O ( 1 ) = ( 2 π ) − 1 ln ( L / κ ) − O ( 1 ) , since the deficit contributes O ( κ 2 / L 2 ) O(\kappa^2/L^2) O ( κ 2 / L 2 ) for each of O ( ( L / κ ) 2 ) O((L/\kappa)^2) O (( L / κ ) 2 ) frequencies.
For the upper bound, the variational principle of Lemma S2.4 with the uniform charge on the contained κ × κ \kappa\times\kappa κ × κ square gives a Fourier transform φ κ ( ν 1 ) φ κ ( ν 2 ) \varphi_\kappa(\nu_1)\varphi_\kappa(\nu_2) φ κ ( ν 1 ) φ κ ( ν 2 ) with ∣ φ κ ( j ) ∣ ≤ min { 1 , L / ( 2 κ ∣ j ∣ ) } |\varphi_\kappa(j)|\le\min\{1,L/(2\kappa|j|)\} ∣ φ κ ( j ) ∣ ≤ min { 1 , L / ( 2 κ ∣ j ∣ )} for j ≠ 0 j\ne0 j = 0 . By Parseval and Eq. (29) , this trial energy exceeds ( 4 π 2 ) − 1 ∑ ν ≠ 0 ∣ φ κ ( ν 1 ) φ κ ( ν 2 ) ∣ 2 ∣ ν ∣ − 2 (4\pi^2)^{-1}\sum_{\nu\ne0}|\varphi_\kappa(\nu_1)\varphi_\kappa(\nu_2)|^2|\nu|^{-2} ( 4 π 2 ) − 1 ∑ ν = 0 ∣ φ κ ( ν 1 ) φ κ ( ν 2 ) ∣ 2 ∣ ν ∣ − 2 by at most π 2 / ( 48 κ 2 ) \pi^2/(48\kappa^2) π 2 / ( 48 κ 2 ) . In this sum, frequencies with max i ∣ ν i ∣ ≤ L / κ \max_i|\nu_i|\le L/\kappa max i ∣ ν i ∣ ≤ L / κ contribute at most ( 2 π ) − 1 ln ( L / κ ) + O ( 1 ) (2\pi)^{-1}\ln(L/\kappa)+O(1) ( 2 π ) − 1 ln ( L / κ ) + O ( 1 ) . On a shell with maximum coordinate j > L / κ j>L/\kappa j > L / κ , one factor has square at most ( L / ( 2 κ j ) ) 2 (L/(2\kappa j))^2 ( L / ( 2 κj ) ) 2 , and the shell has at most 8 j 8j 8 j points, so its contribution is O ( ( L / κ ) 2 j − 3 ) O((L/\kappa)^2j^{-3}) O (( L / κ ) 2 j − 3 ) , summing to O ( 1 ) O(1) O ( 1 ) . Hence A C k ≤ ( 2 π ) − 1 ln ( L / κ ) + O ( 1 ) A_{C_k}\le(2\pi)^{-1}\ln(L/\kappa)+O(1) A C k ≤ ( 2 π ) − 1 ln ( L / κ ) + O ( 1 ) , and κ ≍ k \kappa\asymp\sqrt{k} κ ≍ k proves the first formula. Equation (S27) implies η C k = O ( 1 / A C k ) \eta_{C_k}=O(1/A_{C_k}) η C k = O ( 1/ A C k ) , and Theorem S6.1 with k / N → 0 k/N\to0 k / N → 0 gives Eq. (37) . □
Theorem S6.5 (Worst case with known k k k ). On the L × L L\times L L × L torus with known 1 ≤ k < N 1\le k<N 1 ≤ k < N and N / k → ∞ N/k\to\infty N / k → ∞ , finding any of exactly k k k marked vertices with a fixed target success probability 0 < p < 1 0<p<1 0 < p < 1 takes
Θ ( N ln ( N / k ) ) (38) \Theta\left(\sqrt{N\ln(N/k)}\right) \tag*{(38)} Θ ( N ln ( N / k ) ) (38) local steps in the worst case over the placement of the marked vertices. The same holds for deciding between no marked vertex and exactly k k k marked vertices, the problem O R ( k ) \mathrm{OR}^{(k)} OR ( k ) of Ref. [1 ] , with a fixed error 0 < ϵ < 1 / 2 0<\epsilon<1/2 0 < ϵ < 1/2 . The upper bound includes O ( L ) O(L) O ( L ) local steps for preparation from a known starting vertex and uses the usual membership query, whereas the lower bound grants arbitrary workspace and free queries.
Proof. Lower bound. An algorithm that succeeds with probability p p p on every placement does so on average over the translates of C k C_k C k , to which Proposition S6.4 applies. Corollary S6.2 with η C k → 0 \eta_{C_k}\to0 η C k → 0 gives the decision bound.
Thinning. We follow the random thinning of Ref. [1 ] (Sec. 5.4 and Lemma 5.15). Set β = ⌈ 2 k ⌉ \beta=\lceil\sqrt{2k}\rceil β = ⌈ 2 k ⌉ and w = ⌊ L / β ⌋ w=\lfloor L/\beta\rfloor w = ⌊ L / β ⌋ , and partition each axis into w w w integer intervals whose lengths differ by at most one. As N / k → ∞ N/k\to\infty N / k → ∞ , w → ∞ w\to\infty w → ∞ , and each of the w 2 w^2 w 2 rectangular cells has area v i v_i v i between 2 k 2k 2 k and C 1 k C_1k C 1 k and side length O ( k ) O(\sqrt{k}) O ( k ) , for an absolute constant C 1 C_1 C 1 . Choose one vertex in each cell independently and uniformly, independently of the input. If cell i i i contains k i k_i k i marked vertices, its representative is marked with probability θ i = k i / v i \theta_i=k_i/v_i θ i = k i / v i . Since ∑ i k i = k \sum_i k_i=k ∑ i k i = k , the sum μ = ∑ i θ i \mu=\sum_i\theta_i μ = ∑ i θ i satisfies 1 / C 1 ≤ μ ≤ 1 / 2 1/C_1\le\mu\le1/2 1/ C 1 ≤ μ ≤ 1/2 . The probability that exactly one representative is marked is
∑ i θ i ∏ i ′ ≠ i ( 1 − θ i ′ ) ≥ ∑ i θ i ( 1 − ∑ i ′ ≠ i θ i ′ ) ≥ μ − μ 2 ≥ 1 2 C 1 , (39) \sum_i\theta_i\prod_{i'\ne i}(1-\theta_{i'})\ge\sum_i\theta_i\left(1-\sum_{i'\ne i}\theta_{i'}\right)\ge\mu-\mu^2\ge\frac{1}{2C_1}, \tag*{(39)} i ∑ θ i i ′ = i ∏ ( 1 − θ i ′ ) ≥ i ∑ θ i 1 − i ′ = i ∑ θ i ′ ≥ μ − μ 2 ≥ 2 C 1 1 , (39)
uniformly over all placements of the k k k marked vertices.
Search on the thinned lattice. The representatives form a w × w w \times w w × w coarse torus, and adjacent representatives are joined by a fixed path of length D = O ( k ) D = O(\sqrt{k}) D = O ( k ) inside their two cells. The coin and control operations of Tulsi’s walk are on site, and its flip-flop shift is implemented by Lemma S5.1. The membership query is applied only between completed simulated steps, when all amplitude sits on the representatives, so unselected marked vertices do not affect the simulated walk. Conditioned on exactly one marked representative, this is Tulsi’s single-mark walk on the coarse torus, which succeeds with constant probability after O ( w ln w ) O(w\sqrt{\ln w}) O ( w ln w ) coarse steps, that is, after O ( D w ln w ) = O ( L ln ( N / k ) ) O(Dw\sqrt{\ln w}) = O(\sqrt{L\ln(N/k)}) O ( D w ln w ) = O ( L ln ( N / k ) ) local steps. Since the sampling is independent of the input, the unconditional success probability is a positive constant. A membership query verifies the output, and a fixed number of independent repetitions of the entire thinning and search procedure, with fresh representatives on each trial, reaches any fixed success probability below one. Movement and preparation cost O ( L ) O(L) O ( L ) per trial. Accepting only a verified marked vertex gives a one-sided decision algorithm for OR ( k ) \operatorname{OR}^{(k)} OR ( k ) .
Preparation. The uniform state on the representatives is prepared row by row and then column by column, as in Section S5, with every coarse move routed by Lemma S5.1. Along the first coarse row, an active and a stopped internal level are used. At representative j = 0 , … , w − 2 j = 0,\ldots,w-2 j = 0 , … , w − 2 , the remaining active amplitude is split into fractions 1 / w − j 1/\sqrt{w-j} 1/ w − j in the stopped level and ( w − j − 1 ) / ( w − j ) \sqrt{(w-j-1)/(w-j)} ( w − j − 1 ) / ( w − j ) in the active level, and the active level moves by one coarse edge. Only the frontier carries active amplitude, so after w − 1 w-1 w − 1 such layers and an on-site conversion at the last representative the row is uniform. The same construction runs down all columns in parallel, and an on-site rotation turns the stopped level into the initial coin and control state of Tulsi’s walk. This costs O ( D w ) = O ( L ) O(Dw) = O(L) O ( D w ) = O ( L ) local steps, as does moving from the starting vertex to the first representative. □
Proposition S6.6 (Parallel windows). Let ℓ ≥ 3 \ell\ge3 ℓ ≥ 3 divide L L L and k = ( L / ℓ ) 2 k = (L/\ell)^2 k = ( L / ℓ ) 2 , and tile the torus by k k k disjoint open ℓ × ℓ \ell\times\ell ℓ × ℓ windows. Let f 1 ( M ) f_1(M) f 1 ( M ) be the fraction of windows that contain exactly one marked vertex and f ˉ 1 ( M ) \bar{f}_1(M) f ˉ 1 ( M ) its average over the translates of M M M . There is a local algorithm that, from a free uniform initial state, runs for O ( ( N / k ) ln ( N / k ) ) O(\sqrt{(N/k)\ln(N/k)}) O ( ( N / k ) ln ( N / k ) ) local steps and succeeds, on average over the translates, with probability at least c 1 f ˉ 1 ( M ) c_1\bar{f}_1(M) c 1 f ˉ 1 ( M ) , for an absolute constant c 1 > 0 c_1>0 c 1 > 0 . For a uniformly random k k k -subset, E f 1 = ℓ 2 ( N − ℓ 2 k − 1 ) / ( N k ) \mathbb{E}f_1=\ell^2\binom{N-\ell^2}{k-1}/\binom{N}{k} E f 1 = ℓ 2 ( k − 1 N − ℓ 2 ) / ( k N ) , which tends to e − 1 e^{-1} e − 1 as k → ∞ k\to\infty k → ∞ and N / k → ∞ N/k\to\infty N / k → ∞ . For fixed k k k its limit as N → ∞ N\to\infty N → ∞ is ( 1 − 1 / k ) k − 1 (1-1/k)^{k-1} ( 1 − 1/ k ) k − 1 , which equals one for k = 1 k=1 k = 1 .
Proof. Run the folded single-mark walk of Proposition S5.2 in every window simultaneously, without edges between windows. The uniform state gives each window weight 1 / k 1/k 1/ k , every window with exactly one marked vertex succeeds with probability at least c 1 c_1 c 1 at the common running time, and the evolution is a direct sum over windows, so other windows cannot reduce this contribution. The probability that a given window contains exactly one member of a uniformly random k k k -subset is the hypergeometric expression, which equals ∏ j = 0 k − 2 [ 1 − ( ℓ 2 − 1 ) / ( N − 1 − j ) ] \prod_{j=0}^{k-2}[1-(\ell^2-1)/(N-1-j)] ∏ j = 0 k − 2 [ 1 − ( ℓ 2 − 1 ) / ( N − 1 − j )] and has the stated limit. □
This is an ensemble-average statement.
Relation to known algorithms. The dependence of particular walks on the arrangement of the marked vertices is known [12 , 13 ] . For general marked sets, the grid algorithm of Høyer and Komeili [14 ] is analysed through an effective hitting time and succeeds with probability Ω ( 1 / ln N ) \Omega(1/\ln N) Ω ( 1/ ln N ) per run. Hitting-time frameworks [15 , 16 ] reach the square root of the mean hitting time with logarithmic overhead and explicit setup costs. A continuous-time construction keeps a polylogarithmic overhead when converted to constant success probability [17 ] . In the present accounting, in which preparing or reflecting about a global initial state is not an on-site operation, these guarantees do not provide an O ( t h ( M ) ) O(\sqrt{t_h(M)}) O ( t h ( M ) ) algorithm with constant success probability for every marked set.
Sharpened speed limits
Proposition S7.1 (Commutator identity). On a connected vertex- and edge-transitive graph with N ≥ 2 N \ge2 N ≥ 2 vertices and degree d d d , for every local step U U U with on-site part U d U_d U d and every normalized a a a ,
1 N ∑ m ∥ [ K m , U ] a ∥ 2 = 2 A d N ( 1 − Re ⟨ U d a , U a ⟩ ) . (40) \frac{1}{N}\sum_m \lVert[K_m,U]a\rVert^2 = \frac{2A}{dN}\left(1-\operatorname{Re}\langle U_d a,U a\rangle\right). \tag*{(40)} N 1 m ∑ ∥[ K m , U ] a ∥ 2 = d N 2 A ( 1 − Re ⟨ U d a , U a ⟩ ) . (40) The left side is at most 4 A / ( d N ) 4A/(dN) 4 A / ( d N ) . If the graph has no triangles, Re ⟨ U d a , U a ⟩ = ∥ U d a ∥ 2 \operatorname{Re}\langle U_d a,U a\rangle=\lVert U_d a\rVert^2 Re ⟨ U d a , U a ⟩ = ∥ U d a ∥ 2 , and the upper bound improves to 2 A / ( d N ) 2A/(dN) 2 A / ( d N ) .
Proof. Let C x y = ∑ m K ( x , m ) K ( y , m ) = [ ( L + ) 2 ] x y C_{xy}=\sum_m K(x,m)K(y,m)=[(L^+)^2]_{xy} C x y = ∑ m K ( x , m ) K ( y , m ) = [( L + ) 2 ] x y . Vertex transitivity gives C x x = S 2 C_{xx}=S^2 C xx = S 2 , and edge transitivity a common value C e C_e C e whenever x ∼ y x \sim y x ∼ y . Since L C = L + \mathcal{L}C=\mathcal{L}^{+} L C = L + , its diagonal gives d ( S 2 − C e ) = A d(S^2-C_e)=A d ( S 2 − C e ) = A . Expanding the square,
∑ m ∥ [ K m , U ] a ∥ 2 = ∑ x ∑ y , y ′ ( S 2 − C x y − C x y ′ + C y y ′ ) ⟨ U x y a y , U x y ′ a y ′ ⟩ (41) \sum_m \lVert[K_m,U]a\rVert^2=\sum_{x}\sum_{y,y'}(S^2-C_{xy}-C_{xy'}+C_{yy'})\langle U_{xy}a_y,U_{xy'}a_{y'}\rangle \tag*{(41)} m ∑ ∥[ K m , U ] a ∥ 2 = x ∑ y , y ′ ∑ ( S 2 − C x y − C x y ′ + C y y ′ ) ⟨ U x y a y , U x y ′ a y ′ ⟩ (41)
The first term contributes S 2 ∥ U a ∥ 2 = S 2 S^2\lVert Ua\rVert^2=S^2 S 2 ∥ U a ∥ 2 = S 2 , and the last contributes ∑ y , y ′ C y y ′ ⟨ a y , ( U † U ) y y ′ a y ′ ⟩ = S 2 \sum_{y,y'}C_{yy'}\langle a_y,(U^\dagger U)_{yy'}a_{y'}\rangle=S^2 ∑ y , y ′ C y y ′ ⟨ a y , ( U † U ) y y ′ a y ′ ⟩ = S 2 . Locality gives ∑ y C x y U x y a y = C e ( U a ) x + ( S 2 − C e ) U x x a x \sum_y C_{xy}U_{xy}a_y=C_e(Ua)_x+(S^2-C_e)U_{xx}a_x ∑ y C x y U x y a y = C e ( U a ) x + ( S 2 − C e ) U xx a x , so the two middle terms sum to − 2 C e − 2 ( S 2 − C e ) Re ⟨ U d a , U a ⟩ -2C_e-2(S^2-C_e)\operatorname{Re}\langle U_d a,Ua\rangle − 2 C e − 2 ( S 2 − C e ) Re ⟨ U d a , U a ⟩ . The total is 2 A / d 2A/d 2 A / d times the bracket in Eq. (40) . Since ∥ U d ∥ ≤ 1 \lVert U_d\rVert\leq1 ∥ U d ∥ ≤ 1 , the bracket is at most two.
If the graph has no triangles, write U o = U − U d U_o=U-U_d U o = U − U d . The block ( U o † U o ) x y = ∑ z U z x † U z y (U_o^\dagger U_o)_{xy}=\sum_z U_{zx}^\dagger U_{zy} ( U o † U o ) x y = ∑ z U z x † U z y with z ≠ x , y z\ne x,y z = x , y requires a common neighbour z z z of x x x and y y y , so it vanishes whenever x ∼ y x\sim y x ∼ y . Since the blocks of U d † U d U_d^\dagger U_d U d † U d and I I I vanish for x ≠ y x\ne y x = y , the blocks of U † U = I U^\dagger U=I U † U = I at neighbouring x , y x,y x , y give ( U d † U o + U o † U d ) x y = 0 (U_d^\dagger U_o+U_o^\dagger U_d)_{xy}=0 ( U d † U o + U o † U d ) x y = 0 . This operator has no other nonzero blocks, hence it vanishes, and Re ⟨ U d a , U o a ⟩ = 0 \operatorname{Re}\langle U_d a,U_o a\rangle=0 Re ⟨ U d a , U o a ⟩ = 0 . □
Hitting time. Combining Eq. (40) with the endpoint estimate of Theorem S3.2 gives
T ≥ 1 2 ( 1 − 1 − p − N − 1 / 2 − η ) t h , T\geq\frac{1}{2}\left(1-\sqrt{1-p}-N^{-1/2}-\eta\right)\sqrt{t_h}, T ≥ 2 1 ( 1 − 1 − p − N − 1/2 − η ) t h ,
with 1 / 2 1/2 1/2 replaced by 1 / 2 1/\sqrt{2} 1/ 2 when the graph has no triangles. For fixed p > 0 p>0 p > 0 and η → 0 \eta\to0 η → 0 , this implies T = Ω ( t h ) T=\Omega(\sqrt{t_h}) T = Ω ( t h ) without a degree factor. The endpoint condition is still needed, because vertex and edge transitivity alone do not force η → 0 \eta\to0 η → 0 , as the cycle shows. On the complete graph, where A = ( N − 1 ) / N 2 A=(N-1)/N^2 A = ( N − 1 ) / N 2 and η = 1 / N − 1 \eta=1/\sqrt{N-1} η = 1/ N − 1 , this bound recovers Ω ( N ) \Omega(\sqrt{N}) Ω ( N ) .
Square torus. Here d = 4 d=4 d = 4 , and Eq. (40) has coefficient A / 2 N A/2N A /2 N . For L ≥ 4 L\geq4 L ≥ 4 the torus has no triangles, giving ∣ Δ F ∣ ≤ A / 2 N |\Delta F|\leq\sqrt{A/2N} ∣Δ F ∣ ≤ A /2 N and
T ≥ T min = ( 1 − 1 − p − L − 1 ) L A − S A / 2 , T min = ( 1 − 1 − p ) N ln N 2 π − O ( N ln N ) (42) T\geq T_{\min}=\frac{(1-\sqrt{1-p}-L^{-1})LA-S}{\sqrt{A/2}},\qquad T_{\min}=(1-\sqrt{1-p})\sqrt{\frac{N\ln N}{2\pi}}-O\left(\sqrt{\frac{N}{\ln N}}\right) \tag*{(42)} T ≥ T m i n = A /2 ( 1 − 1 − p − L − 1 ) L A − S , T m i n = ( 1 − 1 − p ) 2 π N ln N − O ( ln N N ) (42)
The commutator bound A / 2 N A/2N A /2 N is attained whenever U d a = 0 U_d a=0 U d a = 0 , for instance for a pure shift, so sharper control of the commutator alone cannot improve the sharpened speed limit, although the constant in Eq. (42) may still be improvable by other means. For L = 3 L=3 L = 3 the general bound is A / N A/N A / N , and A / 2 N A/2N A /2 N can be exceeded. For example, the local step U U U that acts as 2 3 J 3 − I 3 \frac{2}{3}J_3-I_3 3 2 J 3 − I 3 on one row and as the identity elsewhere, with J 3 J_3 J 3 the all-ones matrix, maps the uniform row state a a a to itself while U d a = − a / 3 U_d a=-a/3 U d a = − a /3 , giving 2 A / 3 N 2A/3N 2 A /3 N . The equal edge correlations used in the proof need not hold on graphs that are only vertex-transitive, or for marked patterns without the axis-exchange symmetry up to translation discussed in Section S6.
Continuous-time evolution
Let the unmarked run evolve under a common self-adjoint nearest-neighbour Hamiltonian H t H_t H t , and the marked run under H t + V m , t H_t+V_{m,t} H t + V m , t , where V m , t V_{m,t} V m , t is self-adjoint and supported on H m \mathcal{H}_m H m . Write H t h o p = H t − ⨁ x H x x , t H_t^{\mathrm{hop}}=H_t-\bigoplus_x H_{xx,t} H t hop = H t − ⨁ x H xx , t for the hopping part and assume ∥ H t h o p ∥ ≤ J ( t ) \lVert H_t^{\mathrm{hop}}\rVert\leq J(t) ∥ H t hop ∥ ≤ J ( t ) . For well-defined normalized evolutions, for example bounded and piecewise-continuous Hamiltonians,
F ˙ = i N ∑ m ⟨ a ∣ [ H t , B m ] ∣ b m ⟩ − i N ∑ m ⟨ a ∣ B m V m , t ∣ b m ⟩ (43) \dot{F}=\frac{i}{N}\sum_m\langle a|[H_t,B_m]|b^m\rangle-\frac{i}{N}\sum_m\langle a|B_mV_{m,t}|b^m\rangle \tag*{(43)} F ˙ = N i m ∑ ⟨ a ∣ [ H t , B m ] ∣ b m ⟩ − N i m ∑ ⟨ a ∣ B m V m , t ∣ b m ⟩ (43)
The second term vanishes since B m V m , t = 0 B_mV_{m,t}=0 B m V m , t = 0 , and i [ H t , B m ] i[H_t,B_m] i [ H t , B m ] is Hermitian. Since K m K_m K m is scalar on each H x \mathcal{H}_x H x , [ K m , H t ] = [ K m , H t h o p ] [K_m,H_t]=[K_m,H_t^{\mathrm{hop}}] [ K m , H t ] = [ K m , H t hop ] . As the block rows of H t h o p H_t^{\mathrm{hop}} H t hop have norm at most J ( t ) J(t) J ( t ) , the proof of Lemma S3.1 yields N − 1 ∑ m ∥ [ K m , H t ] a ∥ 2 ≤ 2 J ( t ) 2 A / N N^{-1}\sum_m\lVert[K_m,H_t]a\rVert^2\leq2J(t)^2A/N N − 1 ∑ m ∥[ K m , H t ] a ∥ 2 ≤ 2 J ( t ) 2 A / N , and the local-step part of the proof of Theorem S3.2 gives ∣ F ˙ ∣ ≤ J ( t ) 2 A / N |\dot F|\leq J(t)\sqrt{2A/N} ∣ F ˙ ∣ ≤ J ( t ) 2 A / N . Integration proves Eq. (21) with T T T replaced by ∫ J ( t ) d t \int J(t)\,dt ∫ J ( t ) d t . For a constant hopping budget J J J the evolution time is at least the right side of Eq. (21) divided by J J J . The same argument applies to Theorem S6.1 with oracle terms supported on the marked set.
Comparison with controlled intermittent quantum walks. The search algorithm of [18 ] illustrates the distinction between queries and motion. Theorem and equation numbers in this paragraph are those of that reference. The algorithm uses O ( ϵ − 1 / 2 ) O(\epsilon^{-1/2}) O ( ϵ − 1/2 ) queries and a total evolution time O ( λ 2 − 1 ϵ − 1 / 2 ) O(\lambda_2^{-1}\epsilon^{-1/2}) O ( λ 2 − 1 ϵ − 1/2 ) , where ϵ \epsilon ϵ is a lower bound on the marked fraction (Theorems 1 and 4 and Eq. (25)). On the square torus λ 2 = 4 sin 2 ( π / L ) = Θ ( N − 1 ) \lambda_2=4\sin^2(\pi/L)=\Theta(N^{-1}) λ 2 = 4 sin 2 ( π / L ) = Θ ( N − 1 ) , so with ϵ = k / N \epsilon=k/N ϵ = k / N this guarantee on the evolution time is O ( N N / k ) O(N\sqrt{N/k}) O ( N N / k ) . The approximate reflection about the uniform state costs an evolution time O ( λ 2 − 1 log ( 1 / δ ) ) O(\lambda_2^{-1}\log(1/\delta)) O ( λ 2 − 1 log ( 1/ δ )) at accuracy δ \delta δ (Eq. (21)), and this time counts as motion. In the accounting of this section, the general controlled evolution ∑ r = 0 2 a − 1 ∣ r ⟩ ⟨ r ∣ ⊗ e i ξ r t \sum_{r=0}^{2^a-1}|r\rangle\langle r|\otimes e^{i\xi_r t} ∑ r = 0 2 a − 1 ∣ r ⟩ ⟨ r ∣ ⊗ e i ξ r t has hopping norm ( 2 a − 1 ) ∥ J ˙ ∥ (2^a-1)\lVert\dot{J}\rVert ( 2 a − 1 ) ∥ J ˙ ∥ , which enters ∫ J ( t ) d t \int J(t)\,dt ∫ J ( t ) d t . The search construction uses one control qubit per search evolution, with further controls given by projections of norm one, so on the square torus its hopping norm is at most four. Ancillary rotations and control gates act on site and leave F F F unchanged. The construction therefore lies within the continuous-time model above, and its guarantee O ( N N / k ) O(N\sqrt{N/k}) O ( N N / k ) is consistent with the lower bound.
Numerical illustrations
The numerical values quoted in the main text and in this Supplemental Material illustrate the theorems and enter no proof. Table S2 and Table S3 and the rows of Table S4 for periodic subgrids and compact clusters follow from the definitions given in Section S4 and below, and the entries for random sets are statistics of the stated numbers of samples. The code, seeds and realized coordinates are included in the repository identified in the main-text Data availability statement.
Table S3. Tulsi’s walk on the L × L L \times L L × L torus: peak step T T T , success probability p p p and weighted overlap F T / A F_T/A F T / A at the peak. Max rate is the largest ∣ Δ F ∣ |\Delta F| ∣Δ F ∣ of a local step up to T T T and mean rate is the mean drop ( A − F T ) / T (A - F_T)/T ( A − F T ) / T per local step, both in units of the sharpened speed limit A / 2 N \sqrt{A/2N} A /2 N . Drop is the decrease A − F T A - F_T A − F T divided by the decrease A ( 1 − 1 − p − L − 1 ) − S / L A(1 - \sqrt{1 - p - L^{-1}}) - S/L A ( 1 − 1 − p − L − 1 ) − S / L that the bound requires.
Table S4. Equilibrium quantities of marked sets on the 1024 × 1024 1024 \times1024 1024 × 1024 torus with k = 64 k = 64 k = 64 . Random rows are componentwise medians over two samples (one random vertex per window) and four samples (uniformly random). The fraction f ˉ 1 \bar{f}_1 f ˉ 1 is the translation average of the share of the 64 windows of Proposition S6.6 that contain exactly one marked vertex. The last column lists the lower bound of Eq. (32) on the number of local steps at p = 2 / 3 p = 2/3 p = 2/3 , evaluated per sample and truncated at zero. The periodic subgrid also admits the sharpened bound 55.61.
Tulsi’s walk. The internal workspace H x \mathcal{H}_x H x at each vertex of the L × L L \times L L × L torus is C 4 ⊗ C 2 \mathbb{C}^{4} \otimes\mathbb{C}^{2} C 4 ⊗ C 2 , for four flip-flop coin directions and a control qubit [2 ] . With cos δ = ( 1 + 8 A ) − 1 / 2 \cos\delta= (1 + 8A)^{-1/2} cos δ = ( 1 + 8 A ) − 1/2 , ∣ s ⟩ |s\rangle ∣ s ⟩ the uniform coin state and ∣ δ ⟩ = ( − sin δ ∣ 0 ⟩ + cos δ ∣ 1 ⟩ ) ⊗ ∣ s ⟩ |\delta\rangle= (-\sin\delta|0\rangle+ \cos\delta|1\rangle) \otimes|s\rangle ∣ δ ⟩ = ( − sin δ ∣0 ⟩ + cos δ ∣1 ⟩) ⊗ ∣ s ⟩ , one iteration applies the query I − 2 ∣ m , δ ⟩ ⟨ m , δ ∣ I - 2|m,\delta\rangle\langle m,\delta| I − 2∣ m , δ ⟩ ⟨ m , δ ∣ and then the local step diag ( − I , W C G ) \operatorname{diag}(-I, W C_G) diag ( − I , W C G ) in the control basis. Here C G C_G C G is the Grover coin and W W W the flip-flop shift. The query followed by the local step is the controlled iteration of Eqs. (14)–(18) of Ref. [2]. Since A = ( ln N ) / ( 4 π ) + O ( 1 ) A = (\ln N)/(4\pi) + O(1) A = ( ln N ) / ( 4 π ) + O ( 1 ) , our choice has cos δ = Θ ( ( ln N ) − 1 / 2 ) \cos\delta= \Theta((\ln N)^{-1/2}) cos δ = Θ (( ln N ) − 1/2 ) , which gives constant success probability in O ( N ln N ) O(\sqrt{N \ln N}) O ( N ln N ) iterations by that reference. The walk starts in the uniform state of the control branch ∣ 1 ⟩ |1\rangle ∣1 ⟩ , which the unmarked run leaves invariant. By translation invariance, F t = ⟨ a ∣ B 0 ∣ b ⟩ F_t = \langle a|B_0|b\rangle F t = ⟨ a ∣ B 0 ∣ b ⟩ . The initial state and all operators in this simulation are real in the position, coin and control basis, so F t F_t F t is real. The success probability p t p_t p t is the probability of finding the walker at m m m , summed over both control branches. The peak step T T T maximizes p t p_t p t over the first ⌈ 1.5 π L A ⌉ \lceil1.5\pi L\sqrt{A}\rceil ⌈ 1.5 π L A ⌉ steps, 1.5 times the two-level estimate π L A \pi L\sqrt{A} π L A of the first peak. Table S3 lists the results. For L ≤ 256 L \le256 L ≤ 256 , the values of T T T and p p p agree with an independent second simulation of the same walk. At every step of every run, queries changed F F F by less than 10 − 12 10^{-12} 1 0 − 12 and the norm stayed within 10 − 9 10^{-9} 1 0 − 9 of one. By definition of T min T_{\min} T m i n , the ratio T / T min T/T_{\min} T / T m i n equals the drop of Table S3 divided by the mean rate. In these runs F F F decreases monotonically up to T T T , so the mean rate is also the average of ∣ Δ F ∣ |\Delta F| ∣Δ F ∣ per local step.
Marked sets. The equilibrium potentials of 261 marked sets were computed from Eq. (15) with fast Fourier transforms and a Cholesky factorization, for L = 64 , 128 , 256 , 512 L = 64, 128, 256, 512 L = 64 , 128 , 256 , 512 and 1024 and k = 1 , 4 , 16 , 64 k = 1, 4, 16, 64 k = 1 , 4 , 16 , 64 and 256. With ℓ = L / k \ell= L/\sqrt{k} ℓ = L / k , the sets are the periodic subgrid of spacing ℓ \ell ℓ , the compact k × k \sqrt{k} \times\sqrt{k} k × k square cluster, sets with one uniformly random vertex in each of the k k k windows of side ℓ \ell ℓ of Proposition S6.6, and uniformly random k k k -subsets. The single marked vertex k = 1 k = 1 k = 1 was evaluated once per size. Each larger k k k has eight uniformly random sets and four sets with one random vertex per window for L ≤ 512 L \le512 L ≤ 512 , and four and two at L = 1024 L = 1024 L = 1024 . All sets passed checks of charge normalization and positivity, the constant value on M \mathcal{M} M , zero mean, Eq. (14) , the energy identity and the maximum principle, and periodic subgrids also matched Proposition S6.3. A direct solution of the Dirichlet problem of Lemma S2.4 on the 8 × 8 8 \times8 8 × 8 torus reproduced A M A_{\mathcal{M}} A M and the hitting times of Eq. (16) to rounding error. Table S4 lists the 1024 × 1024 1024 \times1024 1024 × 1024 torus with k = 64 k = 64 k = 64 . For uniformly random sets with k = 64 k = 64 k = 64 , the median of 4 π k A M / ln ( N / k ) 4\pi k A_{\mathcal{M}}/\ln(N/k) 4 π k A M / ln ( N / k ) falls from 1.695 at L = 64 L = 64 L = 64 to 1.327 at L = 1024 L = 1024 L = 1024 , compatible with convergence to the periodic-subgrid value, for which this ratio tends to one. For these sets, Eq. (32) at p = 2 / 3 p = 2/3 p = 2/3 is positive for 0/8, 4/8, 7/8, 8/8 and 4/4 samples at L = 64 , 128 , 256 , 512 L = 64, 128, 256, 512 L = 64 , 128 , 256 , 512 and 1024, so the endpoint terms k / N + η M \sqrt{k/N} + \eta_{\mathcal{M}} k / N + η M are not negligible at these sizes.
Consistency checks. The identities and inequalities of Sections S2, S3, S5 and S7 were also evaluated numerically. On 28 small vertex-transitive graphs (cycles, complete graphs, hypercubes, circulants, a prism that is not edge-transitive, and rectangular and square tori), Eqs. (10) –(13) , S 2 ≤ A / λ 2 S^2 \le A/\lambda_2 S 2 ≤ A / λ 2 and the hitting times of Proposition S2.3 hold to rounding error, below 10 − 12 10^{-12} 1 0 − 12 . Equation (40) was checked on the 21 graphs that are also edge-transitive, including complex local steps with on-site blocks. The stronger bound holds on the 15 without triangles, and reflections within triangles exceed it on the other six. On tori with L = 5 , 8 , 12 L = 5, 8, 12 L = 5 , 8 , 12 and 16, runs with time-dependent, position-dependent local steps and queries preserve the norm and leave F F F unchanged at queries, and obey the speed limit at every local step. The folded routing of Proposition S5.2 is bijective and local for L = 3 L = 3 L = 3 to 32.
References