String matching in Õ(sqrt(n)+sqrt(m)) quantum time

We show how to determine whether a given pattern p of length m occurs in a given text t of length n in O(√n+√m) time (where O allows for logarithmic factors in m and n/m) with inverse polynomial failure probability. This algorithm combines quantum searching algorithms with a technique from parallel string matching, called Deterministic Sampling.