Saved in:
Bibliographic Details
Main Authors: Krawchuk, Colin, Khatri, Nikhil, Ortega, Neil John, Kartsaklis, Dimitri
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2505.13208
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866913846871982080
author Krawchuk, Colin
Khatri, Nikhil
Ortega, Neil John
Kartsaklis, Dimitri
author_facet Krawchuk, Colin
Khatri, Nikhil
Ortega, Neil John
Kartsaklis, Dimitri
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2505_13208
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Efficient Generation of Parameterised Quantum Circuits from Large Texts
Krawchuk, Colin
Khatri, Nikhil
Ortega, Neil John
Kartsaklis, Dimitri
Quantum Physics
Artificial Intelligence
Computation and Language
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.
title Efficient Generation of Parameterised Quantum Circuits from Large Texts
topic Quantum Physics
Artificial Intelligence
Computation and Language
url https://arxiv.org/abs/2505.13208