A hybrid classical-quantum workflow for natural language processing
- URL: http://arxiv.org/abs/2004.06800v1
- Date: Sun, 12 Apr 2020 12:19:17 GMT
- Title: A hybrid classical-quantum workflow for natural language processing
- Authors: Lee J. O'Riordan, Myles Doyle, Fabio Baruffa, Venkatesh Kannan
- Abstract summary: We demonstrate the use of quantum computing models to perform natural language processing tasks.
We represent corpus meanings, and perform comparisons between sentences of a given structure.
We develop a hybrid workflow for representing small and large scale corpus data sets to be encoded, processed, and decoded.
- Score: 0.0
- License: http://arxiv.org/licenses/nonexclusive-distrib/1.0/
- Abstract: Natural language processing (NLP) problems are ubiquitous in classical
computing, where they often require significant computational resources to
infer sentence meanings. With the appearance of quantum computing hardware and
simulators, it is worth developing methods to examine such problems on these
platforms. In this manuscript we demonstrate the use of quantum computing
models to perform NLP tasks, where we represent corpus meanings, and perform
comparisons between sentences of a given structure. We develop a hybrid
workflow for representing small and large scale corpus data sets to be encoded,
processed, and decoded using a quantum circuit model. In addition, we provide
our results showing the efficacy of the method, and release our developed
toolkit as an open software suite.
Related papers
- Efficient Learning for Linear Properties of Bounded-Gate Quantum Circuits [63.733312560668274]
Given a quantum circuit containing d tunable RZ gates and G-d Clifford gates, can a learner perform purely classical inference to efficiently predict its linear properties?
We prove that the sample complexity scaling linearly in d is necessary and sufficient to achieve a small prediction error, while the corresponding computational complexity may scale exponentially in d.
We devise a kernel-based learning model capable of trading off prediction error and computational complexity, transitioning from exponential to scaling in many practical settings.
arXiv Detail & Related papers (2024-08-22T08:21:28Z) - Quantum Algorithms for Compositional Text Processing [1.3654846342364308]
We focus on the recently proposed DisCoCirc framework for natural language, and propose a quantum adaptation, QDisCoCirc.
This is motivated by a compositional approach to rendering AI interpretable.
For the model-native primitive operation of text similarity, we derive quantum algorithms for fault-tolerant quantum computers.
arXiv Detail & Related papers (2024-08-12T11:21:40Z) - The Basis of Design Tools for Quantum Computing: Arrays, Decision
Diagrams, Tensor Networks, and ZX-Calculus [55.58528469973086]
Quantum computers promise to efficiently solve important problems classical computers never will.
A fully automated quantum software stack needs to be developed.
This work provides a look "under the hood" of today's tools and showcases how these means are utilized in them, e.g., for simulation, compilation, and verification of quantum circuits.
arXiv Detail & Related papers (2023-01-10T19:00:00Z) - A didactic approach to quantum machine learning with a single qubit [68.8204255655161]
We focus on the case of learning with a single qubit, using data re-uploading techniques.
We implement the different proposed formulations in toy and real-world datasets using the qiskit quantum computing SDK.
arXiv Detail & Related papers (2022-11-23T18:25:32Z) - Quantum Natural Language Generation on Near-Term Devices [0.0]
We design a hybrid quantum-classical algorithm for sentence generation.
An implementation is provided and used to demonstrate successful sentence generation on both simulated and real quantum hardware.
A variant of our algorithm can also be used for music generation.
arXiv Detail & Related papers (2022-11-01T20:12:35Z) - Near-Term Advances in Quantum Natural Language Processing [0.03298597939573778]
This paper describes experiments showing that some tasks in natural language processing can already be performed using quantum computers.
The first uses an explicit word-based approach, in which word-topic scoring weights are implemented as fractional rotations of individual qubit.
A new phrase is classified based on the accumulation of these weights in a scoring qubit using entangling controlled-NOT gates.
arXiv Detail & Related papers (2022-06-05T13:10:46Z) - Quantum simulation with just-in-time compilation [0.0]
We present a first attempt to perform circuit-based quantum simulation using the just-in-time (JIT) compilation technique.
Qibojit is a new module for the Qibo quantum computing framework, which uses a just-in-time compilation approach through Python.
arXiv Detail & Related papers (2022-03-16T18:00:00Z) - Generalization Metrics for Practical Quantum Advantage in Generative
Models [68.8204255655161]
Generative modeling is a widely accepted natural use case for quantum computers.
We construct a simple and unambiguous approach to probe practical quantum advantage for generative modeling by measuring the algorithm's generalization performance.
Our simulation results show that our quantum-inspired models have up to a $68 times$ enhancement in generating unseen unique and valid samples.
arXiv Detail & Related papers (2022-01-21T16:35:35Z) - QuaSiMo: A Composable Library to Program Hybrid Workflows for Quantum
Simulation [48.341084094844746]
We present a composable design scheme for the development of hybrid quantum/classical algorithms and for applications of quantum simulation.
We implement our design scheme using the hardware-agnostic programming language QCOR into the QuaSiMo library.
arXiv Detail & Related papers (2021-05-17T16:17:57Z) - 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) - Composable Programming of Hybrid Workflows for Quantum Simulation [48.341084094844746]
We present a composable design scheme for the development of hybrid quantum/classical algorithms and for applications of quantum simulation.
We implement our design scheme using the hardware-agnostic programming language QCOR into the QuaSiMo library.
arXiv Detail & Related papers (2021-01-20T14:20:14Z)
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.