arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2106.16173cs.ETcs.DSphysics.bio-phquant-ph
收藏

量子计算机上基于Hamming距离的弦比较

String Comparison on a Quantum Computer Using Hamming Distance

Mushahid Khan, Andriy Miranskyy

摘要:

汉明距离在计算中无处不在。当需要将一个字符串与许多字符串进行比较时,它的计算变得昂贵。量子计算机(QCs)可以加速比较。在本文中,我们扩展了现有的算法计算汉明距离。扩展可以比较字符串和从任意长的字母表中提取的符号(原始算法不能)。我们使用QisKit框架实现我们的扩展算法,由程序员在不知道QC的情况下执行(代码是公开的)。然后,我们提供了四个教学实例:两个来自生物信息学领域和两个来自软件工程领域。最后,我们讨论了资源需求和QC的时间范围,使字符串比较变得实用。

英文摘要:

The Hamming distance is ubiquitous in computing. Its computation gets expensive when one needs to compare a string against many strings. Quantum computers (QCs) may speed up the comparison. In this paper, we extend an existing algorithm for computing the Hamming distance. The extension can compare strings with symbols drawn from an arbitrary-long alphabet (which the original algorithm could not). We implement our extended algorithm using the QisKit framework to be executed by a programmer without the knowledge of a QC (the code is publicly available). We then provide four pedagogical examples: two from the field of bioinformatics and two from the field of software engineering. We finish by discussing resource requirements and the time horizon of the QCs becoming practical for string comparison.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑