A quantum algorithm for string matching

34Citations
Citations of this article
37Readers
Mendeley users who have this article in their library.

Abstract

Algorithms that search for a pattern within a larger data-set appear ubiquitously in text and image processing. Here, we present an explicit, circuit-level implementation of a quantum pattern-matching algorithm that matches a search string (pattern) of length M inside a longer text of length N. Our algorithm has a time complexity of Õ(N), while the space complexity remains modest at O(N + M). We report the quantum gate counts relevant for both pre-fault-tolerant and fault-tolerant regimes.

Cite

CITATION STYLE

APA

Niroula, P., & Nam, Y. (2021). A quantum algorithm for string matching. Npj Quantum Information, 7(1). https://doi.org/10.1038/s41534-021-00369-3

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free