Lune

SODA2022顶会

Near-Optimal Quantum Algorithms for String Problems

Shyan Akmal, Ce Jin

摘要

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 Õ(n 2/3 ) time, improving upon the recent Õ(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 Õ(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 Õ( √ 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.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 5 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Quantum Speed-ups for String Synchronizing Sets, Longest Common Substring, and k-mismatch Matching 引用了 Dynamic suffix array with polylogarithmic queries and updates
  • Quantum Speed-ups for String Synchronizing Sets, Longest Common Substring, and k-mismatch Matching 引用了 Breaking the 𝒪(n)-Barrier in the Construction of Compressed Suffix Arrays and Suffix Trees
  • On the Communication Complexity of Approximate Pattern Matching 引用了 Quantum Speed-ups for String Synchronizing Sets, Longest Common Substring, and k-mismatch Matching
  • Collapsing the Hierarchy of Compressed Data Structures: Suffix Arrays in Optimal Compressed Space 引用了 Quantum Speed-ups for String Synchronizing Sets, Longest Common Substring, and k-mismatch Matching
  • Collapsing the Hierarchy of Compressed Data Structures: Suffix Arrays in Optimal Compressed Space 引用了 Dynamic suffix array with polylogarithmic queries and updates
  • Collapsing the Hierarchy of Compressed Data Structures: Suffix Arrays in Optimal Compressed Space 引用了 Breaking the 𝒪(n)-Barrier in the Construction of Compressed Suffix Arrays and Suffix Trees
  • Dynamic suffix array with polylogarithmic queries and updates 引用了 Locally Consistent Parsing for Text Indexing in Small Space
  • Near-Optimal Quantum Algorithms for Bounded Edit Distance and Lempel-Ziv Factorization 引用了 Quantum Speed-ups for String Synchronizing Sets, Longest Common Substring, and k-mismatch Matching
  • Breaking the 𝒪(n)-Barrier in the Construction of Compressed Suffix Arrays and Suffix Trees 引用了 Dynamic suffix array with polylogarithmic queries and updates
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper5

  1. Collapsing the Hierarchy of Compressed Data Structures: Suffix Arrays in Optimal Compressed SpaceDominik Kempa, Tomasz KociumakaFOCS 2023 · 20 次引用
  2. Quantum Speed-ups for String Synchronizing Sets, Longest Common Substring, and k-mismatch MatchingCe Jin, Jakob NoglerSODA 2023 · 10 次引用
  3. Near-Optimal Quantum Algorithms for Bounded Edit Distance and Lempel-Ziv FactorizationDaniel Gibney, Ce Jin, Tomasz Kociumaka, Sharma V. ThankachanSODA 2024 · 7 次引用
  4. On the Communication Complexity of Approximate Pattern MatchingTomasz Kociumaka, Jakob Nogler, Philip WellnitzSTOC 2024 · 2 次引用
  5. Dynamic suffix array with polylogarithmic queries and updatesDominik Kempa, Tomasz KociumakaSTOC 2022

它引用的 Paper2

  1. Locally Consistent Parsing for Text Indexing in Small SpaceOr Birenzwige, Shay Golan, Ely PoratSODA 2020 · 16 次引用
  2. Breaking the 𝒪(n)-Barrier in the Construction of Compressed Suffix Arrays and Suffix TreesDominik Kempa, Tomasz KociumakaSODA 2023 · 10 次引用

相关 Paper

  1. Near-Optimal-Time Quantum Algorithms for Approximate Pattern MatchingTomasz Kociumaka, Jakob Nogler, Philip WellnitzSODA 2025 · 1 次引用
  2. Near-Optimal Quantum Algorithm for Minimizing the Maximal LossHao Wang, Chenyi Zhang, Tongyang LiICLR 2024 · 1 次引用
  3. Improved Algorithms for Edit Distance and LCS: Beyond Worst CaseMahdi Boroujeni, Masoud Seddighin, Saeed SeddighinSODA 2020 · 8 次引用
  4. Approximating Binary Longest Common Subsequence in Almost-Linear TimeXiaoyu He, Ray LiSTOC 2023
  5. Lempel-Ziv (LZ77) Factorization in Sublinear TimeDominik Kempa, Tomasz KociumakaFOCS 2024 · 2 次引用
黄昏的海面,两侧是细线勾勒的悬崖