Recurrent Quantum Neural Networks
Johannes Bausch
Abstract
Recurrent neural networks are the foundation of many sequence-to-sequence models in machine learning, such as machine translation and speech synthesis. In contrast, applied quantum computing is in its infancy. Nevertheless there already exist quantum machine learning models such as variational quantum eigensolvers which have been used successfully e.g. in the context of energy minimization tasks. In this work we construct a quantum recurrent neural network (QRNN) with demonstrable performance on non-trivial tasks such as sequence learning and integer digit classification. The QRNN cell is built from parametrized quantum neurons, which, in conjunction with amplitude amplification, create a nonlinear activation of polynomials of its inputs and cell state, and allow the extraction of a probability distribution over predicted classes at each step. To study the model's performance, we provide an implementation in pytorch, which allows the relatively efficient optimization of parametrized quantum circuits with thousands of parameters. We establish a QRNN training setup by benchmarking optimization hyperparameters, and analyse suitable network topologies for simple memorisation and sequence prediction tasks from Elman's seminal paper (1990) on temporal structure learning. We then proceed to evaluate the QRNN on MNIST classification, both by feeding the QRNN each image pixel-by-pixel; and by utilising modern data augmentation as preprocessing step. Finally, we analyse to what extent the unitary nature of the network counteracts the vanishing gradient problem that plagues many existing quantum classifiers and classical RNNs.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 3714004e-fa5d-4b55-90b0-752b9eb53b4fCited by top-tier papers8
- GraphQNTK: Quantum Neural Tangent Kernel for Graph DataYehui Tang, Junchi YanNeurIPS 2022 · 26 citations
- QAS-Bench: Rethinking Quantum Architecture Search and A BenchmarkXudong Lu, Kaisen Pan, Ge Yan, Jiaming Shan et al.ICML 2023 · 25 citations
- QVAE-Mole: The Quantum VAE with Spherical Latent Variable Learning for 3-D Molecule GenerationHuaijin Wu, Xinyu Ye, Junchi YanNeurIPS 2024 · 25 citations
- Learning Shallow Quantum CircuitsHsin-Yuan Huang, Yunchao Liu, Michael Broughton, Isaac Kim et al.STOC 2024 · 21 citations
- Systematic improvement of neural network quantum states using LanczosHongwei Chen, Douglas Hendry, Phillip Weinberg, Adrian E. FeiguinNeurIPS 2022 · 16 citations
Builds on1
Related papers
- Concentration of Data Encoding in Parameterized Quantum CircuitsGuangxi Li, Ruilin Ye, Xuanqiang Zhao, Xin WangNeurIPS 2022 · 42 citations
- VSQL: Variational Shadow Quantum Learning for ClassificationGuangxi Li, Zhixin Song, Xin WangAAAI 2021 · 55 citations
- Exponentially Many Local Minima in Quantum Neural NetworksXuchen You, Xiaodi WuICML 2021 · 67 citations
- Parametrized Quantum Policies for Reinforcement LearningSofiène Jerbi, Casper Gyurik, Simon C. Marshall, Hans J. Briegel et al.NeurIPS 2021 · 201 citations
- Quantum Deep Equilibrium ModelsPhilipp Schleich, Marta Skreta, Lasse Bjørn Kristensen, Rodrigo A. Vargas-Hernández et al.NeurIPS 2024 · 8 citations
