Quantum Algorithm for the Multiple String Matching Problem
Kamil Khadiev, Danil Serov

TL;DR
This paper introduces a quantum algorithm for the multiple string matching problem that significantly improves upon classical methods, especially for long dictionary words, achieving near-optimal quantum complexity.
Contribution
It presents a quantum algorithm that matches the quantum lower bound for multiple string matching, extending the classical Aho-Corasick approach into the quantum domain.
Findings
Quantum algorithm has $O(n+\sqrt{mL ext{log} n}+m ext{log} n)$ query complexity.
Time complexity is $O^*(n+\sqrt{mL})$, matching the quantum lower bound.
Significant improvement for dictionaries with long words.
Abstract
Let us consider the Multiple String Matching Problem. In this problem, we consider a long string, denoted by , of length . This string is referred to as a text. We also consider a sequence of strings, denoted by , which we refer to as a dictionary. The total length of all strings from the dictionary is represented by the variable L. The objective is to identify all instances of strings from the dictionary within the text. The standard classical solution to this problem is Aho-Corasick Algorithm that has query and time complexity. At the same time, the classical lower bound for the problem is the same . We propose a quantum algorithm with query complexity and time complexity, where is the maximal length of strings from the dictionary. This improvement is…
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
