arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2106.05299quant-phcs.CL
收藏

Grover问题分类算法

Grover's Algorithm for Question Answering

Institute for Theoretical Physics, Utrecht University(乌得勒支大学理论物理研究所);Center for Complex Systems Studies, Utrecht University(乌得勒支大学复杂系统研究中心);Utrecht Institute of Linguistics OTS, Utrecht University(乌得勒支大学语言学OTS研究所)

A. D. Correia, M. Moortgat, H. T. C. Stoof

摘要:

Grover的算法是一种众所周知的量子搜索算法,它允许人们在数据库中找到正确的项,并具有二次加速。在本文中,我们适应格罗弗的算法的问题,找到一个正确的答案,以英语的自然语言问题,从而有助于不断增长的领域的量子自然语言处理。使用可以被解释为张量收缩的语法,每个单词被表示为作为量子线路的输入的量子态。我们在这里引入一种量子测量来收缩单词的表示,从而产生更大文本片段的表示。使用这个框架,问题的表示被发现,包含所有可能的答案在平等的量子叠加,并允许建立一个神谕,可以检测到一个正确的答案,是不可知的具体问题。此外,我们表明,我们的建设可以处理某些类型的歧义短语保持在量子叠加的各种不同的意义。

英文摘要:

Grover's algorithm, a well-know quantum search algorithm, allows one to find the correct item in a database, with quadratic speedup. In this paper we adapt Grover's algorithm to the problem of finding a correct answer to a natural language question in English, thus contributing to the growing field of Quantum Natural Language Processing. Using a grammar that can be interpreted as tensor contractions, each word is represented as a quantum state that serves as input to the quantum circuit. We here introduce a quantum measurement to contract the representations of words, resulting in the representation of larger text fragments. Using this framework, a representation for the question is found that contains all the possible answers in equal quantum superposition, and allows for the building of an oracle that can detect a correct answer, being agnostic to the specific question. Furthermore, we show that our construction can deal with certain types of ambiguous phrases by keeping the various different meanings in quantum superposition.

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

↑