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

IEEE Access

QBERT-LSTM: Quantum Intelligence-Based Mental Health Sentiment Analysis Using Web Scraping

Najnin Sultana Shirin, Md. Aminul Islam, Maria Akter Abin, Mahmoud S. Abouyoussef

Published Jan 1, 2026• 0 citations
Publisher

Abstract

Social media has become a significant resource for evaluating public attitudes regarding mental health, as individuals may express their thoughts through postings, comments, and conversations. Sentiment analysis is a promising method for studying emotional patterns expressed in mental-health-related text. Traditional machine learning for sentiment analysis faces challenges like transparency, scarce labeled data, and language limitations. This paper presents a sentiment classification (positive, negative, neutral) framework applied to mental-health-related Reddit posts. Repeated emotional patterns can offer helpful insights into sentiment trends in mental health discussions, but they shouldn’t be seen as proof of clinical disorders. In this paper, we propose a hybrid framework for sentiment classification from text, termed QBERT-LSTM, which integrates quantum-enhanced bidirectional encoder representations from transformers (QBERT) with long short-term memory (LSTM) networks. In the proposed approach, transformer models excel at capturing global context, while the LSTM enhances sequential patterns and temporal features. The quantum component uses a parameterized circuit with angle encoding and variational gates to perform nonlinear transformations on a quantum simulator (PennyLane). Subsequently, the model is tested on more intricate circuits comprising 2, 4, 6, 8, 10, and 12 qubits to assess its consistency. A novel Reddit dataset of mental health-related subreddits (anxiety, panic attacks, and depression) is constructed, with sentiment labels derived from the VADER sentiment analyzer. We thoroughly assessed the performance of our proposed model against deep learning models and cutting-edge transformer architectures, achieving up to 98% accuracy in the best-performing configuration on the generated dataset (mean accuracy $0.97~\pm ~0.0059$ across five random seeds).

DOI
10.1109/access.2026.3715875

Related papers

Q-MIND: Quantum Enhanced Mental Illness Prediction

Nandini U, Deeksha N, Shristhi G N +1 more

The increasing cases of mental illnesses such as stress, anxiety, and depression, driven by excessive workload, social pressure, and emotional instability, highlight the need for early and accurate detection. Traditional Machine Learning (ML) and Deep Learning (DL) models were initially used for this purpose, as they can analyse psychological datasets like DASS-42 and provide automated mental health assessment. However, these classical models face challenges in capturing complex emotional patterns and high-dimensional feature interactions, which limits their overall diagnostic efficiency. To overcome these limitations, Quantum Machine Learning (QML) was introduced. In this article, we applied the Variational Quantum Classifier (VQC) model that leverages quantum properties such as superposition and entanglement, allowing it to process and distinguish subtle mental health indicators more effectively than ML and DL approaches. The Quantum model (VQC) outperformed all classical approaches, delivering an exceptional accuracy of 99.95%, with precision, recall, and F1-score values nearly reaching 1.0, indicating highly reliable classification consistency. A comparative evaluation revealed that the quantum model demonstrated superior classification capabilities, outperforming classical systems in consistency and predictive reliability. This work establishes QML as a promising direction toward next-generation mental health diagnosis systems.

International Conference on Smart Futuristic Technology (SMARTTECH)•Jan 2, 2026•0 citations

Quantum Sentiment Analysis: Potential, Benchmarking and Limitations

Fahad Saleh A. M. Al-obaidly

Sentiment analysis is one of the most frequent activities of natural language processing (NLP) that has extensive use cases in social media monitoring, business intelligence, and analysis of public opinion. With their ability to scale effectively to large sentiments datasets, although deep-learning methods like recurrent neural networks have reached high-performance, their increasing computational (energy) requirements have stimulated a search toward quantum computations and quantum-inspired computations. Nevertheless, the current literature tends to test quantum NLP algorithms using non-congruent experimental conditions, which precludes determining their feasibility on practice in comparison to classical base- lines. In this thesis, a coherent and repeatable comparison of the classical, deep learning and quantum-enhanced sentiment analysis algorithms are compared within a unified evaluation procedure. Two popular and widely-used benchmark datasets with markedly distinct linguistic features, namely Twitter entity sentiment data, and IMDB movie reviews are experimented with. The compared models are traditional machine learning pipelines, using TF -IDF features, LSTM-based deep learning models, and hybrid quantum -classical sequence models (QLSTM) and diagrammatic quantum NLP (QNLP) models in the form of lambeq toolkit. Training and evaluation of all models are performed with the help of similar preprocessing, data splits and performance metrics. The findings indicate that powerful classical baselines retain highly competitive especially in small-scale text sentiment analysis of Twitter, and LSTM models are efficient in long IMDB reviews. The quantum-inspired methods that have been shown to perform well with an equal or better result include quantum-inspired hybrid pipelines that show good results and in a few of the configurations they may even do better than the classifiers which are completely classical in nature. Conversely, QLSTM set-ups tested demonstrate poor learning and cannot compete with the near-term quantum limitations. Generally, the results are that in the short-term quantum advantage in sentiment analysis is more probable to be obtained via well-crafted hybrid quantum-classical pipelines than entirely worked-out quantum sequence frameworks. This thesis offers a controlled benchmark and real-life observations that can add to the future evaluation of quantum-enhanced NLP in practical scenarios.

•May 20, 2026•0 citations

Quantum-Inspired Deep Learning Techniques for Sentiment Analysis

Ramesh S. Wadawadagi, Sarada B, G Hemanth Kumar +2 more

In recent days, sentiment analysis (SA) has emerged as a critical aspect of data analytics as user-generated content is rapidly disseminating across social media platforms, and other online channels. Breakthroughs in NLP and DL have significantly improved the contextual understanding and efficiency of SA models. Despite their success, traditional NLP and DL models have faced limitations within high-dimensional feature spaces, parameter optimization, and data scalability. This research work presents a novel SA framework based on quantum inspired DL (QIDL) techniques. We investigated hybrid models that integrate classical DL techniques with quantum inspired learning such as feature encoding, attention mechanisms, and context modeling. Three QIDL models have been studied, namely, QCNN, QLSTM, and QBERT. The performance of these models is evaluated on three benchmark sentiment datasets: IMDb, Twitter Sentiment, and SST-5. The experimental studies on the IMDb, Twitter Sentiment, and SST-5 datasets show that QCNN, QLSTM, and Q-BERT surpass their classical counterparts by approximately 1.6-2.7%, 1.5-3.3%; 1.5-2.6%, 1.4-4.2%; and 1-3%, 1.7-2.6%, respectively, in classification accuracy and macro-F1 score. Of all the benchmark models, Q-BERT achieved the best overall performance, attaining 55.8% accuracy and a macro-F1 score of 54.2% on the multi-class SST-5 dataset. Hence, it is evident that the proposed QIDL models achieve competitive classification performance while maintaining robustness in sparse and highdimensional settings.

International Conference on Emerging Technologies in Computing and Communication (ETCC)•Jul 1, 2026•0 citations

Hybrid Quantum-Classical Layers for Sentiment Analysis in Natural Language Processing

Medisetti Esther Rani, Tupakula Sai Sarnya

NLP models have shown remarkable performance for sentiment analysis and text classification tasks due to the deep neural networks and transformer architectures. However, these models typically necessitate considerable computational resources, high parameter complexity and large scale training datasets. Recently, quantum computing has emerged as a promising paradigm that can enhance machine learning systems using quantum parallelism, superposition, and entanglement. In this paper, we propose a new Hybrid Quantum-Classical NLP architecture that combines variational quantum circuit (VQC) layers with classical neural network layers for effective sentiment analysis. The proposed framework combines classical embedding and LSTM layers with a quantum-enhanced variational layer to improve feature representation and classification performance. The proposed framework combines classical embedding and LSTM layers with a quantum-enhanced variational layer to enhance the feature representation and classification performance. The quantum layer is realized via parameterized quantum circuits and optimized using hybrid gradient-based learning techniques. The effectiveness of The proposed framework combines classical embedding and LSTM layers with a quantum-enhanced variational layer to enhance the feature representation and classification performance. The quantum layer is realized via parameterized quantum circuits and optimized using hybrid gradient-based learning techniques. The effectiveness of the proposed model is evaluated on the benchmark sentiment analysis datasets such as IMDb and SST-2 experiments. The hybrid architecture is compared with standard deep learning models in terms of accuracy, training complexity and parameter efficiency. The experimental results show that the proposed quantum-enhanced model can achieve competitive classification accuracy while reducing model complexity and improving contextual semantic learning.

International Conference on Natural Language Processing and Computer Vision (ICNPCV)•Jul 1, 2026•0 citations

Improving the Performance of Sentiment Analysis Models Based on Quantum-LSTM

Truong Nguyen Quang Duy, Huyen Trang Phan

Sentiment analysis is a key approach for interpreting human emotions from data using Natural Language Processing. However, most current methods often face challenges such as capturing complex semantic relationships and high computational cost. This study proposes an Enhanced Quantum-LSTM architecture that exploits quantum properties like superposition and entanglement to improve semantic representation. The proposed pipeline includes: (i) extracting semantic features using 300-dimensional Word2Vec; (ii) reducing dimensionality with Principal Component Analysis; (iii) mapping data into Hilbert space via Angle Embedding for quantum state preparation; (iv) processing sequences through QLSTM cells with variational quantum gates; and (v) applying a Quantum Self-Attention mechanism to emphasize sentiment-relevant tokens. The main contribution is integrating quantum variational circuits into LSTM gate operations, achieving 79.77% accuracy and a 78.76% F1 score while using fewer parameters.

International Conference on Green Technology and Sustainable Development (GTSD)•Jul 1, 2026•0 citations

A Quantum Computing based Approach for Sentiment Analysis in Bilateral Conversations

Níyazí Furkan Bar, Musa Yenilmez, Sedef Aksu +1 more

Sentiment analysis finds widespread applications in health, marketing, finance, stock markets, media, and politics. To analyze attitudes and emotions in textual data, handling large datasets and significant computational power is essential. Traditional computing methods struggle with the growing data volume, prompting interest in quantum computing as a promising alternative with its inherent high-speed processing capacity. This study focuses on sentiment analysis applied to texts derived from bilateral conversation dialogues. The primary objective is to categorize emotions within the text as positive, neutral, or negative, while concurrently identifying the speaker. To achieve this, a novel quantum-classical hybrid approach is proposed. The quantum side of this approach includes the variational quantum circuit (VQC). On the classical side, preprocessing of the data set, feature extraction with a model containing LSTM, and optimizing the parameters of VQC are performed. The proposed approach was trained and tested using a data set containing bilateral conversations. As a result of the tests, the proposed approach achieved a higher accuracy rate compared to studies using the classical approach. Thus, the effectiveness of the proposed approach is confirmed.

•Feb 21, 2024•6 citations
Social media has become a significant resource for evaluating public attitudes regarding mental health, as individuals may express their thoughts through postings, comments, and conversations. Sentiment analysis is a promising method for studying emotional patterns expressed in mental-health-related text. Traditional machine learning for sentiment analysis faces challenges like transparency, scarce labeled data, and language limitations. This paper presents a sentiment classification (positive, negative, neutral) framework applied to mental-health-related Reddit posts. Repeated emotional patterns can offer helpful insights into sentiment trends in mental health discussions, but they shouldn’t be seen as proof of clinical disorders. In this paper, we propose a hybrid framework for sentiment classification from text, termed QBERT-LSTM, which integrates quantum-enhanced bidirectional encoder representations from transformers (QBERT) with long short-term memory (LSTM) networks. In the proposed approach, transformer models excel at capturing global context, while the LSTM enhances sequential patterns and temporal features. The quantum component uses a parameterized circuit with angle encoding and variational gates to perform nonlinear transformations on a quantum simulator (PennyLane). Subsequently, the model is tested on more intricate circuits comprising 2, 4, 6, 8, 10, and 12 qubits to assess its consistency. A novel Reddit dataset of mental health-related subreddits (anxiety, panic attacks, and depression) is constructed, with sentiment labels derived from the VADER sentiment analyzer. We thoroughly assessed the performance of our proposed model against deep learning models and cutting-edge transformer architectures, achieving up to 98% accuracy in the best-performing configuration on the generated dataset (mean accuracy 0.97 ± 0.00590.97~\pm ~0.00590.97 ± 0.0059 across five random seeds).
The increasing cases of mental illnesses such as stress, anxiety, and depression, driven by excessive workload, social pressure, and emotional instability, highlight the need for early and accurate detection. Traditional Machine Learning (ML) and Deep Learning (DL) models were initially used for this purpose, as they can analyse psychological datasets like DASS-42 and provide automated mental health assessment. However, these classical models face challenges in capturing complex emotional patterns and high-dimensional feature interactions, which limits their overall diagnostic efficiency. To overcome these limitations, Quantum Machine Learning (QML) was introduced. In this article, we applied the Variational Quantum Classifier (VQC) model that leverages quantum properties such as superposition and entanglement, allowing it to process and distinguish subtle mental health indicators more effectively than ML and DL approaches. The Quantum model (VQC) outperformed all classical approaches, delivering an exceptional accuracy of 99.95%, with precision, recall, and F1-score values nearly reaching 1.0, indicating highly reliable classification consistency. A comparative evaluation revealed that the quantum model demonstrated superior classification capabilities, outperforming classical systems in consistency and predictive reliability. This work establishes QML as a promising direction toward next-generation mental health diagnosis systems.
Sentiment analysis is one of the most frequent activities of natural language processing (NLP) that has extensive use cases in social media monitoring, business intelligence, and analysis of public opinion. With their ability to scale effectively to large sentiments datasets, although deep-learning methods like recurrent neural networks have reached high-performance, their increasing computational (energy) requirements have stimulated a search toward quantum computations and quantum-inspired computations. Nevertheless, the current literature tends to test quantum NLP algorithms using non-congruent experimental conditions, which precludes determining their feasibility on practice in comparison to classical base- lines. In this thesis, a coherent and repeatable comparison of the classical, deep learning and quantum-enhanced sentiment analysis algorithms are compared within a unified evaluation procedure. Two popular and widely-used benchmark datasets with markedly distinct linguistic features, namely Twitter entity sentiment data, and IMDB movie reviews are experimented with. The compared models are traditional machine learning pipelines, using TF -IDF features, LSTM-based deep learning models, and hybrid quantum -classical sequence models (QLSTM) and diagrammatic quantum NLP (QNLP) models in the form of lambeq toolkit. Training and evaluation of all models are performed with the help of similar preprocessing, data splits and performance metrics. The findings indicate that powerful classical baselines retain highly competitive especially in small-scale text sentiment analysis of Twitter, and LSTM models are efficient in long IMDB reviews. The quantum-inspired methods that have been shown to perform well with an equal or better result include quantum-inspired hybrid pipelines that show good results and in a few of the configurations they may even do better than the classifiers which are completely classical in nature. Conversely, QLSTM set-ups tested demonstrate poor learning and cannot compete with the near-term quantum limitations. Generally, the results are that in the short-term quantum advantage in sentiment analysis is more probable to be obtained via well-crafted hybrid quantum-classical pipelines than entirely worked-out quantum sequence frameworks. This thesis offers a controlled benchmark and real-life observations that can add to the future evaluation of quantum-enhanced NLP in practical scenarios.
In recent days, sentiment analysis (SA) has emerged as a critical aspect of data analytics as user-generated content is rapidly disseminating across social media platforms, and other online channels. Breakthroughs in NLP and DL have significantly improved the contextual understanding and efficiency of SA models. Despite their success, traditional NLP and DL models have faced limitations within high-dimensional feature spaces, parameter optimization, and data scalability. This research work presents a novel SA framework based on quantum inspired DL (QIDL) techniques. We investigated hybrid models that integrate classical DL techniques with quantum inspired learning such as feature encoding, attention mechanisms, and context modeling. Three QIDL models have been studied, namely, QCNN, QLSTM, and QBERT. The performance of these models is evaluated on three benchmark sentiment datasets: IMDb, Twitter Sentiment, and SST-5. The experimental studies on the IMDb, Twitter Sentiment, and SST-5 datasets show that QCNN, QLSTM, and Q-BERT surpass their classical counterparts by approximately 1.6-2.7%, 1.5-3.3%; 1.5-2.6%, 1.4-4.2%; and 1-3%, 1.7-2.6%, respectively, in classification accuracy and macro-F1 score. Of all the benchmark models, Q-BERT achieved the best overall performance, attaining 55.8% accuracy and a macro-F1 score of 54.2% on the multi-class SST-5 dataset. Hence, it is evident that the proposed QIDL models achieve competitive classification performance while maintaining robustness in sparse and highdimensional settings.
NLP models have shown remarkable performance for sentiment analysis and text classification tasks due to the deep neural networks and transformer architectures. However, these models typically necessitate considerable computational resources, high parameter complexity and large scale training datasets. Recently, quantum computing has emerged as a promising paradigm that can enhance machine learning systems using quantum parallelism, superposition, and entanglement. In this paper, we propose a new Hybrid Quantum-Classical NLP architecture that combines variational quantum circuit (VQC) layers with classical neural network layers for effective sentiment analysis. The proposed framework combines classical embedding and LSTM layers with a quantum-enhanced variational layer to improve feature representation and classification performance. The proposed framework combines classical embedding and LSTM layers with a quantum-enhanced variational layer to enhance the feature representation and classification performance. The quantum layer is realized via parameterized quantum circuits and optimized using hybrid gradient-based learning techniques. The effectiveness of The proposed framework combines classical embedding and LSTM layers with a quantum-enhanced variational layer to enhance the feature representation and classification performance. The quantum layer is realized via parameterized quantum circuits and optimized using hybrid gradient-based learning techniques. The effectiveness of the proposed model is evaluated on the benchmark sentiment analysis datasets such as IMDb and SST-2 experiments. The hybrid architecture is compared with standard deep learning models in terms of accuracy, training complexity and parameter efficiency. The experimental results show that the proposed quantum-enhanced model can achieve competitive classification accuracy while reducing model complexity and improving contextual semantic learning.
Sentiment analysis is a key approach for interpreting human emotions from data using Natural Language Processing. However, most current methods often face challenges such as capturing complex semantic relationships and high computational cost. This study proposes an Enhanced Quantum-LSTM architecture that exploits quantum properties like superposition and entanglement to improve semantic representation. The proposed pipeline includes: (i) extracting semantic features using 300-dimensional Word2Vec; (ii) reducing dimensionality with Principal Component Analysis; (iii) mapping data into Hilbert space via Angle Embedding for quantum state preparation; (iv) processing sequences through QLSTM cells with variational quantum gates; and (v) applying a Quantum Self-Attention mechanism to emphasize sentiment-relevant tokens. The main contribution is integrating quantum variational circuits into LSTM gate operations, achieving 79.77% accuracy and a 78.76% F1 score while using fewer parameters.
Sentiment analysis finds widespread applications in health, marketing, finance, stock markets, media, and politics. To analyze attitudes and emotions in textual data, handling large datasets and significant computational power is essential. Traditional computing methods struggle with the growing data volume, prompting interest in quantum computing as a promising alternative with its inherent high-speed processing capacity. This study focuses on sentiment analysis applied to texts derived from bilateral conversation dialogues. The primary objective is to categorize emotions within the text as positive, neutral, or negative, while concurrently identifying the speaker. To achieve this, a novel quantum-classical hybrid approach is proposed. The quantum side of this approach includes the variational quantum circuit (VQC). On the classical side, preprocessing of the data set, feature extraction with a model containing LSTM, and optimizing the parameters of VQC are performed. The proposed approach was trained and tested using a data set containing bilateral conversations. As a result of the tests, the proposed approach achieved a higher accuracy rate compared to studies using the classical approach. Thus, the effectiveness of the proposed approach is confirmed.