Quantum Mixed-State Self-Attention Network

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Chen, Fu, Zhao, Qinglin, Feng, Li, Chen, Chuangtao, Lin, Yangbin, Lin, Jianhong
Formato: Preprint
Publicado: 2024
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866915041299660800
author Chen, Fu
Zhao, Qinglin
Feng, Li
Chen, Chuangtao
Lin, Yangbin
Lin, Jianhong
author_facet Chen, Fu
Zhao, Qinglin
Feng, Li
Chen, Chuangtao
Lin, Yangbin
Lin, Jianhong
contents Attention mechanisms have revolutionized natural language processing. Combining them with quantum computing aims to further advance this technology. This paper introduces a novel Quantum Mixed-State Self-Attention Network (QMSAN) for natural language processing tasks. Our model leverages quantum computing principles to enhance the effectiveness of self-attention mechanisms. QMSAN uses a quantum attention mechanism based on mixed state, allowing for direct similarity estimation between queries and keys in the quantum domain. This approach leads to more effective attention coefficient calculations. We also propose an innovative quantum positional encoding scheme, implemented through fixed quantum gates within the circuit, improving the model's ability to capture sequence information without additional qubit resources. In numerical experiments of text classification tasks on public datasets, QMSAN outperforms Quantum Self-Attention Neural Network (QSANN). Furthermore, we demonstrate QMSAN's robustness in different quantum noise environments, highlighting its potential for near-term quantum devices.
format Preprint
id arxiv_https___arxiv_org_abs_2403_02871
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Quantum Mixed-State Self-Attention Network
Chen, Fu
Zhao, Qinglin
Feng, Li
Chen, Chuangtao
Lin, Yangbin
Lin, Jianhong
Quantum Physics
Machine Learning
Attention mechanisms have revolutionized natural language processing. Combining them with quantum computing aims to further advance this technology. This paper introduces a novel Quantum Mixed-State Self-Attention Network (QMSAN) for natural language processing tasks. Our model leverages quantum computing principles to enhance the effectiveness of self-attention mechanisms. QMSAN uses a quantum attention mechanism based on mixed state, allowing for direct similarity estimation between queries and keys in the quantum domain. This approach leads to more effective attention coefficient calculations. We also propose an innovative quantum positional encoding scheme, implemented through fixed quantum gates within the circuit, improving the model's ability to capture sequence information without additional qubit resources. In numerical experiments of text classification tasks on public datasets, QMSAN outperforms Quantum Self-Attention Neural Network (QSANN). Furthermore, we demonstrate QMSAN's robustness in different quantum noise environments, highlighting its potential for near-term quantum devices.
title Quantum Mixed-State Self-Attention Network
topic Quantum Physics
Machine Learning
url https://arxiv.org/abs/2403.02871