期刊
MATHEMATICS
卷 10, 期 3, 页码 -出版社
MDPI
DOI: 10.3390/math10030377
关键词
quantum computation; quantum algorithms; string processing; sorting
类别
资金
- Kazan Federal University Strategic Academic Leadership Program (PRIORITY-2030)
- ERDF [1.1.1.5/18/A/020]
This study investigates algorithms for solving string problems, including string sorting, most frequent string search, and intersection searching of string sequences. Quantum algorithms are found to outperform classical algorithms in terms of complexity for each of these problems.
We study algorithms for solving three problems on strings. These are sorting of n strings of length k, the Most Frequent String Search Problem , and searching intersection of two sequences of strings . We construct quantum algorithms that are faster than classical (randomized or deterministic) counterparts for each of these problems. The quantum algorithms are based on the quantum procedure for comparing two strings of length k in O(k) queries. The first problem is sorting n strings of length k. We show that classical complexity of the problem is & UTheta;(nk) for constant size alphabet, but our quantum algorithm has O & SIM;(nk) complexity. The second one is searching the most frequent string among n strings of length k. We show that the classical complexity of the problem is & UTheta;(nk), but our quantum algorithm has O & SIM;(nk) complexity. The third problem is searching for an intersection of two sequences of strings. All strings have the same length k. The size of the first set is n, and the size of the second set is m. We show that the classical complexity of the problem is & UTheta;((n+m)k), but our quantum algorithm has O & SIM;((n+m)k) complexity.
作者
我是这篇论文的作者
点击您的名字以认领此论文并将其添加到您的个人资料中。
推荐
暂无数据