[Paper Review] Quantum Long Short-Term Memory
This paper proposes Quantum Long Short-Term Memory (QLSTM), a hybrid quantum-classical recurrent neural network that leverages variational quantum circuits to model sequential and temporally dependent data. QLSTM achieves faster convergence and higher accuracy than classical LSTM in numerical simulations, particularly excelling in learning complex temporal dynamics such as non-Markovian population inversion with improved stability and lower training loss.
Long short-term memory (LSTM) is a kind of recurrent neural networks (RNN) for sequence and temporal dependency data modeling and its effectiveness has been extensively established. In this work, we propose a hybrid quantum-classical model of LSTM, which we dub QLSTM. We demonstrate that the proposed model successfully learns several kinds of temporal data. In particular, we show that for certain testing cases, this quantum version of LSTM converges faster, or equivalently, reaches a better accuracy, than its classical counterpart. Due to the variational nature of our approach, the requirements on qubit counts and circuit depth are eased, and our work thus paves the way toward implementing machine learning algorithms for sequence modeling on noisy intermediate-scale quantum (NISQ) devices.
Motivation & Objective
- To develop a quantum machine learning framework capable of modeling sequential and temporal data using variational quantum circuits.
- To address the gap in quantum machine learning for sequence modeling, particularly for recurrent neural networks.
- To demonstrate that quantum-enhanced RNNs can outperform classical counterparts in learning speed, accuracy, and convergence stability.
- To explore the feasibility of implementing sequence modeling on noisy intermediate-scale quantum (NISQ) devices using a hybrid quantum-classical training approach.
Proposed method
- The QLSTM architecture integrates long short-term memory (LSTM) units with variational quantum circuits (VQCs), where quantum circuits replace classical recurrent units.
- Classical input sequences are encoded into quantum states using a parameterized circuit: H–Ry(θi,1)–Rz(θi,2), enabling quantum superposition and entanglement for enhanced representational power.
- Quantum circuit parameters are optimized via classical backpropagation using the parameter-shift rule for gradient computation, enabling end-to-end training.
- The model employs a hybrid quantum-classical optimization loop, where quantum circuits compute forward passes and classical optimizers update parameters iteratively.
- The framework is designed to be resource-efficient, minimizing qubit count and circuit depth, making it suitable for NISQ-era quantum hardware.
- The model is evaluated on synthetic temporal tasks, including non-Markovian dynamics such as population inversion in a qubit-cavity system.
Experimental results
Research questions
- RQ1Can a hybrid quantum-classical architecture effectively model sequential and temporally dependent data using variational quantum circuits?
- RQ2Does the quantum-enhanced LSTM (QLSTM) converge faster and achieve higher accuracy than classical LSTM in sequence learning tasks?
- RQ3How does QLSTM perform in learning complex temporal dynamics, such as non-Markovian population inversion with oscillatory and balanced state behavior?
- RQ4What is the impact of quantum entanglement and superposition on the stability and generalization of sequence modeling in QLSTM compared to classical LSTM?
- RQ5Can QLSTM be implemented on near-term NISQ devices with limited qubits and circuit depth, given its variational and parameter-efficient design?
Key findings
- QLSTM achieves a training loss of 1.78×10⁻³ at epoch 15, which is an order of magnitude lower than the classical LSTM’s 1.25×10⁻², indicating significantly faster convergence.
- QLSTM demonstrates superior stability, with no observed loss spikes during training, unlike classical LSTM which exhibits erratic loss behavior.
- QLSTM learns the zero-offset point (D(t) = 0) in population inversion much more accurately than LSTM, which shows persistent nonzero offsets at key epochs.
- QLSTM generalizes better to unseen temporal patterns, particularly in capturing minima, maxima, and balanced state transitions in non-Markovian dynamics.
- The QLSTM model achieves higher testing accuracy and lower testing loss (2.1×10⁻³) compared to LSTM (1.26×10⁻²), confirming improved generalization.
- The framework is robust to complex temporal structures and shows promise for modeling open quantum systems with memory effects, such as delayed feedback and population revivals.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.