Have a personal or library account? Click to login
Reducing T-Count In Quantum String Matching Algorithm Using Relative-Phase Fredkin Gate Cover

Reducing T-Count In Quantum String Matching Algorithm Using Relative-Phase Fredkin Gate

Open Access
|Aug 2025

Abstract

The string-matching problem, ubiquitous in computer science, can significantly benefit from quantum algorithms due to their potential for greater efficiency compared to classical approaches. The practical implementation of the quantum string matching (QSM) algorithm requires fault-tolerant quantum computation due to the fragility of quantum information. A major obstacle in implementing fault-tolerant quantum computation is the high cost associated with executing T gates. This paper introduces the relative-phase Fredkin gate as a strategy to notably reduce the number of T gates (T-count) necessary for the QSM algorithm. This reduces the T-count from 14N3/2 log2 NO(N3/2) to 8N3/2 log2 NO(N3/2), where N represents the size of the database to be searched. Additionally, we demonstrate that our method is advantageous in terms of other circuit costs, such as the depth of T gates and the number of CNOT gates. This advancement contributes to the ongoing development of the QSM algorithm, paving the way for more efficient solutions in the field of computer science.

DOI: https://doi.org/10.2478/qic-2025-0016 | Journal eISSN: 3106-0544 | Journal ISSN: 1533-7146
Language: English
Page range: 299 - 314
Submitted on: Oct 25, 2024
Accepted on: Jun 2, 2025
Published on: Aug 22, 2025
Published by: Cerebration Science Publishing Co., Limited
In partnership with: Paradigm Publishing Services
Publication frequency: 1 issue per year

© 2025 Byeongyong Park, Hansol Noh, Doyeol Ahn, published by Cerebration Science Publishing Co., Limited
This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 License.