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

Entropy

A Quantum-like Approach to Semantic Text Classification

A.S. Gruzdeva, Rodion Iurev, Igor Bessmertny, Andrei Yu. Khrennikov, A. P. Alodjants

Published Jul 19, 2025• 2 citations
Publisher

Abstract

In this work, we conduct a sentiment analysis of English-language reviews using a quantum-like (wave-based) model of text representation. This model is explored as an alternative to machine learning (ML) techniques for text classification and analysis tasks. Special attention is given to the problem of segmenting text into semantic units, and we illustrate how the choice of segmentation algorithm is influenced by the structure of the language. We investigate the impact of quantum-like semantic interference on classification accuracy and compare the results with those obtained using classical probabilistic methods. Our findings show that accounting for interference effects improves accuracy by approximately 15%. We also explore methods for reducing the computational cost of algorithms based on the wave model of text representation. The results demonstrate that the quantum-like model can serve as a viable alternative or complement to traditional ML approaches. The model achieves classification precision and recall scores of around 0.8. Furthermore, the classification algorithm is readily amenable to optimization: the proposed procedure reduces the estimated computational complexity from O(n2) to O(n).

DOI
10.3390/e27070767

Related papers

Quantum computing and machine learning for Arabic language sentiment classification in social media

Ahmed Omar, Tarek Abd El‐Hafeez

With the increasing amount of digital data generated by Arabic speakers, the need for effective and efficient document classification techniques is more important than ever. In recent years, both quantum computing and machine learning have shown great promise in the field of document classification. However, there is a lack of research investigating the performance of these techniques on the Arabic language. This paper presents a comparative study of quantum computing and machine learning for two datasets of Arabic language document classification. In the first dataset of 213,465 Arabic tweets, both classic machine learning (ML) and quantum computing approaches achieve high accuracy in sentiment analysis, with quantum computing slightly outperforming classic ML. Quantum computing completes the task in approximately 59 min, slightly faster than classic ML, which takes around 1 h. The precision, recall, and F1 score metrics indicate the effectiveness of both approaches in predicting sentiment in Arabic tweets. Classic ML achieves precision, recall, and F1 score values of 0.8215, 0.8175, and 0.8121, respectively, while quantum computing achieves values of 0.8239, 0.8199, and 0.8147, respectively. In the second dataset of 44,000 tweets, both classic ML (using the Random Forest algorithm) and quantum computing demonstrate significantly reduced processing times compared to the first dataset, with no substantial difference between them. Classic ML completes the analysis in approximately 2 min, while quantum computing takes approximately 1 min and 53 s. The accuracy of classic ML is higher at 0.9241 compared to 0.9205 for quantum computing. However, both approaches achieve high precision, recall, and F1 scores, indicating their effectiveness in accurately predicting sentiment in the dataset. Classic ML achieves precision, recall, and F1 score values of 0.9286, 0.9241, and 0.9249, respectively, while quantum computing achieves values of 0.92456, 0.9205, and 0.9214, respectively. The analysis of the metrics indicates that quantum computing approaches are effective in identifying positive instances and capturing relevant sentiment information in large datasets. On the other hand, traditional machine learning techniques exhibit faster processing times when dealing with smaller dataset sizes. This study provides valuable insights into the strengths and limitations of quantum computing and machine learning for Arabic document classification, emphasizing the potential of quantum computing in achieving high accuracy, particularly in scenarios where traditional machine learning techniques may encounter difficulties. These findings contribute to the development of more accurate and efficient document classification systems for Arabic data.

Scientific Reports•Oct 12, 2023•59 citations

Quantum-Enhanced Sentiment Analysis: Bridging NLP and Quantum Computing for Superior Text Classification

J Boopalamani, Pranav Raj S, Prasanna Kumar G

This research introduces a new paradigm for sentiment analysis on patient medication reviews through the application of quantum computing to improve machine learning models. A pre-existing dataset of medication reviews from the UCI Machine Learning repository was utilized, involving Quantum Natural Language Processing (QNLP) techniques, namely the application of quantum embeddings produced by quantum circuits to improve the performance of sentiment classification. Experimental findings indicate that improved models through quantum techniques, like the Quantum Random Forest, outperform conventional models in terms of accuracy and precision. These improvements are ascribed to quantum embeddings’ capacity to efficiently represent complex linguistic patterns in high-dimensional data. Additionally, the study uses robust validation techniques including performance benchmarking and cross-validation to guarantee reliability. Through a scalable and context-aware framework for natural language comprehension, this study highlights the revolutionary potential of QNLP in improving sentiment analysis in the healthcare industry.

International Conference on Intelligent Sustainable Systems (ICISS)•Mar 12, 2025•0 citations

QESAN: A Quantum-Enhanced Semantic Attention Network for Accurate Text Classification

S.Amsaveni, P. Lalithamani, S. Punithadevi +1 more

Text classification remains among the most significant tasks in natural language processing and the field has been used in healthcare, law, social media analysis, and economic literature. Classical attention networks existing machine learning approaches and deep learning approaches, including LSTM, BiLSTM, Transformers, and classical attention networks, are susceptible to such problems as long-range dependencies and semantic ambiguity, as well as sparse or underrepresented text. To deal with these deficiencies, this research presents a proposed a Quantum-Enhanced Semantic Attention Network (QESAN), a quantum computing concept integrated into semantic attention-based deep learning paradigm. The proposed QESAN coded textual features using amplitude encoding, quantum superposition, and entanglement-like transformations, such that the model is able to learn not only complex relations between interdependencies, but also fairly subtle semantic relations which are generally hard to learn on classical models. The result of these quantum-enhanced representations is then sent through an attention mechanism which acts on the most semantically significant aspects to produce results that are context-sensitive and can be interpreted. The Kaggle Quantum Programming experimental results indicate that QESAN is effective with accuracy of 98.7 which is far superior than the LSTM, BiLSTM, Transformer, and classical attention networks. The results indicate the ability of QESAN to solve the conventional issues of the text classification process particularly in the assignment of dealing with the long-range dependencies, semantic ambiguity, and sparse data. Overall, the integration of the concept of quantum computing with the attention-based deep learning provides the scalable and resilient solution to the issue of the modern text classification problems of the high-performance.

International Conference on Evolutionary Computing and Mobile Sustainable Networks (ICECMSN)•Nov 24, 2025•1 citation

Comparative Study of Traditional Machine Learning and Quantum Computing in Natural Language Processing: A Case Study on Sentiment Analysis

Yang Li, Thatsanee Charoenporn, Virach Sornlertlamvanich

This research paper primarily investigates the application and performance of traditional machine learning and quantum computing in Natural Language Processing (NLP), with a focus on sentiment analysis tasks. By comparing the accuracy, efficiency, and scalability of these two technologies, the study aims to reveal the potential of quantum computing in handling complex NLP tasks and to provide data support for future technology choices and research directions. The paper also details the use of 1M DB and NLTK movie review datasets for experiments and discusses the experimental design, performance evaluation results, and technical challenges faced by both methods.

IEEE International Symposium on Consumer Electronics (ISCE)•Aug 13, 2024•1 citation

Quantum Transfer Learning for Sentiment Analysis: an experiment on an Italian corpus

Giuseppe Buonaiuto, Raffaele Guarasci, Massimo Esposito

Exploiting quantum properties to improve performance of different tasks in Natural Language Processing (NLP) and other domains has increasingly becoming a successful trend to deal complex language phenomena or to fill task or domain-specific gaps with an approach that needs less data and minor computational resources. The field that has, to date, yielded more quantum-based attention is the retrieval and classification of textual data. This work aims to replicate the excellent results of hybrid quantum approaches for syntactic tasks on semantic classification tasks. In detail, a quantum machine learning algorithm, namely, the Variational Quantum Classifier (VQC), is used to perform sentiment analysis classification tasks. This algorithm can deduce the relationships between input features and their corresponding class affiliations using a parametrized quantum circuit and an encoding layer that translates classical data into quantum states. The approach has been tested on a well-known benchmark annotated dataset used for the Italian language, and the results have been compared to existing baselines, pointing out state-of-the-art scores.

•Jun 3, 2024•3 citations

Experimentation on Various Sentiment Classification Models in Quantum Natural Language Processing

Muddada Muralikrishna, S Nandini, Hima Keerthi Sagiraju +2 more

Quantum computers has the capacity to enhance the speed of intricate calculations, achieve parallelism via superpositions, and effectively process vast amounts of data. In addition, the domain of natural language processing (NLP) is swiftly drawing the attention of academics and engineers that want to construct more extensive computational models for NLP. Hence, the use of quantum technology in NLP endeavours, particularly in sentiment categorization, has promising prospects for further advancement. In this research work, a detailed analysis of different sentiment classification methods are investigated that are interpreted with quantum computing models. To be precise the Quantum Long Short Term Memory (QLSTM) and Quantum Support Vector Machines (QSVM) are examined to determine the efficiency among the models. The results are simulated in Qiskit simulator and real time quantum computer Qiskit_ibm_osaka to evaluate the examined models. The results shows the significance of the experimentation and it is proven using Accuracy, precision and recall as performance metrices. On an average, in terms of accuracy the proposed model outperforms existing methods with 8.9%, On precision the proposed model outperforms 11.1% compared to existing methods. And with respect to recall the proposed model outperforms 6.7% compared to existing methods.

International Conference on Augmented Reality, Intelligent Systems, and Industrial Automation (ARIIA)•Dec 20, 2024•0 citations
In this work, we conduct a sentiment analysis of English-language reviews using a quantum-like (wave-based) model of text representation. This model is explored as an alternative to machine learning (ML) techniques for text classification and analysis tasks. Special attention is given to the problem of segmenting text into semantic units, and we illustrate how the choice of segmentation algorithm is influenced by the structure of the language. We investigate the impact of quantum-like semantic interference on classification accuracy and compare the results with those obtained using classical probabilistic methods. Our findings show that accounting for interference effects improves accuracy by approximately 15%. We also explore methods for reducing the computational cost of algorithms based on the wave model of text representation. The results demonstrate that the quantum-like model can serve as a viable alternative or complement to traditional ML approaches. The model achieves classification precision and recall scores of around 0.8. Furthermore, the classification algorithm is readily amenable to optimization: the proposed procedure reduces the estimated computational complexity from O(n2) to O(n).
With the increasing amount of digital data generated by Arabic speakers, the need for effective and efficient document classification techniques is more important than ever. In recent years, both quantum computing and machine learning have shown great promise in the field of document classification. However, there is a lack of research investigating the performance of these techniques on the Arabic language. This paper presents a comparative study of quantum computing and machine learning for two datasets of Arabic language document classification. In the first dataset of 213,465 Arabic tweets, both classic machine learning (ML) and quantum computing approaches achieve high accuracy in sentiment analysis, with quantum computing slightly outperforming classic ML. Quantum computing completes the task in approximately 59 min, slightly faster than classic ML, which takes around 1 h. The precision, recall, and F1 score metrics indicate the effectiveness of both approaches in predicting sentiment in Arabic tweets. Classic ML achieves precision, recall, and F1 score values of 0.8215, 0.8175, and 0.8121, respectively, while quantum computing achieves values of 0.8239, 0.8199, and 0.8147, respectively. In the second dataset of 44,000 tweets, both classic ML (using the Random Forest algorithm) and quantum computing demonstrate significantly reduced processing times compared to the first dataset, with no substantial difference between them. Classic ML completes the analysis in approximately 2 min, while quantum computing takes approximately 1 min and 53 s. The accuracy of classic ML is higher at 0.9241 compared to 0.9205 for quantum computing. However, both approaches achieve high precision, recall, and F1 scores, indicating their effectiveness in accurately predicting sentiment in the dataset. Classic ML achieves precision, recall, and F1 score values of 0.9286, 0.9241, and 0.9249, respectively, while quantum computing achieves values of 0.92456, 0.9205, and 0.9214, respectively. The analysis of the metrics indicates that quantum computing approaches are effective in identifying positive instances and capturing relevant sentiment information in large datasets. On the other hand, traditional machine learning techniques exhibit faster processing times when dealing with smaller dataset sizes. This study provides valuable insights into the strengths and limitations of quantum computing and machine learning for Arabic document classification, emphasizing the potential of quantum computing in achieving high accuracy, particularly in scenarios where traditional machine learning techniques may encounter difficulties. These findings contribute to the development of more accurate and efficient document classification systems for Arabic data.
This research introduces a new paradigm for sentiment analysis on patient medication reviews through the application of quantum computing to improve machine learning models. A pre-existing dataset of medication reviews from the UCI Machine Learning repository was utilized, involving Quantum Natural Language Processing (QNLP) techniques, namely the application of quantum embeddings produced by quantum circuits to improve the performance of sentiment classification. Experimental findings indicate that improved models through quantum techniques, like the Quantum Random Forest, outperform conventional models in terms of accuracy and precision. These improvements are ascribed to quantum embeddings’ capacity to efficiently represent complex linguistic patterns in high-dimensional data. Additionally, the study uses robust validation techniques including performance benchmarking and cross-validation to guarantee reliability. Through a scalable and context-aware framework for natural language comprehension, this study highlights the revolutionary potential of QNLP in improving sentiment analysis in the healthcare industry.
Text classification remains among the most significant tasks in natural language processing and the field has been used in healthcare, law, social media analysis, and economic literature. Classical attention networks existing machine learning approaches and deep learning approaches, including LSTM, BiLSTM, Transformers, and classical attention networks, are susceptible to such problems as long-range dependencies and semantic ambiguity, as well as sparse or underrepresented text. To deal with these deficiencies, this research presents a proposed a Quantum-Enhanced Semantic Attention Network (QESAN), a quantum computing concept integrated into semantic attention-based deep learning paradigm. The proposed QESAN coded textual features using amplitude encoding, quantum superposition, and entanglement-like transformations, such that the model is able to learn not only complex relations between interdependencies, but also fairly subtle semantic relations which are generally hard to learn on classical models. The result of these quantum-enhanced representations is then sent through an attention mechanism which acts on the most semantically significant aspects to produce results that are context-sensitive and can be interpreted. The Kaggle Quantum Programming experimental results indicate that QESAN is effective with accuracy of 98.7 which is far superior than the LSTM, BiLSTM, Transformer, and classical attention networks. The results indicate the ability of QESAN to solve the conventional issues of the text classification process particularly in the assignment of dealing with the long-range dependencies, semantic ambiguity, and sparse data. Overall, the integration of the concept of quantum computing with the attention-based deep learning provides the scalable and resilient solution to the issue of the modern text classification problems of the high-performance.
This research paper primarily investigates the application and performance of traditional machine learning and quantum computing in Natural Language Processing (NLP), with a focus on sentiment analysis tasks. By comparing the accuracy, efficiency, and scalability of these two technologies, the study aims to reveal the potential of quantum computing in handling complex NLP tasks and to provide data support for future technology choices and research directions. The paper also details the use of 1M DB and NLTK movie review datasets for experiments and discusses the experimental design, performance evaluation results, and technical challenges faced by both methods.
Exploiting quantum properties to improve performance of different tasks in Natural Language Processing (NLP) and other domains has increasingly becoming a successful trend to deal complex language phenomena or to fill task or domain-specific gaps with an approach that needs less data and minor computational resources. The field that has, to date, yielded more quantum-based attention is the retrieval and classification of textual data. This work aims to replicate the excellent results of hybrid quantum approaches for syntactic tasks on semantic classification tasks. In detail, a quantum machine learning algorithm, namely, the Variational Quantum Classifier (VQC), is used to perform sentiment analysis classification tasks. This algorithm can deduce the relationships between input features and their corresponding class affiliations using a parametrized quantum circuit and an encoding layer that translates classical data into quantum states. The approach has been tested on a well-known benchmark annotated dataset used for the Italian language, and the results have been compared to existing baselines, pointing out state-of-the-art scores.
Quantum computers has the capacity to enhance the speed of intricate calculations, achieve parallelism via superpositions, and effectively process vast amounts of data. In addition, the domain of natural language processing (NLP) is swiftly drawing the attention of academics and engineers that want to construct more extensive computational models for NLP. Hence, the use of quantum technology in NLP endeavours, particularly in sentiment categorization, has promising prospects for further advancement. In this research work, a detailed analysis of different sentiment classification methods are investigated that are interpreted with quantum computing models. To be precise the Quantum Long Short Term Memory (QLSTM) and Quantum Support Vector Machines (QSVM) are examined to determine the efficiency among the models. The results are simulated in Qiskit simulator and real time quantum computer Qiskit_ibm_osaka to evaluate the examined models. The results shows the significance of the experimentation and it is proven using Accuracy, precision and recall as performance metrices. On an average, in terms of accuracy the proposed model outperforms existing methods with 8.9%, On precision the proposed model outperforms 11.1% compared to existing methods. And with respect to recall the proposed model outperforms 6.7% compared to existing methods.