Abstract
We propose a couple of oracle construction methods for quantum pattern matching. One of the constructs is based upon the conventional string comparison method. This, along with a unique input state preparation, when combined with the Grover’s search algorithm, results in a deterministic exact and partial pattern matching logic. The other method generates a superposition of Hamming distances between the searched pattern and all the substrings formed from the input string. The measurement statistics from a large ensemble would provide data on the closest match. We show that this method can leverage parallel computing for enhanced performance. Alternatively, it can also be combined with the minimum finding algorithm for a deterministic outcome.
Similar content being viewed by others
References
H Ramesh and V Vinay, J. Discrete Algorithms 1, 103 (2003)
L Grover, A fast quantum mechanical algorithm for database search, Proceedings of 28th ACM Symposium on Theory of Computing, 1996, pp. 212–219
P Mateus and Y Omar, arXiv:quant-ph/0508237 (2005)
S Kapil and R Akhtar, https://doi.org/10.1016/j.procs.2020.03.230.
M Boyer, G Brassard, P Høyer and A Tapp, arXiv:quant-ph/9605034
G Brassard, P Høyer and A Tapp, arXiv:quant-ph/9805082
C R Wie, arXiv:1907.08119
C Dürr and P Høyer, arXiv:quant-ph/9607014
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
About this article
Cite this article
Menon, V., Chattopadhyay, A. Quantum pattern matching oracle construction. Pramana - J Phys 95, 22 (2021). https://doi.org/10.1007/s12043-020-02062-0
Received:
Revised:
Accepted:
Published:
DOI: https://doi.org/10.1007/s12043-020-02062-0