Forecasting Tehran Stock Market Return Using Quantum Artificial Intelligence Algorithms
Quarterly Journal of Securities Exchange

Quarterly Journal of Securities Exchange

Forecasting Tehran Stock Market Return Using Quantum Artificial Intelligence Algorithms

Document Type : Original Article

Authors
1 Associate Professor, Faculty Member of the Department of Economics, Faculty of Humanities, Ayatollah Ozma Boroujerdi University, Boroujerd, Iran.
2 Associate Professor, Department of Economics, Faculty of Humanities, Ayatollah Boroujerdi University, Boroujerd, Iran.
3 M.A. Student in Economics, Department of Economics, Faculty of Humanities, Ayatollah Boroujerdi University, Boroujerd, Iran.
Abstract
This study aims to forecast the returns of the Tehran Stock Market by employing the novel QDL approach. To this end, daily data of the Tehran Stock Exchange Value-Weighted Index over the period from February 1, 2016, to October 6, 2025, are used to compute stock market returns. Subsequently, stock market returns are modeled and predicted using a QDL framework, which integrates the capabilities of deep learning and quantum computing. The predictive performance of the proposed model is benchmarked against six competing models, including the ARIMA model, machine learning algorithms such as Random Forest and Support Vector Regression, as well as deep learning models, including LSTM, GRU, and MLP. Results, based on Mean Squared Error, Root Mean Squared Error, and Theil’s index, indicate that the QDL model outperforms all competing models in forecasting stock market returns. Moreover, the Diebold–Mariano and Wilcoxon tests confirm the statistical significance of the superior predictive accuracy of the proposed model, thereby reinforcing the robustness of the error-based evaluation results. The distinctive characteristics of quantum computing, such as superposition and entanglement, enable the QDL model to more effectively capture hidden and nonlinear patterns in stock market dynamics, leading to improved performance under conditions of heightened volatility and unpredictable market behavior. Based on the empirical findings, it is recommended that the Securities and Exchange Organization facilitate the development and adoption of advanced technologies such as quantum computing by establishing the necessary infrastructure, thereby enabling smarter market surveillance and the early detection of potential bubbles and systemic risks.
Keywords
Subjects

Aishwarya, C. Venkatesan, M. & Prabhavathy, P. (2025). A scoping survey of quantum machine learning and deep learning for real-world applications. Procedia Computer Science, 258, 633-646.
Boonpan, S. & Sarakorn, W. (2025). Deep neural network model enhanced with data preparation for the directional predictability of multi-stock returns. Journal of Open Innovation Technology, Market, and Complexity, 11(1), 1-15.
Chen, J. Ma, F. Qiu, X. & Li, T. (2023). The role of categorical EPU indices in predicting stock-market returns. International Review of Economics and Finance, 87, 365-378. https://doi.org/10.1016/j.iref.2023.05.003.
Chehimi, M. Chen, S. Y. C. Saad, W. & Yoo, S. (2024). Federated quantum long short-term memory (fedqlstm). Quantum Machine Intelligence, 6(2), 1-20. https://doi.org/10.48550/arXiv.2312.14309.
‏Choudhary, P. K. Innan, N. Shafique, M. & Singh, R. (2025). HQNN-FSP: A hybrid classical-quantum neural network for regression-based financial stock market prediction. arXiv preprint arXiv:2503.15403.
Coroneo, Laura. & Iacone, F. (2025). Testing for equal predictive accuracy with strong dependence. International Journal of Forecasting, 41(3), 1073–1092. https://doi.org/10.1016/j.ijforecast.2024.11.003.
‏Dai, Z. Zhu, H. Chang, X. & Wen, F. (2025). Forecasting stock returns: The role of vix-based upper and lower shadow of Japanese candlestick. Financial Innovation, 11(1), 1-19. https://doi.org/10.1186/s40854-024-00682-8.
Detthamrong, U. Klangbunrueang, R. Chansanam, W. & Dasri, R. (2025). Deep learning for sustainable finance: robust ESG index forecasting in an emerging market context. Sustainability, 18(1), 110. https://doi.org/10.3390/su18010110.
Fotros, M. H. & Maaboudi, R. (2021). Comovement between oil price and iranian stock market returns: wavelet analysis method. Journal of Applied Economics Studies in Iran, 10(38), 55-68.
Gupta, S. Nachappa, S. & Paramanandham, N. (2025). Stock market time series forecasting using comparative machine learning algorithms. Procedia Computer Science, 252, 893-904. https://doi.org/10.1016/j.procs.2025.01.050.
Ibrahim, M. & Musah, A. (2014). An econometric analysis of the impact of macroeconomic fundamentals on stock market returns in Ghana. Research in Applied Economics, 6(2), 47-72. https://doi.org/10.5296/rae.v6i2.5146.
‏Issahaku, H. Ustarz, Y. & Domanban, P. B. (2013). Macroeconomic variables and stock market returns in Ghana: any causal link. Asian Economic and Financial Review, 3(8):1044-1062.
Henrique, B. M. Sobreiro, V. A. & Kimura, H. (2018). Stock price prediction using support vector regression on daily and up to the minute prices. Journal of finance and data science, 4(3),183-201.
Javaid, H. A. (2024). Ai-driven predictive analytics in finance: Transforming risk assessment and decision-making. Advances in Computer Sciences, 7(1), 1-9. https://www.scirp.org/reference/referencespapers?referenceid=4031410.
Kea, K., Kim, D., Huot, C., Kim, T. K., & Han, Y. (2024). A hybrid quantum-classical model for stock price prediction using quantum-enhanced long short-term memory. Entropy, 26(11), 954. https://doi.org/10.3390/e26110954.‏
Khaidem, L. Saha, S. & Dey, S. R. (2016). Predicting the direction of stock market prices using random forest. arXiv preprint arXiv,1605.00003.
Khalafi, S. Masjed Mousavi, M. S. & Omidi, A. (2023). A comparison of artificial neural networks in forecasting stock returns. Novel Research Approaches in Management and Accounting, 7(89), 720–753. http://noo.rs/c1AE7 (in Persian).
Krichen, M., & Mihoub, A. (2025). Long short-term memory networks: A comprehensive survey. AI, 6(9), 215. https://doi.org/10.3390/ai6090215.
Mahmood, T. Ahmad, I. Ansar, M. M. Z. Darwish, J. A. & Sherwani, R. A. K. (2024). Comparative study of long short-term memory (LSTM) and quantum long short-term memory (QLSTM): prediction of stock market movement. arXiv preprint arXiv:2409.08297, https://doi.org/10.48550/arXiv.2409.08297.
Mao, Y. Shresthamali, S. & Kondo, M. (2023). Quantum circuit fidelity improvement with long short-term memory networks. arXiv preprint arXiv:2303.17523, https://doi.org/10.1002/qute.202500022.
Mehrkian, S. S., & Davari-Ardakani, H. (2025). An integrated model of sentiment analysis and quantitative index data for predicting stock market trends: A case study of Tehran stock exchange. Expert Systems with Applications, 269, 126298.‏ https://doi.org/10.1016/j.eswa.2024.126298.
 Mienye, I. D. Swart, T. G. & Obaido, G. (2024). Recurrent neural networks: A comprehensive review of architectures, variants, and applications. Information, 15(9),1-34. https://doi.org/10.3390/info15090517.
Muhammad, D. Ahmed, I. Naveed, K. & Bendechache, M. (2024). An explainable deep learning approach for stock market trend prediction. Heliyon, 10(21), 1-15. https://doi.org/10.1016/j.heliyon.2024.e40095.
Moradi, M. Neshat, N. & Sardari Zarchi, M. (2025). Representing investment knowledge based on returns in the Iranian stock market using deep neural network models under environmental uncertainty. Financial Research Journal, 27(3), 531–565. https://doi.org/10.22059/FRJ.2024.370564.1007554 (in Persian).
Najem, R. Bahnasse, A. & Talea, M. (2024). Toward an enhanced stock market forecasting with machine learning and deep learning models. Procedia. Computer Science, 241, 97-103. ‏https://doi.org/10.1016/j.procs.2024.08.015.
Namaki, A. &. Kazemi Bavill, A. (2025). The relationship between the overall stock market index, treasury bond returns, and liquidity resilience. Quarterly Journal of Securities Exchange, 18(69), 1–24.
Pagliaro, A. (2025). Artificial intelligence vs. efficient markets: A critical reassessment of predictive models in the big data era. Electronics, 14(9), 1-48. https://doi.org/10.3390/electronics14091721.
Paquet, E. & Soleymani, F. (2022). Quantumleap: hybrid quantum neural network for financial predictions. Expert Systems With Applications, 195, 116583.
Perekhodko, A., & Ślepaczuk, R. (2025). Stochastic Volatility Modelling with LSTM Networks: A Hybrid Approach for S&P 500 Index Volatility Forecasting. arXiv preprint arXiv:2512.12250.
Pohl, W. Schmedders, K. & Wilms, O. (2018). Higher order effects in asset pricing models with long‐run risks. Journal of Finance, 73(3), 1061-1111
Raei, R. & Chavoshi, K. (2003). Forecasting stock returns in the Tehran stock exchange: An artificial neural network model and a multifactor model. Financial Research, 5(15), 97–120. https://jfr.ut.ac.ir/article_11352.html (in Persian).
Ren, T. & Li, S. (2025). Stock market forecasting based on machine learning: The role of investor sentiment. Physica A: Statistical Mechanics and its Applications, 666, 130533. https://doi.org/10.1016/j.physa.2025.130533.
Rezaei, A. Abdellatif, I. & Umar, A. (2025). Towards economic sustainability: A comprehensive review of artificial intelligence and machine learning techniques in improving the accuracy of stock market movements. International Journal of Financial Studies, 13(1), 1-28.
Sarraff, F. Nasiri, Z. Tanhaei, M. R. Emamvardi, G. & Najafi M. A. (2024). Stock return prediction based on bayesian averaging models: continuous wavelet and financial quantum analysis approach. Financial Management Strategy, 13(1). 167–192. https://doi.org/10.22051/JFM.2024.43067.2794 (in Persian).
Sahraei, R. Gholizadeh, A. A. Sepehr doost, H. & Hosseini doost, S. E. (2025). Portfolio optimization based on prediction in the Tehran stock exchange: NARX and LSTM neural network approaches. Quarterly Journal of Securities Exchange, 18(70)105- 134. https://doi.org/10.22034/jse.2024.12328.2202 (in Persian).
Sood, S. & Bhushan, D. P. (2025). Forecasting daily stock market trends: A random forest approach for predicting next-day return direction. National Journal of Commerce and Management, 11(2), 47-51. https://njcm.pratibha-spandan.org/wp-content/uploads/v11i02a07.pdf.
Sohrabi, M. Mirbarg Kar, S. M. Chirani, E. & Kheradiar, S. (2023).Comparison of various machine learning models in predicting the stock market index. Financial Engineering and Securities Management, 56(14), 19–36. (in Persian).
Srivastava, M. Rao, A. Parihar, J. S. Chavriya, S. & Singh, S. (2023). What do the AI methods tell us about predicting price volatility of key natural resources: Evidence from hyperparameter tuning. Resources Policy, 80, 103249. ‏https://doi.org/10.1016/j.resourpol.2022.103249.
Wu, H. Wang, Q. Li, J. & Deng, Z. (2025). Enhancing stock return prediction in the Chinese market: A GAN-based approach. Research in International Business and Finance,75, 102760. https://doi.org/10.1016/j.ribaf.2025.102760
Zhai, D. Zhang, T. Liang, G. & Liu, B. (2025). Research on crude oil futures price prediction methods: A perspective based on quantum deep learning. Energy, 320,1-26. https://doi.org/10.1016/j.energy.2025.135080.
Zhou, S. Zhang, Z. Zhang, R. Yin, Y. Chang, C. H. & Shen, Q. (2025). Regression and forecasting of us stock returns based on LSTM. arXiv preprint arXiv:2502.05210. https://doi.org/10.48550/arXiv.2502.05210.
Zolfaghari, M. Sahabi, B. & Bakhtiarian, M. J. (2019). Designing a model for predicting the overall stock market index returns (with an emphasis on hybrid learning network models and the GARCH family models). Financial Engineering and Securities Management, 11(42), 138–171.