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.

See also: