What is lambeq?¶
lambeq
[KFY+21] is an open-source, modular, extensible high-level Python library for experimental Quantum Natural Language Processing (QNLP), created by Quantinuum’s QNLP team. At a high level, the library allows the conversion of any text or sentence to a quantum circuit, based on a given compositional model and certain parameterisation and choices of ansätze, while it also facilitates training for both quantum and classical NLP experiments. The notes for the latest release can be found here.
lambeq
is available for Python 3.10 and higher, on Linux, macOS and Windows. To install, type:
pip install lambeq
or refer to Installation for more information. Some other useful starting points are listed below.
For a more complete introduction to
lambeq
and what you can do with it, please see lambeq and compositionality.To read more about lambeq’s pipeline, go to Pipeline.
To start the tutorials, go to Step 1. Sentence input.
To learn more about NLP and QNLP, read our NLP-101 guide.
To study the example notebooks, go to Code examples.
To use the command-line interface, read Command-line interface.
To make your own contributions to
lambeq
, see Contributing to lambeq.
See also: