Article complete

The First Quantum Toolkit And Library For Natural Language Processing

QNLP applications can be developed more quickly if lambeq converts words into quantum circuits.

An abstract illustration featuring a figure with antlers, a blue circle, and a vintage computer in a conceptual design.

Key takeaways

  • Cambridge Quantum has launched the first quantum natural language processing toolkit and library called Lambeq.
  • Lambeq converts phrases into quantum circuits, aiming to accelerate the development of QNLP applications.
  • The toolkit is open-sourced, supporting collaboration within the global quantum computing community.
  • Lambeq integrates seamlessly with CQ's TKET, providing access to a wide range of quantum computers.
  • The initiative builds on prior breakthroughs in quantum natural language processing by Cambridge Quantum researchers.

Takeaways drafted with AI from the article text.

Cambridge Quantum (CQ) announced the release of the world's first quantum natural language processing toolbox and library (QNLP). The goal is to speed up the development of real-world QNLP applications such as automated dialogue, text mining, language translation, text-to-speech, language production, and bioinformatics.

According to Bob Coecke, Chief Scientist at Cambridge Quantum Computing, "This work was founded on breakthroughs made by myself, Steve Clark, currently CQ's Head of artificial intelligence (AI), and others. The use of natural language processing (NLP) is at the heart of these investigations. After publishing details about the world's first QNLP implementation by CQ on actual quantum computers a few months ago, and our initial disclosure of the underlying ideas in December 2019, the release of lambeq is the inevitable next step."

Lambeq’s Features

Lambeq facilitates and automates the design and deployment of compositional-distributional (DisCo) NLP experiments, as described by CQ scientists. This deployment involves moving away from syntax/grammar diagrams, which encode a text's structure, and toward TKET-implemented (classical) tensor networks or quantum circuits, which TKET can optimise for machine learning tasks like text categorisation. Furthermore, Lambeq is designed in a modular manner so that users can swap components in and out of the model and have architectural design flexibility.

Lambeq minimises the entry barrier for practitioners and researchers interested in AI and human-machine interactions, which could be one of quantum technology's most important applications. TKET presently has a user base of hundreds of thousands of people all over the world. Lambeq has the potential to become an essential toolbox for the quantum computing community looking to engage with QNLP applications, which are one of AI's most lucrative sectors. QNLP will apply to the study of symbol sequences that originate in genomes and proteomics, according to a critical point that has lately become clear. Merck Group, a lambeq launch partner and early adopter, has published a research paper on QNLP.

Conclusion

Many useful NLP applications are beyond the reach of conventional computers. There will be a slew of new commercial quantum applications as QNLP and quantum computers improve. Honeywell and Cambridge Quantum will have a major strategic advantage in developing future QNLP applications because of Coecke's knowledge and experience.

Lambeq has been released as a standard Python repository on GitHub. Lambeq's quantum circuits have been tested and deployed on IBM quantum computers and Honeywell Quantum Solutions' H series devices.

Additionally, a technical study was published on arXiv.org, available here.

Published

Spotted an error? Tell our editors. Read our editorial standards and corrections.

Selling to AI teams? Put your brand in front of the 5M+ people who read AIM every month. Plan a campaign