English

From Bit-Parallelism to Quantum String Matching for Labelled Graphs

Quantum Physics 2023-04-17 v2

Abstract

Many problems that can be solved in quadratic time have bit-parallel speed-ups with factor ww, where ww is the computer word size. A classic example is computing the edit distance of two strings of length nn, which can be solved in O(n2/w)O(n^2/w) time. In a reasonable classical model of computation, one can assume w=Θ(logn)w=\Theta(\log n), and obtaining significantly better speed-ups is unlikely in the light of conditional lower bounds obtained for such problems. In this paper, we study the connection of bit-parallelism to quantum computation, aiming to see if a bit-parallel algorithm could be converted to a quantum algorithm with better than logarithmic speed-up. We focus on string matching in labeled graphs, the problem of finding an exact occurrence of a string as the label of a path in a graph. This problem admits a quadratic conditional lower bound under a very restricted class of graphs (Equi et al. ICALP 2019), stating that no algorithm in the classical model of computation can solve the problem in time O(PE1ϵ)O(|P||E|^{1-\epsilon}) or O(P1ϵE)O(|P|^{1-\epsilon}|E|). We show that a simple bit-parallel algorithm on such restricted family of graphs (level DAGs) can indeed be converted into a realistic quantum algorithm that attains subquadratic time complexity O(EP)O(|E|\sqrt{|P|}).

Keywords

Cite

@article{arxiv.2302.02848,
  title  = {From Bit-Parallelism to Quantum String Matching for Labelled Graphs},
  author = {Massimo Equi and Arianne Meijer - van de Griend and Veli Mäkinen},
  journal= {arXiv preprint arXiv:2302.02848},
  year   = {2023}
}

Comments

arXiv admin note: text overlap with arXiv:2112.13005 accepted to CPM 2023, 34th Symposium on Combinatorial Pattern Matching

R2 v1 2026-06-28T08:33:06.162Z