Quantum Natural Language Processing based Sentiment Analysis using
lambeq Toolkit
- URL: http://arxiv.org/abs/2305.19383v1
- Date: Tue, 30 May 2023 19:54:02 GMT
- Title: Quantum Natural Language Processing based Sentiment Analysis using
lambeq Toolkit
- Authors: Srinjoy Ganguly, Sai Nandan Morapakula, Luis Miguel Pozo Coronado
- Abstract summary: Quantum natural language processing (QNLP) is a young and gradually emerging technology which has the potential to provide quantum advantage for NLP tasks.
We show the first application of QNLP for sentiment analysis and achieve perfect test set accuracy for three different kinds of simulations and a decent accuracy for experiments ran on a noisy quantum device.
- Score: 0.5735035463793007
- License: http://creativecommons.org/licenses/by/4.0/
- Abstract: Sentiment classification is one the best use case of classical natural
language processing (NLP) where we can witness its power in various daily life
domains such as banking, business and marketing industry. We already know how
classical AI and machine learning can change and improve technology. Quantum
natural language processing (QNLP) is a young and gradually emerging technology
which has the potential to provide quantum advantage for NLP tasks. In this
paper we show the first application of QNLP for sentiment analysis and achieve
perfect test set accuracy for three different kinds of simulations and a decent
accuracy for experiments ran on a noisy quantum device. We utilize the lambeq
QNLP toolkit and $t|ket>$ by Cambridge Quantum (Quantinuum) to bring out the
results.
Related papers
- A Quantum-Inspired Analysis of Human Disambiguation Processes [0.0]
In this thesis, we apply formalisms arising from foundational quantum mechanics to study ambiguities arising from linguistics.
Results were subsequently used to predict human behaviour and outperformed current NLP methods.
arXiv Detail & Related papers (2024-08-14T09:21:23Z) - Quantum Imitation Learning [74.15588381240795]
We propose quantum imitation learning (QIL) with a hope to utilize quantum advantage to speed up IL.
We develop two QIL algorithms, quantum behavioural cloning (Q-BC) and quantum generative adversarial imitation learning (Q-GAIL)
Experiment results demonstrate that both Q-BC and Q-GAIL can achieve comparable performance compared to classical counterparts.
arXiv Detail & Related papers (2023-04-04T12:47:35Z) - Quantum Machine Learning: from physics to software engineering [58.720142291102135]
We show how classical machine learning approach can help improve the facilities of quantum computers.
We discuss how quantum algorithms and quantum computers may be useful for solving classical machine learning tasks.
arXiv Detail & Related papers (2023-01-04T23:37:45Z) - Recent Advances for Quantum Neural Networks in Generative Learning [98.88205308106778]
Quantum generative learning models (QGLMs) may surpass their classical counterparts.
We review the current progress of QGLMs from the perspective of machine learning.
We discuss the potential applications of QGLMs in both conventional machine learning tasks and quantum physics.
arXiv Detail & Related papers (2022-06-07T07:32:57Z) - Quantum Neural Network Classifiers: A Tutorial [1.4567067583556714]
We focus on quantum neural networks in the form of parameterized quantum circuits.
We will mainly discuss different structures and encoding strategies of quantum neural networks for supervised learning tasks.
benchmark their performance utilizing Yao.jl, a quantum simulation package written in Julia Language.
arXiv Detail & Related papers (2022-06-06T18:00:01Z) - Quantum Self-Attention Neural Networks for Text Classification [8.975913540662441]
We propose a new simple network architecture, called the quantum self-attention neural network (QSANN)
We introduce the self-attention mechanism into quantum neural networks and then utilize a Gaussian projected quantum self-attention serving as a sensible quantum version of self-attention.
Our method exhibits robustness to low-level quantum noises and showcases resilience to quantum neural network architectures.
arXiv Detail & Related papers (2022-05-11T16:50:46Z) - On exploring the potential of quantum auto-encoder for learning quantum systems [60.909817434753315]
We devise three effective QAE-based learning protocols to address three classically computational hard learning problems.
Our work sheds new light on developing advanced quantum learning algorithms to accomplish hard quantum physics and quantum information processing tasks.
arXiv Detail & Related papers (2021-06-29T14:01:40Z) - QNLP in Practice: Running Compositional Models of Meaning on a Quantum
Computer [0.7194733565949804]
We present results on the first NLP experiments conducted on Noisy Intermediate-Scale Quantum (NISQ) computers.
We create representations for sentences that have a natural mapping to quantum circuits.
We successfully train NLP models that solve simple sentence classification tasks on quantum hardware.
arXiv Detail & Related papers (2021-02-25T13:37:33Z) - Grammar-Aware Question-Answering on Quantum Computers [0.17205106391379021]
We perform the first implementation of an NLP task on noisy intermediate-scale quantum (NISQ) hardware.
We encode word-meanings in quantum states and we explicitly account for grammatical structure.
Our novel QNLP model shows concrete promise for scalability as the quality of the quantum hardware improves.
arXiv Detail & Related papers (2020-12-07T14:49:34Z) - Quantum circuit architecture search for variational quantum algorithms [88.71725630554758]
We propose a resource and runtime efficient scheme termed quantum architecture search (QAS)
QAS automatically seeks a near-optimal ansatz to balance benefits and side-effects brought by adding more noisy quantum gates.
We implement QAS on both the numerical simulator and real quantum hardware, via the IBM cloud, to accomplish data classification and quantum chemistry tasks.
arXiv Detail & Related papers (2020-10-20T12:06:27Z) - On the learnability of quantum neural networks [132.1981461292324]
We consider the learnability of the quantum neural network (QNN) built on the variational hybrid quantum-classical scheme.
We show that if a concept can be efficiently learned by QNN, then it can also be effectively learned by QNN even with gate noise.
arXiv Detail & Related papers (2020-07-24T06:34:34Z)
This list is automatically generated from the titles and abstracts of the papers in this site.
This site does not guarantee the quality of this site (including all information) and is not responsible for any consequences.