Quantum Mixed-State Self-Attention Network

Fu Chen, Qinglin Zhao, Li Feng, Chuangtao Chen, Yangbin Lin +1 more
3/5/2024
quant-phcs.LG

No confident code implementation found for this paper.

Abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{chen2024quantum,
  title  = {Quantum Mixed-State Self-Attention Network},
  author = {Fu Chen and Qinglin Zhao and Li Feng and Chuangtao Chen and Yangbin Lin and Jianhong Lin},
  year   = {2024},
  eprint = {2403.02871},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2403.02871v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2403.02871.svg)](https://codeofpaper.com/paper/2403.02871)

Discussion