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.
|