Sentiment Analysis of Financial Text Using Quantum Language Processing QDisCoCirc
By: Takayuki Sakuma
Potential Business Impact:
Helps computers understand money news better.
We apply quantum distributional compositional circuit (QDisCoCirc) to 3-class sentiment analysis of financial text. In our classical simulations, we keep the Hilbert-space dimension manageable by decomposing each sentence into short contiguous chunks. Each chunk is mapped to a shallow quantum circuit, and the resulting Bloch vectors are used as a sequence of quantum tokens. Simple averaging of chunk vectors ignores word order and syntactic roles. We therefore add a small Transformer encoder over the raw Bloch-vector sequence and attach a CCG-based type embedding to each chunk. This hybrid design preserves physically interpretable semantic axes of quantum tokens while allowing the classical side to model word order and long-range dependencies. The sequence model improves test macro-F1 over the averaging baseline and chunk-level attribution further shows that evidential mass concentrates on a small number of chunks, that type embeddings are used more reliably for correctly predicted sentences. For real-world quantum language processing applications in finance, future key challenges include circuit designs that avoid chunking and the design of inter-chunk fusion layers.
Similar Papers
Quantum Large Language Model Fine-Tuning
Quantum Physics
Makes computers understand words better using quantum power.
Quantum Graph Transformer for NLP Sentiment Classification
Computation and Language
Helps computers understand words better with less data.
QuCoWE Quantum Contrastive Word Embeddings with Variational Circuits for NearTerm Quantum Devices
Quantum Physics
Teaches computers to understand words using quantum power.