QNet: A Quantum-Native Sequence Encoder Architecture

Wei Day, Hao Sheng Chen, Min Te Sun

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

1 Scopus citations

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(n2 ·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.

Original languageEnglish
Title of host publicationProceedings - 2023 IEEE International Conference on Quantum Computing and Engineering, QCE 2023
EditorsHausi Muller, Yuri Alexev, Andrea Delgado, Greg Byrd
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages246-255
Number of pages10
ISBN (Electronic)9798350343236
DOIs
StatePublished - 2023
Event4th IEEE International Conference on Quantum Computing and Engineering, QCE 2023 - Bellevue, United States
Duration: 17 Sep 202322 Sep 2023

Publication series

NameProceedings - 2023 IEEE International Conference on Quantum Computing and Engineering, QCE 2023
Volume1

Conference

Conference4th IEEE International Conference on Quantum Computing and Engineering, QCE 2023
Country/TerritoryUnited States
CityBellevue
Period17/09/2322/09/23

Keywords

  • deep learning model
  • natural language processing
  • quantum machine learning

Fingerprint

Dive into the research topics of 'QNet: A Quantum-Native Sequence Encoder Architecture'. Together they form a unique fingerprint.

Cite this