QTrans: A Quantum Transformer for Sentiment Classification
A model named QTrans is proposed, which uses parameterized quantum circuits to construct query, key, and value features and derives attention coefficients from Gaussian distances between quantum measurements, and establishes an end-to-end trainable quantum-classical hybrid framework for sentiment classification.