Data Structures and Algorithms
The Power of Two-Choice Linear Probing
Amir Azarmehr, Michael A. Bender, William Kuszmaul et al. (+1 more)
This paper considers the following basic question: If an (ordered) linear-probing hash table is allowed two hash functions, instead of one, how does this change the expected insertion and query time, as a function of the load factor $1 - \epsilon$? We prove that the greedy two-choice insertion strategy achieves polynomially better bounds than the single choice
algorithm, but that one can even do much better by using more sophisticated non-greedy strategies. Specifically, we show that there is an insertion strategy that does not evict elements (once an element is inserted, its hash choice is fixed) and that achieves expected query time $O(\log \epsilon^{-1})$ with expected insertion time $O(\epsilon^{-1})$. We then further show that, if one is allowed to evict elements (i.e., to change over time which hash function a given element uses), then it is possible to achieve expected query time $O(1)$ with expected insertion time $O(\epsilon^{-1/2})$. This final result achieves an expected query time of $O(1)$ even when the hash table is filled to $100\%$ full. Combined, the results reveal that there is a surprisingly strong “power of two choices” phenomenon for linear-probing hash tables, allowing for a two-choice hash table to achieve significantly better bounds than what might at first seem to be possible.
Read the full abstract ▾
All authors Amir Azarmehr, Michael A. Bender, William Kuszmaul, Rose Silver
Data Structures and Algorithms
Query-efficient winner prediction in district-based elections
Koustav De, Debajyoti Kar and Swagato Sanyal
In a district-based election, N voters are partitioned into k districts, and each voter votes for one of m candidates. Each district elects a winner using the plurality rule (i.e. the candidate getting the largest number of votes is declared the winner, breaking ties as per some fixed rule), and the overall winner is determined by applying plurality to the district winners; we assume that there is a unique winner amongst the district winners. The margin of victory of such an election is the minimum number of votes that must be altered so that the current winner ceases to be the unique district winner. We study the problem of predicting the winner of a district-based election in the query complexity model, where one has query access to individual votes. The objective is to minimise the number of queries. This setting captures exit polling, where queries correspond to interviewing voters, and is closely related to problems in query complexity and property testing. Assuming that the margin of victory of the election is at least eps N, Dey, Kar and Sanyal (AAMAS 2023) gave
algorithms for the case of two candidates with error probability del and query complexity tilde{O}(1/eps^6 log^2 1/del), which improves to tilde{O}(1/eps^4 log^2 1/del) under the additional assumption that district populations are balanced. Our main result is an adaptive randomised
algorithm that, for an arbitrary district-based election and any error parameter del, with probability at least 1-del, predicts the winner correctly using tilde{O}(1/eps^2 log m/del log 1/del) queries. In particular, we improve the bounds of Dey et al. for arbitrary district populations and extend their results to any number of candidates. Furthermore, for constantly many candidates, our
algorithm nearly matches a lower bound of Omega(1/eps^2 log 1/del) on the query complexity that holds even for two candidates and a single district.
Read the full abstract ▾
Data Structures and Algorithms
Faster Algorithms for Finding Small Induced Patterns in Sparse Host Graphs
Priyanshi Agrawal and Balagopal Komarath
We study
algorithms for detecting induced subgraphs corresponding to fixed pattern graphs in host graphs. We show that at least five of the 21 connected graphs on five vertices can be detected in time roughly the product of the number of vertices and the number of edges, and that at least 65 of the 112 connected graphs on six vertices can be detected in time nearly quadratic in the number of edges. We also give
algorithms for detecting induced paths and cycles on seven vertices, running in time roughly the number of vertices times the square of the number of edges. Our main technical tool is a generalized notion of tree decomposition width, called (p, q)-width. It yields
algorithms whose running times depend on both the number of vertices and the number of edges, and are never worse than existing bounds. Whenever the host graph has fewer than roughly quadratically many edges in its number of vertices, our bounds are strictly faster. For some patterns, including the seven-vertex cycle, our
algorithms are optimal under standard complexity-theoretic assumptions. We further develop this approach using pattern-based
polynomials that exploit the structure of tree decompositions, not just their width. This gives
algorithms for detecting induced paths and cycles on an even number of vertices in bipartite graphs, running in time roughly the (k-1)-th power of the number of edges for paths on 2k vertices, and that same bound times the number of vertices for cycles on 2k vertices. These are faster than the best known
algorithms for general graphs.
Read the full abstract ▾
Data Structures and Algorithms · Cross-listed from quant-ph
Unifying and Extending Strong Simulation of Quantum Circuits
Floris Geerts, Rihan Hai, Matthias Lanzinger et al. (+3 more)
We establish functional aggregate queries (FAQs) as a unifying
language for exact classical simulation of
quantum circuits. A
circuit becomes a sum-product query: factors encode gates, internal wire variables are aggregated, and free boundary variables index transition amplitudes. The central insight is that distinct sources of simulation tractability can be exploited within the same InsideOut evaluation scheme. The query specifies what is computed; the evaluation plan, semiring, and representation of intermediate factors determine the cost. This view unifies structural and algebraic simulation guarantees. With explicit factor representations, FAQ evaluation recovers the treewidth bound for tensor-network contraction and yields finer sparsity-sensitive bounds via fractional covers. Over a formal phase semiring, compressed intermediate factors recover rank-width-based simulation for compatible quadratic phase representations. For Clifford
circuits, affine-quadratic factors are closed under multiplication and marginalization and remain
polynomial in size, yielding
polynomial-time exact amplitude computation without any bounded-width assumption. Beyond these recoveries, the framework yields a new tractability criterion: tensor layout
symmetry width. This parameter combines local cut-rank with separator
symmetry through exact tree-tensor representations. We give a constructive evaluation bound and exhibit a
circuit family with bounded tensor layout
symmetry width but unbounded phase-graph rank-width and
circuit line-graph treewidth. These results establish representation-aware FAQ evaluation as a common algorithmic foundation for classical simulation and a systematic route to new tractable regimes.
Read the full abstract ▾
All authors Floris Geerts, Rihan Hai, Matthias Lanzinger, Reinhard Pichler, Emanuel Sallinger, Daniel Unterberger
Data Structures and Algorithms
Dynamic Connectivity, Minimum Spanning Tree, and 2-Edge Connectivity with Polylogarithmic Worst-Case Update Time
Simon Meierhans, Maximilian Probst Gutenberg and Yu-Cheng Yeh
We give fully dynamic
algorithms for maintaining connectivity, minimum spanning tree, and $2$-edge connectivity of a graph with worst-case polylogarithmic update time. Our
algorithms are randomized and succeed with high probability against an adaptive adversary. For the minimum spanning tree and $2$-edge connectivity problems, this improves over the subpolynomial update time bounds obtained by Nanongkai, Saranurak, and Wulff-Nilsen [FOCS'17], Jin and Sun [FOCS'21], and Jin, Sun, and Thorup [SODA'24], respectively. The only randomized component of our
algorithms is the computation of static expander decompositions, and a deterministic
algorithm for said problem would directly imply deterministic
algorithms for all three problems. This reduction is novel even for the connectivity problem.
Read the full abstract ▾
Data Structures and Algorithms
Faster Stable Numerical Polynomial Multiplication
Hong Duc Bui
In the preprint [vdH08], van der Hoeven considers the problem of multiplying two
polynomials with floating-point coefficients, and give an
algorithm to compute the product with small relative Newton error in time $O(np \log(np))$, where $n$ is the degree and $p$ is the required precision. In this paper, we describe a significantly simpler
algorithm with the same time complexity and error bound. Independently, Bringmann and Cassis considered the near-convex min-plus convolution problem in [BC23a], and presented an
algorithm to solve that problem. We observe that our
algorithm can be adapted to that problem to speed up Bringmann and Cassis'
algorithm by a logarithmic factor.
Read the full abstract ▾
Data Structures and Algorithms · Cross-listed from quant-ph
Gibbs Sampling in the Shattered Phase by Decoded Quantum Interferometry
Leo Zhou, Noah Shutty, Mark Sellke et al. (+1 more)
We apply Decoded
Quantum Interferometry (DQI) to sample from the Gibbs measures of classical Ising
spin Hamiltonians. We show that this Gibbs sampling problem reduces to a
quantum decoding problem, and the temperature achievable by DQI is determined by the performance of decoding
algorithms. We then focus on the task of Gibbs sampling for classical Ising $k$-
spin glasses (or Max-$k$-XORSAT) on random Erdős-Rényi hypergraphs with average degree $D\ge k$. In a temperature range beginning asymptotically at the predicted dynamical phase transition, $\beta_{\rm dyn}(k,D) = \sqrt{(2\ln k)/D}\times [1+o_{k\to\infty}(1)]$, we show that shattering and disorder chaos form a topological barrier that obstructs many
algorithms, including Glauber dynamics and any
algorithm whose output distribution is "stable" under perturbations of the input. In contrast, we prove that this barrier can be broken both by a classical
algorithm based on Prange's method, and by DQI equipped with a
quantum decoder. For example, when $D=\alpha k$ with fixed $\alpha>1$, both Prange's
algorithm and DQI can sample at any inverse temperature $\beta < \tanh^{-1}(1/\alpha)$ for sufficiently large $k$, well beyond the dynamical threshold $\beta_{\rm dyn} \sim \sqrt{2\ln k / (\alpha k)}$. Therefore, our results show that DQI can overcome topological barriers that obstruct stable
algorithms.
Read the full abstract ▾
All authors Leo Zhou, Noah Shutty, Mark Sellke, Stephen P. Jordan
Data Structures and Algorithms · Cross-listed from quant-ph
Exponential quantum speedup for $\mathbb{F}_3^n$-Subset-Sum? Or, rigorous classical algorithms for Binary-Error LWE
Robin Kothari, Tony Metger, Ryan O'Donnell et al. (+2 more)
We study vector subset sum over $\mathbb{F}_3^n$: given $m$ random vectors from $\mathbb{F}_3^n$, find a nonempty subset that sums to zero; the smaller $m$, the more difficult it is to find such a subset. Chen, Liu, and Zhandry (EUROCRYPT'22) introduced an efficient
quantum algorithm that solves this problem when $m\approx n^2/2$, where a naive classical
algorithm would require exponential time. Subsequently, Kothari, O'Donnell, and Wu (STOC'2026) gave an efficient classical
algorithm that only requires $m \approx n^2/3$ vectors, thus removing the hope for an exponential
quantum advantage in this parameter regime. Using the framework of Chen, Liu, and Zhandry, we give
quantum algorithms that require much fewer input vectors, renewing the possibility of an exponential
quantum speedup: for any fixed $\epsilon>0$, our
quantum algorithm solves $\mathbb{F}_3$-subset sum in
polynomial time with $m=\epsilon\cdot n^2$ vectors. More generally, we establish a full sample–time tradeoff that interpolates between exponential and
polynomial runtime. The main ingredient is a deterministic classical
algorithm for the binary-error Learning-with-Errors problem, which is of independent cryptographic interest. For this, we rigorously establish a sample–time tradeoff that was predicted by earlier algebraic heuristics. For vector subset sums over larger fields, we also significantly improve classical
algorithms in Kothari, O'Donnell, and Wu (STOC'2026).
Read the full abstract ▾
All authors Robin Kothari, Tony Metger, Ryan O'Donnell, Noah Shutty, Kewen Wu
Data Structures and Algorithms · Cross-listed from quant-ph
Solving Sparse SDPs in Sublinear Time: A Classical Algorithm Inspired by the Quantum OR Lemma
Fernando G.S.L. Brandão, Alexander M. Dalzell, András Gilyén et al. (+1 more)
We give the first sublinear-time classical solvers for sparse semidefinite programs in the bounded-radius regime, without low-rank assumptions or Frobenius norm dependence on the constraint
matrices. For constant precision and bounded primal and dual radii, prior
quantum algorithms of Brandão et al. (2019) and van Apeldoorn and Gilyén (2019) achieved $\widetilde{O}(\sqrt{n}+\sqrt{m})$ dependence on
matrix dimension $n$ and constraint number $m$. Compared with the $\widetilde{O}(mn)$ runtime of existing classical methods, this suggests a quartic
quantum speedup when $m \approx n$. Beyond a usual Grover speedup, this separation relies on the
Quantum OR lemma, whose sample-reuse mechanism decouples the cost of Gibbs-state preparation from constraint search. We show that this reuse mechanism is classically realizable for sparse SDPs. Our main technical contribution is a classical procedure for simultaneously estimating many expectation values with respect to a sparse
Hamiltonian's Gibbs state. This combines randomized Lánczos filtering with an efficient sampling-based
estimator. We also introduce a
stochastic online-learning framework for SDP solving, substantially improving accuracy-dependence over standard oracle-based MMWU approaches. Let $s$ denote the the input
matrix sparsity and $\gamma:=Rr/\varepsilon$ capture dependence on the primal $(R)$ and dual $(r)$ radii as well as target accuracy $(\varepsilon)$. When $\gamma^2\leq\min\{m,n/s\}$, our solver runs in time $\widetilde{O}\left(ns\gamma^{4.5}+ms\gamma^2\right)$. For $\gamma=O(1)$, this is $\widetilde{O}\left((n+m)s\right)$ and sublinear in the $O(mns)$ input size. Similar to the
quantum algorithms, this matches known lower bounds with respect to $m$ and $n$, up to logarithmic factors. This implies that, with respect to dimensions $m$ and $n$, there is no super-quadratic
quantum advantage for generic sparse SDP solving.
Read the full abstract ▾
All authors Fernando G.S.L. Brandão, Alexander M. Dalzell, András Gilyén, Francisca Vasconcelos
Data Structures and Algorithms
Mixing FM-indexes and CSAs: backward search over an order-1 rank encoding
Travis Gagie
FM-indexes and compressed suffix arrays (CSAs) are often treated as interchangeable, but they behave differently as the alphabet grows. An FM-index step costs about one cache miss per level of a wavelet tree, so it gets slower with the alphabet size. A CSA step is a binary search whose range shrinks as characters get rarer. We describe a simple hybrid. Each character of the text is replaced by the rank of its frequency among the characters that follow the previous character. We backward-search on this encoding, which is over a small, skewed alphabet, and recover the one piece of information the encoding loses (the first character of the pattern) with a single CSA-like step on an array we call $\PsiE$. Counting is exact, and locating works with standard suffix-array sampling. A prototype on synthetic repetitive data shows that the hybrid is the fastest of the indexes we tried at intermediate alphabet sizes with 1% noise, but even its compact version is 1.7 to 3.9 times larger than a compressed run-length CSA or FM-index of the original text, because the encoding and $\PsiE$ together have more runs than the original Burrows–Wheeler transform. Whether that changes on real data, such as parses and minimizer digests, is the main open question.
Read the full abstract ▾
Data Structures and Algorithms · Cross-listed from cs.CC
Quantum Fine-Grained Lower Bounds for SetDisjointness via Sub-Linear Reductions from 3SUM
Jeremy Huang, Young Kun Ko and Chunhao Wang
In classical fine-grained complexity, the 3SUM
Conjecture is used to prove a variety of conditional lower bounds on data structure and graph problems via an initial reduction to the SetDisjointness problem. However, there is an $\tilde{O}(n)$-time
quantum algorithm for 3SUM and a direct application of Grover's
algorithm to SetDisjointness queries beats the state-of-the-art classical conditional bound by Kopelowitz, Pettie, and Porat (SODA 2016); this shows that these classical bounds do not apply in the
quantum setting. Thus establishing analogous conditional lower bounds in the
quantum setting requires applying the
quantum 3SUM
Conjecture to a
quantum fine-grained reduction from 3SUM to SetDisjointness. We give the first sub-linear time
quantum reductions from 3SUM to online SetDisjointness. Via our reduction, the
quantum 3SUM
conjecture implies a $p + 2q \geqslant 1$ tradeoff bound for
quantum SetDisjointness
algorithms with $O(N^p)$ preprocessing time and $O(N^q)$ query time. We also give an analogous reduction from 3XOR. These results are derived from a general framework for fine-grained reductions to SetDisjointness which applies to any Abelian 3-Orthogonal Array (3OA) problem with suitable almost-linear hash functions.
Read the full abstract ▾
Data Structures and Algorithms · Cross-listed from quant-ph
Conditioning-Free Non-Uniform Quantum Fourier and Chebyshev Transforms
Chaowen Guan and Akshit Katiyar
We present an efficient
quantum algorithm for the non-uniform Chebyshev transform. It is defined as the projection of a function onto Chebyshev
polynomials sampled at given nodes that are uniform in $x\in[-1,1]$, and hence non-uniform in the angle $\theta=\arccos x$, a setting that QFT-based
quantum Chebyshev transforms cannot handle. Our construction is based on an improvement of an existing Non-uniform
Quantum Fourier Transform (NUQFT) whereby we remove the conditioning from non-uniform node sampling. Hence, error bounds are independent of the geometry-dependent parameter $\kappa$ of prior work. We use the fact that Chebyshev transform
matrix is the average of two Type-II non-uniform DFTs, which we implement with a single controlled NUQFT
circuit. We provide explicit oracle constructions, including the row-access oracle previously left as an assumption. The resulting $\varepsilon$-accurate block encoding has $O(1)$ normalization and uses $O(L)$
qubits and $\widetilde O(L^2)$ gates, where $L=\log N+\log(1/\varepsilon)$. We give an end-to-end implementation with complexity analysis, including the success probability and output-state error.
Read the full abstract ▾
Data Structures and Algorithms · Cross-listed from quant-ph
Superlinear Quantum Query Lower Bounds for Subgraph Detection
Amin Shiraz Gilani and Xingyu Zhou
Subgraph detection asks whether an $n$-vertex graph, accessed through queries to its adjacency
matrix, contains a copy of a fixed graph $H$. We prove the first unconditional superlinear lower bounds on the bounded-error
quantum query complexity of this problem, answering a longstanding open question. A copy of $H$ is a certificate of constant size, so the adversary method with nonnegative weights cannot prove superlinear lower bounds. For every fixed $r\ge 4$, detecting the clique $K_r$ requires $n^{\lambda_r-o(1)}$ queries, where $\lambda_4=19/18$, the exponents $\lambda_r$ increase strictly with $r$, and $\lambda_r\ge 2-4\sqrt{2/r}+O(1/r)$. More generally, we prove superlinear lower bounds for detecting every fixed connected graph $H$ with chromatic number $c\ge 4$. These bounds approach quadratic as $c$ grows: for sufficiently large $c$, detection requires $n^{2-O(\sqrt{\log\log c/c})-o(1)}$ queries. Chromatic number alone does not characterize the
quantum query complexity of subgraph detection: we show that detecting the complete bipartite graph $K_{r,r}$ requires $n^{\beta_r-o(1)}$ queries, where $\beta_{10}=181/180$ and $\beta_r\ge 2-O(1/\sqrt{r})$. Our main technical result is a lower bound for finding an all-ones certificate from a known family when the input bits are sampled independently. Its proof combines Zhandry's compressed oracle [CRYPTO 2019] with conditioning on a randomly planted certificate, adapting an argument of Belovs [FOCS 2026]. Our hard instances are built from graphs containing many copies of the desired subgraph with limited overlap. For cliques, we use a construction of Gowers and Janzer [CPC 2021]; for complete bipartite graphs, we use a random construction.
Read the full abstract ▾
Data Structures and Algorithms · Cross-listed from quant-ph
Quantum oblique eigenprojection
Alexander M. Dalzell and Yuan Su
Every square
matrix decomposes its underlying
Hilbert space into generalized, nonorthogonal eigensubspaces. We show that a
quantum computer can perform such an oblique eigenprojection $\Pi$ given block encoding access to the input
matrix. Our approach has a query complexity nearly linear in the inverse gap and a normalization factor close to $\lVert\Pi\rVert$ under a spectral-set condition on the input. This covers common assumptions on the numerical range or diagonalizability and matches known results for orthogonal eigenprojections. We achieve this with a two-sided block preconditioning that uses a discrete
Fourier transform of the
matrix resolvent. We describe applications to: (i) preparing eigenstates of
matrices with complex
eigenvalues, extending the
quantum eigenvalue transformation
algorithm of Low and Su beyond real spectra; (ii) solving continuous-time algebraic Riccati equations, cubically speeding up a prior solver of Rodenas-Ruiz, Zhao, and Lee; and (iii) solving ordinary Sylvester equations, quadratically improving a direct augmented method of Wang and Liu. Our result suggests a promising route to applying nonanalytic
matrix functions on
quantum computers.
Read the full abstract ▾
Data Structures and Algorithms
Dynamic Time Warping in the Low-Distance Regime
Itai Boneh, Shay Golan and Tomasz Kociumaka
Dynamic Time Warping (DTW) is a classical similarity measure for strings and time series that allows local stretching. Given non-empty strings $S,T$ over an alphabet $\Sigma$ and a cost function $\delta:\Sigma^2\to\mathbb{R}_{\ge0}$, $DTW_\delta(S,T)$ is the minimum total cost of equal-length expansions of $S$ and $T$ obtained by duplicating characters. For strings of length at most $n$, DTW is computable in $O(n^2)$ time, and this is conditionally optimal under the Orthogonal Vectors Hypothesis (OVH). We study the low-distance regime, where an integer $k$ upper-bounds $DTW_\delta(S,T)$, assuming $\delta(a,a)=0$ and $\delta(a,b)\ge1$ for $a\ne b$. For several classical similarity measures, this regime admits $O(n+\operatorname{poly}(k))$
algorithms, whereas for DTW with metric costs the best known bound is $O(nk)$. We show that this dependence is essentially optimal: assuming OVH, computing DTW requires $n^{1-o(1)}k$ time even for the discrete mismatch-cost function, which assigns cost $1$ to every mismatch. The lower bound applies to the whole spectrum of thresholds $k$ between constant and linear in $n$. Our reduction from Orthogonal Vectors encodes vector coordinates in the lengths of equal-character runs. The resulting instances are very structured: collapsing runs to single characters reveals long substrings with short periods. We complement the lower bound with a $\tilde O(n+\operatorname{poly}(k))$-time
algorithm whenever, after collapsing runs in the inputs, every substring with period $O(k)$ has length $\operatorname{poly}(k)$. Finally, we extend this lower bound to DTW pattern matching, which asks whether any non-empty substring of a length-$n$ text has DTW distance at most $k$ from a length-$m$ pattern. We prove that the classic $O(nm)$-time dynamic-programming
algorithm is near-optimal under OVH, even when $k=O(\log n)$.
Read the full abstract ▾
Data Structures and Algorithms · Cross-listed from quant-ph
Improved quantum volume estimation with transducers and amortized quantum walks
Arjan Cornelissen, Simon Apers and Sander Gribling
The volume estimation problem is a classic task in computational geometry. The development of randomized
algorithms for this problem spurred the development of many influential algorithmic techniques related to Markov Chain Monte Carlo and simulated annealing, and the problem connects to several important geometrical results, like the KLS
conjecture. In this work, we quantize the state-of-the-art $\widetilde{O}(d^{3.5}+d^3/\varepsilon^2)$-query randomized
algorithm developed by Cousins and Vempala, and obtain a $\widetilde{O}(d^{3.5} + d^{1.75}/\varepsilon)$-query
quantum algorithm, improving over the $\widetilde{O}(d^{3.5} + d^{2.25}/\varepsilon)$ state-of-the-art bound. Our key technical contribution is a framework for amortizing the cost of a
quantum walk. The framework is based on the recent transducer toolkit introduced by Belovs, Jeffery and Yolcu. It is this amortized
quantum walk framework that allows us to exploit the amortized analysis of the ball walk by Cousins and Vempala, thus overcoming the key barrier that previously barred its
quantum implementation.
Read the full abstract ▾
Data Structures and Algorithms · Cross-listed from quant-ph
Improved Quantum Query Bounds for Boolean Matrix Product Verification
Amin Shiraz Gilani, François Le Gall and Xingyu Zhou
We prove the first non-trivial upper bound for the
quantum query complexity of Boolean
Matrix Product Verification ($\mathsf{BMPV}$), answering a longstanding open question in
quantum query complexity. For $n\times n$
matrices, our upper bound is $\widetilde O(n^{17/12})$, improving on the standard $O(n^{3/2})$ bound obtained using Grover search by Buhrman and Špalek [SODA 2006]. We complement this result by showing an $\Omega(n^{5/4})$ lower bound, which improves over the previous best known lower bound of $\widetilde\Omega(n^{19/18})$ by Childs, Kimmel, and Kothari [ESA 2012]. Our approach centers on a connection with Orthogonal Vectors ($\mathsf{OV}$), which asks whether an indexed list of $n$ Boolean vectors of dimension $n$ contains two vectors with disjoint supports. In particular, we prove equivalences between $\mathsf{OV}$ and $\mathsf{BMPV}$ and establish the above bounds for $\mathsf{OV}$. We also prove a tight $\widetilde \Theta(n^{3/2})$ bound for a variant of $\mathsf{BMPV}$ that asks whether the product contains a given row vector. Together, these results imply a
polynomial separation between the
quantum query complexities of deciding whether a graph has radius at most two and whether it has diameter at most two.
Read the full abstract ▾
Data Structures and Algorithms · Cross-listed from quant-ph
Shadow Quantum Singular Value Transformation with Shallow Quantum Circuits
Nai-Hui Chia, Hyunseong Kim, Chia-Ying Lin et al. (+1 more)
We introduce shadow
quantum singular value transformation (Shadow QSVT): given an initial state $|{\psi}\rangle$, a Hermitian
matrix $H$, a
polynomial $f$, and a set of observables $\{O_1,\dots,O_m\}$, the goal is to estimate $\langle{\psi}|f(H)^{\dagger}O_j f(H)|{\psi}\rangle$ for all $j\in\{1,\dots,m\}$. Shadow QSVT provides a systematic route to reduce the
quantum resources required by standard QSVT, which constructs a
unitary block-encoding of $f(H)$. It uses structure in the input state and observables, together with the fact that many applications require only observable estimates rather than synthesizing the full
unitary. We present three
algorithms that exploit structure in the initial state and observables to reduce
quantum circuit depth. First, we develop a state-aware QSVT
algorithm that prepares the target state with low
circuit depth when the Krylov subspace associated with $H$ and $|\psi\rangle$ is low-dimensional or admits an accurate low-dimensional approximation. Second, we introduce an observable-aware Shadow QSVT
algorithm that combines a new observable-aware Krylov subspace with history states to further reduce
circuit depth and gate complexity. Finally, we develop Classical Shadow QSVT, which constructs a classical representation from $H$, $f$, and $|\psi\rangle$ without prior knowledge of the observables or explicit preparation of the target state proportional to $f(H)|\psi\rangle$. This representation enables estimation of the target quantities for observables specified after the
quantum computation. Together, these three
algorithms provide tools for reducing the
circuit depth of QSVT-based computations across a range of settings.
Read the full abstract ▾
All authors Nai-Hui Chia, Hyunseong Kim, Chia-Ying Lin, Yu-Ching Shen
Data Structures and Algorithms · Cross-listed from cs.LG
Policy Iteration Is Not Strongly Polynomial for Deterministic Markov Decision Processes: The Price of Algorithmic Anarchy
Han Zhong and Yinyu Ye
We establish exponential iteration lower bounds in the number of states for Howard's policy iteration on deterministic discounted and average-reward Markov decision processes (MDPs), with a constant number of actions per state. This rules out strong polynomiality of Howard's policy iteration in both settings. We further prove that a Dantzig counterpart of Howard's policy iteration runs in strongly
polynomial time on deterministic average-reward MDPs. Together with the known strongly
polynomial bound for Dantzig's rule on deterministic discounted MDPs, these results establish an exponential separation between the two
algorithms in both settings. This separation between Howard's decentralized and simultaneous selfish improvements and Dantzig's coordinated selection of a single action with the largest improvement across all states reveals a “price” of algorithmic anarchy.
Read the full abstract ▾
Data Structures and Algorithms
Sharper Gaussian Covers in the Bansal–Huang–Lee Coloring Framework
Konstantin Makarychev and Yury Makarychev
Bansal, Huang, and Lee recently gave a
polynomial-time
algorithm that colors every $3$-colorable graph on $n$ vertices with $O(n^{0.19539})$ colors. We improve their bound to $O(n^{0.17794})$ colors. The improvement comes from a sharper rule for combining Gaussian covers. We prove the rule from Ehrhard's inequality by comparing the probability that a Gaussian vector misses a polyhedron at two thresholds. At the farther threshold a union bound records how many halfspaces define the polyhedron, and this information reduces the loss in the combination. We then organize the successive neighborhood steps of the Bansal-Huang-Lee argument into a single recursion. The smaller loss lets the recursion run one step farther than before, and at that step it would require more distinct vertices than the graph contains. This rules out the remaining case. Combining the resulting bounded-degree guarantee with the dense-graph
algorithm of Kawarabayashi, Thorup, and Yoneda gives a randomized
polynomial-time
algorithm that colors every $3$-colorable graph on $n$ vertices with $O(n^{0.17794})$ colors.
Read the full abstract ▾
Data Structures and Algorithms · Cross-listed from quant-ph
Super-Quadratic Quantum Speedups for Combinatorial Optimization via Tilted Walks
Guneykan Ozgul and Shouvanik Chakrabarti
We introduce
quantum tilted walks, a
quantum algorithmic framework for solving exact combinatorial optimization problems. The framework applies an average of powers of a tilted
Hamiltonian that biases the discriminant
matrix of a base Markov chain (mixer) with the objective function. Our starting point is
quantum short-path
algorithms, which prepare the ground state of such a
Hamiltonian and obtain super-quadratic speedups over exhaustive search for certain combinatorial optimization problems. Recently, Le Gall and Tamaki~(arXiv:2604.12131) developed a classical conditioning-and-search
algorithm for weighted MAX-E$k$-LIN2 and weighted MAX-$k$-CSP. Under the same assumptions, their
algorithm is only sub-quadratically slower than
quantum short-path
algorithms. Consequently, existing short-path
algorithms do not establish a super-quadratic speedup over this stronger classical baseline. For maximization problems, we give conditions under which tilted walks increase the amplitude on the target state with high objective value when initialized from a starting state with lower objective value. This framework captures conditioning-and-search and yields super-quadratic speedups over it for the same problems. While our framework recovers
quantum short-path
algorithms as a special case, it neither requires ground-state preparation nor initialization in the ground state of the base mixer. We demonstrate these advantages on a synthetic optimization problem for which tilted walks achieve a super-quadratic speedup whereas the short-path
algorithms do not.
Read the full abstract ▾
Data Structures and Algorithms
Robust and Learned Online Matching in Growing Trees
Marek Gałązka and Hanna Wdowicka
We study irrevocable maximum-cardinality matching in trees revealed by successive leaf attachments, with a known horizon and an exogenous growth law that is misspecified or unknown. For deterministic affine attachment forecasts with nonnegative degree reinforcement, the optimal threshold policy loses at most twice the cumulative expected conditional total-variation error relative to an online oracle knowing the actual growth law. This follows from a unit-span property of the Bellman continuation score and has no additional horizon factor. A four-vertex example attains the coefficient two for the specified deterministic policy, and a two-model argument gives a lower bound linear in the model-error budget for arbitrary policies under general misspecification. For uniform-preferential attachment, the local error has an exact expression through the leaf count. When its constant mixture parameter is unknown, we estimate it from the same growing tree and update the threshold policy at
geometric times. A parameter-sensitivity bound for individual Bellman prices and uniform degree-moment estimates yield expected regret $O(\sqrt{n}\log^2 n)$, using $O(n^2\log n)$ arithmetic operations and $O(n)$ stored entries. The exact minimax rate remains open.
Read the full abstract ▾
Data Structures and Algorithms
Component-Weighted Centroid Search for Exact Incremental BPE
Harshit Verma and Rex Ying
Exact incremental BPE maintains the canonical tokenization state after every appended byte. The recent
algorithm of Jiang and Gong (2026) does this in $O(\log^2 t)$ worst-case time, where $t$ is the maximum canonical
token length. Its centroid search visits $O(\log t)$ components and can pay another $O(\log t)$ for ordered point location at each one. Within Jiang and Gong's normalized/proper merge-stage model, we change only that local search. Each interval is weighted by the size of the recursive component it selects, so a move from size $m$ to size $m'$ costs $O(1+\log(m/m'))$. These charges
telescope, giving $O(\log t)$ time per append and $O(n\log t)$ over an $n$-byte stream, with the same BPE semantics and asymptotic space. We also construct a normalized proper BPE family over a fixed alphabet where count-balanced search uses $\Theta(\log^2 t)$ probes on a reachable update, while the weighted search uses $\Theta(\log t)$. A Rust implementation matches the predicted probe counts on every tested instance. On ordinary vocabularies the queried degrees are small, however, and the improvement is a worst-case guarantee rather than an average-speed result.
Read the full abstract ▾