Abstract
The 1D Convolutional Neural Network (1D CNN) is a kind of Artificial Neural Network (ANN) that has been shown to obtain state-of-the-art performance levels on several applications with minimal computational complexity and whose advantages are well established. In this article, we propose a 1D quantum convolution, which extracts local features by means of a quantum circuit in a way similar to the classical convolution. In this work, we test the performance of the proposed 1D quantum convolutional layer building a 1D Quantum Convolutional Neural Network (1D QCNN) that consists of the 1D quantum convolution followed by classical layers. The proposed model is compared with classical models for both time series forecasting and classification tasks including benchmark and real-world datasets. The obtained results show that the 1D QCNN can successfully extract features from temporal data, and in certain cases outperform classical models in terms of accuracy and convergence.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Abbas, A., Sutter, D., Zoufal, C., Lucchi, A., Figalli, A., Woerner, S.: The power of quantum neural networks. Nat. Comput. Sci. 1(6), 403–409 (2021)
Alejandra, R.R.M., Andres, M.V., Mauricio, L.R.J.: Time series forecasting with quantum machine learning architectures. In: Pichardo Lagunas, O., Martínez-Miranda, J., Martínez Seis, B. (eds.) Advances in Computational Intelligence, MICAI 2022, vol. 13612, pp. 66–82. Springer, Cham (2022). https://doi.org/10.1007/978-3-031-19493-1_6
Bergholm, V., Izaac, J., Schuld, M., Gogolin, C.: PennyLane: automatic differentiation of hybrid quantum-classical computations (2022)
Cerezo, M., et al.: Variational quantum algorithms. Nat. Rev. Phys. 3(9), 625–644 (2021)
Feynman, R.P.: Simulating physics with computers. In: Feynman and Computation, pp. 133–153. CRC Press (2018)
Havlíček, V., et al.: Supervised learning with quantum-enhanced feature spaces. Nature 567(7747), 209–212 (2019)
Henderson, M., Shakya, S., Pradhan, S., Cook, T.: Quanvolutional neural networks: powering image recognition with quantum circuits. Quantum Mach. Intell. 2(1), 2 (2020)
Hong, Z., Wang, J., Qu, X., Zhu, X., Liu, J., Xiao, J.: Quantum convolutional neural network on protein distance prediction. In: 2021 International Joint Conference on Neural Networks (IJCNN), pp. 1–8. IEEE (2021)
Houssein, E.H., Abohashima, Z., Elhoseny, M., Mohamed, W.M.: Hybrid quantum-classical convolutional neural network model for COVID-19 prediction using chest X-ray images. J. Comput. Des. Eng. 9(2), 343–363 (2022). https://doi.org/10.1093/jcde/qwac003
Hur, T., Kim, L., Park, D.K.: Quantum convolutional neural network for classical data classification. Quantum Mach. Intell. 4(1), 3 (2022). https://doi.org/10.1007/s42484-021-00061-x
Li, W., Deng, D.L.: Recent advances for quantum classifiers. Sci. China Phys. Mech. Astron. 65(2), 220301 (2021). https://doi.org/10.1007/s11433-021-1793-6
Liu, J., Lim, K.H., Wood, K.L., Huang, W., Guo, C., Huang, H.L.: Hybrid quantum-classical convolutional neural networks. Sci. China Phys. Mech. Astron. 64(9), 290311 (2021)
Lloyd, S., Mohseni, M., Rebentrost, P.: Quantum algorithms for supervised and unsupervised machine learning (2013)
Lu, S., Braunstein, S.: Quantum decision tree classifier. Quantum Inf. Process. 13, 757–770 (2014). https://doi.org/10.1007/s11128-013-0687-5
Mari, A., Bromley, T.R., Izaac, J., Schuld, M., Killoran, N.: Transfer learning in hybrid classical-quantum neural networks. Quantum 4, 340 (2020). https://doi.org/10.22331/q-2020-10-09-340
Mitarai, K., Negoro, M., Kitagawa, M., Fujii, K.: Quantum circuit learning. Phys. Rev. A 98, 032309 (2018). https://doi.org/10.1103/PhysRevA.98.032309, https://link.aps.org/doi/10.1103/PhysRevA.98.032309
Nielsen, M.A., Chuang, I.L.: Quantum Computation and Quantum Information. Cambridge University Press, Cambridge (2000)
Park, G., Huh, J., Park, D.K.: Variational quantum one-class classifier. Mach. Learn. Sci. Technol. 4(1), 015006 (2023). https://doi.org/10.1088/2632-2153/acafd5
Preskill, J.: Quantum computing 40 years later. Nat. Rev. Phys. 4(1) (2023). https://doi.org/10.1038/s42254-021-00410-6
Ramezani, S.B., Sommers, A., Manchukonda, H.K., Rahimi, S., Amirlatifi, A.: Machine learning algorithms in quantum computing: a survey. In: 2020 International Joint Conference on Neural Networks (IJCNN), pp. 1–8 (2020). https://doi.org/10.1109/IJCNN48605.2020.9207714
Rebentrost, P., Mohseni, M., Lloyd, S.: Quantum support vector machine for big data classification. Phys. Rev. Lett. 113(13), 130503 (2014). https://doi.org/10.1103/physrevlett.113.130503
Sameer, M., Gupta, B.: A novel hybrid classical-quantum network to detect epileptic seizures. medRxiv, pp. 2022-05 (2022)
Schuld, M., Bergholm, V., Gogolin, C., Izaac, J., Killoran, N.: Evaluating analytic gradients on quantum hardware. Phys. Rev. A 99(3), 032331 (2019). https://doi.org/10.1103/physreva.99.032331
Schuld, M., Bocharov, A., Svore, K.M., Wiebe, N.: Circuit-centric quantum classifiers. Phys. Rev. A 101, 032308 (2020). https://doi.org/10.1103/PhysRevA.101.032308, https://link.aps.org/doi/10.1103/PhysRevA.101.032308
Schuld, M., Petruccione, F.: Supervised Learning with Quantum Computers. Springer, Cham (2018). https://doi.org/10.1007/978-3-319-96424-9
Schuld, M., Sinayskiy, I., Petruccione, F.: An introduction to quantum machine learning. Contemp. Phys. 56(2), 172–185 (2014). https://doi.org/10.1080/00107514.2014.964942
Schuld, M., Sinayskiy, I., Petruccione, F.: Simulating a perceptron on a quantum computer. Phys. Lett. A 379(7), 660–663 (2015). https://doi.org/10.1016/j.physleta.2014.11.061
Schuld, M., Sweke, R., Meyer, J.J.: Effect of data encoding on the expressive power of variational quantum-machine-learning models. Phys. Rev. A 103(3), 032430 (2021). https://doi.org/10.1103/physreva.103.032430
Shahwar, T., et al.: Automated detection of Alzheimer’s via hybrid classical quantum neural networks. Electronics 11, 721 (2022). https://doi.org/10.3390/electronics11050721
Fazeli, S.: ECG heartbeat categorization dataset (2018). https://www.kaggle.com/datasets/shayanfazeli/heartbeat. Accessed 28 Feb 2023
Antweiler, W.: Pacific exchange rate service (2023). http://fx.sauder.ubc.ca/data.html. Accessed 20 Jan 2023
Yang, Y.F., Sun, M.: Semiconductor defect detection by hybrid classical-quantum deep learning. In: 2022 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR). IEEE, June 2022. https://doi.org/10.1109/cvpr52688.2022.00236
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2024 The Author(s), under exclusive license to Springer Nature Switzerland AG
About this paper
Cite this paper
Rivera-Ruiz, M.A., Juárez-Osorio, S.L., Mendez-Vazquez, A., López-Romero, J.M., Rodriguez-Tello, E. (2024). 1D Quantum Convolutional Neural Network for Time Series Forecasting and Classification. In: Calvo, H., Martínez-Villaseñor, L., Ponce, H. (eds) Advances in Computational Intelligence. MICAI 2023. Lecture Notes in Computer Science(), vol 14391. Springer, Cham. https://doi.org/10.1007/978-3-031-47765-2_2
Download citation
DOI: https://doi.org/10.1007/978-3-031-47765-2_2
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-031-47764-5
Online ISBN: 978-3-031-47765-2
eBook Packages: Computer ScienceComputer Science (R0)