Near-Optimal Quantum Algorithms for Bounded Edit Distance and Lempel-Ziv
Factorization
- URL: http://arxiv.org/abs/2311.01793v1
- Date: Fri, 3 Nov 2023 09:09:23 GMT
- Title: Near-Optimal Quantum Algorithms for Bounded Edit Distance and Lempel-Ziv
Factorization
- Authors: Daniel Gibney, Ce Jin, Tomasz Kociumaka, Sharma V. Thankachan
- Abstract summary: We present a quantum $tildeO(sqrtnk+k2)$-time algorithm that uses $tildeO(sqrtnz)$ queries, where $tildeO(cdot)$ hides polylogarithmic factors.
Our second main contribution is a quantum algorithm that achieves the optimal time complexity of $tildeO(sqrtnz)$.
- Score: 2.684542790908823
- License: http://arxiv.org/licenses/nonexclusive-distrib/1.0/
- Abstract: Classically, the edit distance of two length-$n$ strings can be computed in
$O(n^2)$ time, whereas an $O(n^{2-\epsilon})$-time procedure would falsify the
Orthogonal Vectors Hypothesis. If the edit distance does not exceed $k$, the
running time can be improved to $O(n+k^2)$, which is near-optimal (conditioned
on OVH) as a function of $n$ and $k$. Our first main contribution is a quantum
$\tilde{O}(\sqrt{nk}+k^2)$-time algorithm that uses $\tilde{O}(\sqrt{nk})$
queries, where $\tilde{O}(\cdot)$ hides polylogarithmic factors. This query
complexity is unconditionally optimal, and any significant improvement in the
time complexity would resolve a long-standing open question of whether edit
distance admits an $O(n^{2-\epsilon})$-time quantum algorithm. Our
divide-and-conquer quantum algorithm reduces the edit distance problem to a
case where the strings have small Lempel-Ziv factorizations. Then, it combines
a quantum LZ compression algorithm with a classical edit-distance subroutine
for compressed strings.
The LZ factorization problem can be classically solved in $O(n)$ time, which
is unconditionally optimal in the quantum setting. We can, however, hope for a
quantum speedup if we parameterize the complexity in terms of the factorization
size $z$. Already a generic oracle identification algorithm yields the optimal
query complexity of $\tilde{O}(\sqrt{nz})$ at the price of exponential running
time. Our second main contribution is a quantum algorithm that achieves the
optimal time complexity of $\tilde{O}(\sqrt{nz})$. The key tool is a novel
LZ-like factorization of size $O(z\log^2n)$ whose subsequent factors can be
efficiently computed through a combination of classical and quantum techniques.
We can then obtain the string's run-length encoded Burrows-Wheeler Transform
(BWT), construct the $r$-index, and solve many fundamental string processing
problems in time $\tilde{O}(\sqrt{nz})$.
Related papers
- Near-Optimal-Time Quantum Algorithms for Approximate Pattern Matching [2.4167127333650202]
We consider the two most common distances: Hamming distance in Pattern Matching with Mismatches and edit distance in Pattern Matching with Edits.
We present quantum algorithms with a time complexity of $tildeO(sqrtnk+sqrtn/mcdot k3.5)$ for Pattern Matching with Mismatches and $hatO(sqrtnk+sqrtn/mcdot k3.5)$ for Pattern Matching with Edits.
arXiv Detail & Related papers (2024-10-09T12:05:26Z) - A Scalable Algorithm for Individually Fair K-means Clustering [77.93955971520549]
We present a scalable algorithm for the individually fair ($p$, $k$)-clustering problem introduced by Jung et al. and Mahabadi et al.
A clustering is then called individually fair if it has centers within distance $delta(x)$ of $x$ for each $xin P$.
We show empirically that not only is our algorithm much faster than prior work, but it also produces lower-cost solutions.
arXiv Detail & Related papers (2024-02-09T19:01:48Z) - On the exact quantum query complexity of $\text{MOD}_m^n$ and $\text{EXACT}_{k,l}^n$ [4.956977275061968]
We present an exact quantum algorithm for computing $textMOD_mn$.
We show exact quantum query complexity of a broad class of symmetric functions that map $0,1n$ to a finite set $X$ is less than $n$.
arXiv Detail & Related papers (2023-03-20T08:17:32Z) - Deterministic Nonsmooth Nonconvex Optimization [94.01526844386977]
We show that randomization is necessary to obtain a dimension-free dimension-free algorithm.
Our algorithm yields the first deterministic dimension-free algorithm for optimizing ReLU networks.
arXiv Detail & Related papers (2023-02-16T13:57:19Z) - From Bit-Parallelism to Quantum String Matching for Labelled Graphs [0.0]
Many problems that can be solved in quadratic time have bit-parallel speed-ups with factor $w$, where $w$ is the computer word size.
We show that a simple bit-parallel algorithm on such restricted family of graphs can indeed be converted into a realistic quantum algorithm.
arXiv Detail & Related papers (2023-02-06T15:14:34Z) - Mind the gap: Achieving a super-Grover quantum speedup by jumping to the
end [114.3957763744719]
We present a quantum algorithm that has rigorous runtime guarantees for several families of binary optimization problems.
We show that the algorithm finds the optimal solution in time $O*(2(0.5-c)n)$ for an $n$-independent constant $c$.
We also show that for a large fraction of random instances from the $k$-spin model and for any fully satisfiable or slightly frustrated $k$-CSP formula, statement (a) is the case.
arXiv Detail & Related papers (2022-12-03T02:45:23Z) - Exponential Separation between Quantum and Classical Ordered Binary
Decision Diagrams, Reordering Method and Hierarchies [68.93512627479197]
We study quantum Ordered Binary Decision Diagrams($OBDD$) model.
We prove lower bounds and upper bounds for OBDD with arbitrary order of input variables.
We extend hierarchy for read$k$-times Ordered Binary Decision Diagrams ($k$-OBDD$) of width.
arXiv Detail & Related papers (2022-04-22T12:37:56Z) - Time and Query Optimal Quantum Algorithms Based on Decision Trees [2.492300648514128]
We show that a quantum algorithm can be implemented in time $tilde O(sqrtGT)$.
Our algorithm is based on non-binary span programs and their efficient implementation.
arXiv Detail & Related papers (2021-05-18T06:51:11Z) - An Optimal Separation of Randomized and Quantum Query Complexity [67.19751155411075]
We prove that for every decision tree, the absolute values of the Fourier coefficients of a given order $ellsqrtbinomdell (1+log n)ell-1,$ sum to at most $cellsqrtbinomdell (1+log n)ell-1,$ where $n$ is the number of variables, $d$ is the tree depth, and $c>0$ is an absolute constant.
arXiv Detail & Related papers (2020-08-24T06:50:57Z) - Fast Classical and Quantum Algorithms for Online $k$-server Problem on
Trees [0.19573380763700712]
We consider online algorithms for the $k$-server problem on trees.
Chrobak and Larmore proposed a $k$-competitive algorithm for this problem that has the optimal competitive ratio.
We propose a new time-efficient implementation of this algorithm that has $O(nlog n)$ time complexity for preprocessing.
arXiv Detail & Related papers (2020-08-01T14:21:45Z) - Streaming Complexity of SVMs [110.63976030971106]
We study the space complexity of solving the bias-regularized SVM problem in the streaming model.
We show that for both problems, for dimensions of $frac1lambdaepsilon$, one can obtain streaming algorithms with spacely smaller than $frac1lambdaepsilon$.
arXiv Detail & Related papers (2020-07-07T17:10:00Z)
This list is automatically generated from the titles and abstracts of the papers in this site.
This site does not guarantee the quality of this site (including all information) and is not responsible for any consequences.