Quantum Algorithm with Quadratic Speedup for 2D Pattern Matching
Rishabh Gala, Rahul Shah
Key points
From the paper's conclusion- We consider the problem of 2 dimensional pattern matching under Quantum Query model.
Abstract
We consider the problem of 2 dimensional pattern matching under Quantum Query model. Here, we are given a rectangular text $T[0..n_1-1][0..n_2-1]$ and a pattern $P[0..m_1 -1][0..m_2-1]$. We take $N = n_1n_2$ and $M = m_1m_2$ as the sizes of text and the pattern respectively (we assume $M < N$). Based upon the Quantum Advantage given by Grover's search (and subsequent D\"urr-H{\o}yer search), we create a solution which takes $\tilde{O}(\sqrt{N})$ query complexity to answer if the pattern $P$ exists in $T$. Our solution uses deterministic sampling as a primary component. As noted by earlier work in the literature, deterministic sampling is inadequate and witness tables are essential components for 2D matching. In our settings, we assume that the witness table of the pattern is precomputed classically and is available as an oracle to the quantum algorithm. Our main novel component is how to compute and employ a geometric structure called ``skyline" without losing the quantum advantage.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- The Grover Dilemma and Three Fundamental Barriers to Oracle-Based Quantum Search AlgorithmsJournal of Quantum Information Science · 2026
- Asymptotic bounds on quantum partial search algorithm and its applications to parallel searchPhysical Review A · 2026
- Resource-Aware Grover Search for Minimum Vertex CoverarXiv · 2026
- On Multi-Constrained Path Finding utilizing Grover Search and Decoded Quantum InterferometryarXiv · 2026
- Tight Quantum Query Bounds for Collision Finding over Arbitrary Bounded TypesarXiv · 2026
- Electrostatic Limits on Quantum Spatial SearcharXiv · 2026