Challenges
Datasets
Workspaces
Papers
Discussions
Leaderboard
Log inSign up
Challenges
Datasets
Workspaces
Papers
Discussions
Leaderboard
Blog
Job Board
Q3AS

© 2026 Aqora Quantum S.A.S.

TermsPrivacyLegal Notice

Algorithmica

Quantum Pattern Matching Fast on Average

Ashley Montanaro

Published Aug 26, 2015• 84 citations
Publisher
DOI
10.1007/s00453-015-0060-4

Related papers

Quantum Pattern Matching Fast on Average

MontanaroAshley

Algorithmica•Jan 1, 2017•1 citation

Quantum Pattern Search with Closed Match

Ri‐Gui Zhou, Chenyi Shen, Tian-ru Xiao +1 more

International Journal of Theoretical Physics•Jul 6, 2013•8 citations

Pattern Matching Using Sliding Windows on Quantum Computers

Yassine Ferhi, Alexander Geng, Maximilian Kiefer-Emmanouilidis +1 more

Communications in computer and information science•Jan 1, 2026•0 citations

Quantum Pattern Recognition

Carlo A. Trugenberger

arXiv:quant-ph/0210176•Quantum Information Processing•Dec 1, 2002•118 citations

Quantum pattern matching fast on average

Ashley Montanaro

The $d$-dimensional pattern matching problem is to find an occurrence of a pattern of length $m \times \dots \times m$ within a text of length $n \times \dots \times n$, with $n \ge m$. This task models various problems in text and image processing, among other application areas. This work describes a quantum algorithm which solves the pattern matching problem for random patterns and texts in time $\widetilde{O}((n/m)^{d/2} 2^{O(d^{3/2}\sqrt{\log m})})$. For large $m$ this is super-polynomially faster than the best possible classical algorithm, which requires time $\widetildeΩ( (n/m)^d + n^{d/2} )$. The algorithm is based on the use of a quantum subroutine for finding hidden shifts in $d$ dimensions, which is a variant of algorithms proposed by Kuperberg.

arXiv:1408.1816•Aug 8, 2014•1 citation

Quantum Pattern Recognition

Davide Pastorello

Machine learning•Dec 16, 2022•0 citations
The ddd-dimensional pattern matching problem is to find an occurrence of a pattern of length m×⋯×mm \times \dots \times mm×⋯×m within a text of length n×⋯×nn \times \dots \times nn×⋯×n, with n≥mn \ge mn≥m. This task models various problems in text and image processing, among other application areas. This work describes a quantum algorithm which solves the pattern matching problem for random patterns and texts in time O~((n/m)d/22O(d3/2log⁡m))\widetilde{O}((n/m)^{d/2} 2^{O(d^{3/2}\sqrt{\log m})})O((n/m)d/22O(d3/2logm​)). For large mmm this is super-polynomially faster than the best possible classical algorithm, which requires time Ω~((n/m)d+nd/2)\widetildeΩ( (n/m)^d + n^{d/2} )Ω((n/m)d+nd/2). The algorithm is based on the use of a quantum subroutine for finding hidden shifts in ddd dimensions, which is a variant of algorithms proposed by Kuperberg.