QSAN: A Near-term Achievable Quantum Self-Attention Network
- URL: http://arxiv.org/abs/2207.07563v4
- Date: Sat, 5 Aug 2023 08:16:42 GMT
- Title: QSAN: A Near-term Achievable Quantum Self-Attention Network
- Authors: Jinjing Shi and Ren-Xin Zhao and Wenxuan Wang and Shichao Zhang and
Xuelong Li
- Abstract summary: Self-Attention Mechanism (SAM) is good at capturing the internal connections of features.
A novel Quantum Self-Attention Network (QSAN) is proposed for image classification tasks on near-term quantum devices.
- Score: 73.15524926159702
- License: http://arxiv.org/licenses/nonexclusive-distrib/1.0/
- Abstract: Self-Attention Mechanism (SAM) is good at capturing the internal connections
of features and greatly improves the performance of machine learning models,
espeacially requiring efficient characterization and feature extraction of
high-dimensional data. A novel Quantum Self-Attention Network (QSAN) is
proposed for image classification tasks on near-term quantum devices. First, a
Quantum Self-Attention Mechanism (QSAM) including Quantum Logic Similarity
(QLS) and Quantum Bit Self-Attention Score Matrix (QBSASM) is explored as the
theoretical basis of QSAN to enhance the data representation of SAM. QLS is
employed to prevent measurements from obtaining inner products to allow QSAN to
be fully implemented on quantum computers, and QBSASM as a result of the
evolution of QSAN to produce a density matrix that effectively reflects the
attention distribution of the output. Then, the framework for one-step
realization and quantum circuits of QSAN are designed for fully considering the
compression of the measurement times to acquire QBSASM in the intermediate
process, in which a quantum coordinate prototype is introduced as well in the
quantum circuit for describing the mathematical relation between the output and
control bits to facilitate programming. Ultimately, the method comparision and
binary classification experiments on MNIST with the pennylane platform
demonstrate that QSAN converges about 1.7x and 2.3x faster than
hardware-efficient ansatz and QAOA ansatz respevtively with similar parameter
configurations and 100% prediction accuracy, which indicates it has a better
learning capability. QSAN is quite suitable for fast and in-depth analysis of
the primary and secondary relationships of image and other data, which has
great potential for applications of quantum computer vision from the
perspective of enhancing the information extraction ability of models.
Related papers
- Mixed-Dimensional Qudit State Preparation Using Edge-Weighted Decision Diagrams [3.393749500700096]
Quantum computers have the potential to solve intractable problems.
One key element to exploiting this potential is the capability to efficiently prepare quantum states for multi-valued, or qudit, systems.
In this paper, we investigate quantum state preparation with a focus on mixed-dimensional systems.
arXiv Detail & Related papers (2024-06-05T18:00:01Z) - Quantum Mixed-State Self-Attention Network [3.1280831148667105]
This paper introduces a novel Quantum Mixed-State Attention Network (QMSAN), which integrates the principles of quantum computing with classical machine learning algorithms.
QMSAN model employs a quantum attention mechanism based on mixed states, enabling efficient direct estimation of similarity between queries and keys within the quantum domain.
Our study investigates the model's robustness in different quantum noise environments, showing that QMSAN possesses commendable robustness to low noise.
arXiv Detail & Related papers (2024-03-05T11:29:05Z) - QKSAN: A Quantum Kernel Self-Attention Network [53.96779043113156]
A Quantum Kernel Self-Attention Mechanism (QKSAM) is introduced to combine the data representation merit of Quantum Kernel Methods (QKM) with the efficient information extraction capability of SAM.
A Quantum Kernel Self-Attention Network (QKSAN) framework is proposed based on QKSAM, which ingeniously incorporates the Deferred Measurement Principle (DMP) and conditional measurement techniques.
Four QKSAN sub-models are deployed on PennyLane and IBM Qiskit platforms to perform binary classification on MNIST and Fashion MNIST.
arXiv Detail & Related papers (2023-08-25T15:08:19Z) - Exploiting the Quantum Advantage for Satellite Image Processing: Review
and Assessment [1.3597551064547502]
This article examines the current status of quantum computing in Earth observation (EO) and satellite imagery.
We analyze the potential limitations and applications of quantum learning models when dealing with satellite data.
arXiv Detail & Related papers (2023-08-18T10:34:34Z) - A natural NISQ model of quantum self-attention mechanism [11.613292674155685]
Self-attention mechanism (SAM) has demonstrated remarkable success in various applications.
Quantum neural networks (QNNs) have been developed as a novel learning model.
We propose a completely natural way of implementing SAM in QNNs, resulting in the quantum self-attention mechanism (QSAM)
arXiv Detail & Related papers (2023-05-25T03:09:17Z) - Potential and limitations of quantum extreme learning machines [55.41644538483948]
We present a framework to model QRCs and QELMs, showing that they can be concisely described via single effective measurements.
Our analysis paves the way to a more thorough understanding of the capabilities and limitations of both QELMs and QRCs.
arXiv Detail & Related papers (2022-10-03T09:32:28Z) - Optimal Stochastic Resource Allocation for Distributed Quantum Computing [50.809738453571015]
We propose a resource allocation scheme for distributed quantum computing (DQC) based on programming to minimize the total deployment cost for quantum resources.
The evaluation demonstrates the effectiveness and ability of the proposed scheme to balance the utilization of quantum computers and on-demand quantum computers.
arXiv Detail & Related papers (2022-09-16T02:37:32Z) - Quantum Federated Learning with Quantum Data [87.49715898878858]
Quantum machine learning (QML) has emerged as a promising field that leans on the developments in quantum computing to explore large complex machine learning problems.
This paper proposes the first fully quantum federated learning framework that can operate over quantum data and, thus, share the learning of quantum circuit parameters in a decentralized manner.
arXiv Detail & Related papers (2021-05-30T12:19:27Z) - 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)
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.