Quantum computations for disambiguation and question answering

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

Research output: Contribution to journalArticleAcademicpeer-review

Abstract

Automatic text processing is now a mature discipline in computer science, and so attempts at advancements using quantum computation have emerged as the new frontier, often under the term of quantum natural language processing. The main challenges consist in finding the most adequate ways of encoding words and their interactions on a quantum computer, considering hardware constraints, as well as building algorithms that take advantage of quantum architectures, so as to show improvement on the performance of natural language tasks. In this paper, we introduce a new framework that starts from a grammar that can be interpreted by means of tensor contraction, to build word representations as quantum states that serve as input to a quantum algorithm. We start by introducing an operator measurement to contract the representations of words, resulting in the representation of larger fragments of text. We then go on to develop pipelines for the tasks of sentence meaning disambiguation and question answering that take advantage of quantum features. For the first task, we show that our contraction scheme deals with syntactically ambiguous phrases storing the various different meanings in quantum superposition, a solution not available on a classical setting. For the second task, we obtain a question representation that contains all possible answers in equal quantum superposition, and we implement Grover's quantum search algorithm to find the correct answer, agnostic to the specific question, an implementation with the potential of delivering a result with quadratic speedup.
Original languageEnglish
Article number126
Number of pages25
JournalQuantum Information Processing
Volume21
Issue number4
DOIs
Publication statusPublished - 30 Mar 2022

Keywords

  • Grover's algorithm
  • Quantum natural language processing
  • Quantum search
  • Question answering
  • Syntactic ambiguities

Fingerprint

Dive into the research topics of 'Quantum computations for disambiguation and question answering'. Together they form a unique fingerprint.

Cite this