Challenges
Datasets
Workspaces
Papers
Discussions
Leaderboard
Log inSign up
Challenges
Datasets
Workspaces
Papers
Discussions
Leaderboard
Blog
Job Board
Q3AS

© 2026 Aqora Quantum S.A.S.

TermsPrivacyLegal Notice

Neural Quantum Embedding Enhanced Hybrid Quantum-Classical Sentiment Analysis Classification

Islam Djemmal, Hacene Belhadef, A. M. Mutawa

Published Dec 10, 2025• 0 citations
Publisher

Abstract

Abstract Hybrid quantum–classical models for text classification are constrained by the mismatch between high-dimensional sentence embeddings and the limited number of qubits available in Noisy Intermediate-Scale Quantum (NISQ) hardware. Existing approaches rely on fixed dimensionality-reduction techniques such as PCA, which compress embeddings independently of the learning task and often remove semantic information essential for downstream classification. This work addresses this limitation by applying Neural Quantum Embedding (NQE) to sentence-level sentiment analysis. NQE jointly performs nonlinear neural compression and quantum-oriented encoding, producing compact embeddings optimized for variational circuits.We integrate NQE with a Quantum Neural Network based on a three-layer SU(4) ansatz. Experiments on three sentence-level sentiment datasets show that NQE substantially improves hybrid quantum performance, increasing accuracy by up to 38%, with corresponding improvements in precision, recall, and F1-score. Additional experiments with a classical neural network demonstrate that NQE also enhances classical performance, yielding accuracy gains of up to 6.3%. Although classical models achieve higher absolute accuracy due to greater representational capacity, the relative improvement introduced by NQE is significantly larger in the quantum setting, where embedding structure must align with strict hardware constraints.Overall, this study introduces a task-adaptive, learnable embedding mechanism that bridges the representational gap between classical embeddings and quantum circuits. The results show that NQE improves optimization stability, enhances quantum-state separability, and enables more effective hybrid sentiment classification within NISQ limitations

DOI
10.21203/rs.3.rs-8197450/v1

Related papers

HCQNSC: a hybrid classical-quantum neural network for text sentiment classification

Tingyu Liu, Ying Li, Jing-Tao Wang +1 more

Combining variational quantum circuits with classical neural network models is a potential direction for quantum natural language processing (QNLP) in the NISQ (Noisy Intermediate-Scale Quantum) era. We propose a hybrid classical-quantum neural network that enhances a transformer architecture in two key ways: first, by incorporating optimized variational quantum circuits into the self-attention and multilayer perceptron components, and second, by integrating a hybrid convolutional module for effective dimensionality reduction which can reduce the quantum resources required for subsequent layers and enhances the model’s trainability by mitigating issues like the barren plateau phenomenon, thus making it feasible to construct a deeper and more powerful network architecture. Our experiments on three widely-used sentiment analysis datasets demonstrate that the proposed model achieves comparable or even superior performance in terms of accuracy and F1 score compared to classical transformer-based sentiment classification models with similar structures, while reducing the number of parameters through the utilization of quantum advantages.

EPJ Quantum Technology•Apr 21, 2026•0 citations

Hybrid Quantum-Classical NLP Classification with Compact Semantic Representations: An Experimental Analysis of Representation Compression

Ali Hassan, Zijia Zhao, Maha A. Metawei

Large language and sentence-embedding models provide rich semantic representations, but their high dimensionality poses a challenge for near-term quantum machine learning (QML), where quantum circuits can process only a limited number of input features. We investigate a hybrid quantum-classical pipeline that transforms high-dimensional sentence embeddings into compact representations for variational quantum classification. The workflow combines a pretrained sentence-embedding model, dimensionality reduction, angle encoding, a variational quantum circuit (VQC), and a classical decision layer. We systematically compare principal component analysis (PCA), neighborhood components analysis (NCA), and linear discriminant analysis (LDA), covering both unsupervised and supervised dimensionality reduction. Using the TREC question-classification dataset, we study the relationship between representation dimensionality, information retention, qubit count, and classification performance. Preliminary PCA experiments reveal a strong information bottleneck: reducing 768-dimensional embeddings to 3, 4, 5, and 8 dimensions retains about 8.2%, 10.2%, 11.9%, and 16.4% of the variance, with corresponding classification accuracies of 50.3%, 51.2%, 57.9%, and 63.4%. In contrast, supervised reduction is substantially more efficient. LDA reaches 85.3% accuracy and NCA reaches 83.1% using only 5 dimensions, under a leakage-free cross-validation protocol, compared with 85.1% for a full 384-dimensional classical baseline. These results indicate that supervised dimensionality reduction can preserve task-relevant information far more effectively than variance-based compression, making compact representations a promising route toward practical hybrid quantum-classical NLP models.

arXiv:2609.10089•Sep 9, 2026•0 citations

A Hybrid Quantum-Classical Architecture for Sentence Classification

G. Ruth Angel Jasmine, Hazarath Murali Krishna Prasad, Munaga H.M

Sentence classification is a core task in Natural Language Processing, and sentiment analysis in particular remains difficult because of contextual ambiguity, semantic complexity, and the overlap between closely related sentiment classes. This paper presents a hybrid quantum-classical architecture for sentence classification that combines classical deep learning with quantum feature extraction. The classical branch employs a Feedforward Neural Network (FNN) and a Long Short-Term Memory (LSTM) network to learn complementary semantic and contextual representations, while the quantum branch reduces TF-IDF features through Truncated Singular Value Decomposition (SVD) and encodes them into a parameterized quantum circuit built with Qiskit. The classical and quantum representations are combined through feature-level fusion and classified using a MultiLayer Perceptron (MLP). The framework is evaluated on the SST-2 dataset for binary sentiment classification and on a merged SST-2 + SST-5 dataset for multi-class classification. The proposed hybrid model achieves an accuracy of 90.5%, precision of 89.9%, recall of 90.1%, and F1-score of 90.1% on SST-2, with a ROC-AUC close to 0.97, exceeding the individual FNN and LSTM baselines. On the merged multi-class dataset, the hybrid model attains 66.65% accuracy against 65.15% for FNN and 62.65% for LSTM. These results indicate that feature-level integration of classical and quantum representations can improve sentence classification performance within currently available quantum simulation environments.

•Jan 1, 2026•0 citations

Neural quantum embedding: Pushing the limits of quantum supervised learning

Tak Hur, Israel F. Araujo, Daniel K. Park

Quantum embedding is a fundamental prerequisite for applying quantum machine learning techniques to classical data and has substantial impacts on performance outcomes. In this study, we present neural quantum embedding (NQE), a method that efficiently optimizes quantum embedding beyond the limitations of positive and trace-preserving maps by leveraging classical deep-learning techniques. NQE enhances the lower bound of the empirical risk, leading to substantial improvements in classification performance. Moreover, NQE improves robustness against noise. To validate the effectiveness of NQE, we conduct experiments on IBM quantum devices for image data classification, resulting in a remarkable accuracy enhancement from 0.52 to 0.96. In addition, numerical analyses highlight that NQE simultaneously improves the trainability and generalization performance of quantum neural networks, as well as of the quantum kernel method.

arXiv:2311.11412•Physical Review A•Aug 8, 2024•17 citations

A Primer on Quantum Neural Network Model for Text Classification: From Concept to Design

Annysha Huzzat, Ahmed Shaharyar Khwaja, Bhagawat Adhikari +3 more

Quantum neural networks (QNNs) have recently attracted remarkable attention as a potential alternative to classical and deep neural network (NN) models particularly under constraints imposed by noisy intermediate-scale quantum (NISQ) devices, which support only shallow circuits with few quantum bits (qubits) and limited variational depth. However, applying QNNs to natural language processing (NLP) remains challenging because text representations are typically high-dimensional, while NISQ classifiers can only encode a small number of features at a time, requiring classical compression to enable stable training and flexible circuit configuration. In addition, many existing studies integrate QNNs into rich-text representation pipelines, where the quantum circuit is often implemented as a variational quantum circuit (VQC). Here, the VQC acts as an additional component within a larger model, and it remains unclear how the quantum component improves the classification task. Therefore, in this work, we propose a fully reproducible and compact QNN pipeline that provides a controlled setting for studying the contribution of the VQC to text classification. The model is trained end-to-end with a lightweight classical compression layer, and the overall study is supported by systematic ablation analyses of the compression layer, the classifier heads under a shared frozen low-dimensional representation, and quantum circuit structure. Our model uses the term frequency-inverse document frequency (TF-IDF) features with linear compression followed by a shallow four-qubit, two-layer VQC, implemented in PyTorch and PennyLane for end-to-end training. It is evaluated on five benchmark text classification datasets against classical baselines, including logistic regression and multilayer perceptron (MLP) models. Experimental results show that the proposed QNN achieves a competitive performance across all evaluated datasets, yielding the best results on three of the five benchmark datasets.

IEEE Access•Jan 1, 2026•0 citations

Hybrid Quantum-Classical Neural Networks: Bridging Deep Learning and Quantum Computing for Image Classification

Akash Jha, Rahul Bhandari, Raman Chadha

Given the recent prominence of Noisy Intermediate Scale Quantum (NISQ) devices, hybrid quantum-classical neural networks have recently drawn a lot of excitement as a potential solution to improving learning efficiency. Our current paper describes a Hybrid Quantum-Classical Convolutional Neural Network (HQCNN) which is defined as a pretrained backbone of ResNet-18 and a small quantum-enhanced feature-transformation layer of Qiskit. The convolutional high-dimensional features are reduced to the classical eight-dimensional one, which in turn is encoded into a four-qubit parameterized quantum circuit. The resultant quantum expectation values are combined with the compressed features to come up with a hybridized representation of twelve dimensions, used to classify multi-class dataset. Experimental analysis of CIFAR10 data has shown that the suggested HQCNN achieves a test accuracy of 94.74% and improves class-wise precision, recall, and F1-scores than a number of existing hybrid models while using a significantly smaller number of latent features. More investigation into the quantum module indicates that it is predictable about scalability to batch, resistant to perturbations in features, and efficiently performed by evaluating circuit vectors. These results indicate that compact and expressive representations of images that can be helpful in the NISQ era can be acquired using hybrid architectures, thus providing a practical way to forward the benefits of quantum to modern deep-learning pipelines.

International Conference on Emerging Computational Intelligence (ICECI)•Apr 4, 2026•0 citations
Abstract Hybrid quantum–classical models for text classification are constrained by the mismatch between high-dimensional sentence embeddings and the limited number of qubits available in Noisy Intermediate-Scale Quantum (NISQ) hardware. Existing approaches rely on fixed dimensionality-reduction techniques such as PCA, which compress embeddings independently of the learning task and often remove semantic information essential for downstream classification. This work addresses this limitation by applying Neural Quantum Embedding (NQE) to sentence-level sentiment analysis. NQE jointly performs nonlinear neural compression and quantum-oriented encoding, producing compact embeddings optimized for variational circuits.We integrate NQE with a Quantum Neural Network based on a three-layer SU(4) ansatz. Experiments on three sentence-level sentiment datasets show that NQE substantially improves hybrid quantum performance, increasing accuracy by up to 38%, with corresponding improvements in precision, recall, and F1-score. Additional experiments with a classical neural network demonstrate that NQE also enhances classical performance, yielding accuracy gains of up to 6.3%. Although classical models achieve higher absolute accuracy due to greater representational capacity, the relative improvement introduced by NQE is significantly larger in the quantum setting, where embedding structure must align with strict hardware constraints.Overall, this study introduces a task-adaptive, learnable embedding mechanism that bridges the representational gap between classical embeddings and quantum circuits. The results show that NQE improves optimization stability, enhances quantum-state separability, and enables more effective hybrid sentiment classification within NISQ limitations
Combining variational quantum circuits with classical neural network models is a potential direction for quantum natural language processing (QNLP) in the NISQ (Noisy Intermediate-Scale Quantum) era. We propose a hybrid classical-quantum neural network that enhances a transformer architecture in two key ways: first, by incorporating optimized variational quantum circuits into the self-attention and multilayer perceptron components, and second, by integrating a hybrid convolutional module for effective dimensionality reduction which can reduce the quantum resources required for subsequent layers and enhances the model’s trainability by mitigating issues like the barren plateau phenomenon, thus making it feasible to construct a deeper and more powerful network architecture. Our experiments on three widely-used sentiment analysis datasets demonstrate that the proposed model achieves comparable or even superior performance in terms of accuracy and F1 score compared to classical transformer-based sentiment classification models with similar structures, while reducing the number of parameters through the utilization of quantum advantages.
Large language and sentence-embedding models provide rich semantic representations, but their high dimensionality poses a challenge for near-term quantum machine learning (QML), where quantum circuits can process only a limited number of input features. We investigate a hybrid quantum-classical pipeline that transforms high-dimensional sentence embeddings into compact representations for variational quantum classification. The workflow combines a pretrained sentence-embedding model, dimensionality reduction, angle encoding, a variational quantum circuit (VQC), and a classical decision layer. We systematically compare principal component analysis (PCA), neighborhood components analysis (NCA), and linear discriminant analysis (LDA), covering both unsupervised and supervised dimensionality reduction. Using the TREC question-classification dataset, we study the relationship between representation dimensionality, information retention, qubit count, and classification performance. Preliminary PCA experiments reveal a strong information bottleneck: reducing 768-dimensional embeddings to 3, 4, 5, and 8 dimensions retains about 8.2%, 10.2%, 11.9%, and 16.4% of the variance, with corresponding classification accuracies of 50.3%, 51.2%, 57.9%, and 63.4%. In contrast, supervised reduction is substantially more efficient. LDA reaches 85.3% accuracy and NCA reaches 83.1% using only 5 dimensions, under a leakage-free cross-validation protocol, compared with 85.1% for a full 384-dimensional classical baseline. These results indicate that supervised dimensionality reduction can preserve task-relevant information far more effectively than variance-based compression, making compact representations a promising route toward practical hybrid quantum-classical NLP models.
Sentence classification is a core task in Natural Language Processing, and sentiment analysis in particular remains difficult because of contextual ambiguity, semantic complexity, and the overlap between closely related sentiment classes. This paper presents a hybrid quantum-classical architecture for sentence classification that combines classical deep learning with quantum feature extraction. The classical branch employs a Feedforward Neural Network (FNN) and a Long Short-Term Memory (LSTM) network to learn complementary semantic and contextual representations, while the quantum branch reduces TF-IDF features through Truncated Singular Value Decomposition (SVD) and encodes them into a parameterized quantum circuit built with Qiskit. The classical and quantum representations are combined through feature-level fusion and classified using a MultiLayer Perceptron (MLP). The framework is evaluated on the SST-2 dataset for binary sentiment classification and on a merged SST-2 + SST-5 dataset for multi-class classification. The proposed hybrid model achieves an accuracy of 90.5%, precision of 89.9%, recall of 90.1%, and F1-score of 90.1% on SST-2, with a ROC-AUC close to 0.97, exceeding the individual FNN and LSTM baselines. On the merged multi-class dataset, the hybrid model attains 66.65% accuracy against 65.15% for FNN and 62.65% for LSTM. These results indicate that feature-level integration of classical and quantum representations can improve sentence classification performance within currently available quantum simulation environments.
Quantum embedding is a fundamental prerequisite for applying quantum machine learning techniques to classical data and has substantial impacts on performance outcomes. In this study, we present neural quantum embedding (NQE), a method that efficiently optimizes quantum embedding beyond the limitations of positive and trace-preserving maps by leveraging classical deep-learning techniques. NQE enhances the lower bound of the empirical risk, leading to substantial improvements in classification performance. Moreover, NQE improves robustness against noise. To validate the effectiveness of NQE, we conduct experiments on IBM quantum devices for image data classification, resulting in a remarkable accuracy enhancement from 0.52 to 0.96. In addition, numerical analyses highlight that NQE simultaneously improves the trainability and generalization performance of quantum neural networks, as well as of the quantum kernel method.
Quantum neural networks (QNNs) have recently attracted remarkable attention as a potential alternative to classical and deep neural network (NN) models particularly under constraints imposed by noisy intermediate-scale quantum (NISQ) devices, which support only shallow circuits with few quantum bits (qubits) and limited variational depth. However, applying QNNs to natural language processing (NLP) remains challenging because text representations are typically high-dimensional, while NISQ classifiers can only encode a small number of features at a time, requiring classical compression to enable stable training and flexible circuit configuration. In addition, many existing studies integrate QNNs into rich-text representation pipelines, where the quantum circuit is often implemented as a variational quantum circuit (VQC). Here, the VQC acts as an additional component within a larger model, and it remains unclear how the quantum component improves the classification task. Therefore, in this work, we propose a fully reproducible and compact QNN pipeline that provides a controlled setting for studying the contribution of the VQC to text classification. The model is trained end-to-end with a lightweight classical compression layer, and the overall study is supported by systematic ablation analyses of the compression layer, the classifier heads under a shared frozen low-dimensional representation, and quantum circuit structure. Our model uses the term frequency-inverse document frequency (TF-IDF) features with linear compression followed by a shallow four-qubit, two-layer VQC, implemented in PyTorch and PennyLane for end-to-end training. It is evaluated on five benchmark text classification datasets against classical baselines, including logistic regression and multilayer perceptron (MLP) models. Experimental results show that the proposed QNN achieves a competitive performance across all evaluated datasets, yielding the best results on three of the five benchmark datasets.
Given the recent prominence of Noisy Intermediate Scale Quantum (NISQ) devices, hybrid quantum-classical neural networks have recently drawn a lot of excitement as a potential solution to improving learning efficiency. Our current paper describes a Hybrid Quantum-Classical Convolutional Neural Network (HQCNN) which is defined as a pretrained backbone of ResNet-18 and a small quantum-enhanced feature-transformation layer of Qiskit. The convolutional high-dimensional features are reduced to the classical eight-dimensional one, which in turn is encoded into a four-qubit parameterized quantum circuit. The resultant quantum expectation values are combined with the compressed features to come up with a hybridized representation of twelve dimensions, used to classify multi-class dataset. Experimental analysis of CIFAR10 data has shown that the suggested HQCNN achieves a test accuracy of 94.74% and improves class-wise precision, recall, and F1-scores than a number of existing hybrid models while using a significantly smaller number of latent features. More investigation into the quantum module indicates that it is predictable about scalability to batch, resistant to perturbations in features, and efficiently performed by evaluating circuit vectors. These results indicate that compact and expressive representations of images that can be helpful in the NISQ era can be acquired using hybrid architectures, thus providing a practical way to forward the benefits of quantum to modern deep-learning pipelines.