Longest Common Substring and Longest Palindromic Substring in $\tilde{\mathcal{O}}(\sqrt{n})$ Time
Domenico Cantone, Simone Faro, Arianna Pavone, Caterina Viola

TL;DR
This paper introduces the first practical quantum algorithms for Longest Common Substring and Longest Palindromic Substring problems, achieving sublinear time in the circuit model and providing implementable quantum circuits.
Contribution
It presents novel quantum algorithms for LCS and LPS in the circuit model, improving upon previous query-based methods and enabling practical quantum implementations.
Findings
Quantum algorithms operate in ((n)) time.
Algorithms are simpler and more practical than previous models.
Implemented quantum circuits run in ((n)) ((n)) time.
Abstract
The Longest Common Substring (LCS) and Longest Palindromic Substring (LPS) are classical problems in computer science, representing fundamental challenges in string processing. Both problems can be solved in linear time using a classical model of computation, by means of very similar algorithms, both relying on the use of suffix trees. Very recently, two sublinear algorithms for LCS and LPS in the quantum query model have been presented by Le Gall and Seddighin~\cite{GallS23}, requiring and queries, respectively. However, while the query model is fascinating from a theoretical standpoint, its practical applicability becomes limited when it comes to crafting algorithms meant for actual execution on real hardware. In this paper we present, for the first time, a quantum algorithm for both LCS and…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAlgorithms and Data Compression · DNA and Biological Computing · Advanced Data Storage Technologies
