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

arXiv:2609.10089

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

Ali Hassan, Zijia Zhao, Maha A. Metawei

Published Sep 9, 2026• 0 citations
arXivHTMLPDF

Abstract

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.

DOI
10.48550/arxiv.2609.10089

Related papers

Neural Quantum Embedding Enhanced Hybrid Quantum-Classical Sentiment Analysis Classification

Islam Djemmal, Hacene Belhadef, A. M. Mutawa

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

•Dec 10, 2025•0 citations

Compress, Encode, Diagnose: PCA-Enhanced QNNs for Breast Cancer Classification

Aman Kumar Prajapati, Lupam K Saha, Mohammed Nabeel Ahsan +1 more

Quantum neural networks (QNNs) offer a promising avenue for machine learning by leveraging quantum computation, but practical QNN models are constrained by the low dimensionality of the input data they can handle. This paper proposes a hybrid quantum-classical neural network architecture that incorporates principal component analysis (PCA) for dimensionality reduction and variational quantum circuits (VQC) for quantum feature encoding. Focusing on the Wisconsin Diagnostic Breast Cancer dataset (569 instances, 30 features) as a representative biomedical classification task, in this work, we design hybrid quantum-classical neural network (QNN) models using 5-qubit and 10-qubit quantum circuits. For comparison, we use classical baseline identical to the downstream head but without the VQC+measurement. The preprocessed inputs feed the classifier head directly; only the input layer dimension is adjusted to the number of features. The $\mathbf{5}$-qubit hybrid model is evaluated under two conditions: with and without principal component analysis (PCA) applied as a preprocessing step to investigate the effect of dimensionality reduction on model performance. In contrast, the 10 -qubit hybrid model is evaluated without PCA, directly processing the input features to explore its capacity to handle higher-dimensional data within the quantum circuit. Performance is measured in terms of classification accuracy, precision, recall, and F1-score. We evaluate the model’s robustness by injecting noise into the training data, finding that the PCA-enhanced hybrid QNN maintains competitive accuracy and resilience under perturbation. This study highlights the potential of PCA-driven variational quantum encodings to enhance QNNs for reliable biomedical data classification.

IEEE International Conference on Recent Advances in Systems Science and Engineering (RASSE)•Nov 4, 2025•0 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

Enhancing the performance of variational quantum classifiers with hybrid autoencoders

Georgios Maragkopoulos, Aikaterini Mandilara, Antonia Tsili +1 more

Abstract Variational quantum circuits (VQC) lie at the forefront of quantum machine learning research. Still, the use of quantum networks for real data processing remains challenging as the number of available qubits cannot accommodate a large dimensionality of data—if the usual angle encoding scenario is used. To achieve dimensionality reduction, Principal Component Analysis is routinely applied as a pre-processing method before the embedding of the classical features on qubits. In this work, we propose an alternative method which reduces the dimensionality of a given dataset by taking into account the specific quantum embedding that comes after. This method aspires to make quantum machine learning with VQCs more versatile and effective on datasets of high dimension. At a second step, we propose a quantum-inspired classical autoencoder model which can be used to encode information in low latent spaces. The power of our proposed models is exhibited via numerical tests. We show that our targeted dimensionality reduction method considerably boosts VQC’s performance, and we also identify cases for which the second model outperforms classical autoencoders in terms of reconstruction loss.

arXiv:2409.03350•Quantum Information Processing•Jul 30, 2025•11 citations

Hybrid quantum-classical classifier based on tensor network and variational quantum circuit

Samuel Yen-Chi Chen, Chih-Min Huang, Chia-Wei Hsing +1 more

One key step in performing quantum machine learning (QML) on noisy intermediate-scale quantum (NISQ) devices is the dimension reduction of the input data prior to their encoding. Traditional principle component analysis (PCA) and neural networks have been used to perform this task; however, the classical and quantum layers are usually trained separately. A framework that allows for a better integration of the two key components is thus highly desirable. Here we introduce a hybrid model combining the quantum-inspired tensor networks (TN) and the variational quantum circuits (VQC) to perform supervised learning tasks, which allows for an end-to-end training. We show that a matrix product state based TN with low bond dimensions performs better than PCA as a feature extractor to compress data for the input of VQCs in the binary classification of MNIST dataset. The architecture is highly adaptable and can easily incorporate extra quantum resource when available.

arXiv:2011.14651•Nov 30, 2020•27 citations

A Hybrid Quantum-Classical Fusion for Deep Semantic Paraphrase Detection

Devanarayanan K, Fayas S Mohamad, Dheeraj V Mohan +1 more

Paraphrase Detection is a core task in natural language processing (NLP) that aims to determine whether two sentences convey equivalent meanings.This work proposes a hybrid quantum-classical framework that integrates Sentence-BERT embeddings, simulated quantum feature encoding, and classical machine learning models to enhance semantic similarity detection.Initially, sentence pairs are embedded using Sentence-BERT and standardized through feature scaling.These representations are then transformed via rotation-based quantum circuits to capture higher-order feature interactions and non-linear dependencies.The resulting hybrid feature space, combining classical and quantum-inspired components are evaluated using LightGBM and deep neural network classifiers.Experimental results shows that the hybrid model incorporating quantuminspired features achieved superior classification performance, yielding a 10% improvement in overall accuracy outperforming standalone deep learning baselines.These findings demonstrate that quantum-classical fusion enhances semantic feature extraction and significantly improves paraphrase detection performance.

•Jan 1, 2025•0 citations
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.
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
Quantum neural networks (QNNs) offer a promising avenue for machine learning by leveraging quantum computation, but practical QNN models are constrained by the low dimensionality of the input data they can handle. This paper proposes a hybrid quantum-classical neural network architecture that incorporates principal component analysis (PCA) for dimensionality reduction and variational quantum circuits (VQC) for quantum feature encoding. Focusing on the Wisconsin Diagnostic Breast Cancer dataset (569 instances, 30 features) as a representative biomedical classification task, in this work, we design hybrid quantum-classical neural network (QNN) models using 5-qubit and 10-qubit quantum circuits. For comparison, we use classical baseline identical to the downstream head but without the VQC+measurement. The preprocessed inputs feed the classifier head directly; only the input layer dimension is adjusted to the number of features. The 5\mathbf{5}5-qubit hybrid model is evaluated under two conditions: with and without principal component analysis (PCA) applied as a preprocessing step to investigate the effect of dimensionality reduction on model performance. In contrast, the 10 -qubit hybrid model is evaluated without PCA, directly processing the input features to explore its capacity to handle higher-dimensional data within the quantum circuit. Performance is measured in terms of classification accuracy, precision, recall, and F1-score. We evaluate the model’s robustness by injecting noise into the training data, finding that the PCA-enhanced hybrid QNN maintains competitive accuracy and resilience under perturbation. This study highlights the potential of PCA-driven variational quantum encodings to enhance QNNs for reliable biomedical data classification.
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.
Abstract Variational quantum circuits (VQC) lie at the forefront of quantum machine learning research. Still, the use of quantum networks for real data processing remains challenging as the number of available qubits cannot accommodate a large dimensionality of data—if the usual angle encoding scenario is used. To achieve dimensionality reduction, Principal Component Analysis is routinely applied as a pre-processing method before the embedding of the classical features on qubits. In this work, we propose an alternative method which reduces the dimensionality of a given dataset by taking into account the specific quantum embedding that comes after. This method aspires to make quantum machine learning with VQCs more versatile and effective on datasets of high dimension. At a second step, we propose a quantum-inspired classical autoencoder model which can be used to encode information in low latent spaces. The power of our proposed models is exhibited via numerical tests. We show that our targeted dimensionality reduction method considerably boosts VQC’s performance, and we also identify cases for which the second model outperforms classical autoencoders in terms of reconstruction loss.
One key step in performing quantum machine learning (QML) on noisy intermediate-scale quantum (NISQ) devices is the dimension reduction of the input data prior to their encoding. Traditional principle component analysis (PCA) and neural networks have been used to perform this task; however, the classical and quantum layers are usually trained separately. A framework that allows for a better integration of the two key components is thus highly desirable. Here we introduce a hybrid model combining the quantum-inspired tensor networks (TN) and the variational quantum circuits (VQC) to perform supervised learning tasks, which allows for an end-to-end training. We show that a matrix product state based TN with low bond dimensions performs better than PCA as a feature extractor to compress data for the input of VQCs in the binary classification of MNIST dataset. The architecture is highly adaptable and can easily incorporate extra quantum resource when available.
Paraphrase Detection is a core task in natural language processing (NLP) that aims to determine whether two sentences convey equivalent meanings.This work proposes a hybrid quantum-classical framework that integrates Sentence-BERT embeddings, simulated quantum feature encoding, and classical machine learning models to enhance semantic similarity detection.Initially, sentence pairs are embedded using Sentence-BERT and standardized through feature scaling.These representations are then transformed via rotation-based quantum circuits to capture higher-order feature interactions and non-linear dependencies.The resulting hybrid feature space, combining classical and quantum-inspired components are evaluated using LightGBM and deep neural network classifiers.Experimental results shows that the hybrid model incorporating quantuminspired features achieved superior classification performance, yielding a 10% improvement in overall accuracy outperforming standalone deep learning baselines.These findings demonstrate that quantum-classical fusion enhances semantic feature extraction and significantly improves paraphrase detection performance.