Papers
Topics
Authors
Recent
Search
2000 character limit reached

Quantum Speed-ups for String Synchronizing Sets, Longest Common Substring, and k-mismatch Matching

Published 29 Nov 2022 in cs.DS | (2211.15945v1)

Abstract: Longest Common Substring (LCS) is an important text processing problem, which has recently been investigated in the quantum query model. The decisional version of this problem, LCS with threshold dd, asks whether two length-nn input strings have a common substring of length dd. The two extreme cases, d=1d=1 and d=nd=n, correspond respectively to Element Distinctness and Unstructured Search, two fundamental problems in quantum query complexity. However, the intermediate case 1dn1\ll d\ll n was not fully understood. We show that the complexity of LCS with threshold dd smoothly interpolates between the two extreme cases up to n<sup>o(1)n<sup>{o(1)} factors: LCS with threshold dd has a quantum algorithm in n<sup>2/3+o(1)/d<sup>1/6n<sup>{2/3+o(1)}/d<sup>{1/6} query complexity and time complexity, and requires at least Ω(n<sup>2/3/d<sup>1/6)\Omega(n<sup>{2/3}/d<sup>{1/6}) quantum query complexity. Our result improves upon previous upper bounds O~(minn/d<sup>1/2,</sup>n<sup>2/3)\tilde O(\min {n/d<sup>{1/2},</sup> n<sup>{2/3}}) (Le Gall and Seddighin ITCS 2022, Akmal and Jin SODA 2022), and answers an open question of Akmal and Jin. Our main technical contribution is a quantum speed-up of the powerful String Synchronizing Set technique introduced by Kempa and Kociumaka (STOC 2019). It consistently samples n/τ<sup>1o(1)n/\tau<sup>{1-o(1)} synchronizing positions in the string depending on their length-Θ(τ)\Theta(\tau) contexts, and each synchronizing position can be reported by a quantum algorithm in O~(τ<sup>1/2+o(1))\tilde O(\tau<sup>{1/2+o(1)}) time. As another application of our quantum string synchronizing set, we study the kk-mismatch Matching problem, which asks if the pattern has an occurrence in the text with at most kk Hamming mismatches. Using a structural result of Charalampopoulos, Kociumaka, and Wellnitz (FOCS 2020), we obtain a quantum algorithm for kk-mismatch matching with k<sup>3/4</sup>n<sup>1/2+o(1)k<sup>{3/4}</sup> n<sup>{1/2+o(1)} query complexity and O~(kn<sup>1/2)\tilde O(kn<sup>{1/2}) time complexity.

Authors (2)
Citations (9)

Summary

No one has generated a summary of this paper yet.

Paper to Video (Beta)

No one has generated a video about this paper yet.

Whiteboard

No one has generated a whiteboard explanation for this paper yet.

Open Problems

We haven't generated a list of open problems mentioned in this paper yet.

Continue Learning

We haven't generated follow-up questions for this paper yet.