QNet: A Quantum-native Sequence Encoder Architecture
- URL: http://arxiv.org/abs/2210.17262v2
- Date: Mon, 28 Aug 2023 01:17:32 GMT
- Title: QNet: A Quantum-native Sequence Encoder Architecture
- Authors: Wei Day, Hao-Sheng Chen, Min-Te Sun
- Abstract summary: This work proposes QNet, a novel sequence encoder model that entirely inferences on the quantum computer using a minimum number of qubits.
In addition, we introduce ResQNet, a quantum-classical hybrid model composed of several QNet blocks linked by residual connections.
- Score: 2.8099769011264586
- License: http://creativecommons.org/licenses/by/4.0/
- Abstract: This work proposes QNet, a novel sequence encoder model that entirely
inferences on the quantum computer using a minimum number of qubits. Let $n$
and $d$ represent the length of the sequence and the embedding size,
respectively. The dot-product attention mechanism requires a time complexity of
$O(n^2 \cdot d)$, while QNet has merely $O(n+d)$ quantum circuit depth. In
addition, we introduce ResQNet, a quantum-classical hybrid model composed of
several QNet blocks linked by residual connections, as an isomorph Transformer
Encoder. We evaluated our work on various natural language processing tasks,
including text classification, rating score prediction, and named entity
recognition. Our models exhibit compelling performance over classical
state-of-the-art models with a thousand times fewer parameters. In summary,
this work investigates the advantage of machine learning on near-term quantum
computers in sequential data by experimenting with natural language processing
tasks.
Related papers
- Extending Quantum Perceptrons: Rydberg Devices, Multi-Class Classification, and Error Tolerance [67.77677387243135]
Quantum Neuromorphic Computing (QNC) merges quantum computation with neural computation to create scalable, noise-resilient algorithms for quantum machine learning (QML)
At the core of QNC is the quantum perceptron (QP), which leverages the analog dynamics of interacting qubits to enable universal quantum computation.
arXiv Detail & Related papers (2024-11-13T23:56:20Z) - 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) - Multi-Scale Feature Fusion Quantum Depthwise Convolutional Neural Networks for Text Classification [3.0079490585515343]
We propose a novel quantum neural network (QNN) model based on quantum convolution.
We develop the quantum depthwise convolution that significantly reduces the number of parameters and lowers computational complexity.
We also introduce the multi-scale feature fusion mechanism to enhance model performance by integrating word-level and sentence-level features.
arXiv Detail & Related papers (2024-05-22T10:19:34Z) - TeD-Q: a tensor network enhanced distributed hybrid quantum machine learning framework [48.491303218786044]
TeD-Q is an open-source software framework for quantum machine learning.
It seamlessly integrates classical machine learning libraries with quantum simulators.
It provides a graphical mode in which the quantum circuit and the training progress can be visualized in real-time.
arXiv Detail & Related papers (2023-01-13T09:35:05Z) - 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 Neuron with Separable-State Encoding [0.0]
It is not yet possible to test advanced quantum neuron models on a large scale in currently available quantum processors.
We propose a quantum perceptron (QP) model that uses a reduced number of multi-qubit gates.
We demonstrate the performance of the proposed model by implementing a few qubits version of the QP in a simulated quantum computer.
arXiv Detail & Related papers (2022-02-16T19:26:23Z) - A quantum algorithm for training wide and deep classical neural networks [72.2614468437919]
We show that conditions amenable to classical trainability via gradient descent coincide with those necessary for efficiently solving quantum linear systems.
We numerically demonstrate that the MNIST image dataset satisfies such conditions.
We provide empirical evidence for $O(log n)$ training of a convolutional neural network with pooling.
arXiv Detail & Related papers (2021-07-19T23:41:03Z) - A Quantum Convolutional Neural Network on NISQ Devices [0.9831489366502298]
We propose a quantum convolutional neural network inspired by convolutional neural networks.
Our model is robust to certain noise for image recognition tasks.
It opens up the prospect of exploiting quantum power to process information in the era of big data.
arXiv Detail & Related papers (2021-04-14T15:07:03Z) - Decentralizing Feature Extraction with Quantum Convolutional Neural
Network for Automatic Speech Recognition [101.69873988328808]
We build upon a quantum convolutional neural network (QCNN) composed of a quantum circuit encoder for feature extraction.
An input speech is first up-streamed to a quantum computing server to extract Mel-spectrogram.
The corresponding convolutional features are encoded using a quantum circuit algorithm with random parameters.
The encoded features are then down-streamed to the local RNN model for the final recognition.
arXiv Detail & Related papers (2020-10-26T03:36:01Z) - Supervised Learning Using a Dressed Quantum Network with "Super
Compressed Encoding": Algorithm and Quantum-Hardware-Based Implementation [7.599675376503671]
Implementation of variational Quantum Machine Learning (QML) algorithms on Noisy Intermediate-Scale Quantum (NISQ) devices has issues related to the high number of qubits needed and the noise associated with multi-qubit gates.
We propose a variational QML algorithm using a dressed quantum network to address these issues.
Unlike in most other existing QML algorithms, our quantum circuit consists only of single-qubit gates, making it robust against noise.
arXiv Detail & Related papers (2020-07-20T16:29:32Z)
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.