Improving Quantum Recurrent Neural Networks with Amplitude Encoding
Jack Morgan, Hamed Mohammadbagherpoor, Eric Ghysels
TL;DR
This work targets practical amplitudes-encoded QRNNs for time-series forecasting by introducing (i) a preprocessing step that preserves amplitude information via a pre-normalized amplitude feature, (ii) a comparison between exact amplitude encoding and EnQode approximate state preparation with substantial circuit-depth reductions, and (iii) a depth-reducing alternating $F$-register circuit that remains equivalent on ideal hardware. Empirical results on Yahoo Finance and Oxford-Man SPX datasets show that amplitude-encoded QRNNs can outperform angle-encoded variants in generalization, with MaxMin-scaled amplitude preprocessing and EnQode offering notable gains in both predictive accuracy and hardware feasibility. While EnQode introduces some fidelity loss, the depth and coherence benefits offset this in noisy simulations, underscoring its practicality for near-term devices. The paper provides actionable guidance for deploying amplitude-encoded QRNNs and suggests avenues for extending these ideas to broader quantum-time-series models such as Quantum Reservoir Computing.
Abstract
Quantum machine learning holds promise for advancing time series forecasting. The Quantum Recurrent Neural Network (QRNN), inspired by classical RNNs, encodes temporal data into quantum states that are periodically input into a quantum circuit. While prior QRNN work has predominantly used angle encoding, alternative encoding strategies like amplitude encoding remain underexplored due to their high computational complexity. In this paper, we evaluate and improve amplitude-based QRNNs using EnQode, a recently introduced method for approximate amplitude encoding. We propose a simple pre-processing technique that augments amplitude encoded inputs with their pre-normalized magnitudes, leading to improved generalization on two real world data sets. Additionally, we introduce a novel circuit architecture for the QRNN that is mathematically equivalent to the original model but achieves a substantial reduction in circuit depth. Together, these contributions demonstrate practical improvements to QRNN design in both model performance and quantum resource efficiency.
