Near-Optimal Quantum Algorithms for String Problems

被引:0
|
作者
Akmal, Shyan [1 ]
Jin, Ce [1 ]
机构
[1] MIT, Cambridge, MA 02139 USA
关键词
CONSTRUCTION; SEARCH; REPETITIONS; SUBSTRINGS;
D O I
暂无
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
We study quantum algorithms for several fundamental string problems, including Longest Common Substring, Lexicographically Minimal String Rotation, and Longest Square Substring. These problems have been widely studied in the stringology literature since the 1970s, and are known to be solvable by near-linear time classical algorithms. In this work, we give quantum algorithms for these problems with near-optimal query complexities and time complexities. Specifically, we show that: Longest Common Substring can be solved by a quantum algorithm in (O) over tilde (n(2/3)) time, improving upon the recent (O) over tilde (n(5/6))-time algorithm by Le Gall and Seddighin (2020). Our algorithm uses the MNRS quantum walk framework, together with a careful combination of string synchronizing sets (Kempa and Kociumaka, 2019) and generalized difference covers. Lexicographically Minimal String Rotation can be solved by a quantum algorithm in n(1/2+o(1)) time, improving upon the recent (O) over tilde (n(3/4))-time algorithm by Wang and Ying (2020). We design our algorithm by first giving a new classical divide-and-conquer algorithm in near-linear time based on exclusion rules, and then speeding it up quadratically using nested Grover search and quantum minimum finding. Longest Square Substring can be solved by a quantum algorithm in <(Oover tilde> (root n) time. Our algorithm is an adaptation of the algorithm by Le Gall and Seddighin (2020) for the Longest Palindromic Substring problem, but uses additional techniques to overcome the difficulty that binary search no longer applies. Our techniques naturally extend to other related string problems, such as Longest Repeated Substring, Longest Lyndon Substring, and Minimal Suffix.
引用
收藏
页码:2791 / 2832
页数:42
相关论文
共 50 条
  • [1] Near-Optimal Quantum Algorithms for String Problems
    Akmal, Shyan
    Jin, Ce
    ALGORITHMICA, 2023, 85 (08) : 2260 - 2317
  • [2] Near-Optimal Quantum Algorithms for String Problems
    Shyan Akmal
    Ce Jin
    Algorithmica, 2023, 85 : 2260 - 2317
  • [3] Near-Optimal Algorithms for Maximum Constraint Satisfaction Problems
    Charikar, Moses
    Makarychev, Konstantin
    Makarychev, Yury
    ACM TRANSACTIONS ON ALGORITHMS, 2009, 5 (03)
  • [4] Near-Optimal Algorithms for Maximum Constraint Satisfaction Problems
    Charikar, Moses
    Makarychev, Konstantin
    Makarychev, Yury
    PROCEEDINGS OF THE EIGHTEENTH ANNUAL ACM-SIAM SYMPOSIUM ON DISCRETE ALGORITHMS, 2007, : 62 - 68
  • [5] Near-Optimal Quantum Algorithms for Multivariate Mean Estimation
    Cornelissen, Arjan
    Hamoudi, Yassine
    Jerbi, Sofiene
    PROCEEDINGS OF THE 54TH ANNUAL ACM SIGACT SYMPOSIUM ON THEORY OF COMPUTING (STOC '22), 2022, : 33 - 43
  • [6] Near-Optimal Separators in String Graphs
    Matousek, Jiri
    COMBINATORICS PROBABILITY & COMPUTING, 2014, 23 (01): : 135 - 139
  • [7] NEAR-OPTIMAL ALGORITHMS FOR POINT-LINE FITTING PROBLEMS
    Chen, Jianer
    Huang, Qin
    Kanj, Iyad
    Xia, Ge
    JOURNAL OF COMPUTATIONAL GEOMETRY, 2022, 13 (01) : 226 - 243
  • [8] Near-Optimal Online Algorithms for Prize-Collecting Steiner Problems
    Hajiaghayi, MohammadTaghi
    Liaghat, Vahid
    Panigrahi, Debmalya
    AUTOMATA, LANGUAGES, AND PROGRAMMING (ICALP 2014), PT I, 2014, 8572 : 576 - 587
  • [9] A CLASS OF NEAR-OPTIMAL JPDA ALGORITHMS
    ROECKER, JA
    IEEE TRANSACTIONS ON AEROSPACE AND ELECTRONIC SYSTEMS, 1994, 30 (02) : 504 - 510
  • [10] Near-Optimal Scheduling of Distributed Algorithms
    Ghaffari, Mohsen
    PODC'15: PROCEEDINGS OF THE 2015 ACM SYMPOSIUM ON PRINCIPLES OF DISTRIBUTED COMPUTING, 2015, : 3 - 12