Quantum Natural Language Processing

Dominic Widdows, Willie Aboumrad, Dohun Kim, Sayonee Ray, Jonathan Mei
3/28/2024
quant-phcs.AIcs.CL

No official code found. Best implementation: Quantinuum/lambeq (536 stars, Apache-2.0, last commit 2025-12-20). 4 more below.

Abstract

Language processing is at the heart of current developments in artificial intelligence, and quantum computers are becoming available at the same time. This has led to great interest in quantum natural language processing, and several early proposals and experiments. This paper surveys the state of this area, showing how NLP-related techniques have been used in quantum language processing. We examine the art of word embeddings and sequential models, proposing some avenues for future investigation and discussing the tradeoffs present in these directions. We also highlight some recent methods to compute attention in transformer models, and perform grammatical parsing. We also introduce a new quantum design for the basic task of text encoding (representing a string of characters in memory), which has not been addressed in detail before. Quantum theory has contributed toward quantifying uncertainty and explaining "What is intelligence?" In this context, we argue that "hallucinations" in modern artificial intelligence systems are a misunderstanding of the way facts are conceptualized: language can express many plausible hypotheses, of which only a few become actual.

View on arXivView PDF

Code Implementations(5)

Sentiment analysis from tweets using QNLP (Quantum Natural Language Processing)

121PythonNov 13, 20214 years ago
nlpquantumquantum-algorithmsquantum-computingsentiment-analysis+1 more
Quantinuum/lambeqCommunity65%
Apache-2.0

A high-level Python library for Quantum Natural Language Processing

536130PythonOct 10, 202110 months agoApache-2.0
pythonqnlp
ICHEC/QNLPCommunity61%
Apache-2.0

ICHEC Quantum natural language processing (QNLP) toolkit

4314C++, CMakeMar 11, 20206 years agoApache-2.0
hpcnlpquantumquantum-computingquantum-machine-learning
NEASQC/WP6_QNLPCommunity60%
EUPL-1.2

The repository of the quantum natural language processing WP6 within NEASQC. Development and releases are stored in this repository.

129CSS, HTMLSep 3, 20211 years agoEUPL-1.2
Apache-2.0

Quantum Natural Language Processing (QNLP)'s project repository for Qiskit Hackathon Europe.

162Jupyter NotebookMay 14, 20212 years agoApache-2.0

Similar Papers

Cite this paper

@article{widdows2024quantum,
  title  = {Quantum Natural Language Processing},
  author = {Dominic Widdows and Willie Aboumrad and Dohun Kim and Sayonee Ray and Jonathan Mei},
  year   = {2024},
  eprint = {2403.19758},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2403.19758v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2403.19758.svg)](https://codeofpaper.com/paper/2403.19758)

Discussion