2021
DOI: 10.48550/arxiv.2110.04236
|View full text |Cite
Preprint
|
Sign up to set email alerts
|

lambeq: An Efficient High-Level Python Library for Quantum NLP

Abstract: We present lambeq, the first high-level Python library for Quantum Natural Language Processing (QNLP). The open-source toolkit offers a detailed hierarchy of modules and classes implementing all stages of a pipeline for converting sentences to string diagrams, tensor networks, and quantum circuits ready to be used on a quantum computer. lambeq supports syntactic parsing, rewriting and simplification of string diagrams, ansatz creation and manipulation, as well as a number of compositional models for preparing … Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
1
1
1
1

Citation Types

0
33
0

Year Published

2021
2021
2024
2024

Publication Types

Select...
3
3
1
1

Relationship

1
7

Authors

Journals

citations
Cited by 20 publications
(33 citation statements)
references
References 25 publications
0
33
0
Order By: Relevance
“…For example, we could have the meanings of a circuit as a given, and from these deduce the meanings of the words in it. This is in fact what we did in our QNLP-work [90,28,87,76], obtaining the word-meanings from a corpus of sentences we knew to be truthful. The reason for doing so in that particular case is that currently there is no better way available to load classical data on a quantum computer.…”
Section: Top-down Flow and Ambiguitymentioning
confidence: 69%
See 2 more Smart Citations
“…For example, we could have the meanings of a circuit as a given, and from these deduce the meanings of the words in it. This is in fact what we did in our QNLP-work [90,28,87,76], obtaining the word-meanings from a corpus of sentences we knew to be truthful. The reason for doing so in that particular case is that currently there is no better way available to load classical data on a quantum computer.…”
Section: Top-down Flow and Ambiguitymentioning
confidence: 69%
“…This is an important feature about of shared compositional structure: it enables one to map seemingly entirely different areas onto each other, and enables an exchange of concepts and tools. In fact, in this particular case it gets even better, as this connection effectively enabled us to process natural language on a quantum computer [117,89,90,28,87,76]. For doing so, a language diagram, now interpreted as a quantum process, still needs to be compiled so that it fits on quantum hardware.…”
Section: Examples and Non-examples 51 Natural Language Processingmentioning
confidence: 99%
See 1 more Smart Citation
“…When considering the software tools available today for designing quantum algorithms, there are many different options but the two classes of tool kits discussed here are generalpurpose established libraries like IBM's qiskit 1 and the niche software stack designed specifically for QNLP, namely lambeq [22]. lambeq is a Python library (released in October 2021) built for QLNP experiments and is the first of its kind.…”
Section: Methodsmentioning
confidence: 99%
“…In the circuit model, individual gates, typically defined in terms of their matrices, are presented as arbitrary building blocks that the user is expected to compose into meaningful (and -please -fast) algorithms. Unfortunately, most of us have come to the realisation that this is a highly challenging task, for all but a few applications that themselves present clear "quantum-like" structure [13][14][15][16].…”
Section: M Ementioning
confidence: 99%