Time series forecasting involves analyzing historical data to predict future trends and is useful for reducing uncertainty in various phenomena. Recurrent Neural Network-based Long Short-Term Memory (LSTM) has been shown to be used for time series forecasting. However, the introduction of a hybrid quantum-classical model of LSTM, i.e., Quantum LSTM (QLSTM), opens up avenues for faster and more efficient computing and, therefore, is of significant potential. These potentials underscore the necessity for a comparative analysis of both models to assess their effectiveness and efficiency. This study evaluates the performance of QLSTM and classical LSTM models in time series forecasting. Through controlled parametric numerical experiments, the study examines the performance of both models using CPUs and GPUs in cloud environments. Our findings reveal significant improvements in the QLSTM model, with enhanced training accuracy and reduced test loss compared to the classical LSTM under similar epochs and batch sizes. The results demonstrate the superior efficiency of the QLSTM model in handling large, complex data sets compared to the classical LSTM model.
Time series forecasting involves analyzing historical data to predict future trends and is useful for reducing uncertainty in various phenomena. Recurrent Neural Network-based Long Short-Term Memory (LSTM) has been shown to be used for time series forecasting. However, the introduction of a hybrid quantum-classical model of LSTM, i.e., Quantum LSTM (QLSTM), opens up avenues for faster and more efficient computing and, therefore, is of significant potential. These potentials underscore the necessity for a comparative analysis of both models to assess their effectiveness and efficiency. This study evaluates the performance of QLSTM and classical LSTM models in time series forecasting. Through controlled parametric numerical experiments, the study examines the performance of both models using CPUs and GPUs in cloud environments. Our findings reveal significant improvements in the QLSTM model, with enhanced training accuracy and reduced test loss compared to the classical LSTM under similar epochs and batch sizes. The results demonstrate the superior efficiency of the QLSTM model in handling large, complex data sets compared to the classical LSTM model.
Merger of Quantum computing and Machine learning explores a new shift in artificial intelligence. Quantum neural networks and parameterized quantum circuits are tools that enable the merger of these two branches. Here, we use Quantum circuit enabled long short term memory (QLSTM) neural network to forecast time series data. We show the efficacy of quantum computing by conducting experiments on two different time series data sets. In our first experiment, we are predicting the amount of rainfall fall and the second experiment has electric load (power) prediction. Our dataset for rainfall prediction includes hourly information on the weather conditions i.e., wind speed, wind direction, minimum and maximum temperatures, and pressure with the amount of rain falls. For electric load (power generation) dataset, few of the features include amount of biomass, amount of fossil brown coal/ignite, amount of fossil coal derived gas, nuclear power, solar power, and the corresponding wind velocity forecasts. We compare the training as well as the test loss of classical Bidirectional LSTM (BILSTM) and the Quantum BILSTM and observe that LSTM based on quantum approach reduces both the training and test loss considerably when compared to its classical part with very few epochs of training.
Prediction of stock price remains a challenging task because financial markets are dynamic and often non-linear, unpredictable patterns. To deal with such unpredictable data, the architecture that’s created must identify both time based trends and hidden patterns in data. In this study, we explore a hybrid modelling approach by combining both the classical deep learning techniques with quantum computing principles. Specifically, a Long Short-Term Memory (LSTM) is combined with a Quantum Neural Network (QNN) to understand the benefits of using quantum in time series forecasting. Rather than depending on a single quantum configuration, multiple feature maps and ansatz circuit designs were evaluated to identify the most suitable arrangement for the QLSTM model. Resultant framework blends ideas from both classical computing and quantum approaches to improve how we predict patterns over time in real-life scenarios.
Forecasting weather is critical in different application sectors and affects decision-making and resource distribution. Long Short-Term Memory (LSTM) models are popular, but they can be improved even further with the use of quantum computing techniques. This paper discusses a Quantum Long Short-Term Memory (QLSTM) simulated in PennyLane-based simulators. According to the experimental results, the suggested QLSTM model produced a mean absolute error (MAE) of 0.009066, a test mean square error (MSE) of 0.000162, and a coefficient of determination (R2) of 0.999846, surpassing both quantum models and classical baselines. These results highlight the potential of quantum-assisted architectures to improve accuracy in weather prediction. The research advances weather forecasting and contributes to quantum computing applications, guiding researchers in developing precise weather prediction models and enhancing decision-making in weather-sensitive domains. The proposed 4-qubit quantum model was tested with noise models, and it demonstrated high learning efficiency and strong robustness against realistic NISQ-level noise, maintaining stable optimization and low error even under moderate perturbations. • Quantum LSTM Development: The classical LSTM was extended into the quantum domain using Variational Quantum Circuits (VQCs) for feature extraction and data compression, applied to weather prediction tasks. • Experimental Evaluation: Three QLSTM variants (4, 6, and 8 qubit) were tested on two weather datasets and compared with classical LSTM and state-of-the-art QLSTM models. • Performance and Robustness: The QLSTM models outperformed baseline models, with the 4-qubit model showing strong learning efficiency and robustness under realistic NISQ-level noise.
This study explores quantum and classical hybrid architectures for financial time-series fore casting, focusing on Quantum Long Short-Term Memory (QLSTM) networks and Quantum Reservoir Computing (QRC), using univariate and multivariate lag structures on real financial data. We assess how lag embeddings affect predictive accuracy and robustness. Data are en coded into quantum states via amplitude encoding, enabling efficient representation of normalized lagged observations under realistic qubit constraints. The recurrent dynamics of QLSTM and the reservoir of QRC are implemented as parameterized quantum circuits, while classical optimizers train the readout and, where applicable, variational circuit parameters. We benchmark quantum models against classical LSTM and reservoir computing using common error like metrics. Our results show that, with suitable lag selection and amplitude encoding, quantum-enhanced archi tectures match classical baselines in univariate settings and can modestly outperform them in multivariate regimes with correlated inputs, where expressive encodings are most beneficial.
This paper investigates the potential of quantum-enhanced models for time series forecasting in environments where time is a fundamental constraint. The focus is on on the quantum long short term memory networks with reservoir (QR-LSTM), and our proposed novel extension, the Autoencoded Quantum Reservoir LSTM Model (QR-LSTM-AE). The QR-LSTM, while offering substantial computational benefits in terms of time and resource efficiency, incurs a slight decrease in performance relative to the fully trainable quantum LSTM model. To address this trade-off, we introduce the QR-LSTM-AE, which utilizes an autoencoder-based strategy to recover performance lost in the reservoir alone, achieving superior accuracy without the need for full retraining. This approach not only maintains the efficiency of the QR-LSTM but also significantly reduces the computational cost associated with adapting to new data or time series, making it ideal for real-time forecasting applications. The experiments are carried out on a energy-related, highly volatile dataset, and results underscore the importance of balancing predictive accuracy with computational efficiency, highlighting the potential of quantum models to offer practical solutions in time-constrained environments. Our findings demonstrate that the QR-LSTM-AE effectively balances predictive accuracy and computational efficiency, paving the way for future advancements in quantum-enhanced forecasting through self-adaptive models, quantum autoencoders, and attention-based reservoir computing.
The stock markets have become a popular topic within machine learning (ML) communities, with one particular application being stock price prediction. However, accurately predicting the stock market is a challenging task due to the various factors within financial markets. With the introduction of ML, prediction techniques have become more efficient but computationally demanding for classical computers. Given the rise of quantum computing (QC), which holds great promise for being exponentially faster than current classical computers, it is natural to explore ML within the QC domain. In this study, we leverage a hybrid quantum-classical ML approach to predict a company's stock price. We integrate classical long short-term memory (LSTM) with QC, resulting in a new variant called QLSTM. We initially validate the proposed QLSTM model by leveraging an IBM quantum simulator running on a classical computer, after which we conduct predictions using an IBM real quantum computer. Thereafter, we evaluate the performance of our model using the root mean square error (RMSE) and prediction accuracy. Additionally, we perform a comparative analysis, evaluating the prediction performance of the QLSTM model against several other classical models. Further, we explore the impacts of hyperparameters on the QLSTM model to determine the best configuration. Our experimental results demonstrate that while the classical LSTM model achieved an RMSE of 0.0693 and a prediction accuracy of 0.8815, the QLSTM model exhibited superior performance, achieving values of 0.0602 and 0.9736, respectively. Furthermore, the QLSTM outperformed other classical models in both metrics.