arXiv Machine Learning By Ren-Xin Zhao, Xinjie Huang, Yahong Liu, Maoyu Ye, Jinjing Shi, Shi Wang, Yaonan Wang

QTrans: A Quantum Transformer for Sentiment Classification

Read the original on arXiv Machine Learning →

QTrans is a quantum transformer designed for small‑scale binary sentiment classification. It constructs query, key, and value features using parameterized quantum circuits and derives attention coefficients from Gaussian distances between quantum measurements. The model incorporates a quantum feed‑forward network, residual connections, and layer normalization, achieving higher accuracies on MR, CR, and MPQA datasets compared to classical baselines.

Machine-generated by The Flow from the publisher's headline and feed description — not written or checked by a human. The full article lives at arXiv Machine Learning.

arXiv AI
Sep 25

Hybrid Variational Quantum-Classical Framework with Adaptive Weighting and Efficiency Assessment

Hybrid Variational Quantum-Classical Framework with Adaptive Weighting and Efficiency Assessment introduces Sim‑HVQC, a hybrid deep quantum neural network that integrates an adaptive, parameter‑free SimAM weighting module with classical feature extraction to retain class‑discriminative information before encoding into a Variational Quantum Circuit. Unlike prior work limited to binary classification, this framework is trained and evaluated on multiple multi‑class datasets such as MNIST, KMNIST, Fashion‑MNIST, and EMNIST. The study highlights reproducibility, parameter efficiency, and interpretability through multi‑seed evaluation, parameter analysis, and latent/quantum feature inspection, with source code publicly available on GitHub.

By Dilli Hang Rai
arXiv Machine Learning
Sep 17

Variational Quantum Transformer Architecture for Synthetic Language Generation

The paper introduces a compact, NISQ‑compatible quantum transformer for synthetic QNLP sequence modelling. It replaces classical attention and feed‑forward layers with variational quantum encoder blocks, connector circuits, decoder blocks, and a two‑qubit measurement readout, while preserving the autoregressive next‑token interface. The authors evaluate several variants on deterministic and lexicographic grammar‑generation tasks, finding that the quantum models can learn nontrivial grammar structure but are less accurate and stable than a compact classical transformer baseline.

By Julian Hager, Michael K\"olle, Gerhard Stenzel, Tobias Rohe, Jonas Stein, Claudia Linnhoff-Popien