QUANT-PHCLJun 9, 2021

Grover's Algorithm for Question Answering

arXiv:2106.05299v36 citations
Originality Synthesis-oriented
AI Analysis

This work contributes incrementally to Quantum Natural Language Processing by applying an existing quantum algorithm to a new domain with potential efficiency gains.

The paper adapts Grover's quantum search algorithm to natural language question answering in English, achieving quadratic speedup in finding correct answers by representing words as quantum states and using tensor contractions to handle ambiguous phrases in superposition.

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.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes