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 条
  • [21] Near-optimal Routing of Noisy Quantum States
    Sadlier, Ronald
    Humble, Travis S.
    QUANTUM COMMUNICATIONS AND QUANTUM IMAGING XVII, 2019, 11134
  • [22] Efficient and Near-Optimal Algorithms for Sampling Connected Subgraphs
    Bressan, Marco
    STOC '21: PROCEEDINGS OF THE 53RD ANNUAL ACM SIGACT SYMPOSIUM ON THEORY OF COMPUTING, 2021, : 1132 - 1143
  • [23] Near-Optimal Sublinear Time Algorithms for Ulam Distance
    Andoni, Alexandr
    Nguyen, Huy L.
    PROCEEDINGS OF THE TWENTY-FIRST ANNUAL ACM-SIAM SYMPOSIUM ON DISCRETE ALGORITHMS, 2010, 135 : 76 - +
  • [24] Fast and Near-Optimal Algorithms for Approximating Distributions by Histograms
    Acharya, Jayadev
    Diakonikolas, Ilias
    Hegde, Chinmay
    Li, Jerry
    Schmidt, Ludwig
    PODS'15: PROCEEDINGS OF THE 33RD ACM SYMPOSIUM ON PRINCIPLES OF DATABASE SYSTEMS, 2015, : 249 - 263
  • [25] Generating optimal and near-optimal solutions to facility location problems
    Church, Richard L.
    Baez, Carlos A.
    ENVIRONMENT AND PLANNING B-URBAN ANALYTICS AND CITY SCIENCE, 2020, 47 (06) : 1014 - 1030
  • [26] Optimal and near-optimal test sequencing algorithms with realistic test models
    Raghavan, V
    Shakeri, M
    Pattipati, K
    IEEE TRANSACTIONS ON SYSTEMS MAN AND CYBERNETICS PART A-SYSTEMS AND HUMANS, 1999, 29 (01): : 11 - 26
  • [27] Reversing quantum dynamics with near-optimal quantum and classical fidelity
    Barnum, H
    Knill, E
    JOURNAL OF MATHEMATICAL PHYSICS, 2002, 43 (05) : 2097 - 2106
  • [28] OPTIMAL AND NEAR-OPTIMAL SCHEDULING ALGORITHMS FOR BATCHED PROCESSING IN LINEAR STORAGE
    BITNER, JR
    WONG, CK
    SIAM JOURNAL ON COMPUTING, 1979, 8 (04) : 479 - 498
  • [29] Optimal and near-optimal algorithms for generalized intersection reporting on pointer machines
    Shi, QM
    JaJa, J
    INFORMATION PROCESSING LETTERS, 2005, 95 (03) : 382 - 388
  • [30] Optimal and near-optimal algorithms for multiple fault diagnosis with unreliable tests
    Shakeri, M
    Pattipati, KR
    Raghavan, V
    Patterson-Hine, A
    IEEE TRANSACTIONS ON SYSTEMS MAN AND CYBERNETICS PART C-APPLICATIONS AND REVIEWS, 1998, 28 (03): : 431 - 440