Efficient Generation of Parameterised Quantum Circuits from Large Texts

Colin Krawchuk, Nikhil Khatri, Neil John Ortega, Dimitri Kartsaklis
5/19/2025
quant-phcs.AIcs.CL

No confident code implementation found for this paper.

Abstract

Quantum approaches to natural language processing (NLP) are redefining how linguistic information is represented and processed. While traditional hybrid quantum-classical models rely heavily on classical neural networks, recent advancements propose a novel framework, DisCoCirc, capable of directly encoding entire documents as parameterised quantum circuits (PQCs), besides enjoying some additional interpretability and compositionality benefits. Following these ideas, this paper introduces an efficient methodology for converting large-scale texts into quantum circuits using tree-like representations of pregroup diagrams. Exploiting the compositional parallels between language and quantum mechanics, grounded in symmetric monoidal categories, our approach enables faithful and efficient encoding of syntactic and discourse relationships in long and complex texts (up to 6410 words in our experiments) to quantum circuits. The developed system is provided to the community as part of the augmented open-source quantum NLP package lambeq Gen II.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{krawchuk2025efficient,
  title  = {Efficient Generation of Parameterised Quantum Circuits from Large Texts},
  author = {Colin Krawchuk and Nikhil Khatri and Neil John Ortega and Dimitri Kartsaklis},
  year   = {2025},
  eprint = {2505.13208},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2505.13208v1}
}

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/2505.13208.svg)](https://codeofpaper.com/paper/2505.13208)

Discussion