arXiv:2609.12011v1 Announce Type: new Abstract: In small-scale binary sentiment classification scenarios, factors such as negation, contrastive shifts, and cross-word dependencies lead to the non-linear coupling of sentiment cues, making it difficult for conventional lightweight models to fully capture the contextual relationships between tokens. To address this issue, we propose a model named QTrans, which uses parameterized quantum circuits to construct query, key, and value features and derives attention coefficients from Gaussian distances between quantum measurements. By further integrating a quantum feed-forward neural network, residual connections, and layer normalization, the model establishes an end-to-end trainable quantum-classical hybrid framework for sentiment classification. Experimental results on the MR, CR, and MPQA datasets show that QTrans achieves test accuracies of 72.13%, 69.51%, and 63.45%, respectively, representing improvements of 2.88, 3.17, and 3.79 percentage points over the best-performing classical baselines for each dataset. Overall, QTrans expands the application of parameterized quantum circuits in lightweight sentiment analysis and lays an experimental foundation for further research into quantum multi-head self-attention for modeling textual relationships.
QTrans: A Quantum Transformer for Sentiment Classification
Researchers introduced QTrans, a quantum-classical hybrid transformer that uses parameterized quantum circuits to build query, key, and value features and derives attention coefficients from Gaussian distances between quantum measurements, according to an arXiv paper (2609.12011v1). QTrans reached test accuracies of 72.13% on MR, 69.51% on CR, and 63.45% on MPQA, improvements of 2.88, 3.17, and 3.79 percentage points over the best-performing classical baselines on each dataset. The work expands the use of parameterized quantum circuits in lightweight sentiment analysis and provides an experimental basis for quantum multi-head self-attention in modeling textual relationships.
Run your AI side-project on zahid.host
EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.