This paper introduces a new Quantum Federated Learning (QFL) system that combines quantum-enhanced transformers and federated learning to make it possible to perform real-time consumer sentiment analysis securely, at scale, and efficiently. The hybrid model proposed overcomes three significant issues: it can be accurate when working with non-IID data, it is communication-efficient, and it can protect data privacy with high security provided by quantum cryptographic protocols. Experimental analyses on IMDB, Sentiment140, Amazon, Yelp, and our own proprietary data showed that QFL is always better in precision, recall, F1 score, and convergence rate than traditional FL-BERT and FL-LSTM models. Further, QFL was able to demonstrate substantial cost and privacy leakage savings in communication at a low cost as well as maintain scalability to one thousand clients. The study fills the gap between concepts in quantum computing and federated learning and provides a practical route to privacy-sensitive distributed intelligence on a practical scale applied to e-commerce and social media analytics.
Balasubramani, M., Srinivasan, M., Jean, W.-H., Fan, S.-Z., & Shieh, J.-S. (2025). A novel framework for quantum-enhanced federated learning with edge computing for advanced pain assessment using ECG signals via continuous wavelet transform images. Sensors, 25(5), 1436. https://doi.org/10.3390/s25051436.
Bansal, S., Singh, M., Bhadauria, M., & Adalakha, R. (2022). Federated learning approach towards sentiment analysis. 2022 2nd International Conference on Technological Advancements in Computational Sciences (ICTACS), 717–724. https://doi.org/10.1109/ICTACS56270.2022.9987996.
Chu, C., Jiang, L., & Chen, F. (2023). CryptoQFL: Quantum federated learning on encrypted data. In 2023 IEEE International Conference on Quantum Computing and Engineering (QCE) (Vol. 1, pp. 1231–1237). IEEE. https://doi.org/10.1109/QCE57702.2023.00139.
Di Sipio, R., Huang, J. H., Chen, S. Y. C., Mangini, S., & Worring, M. (2022). The dawn of quantum natural language processing. ICASSP 2022-2022 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), 8612–8616. IEEE. https://doi.org/10.1109/icassp43922.2022.9747675.
Gholamiangonabadi, D., & Grolinger, K. (2024). Federated learning for sentiment analysis in the presence of non-IID data: Sensitivity of deep learning models. IEEE Access, 12, 128049–128060. https://doi.org/10.1109/ACCESS.2024.3453068.
Kairouz, P., McMahan, H. B., Avent, B., Bellet, A., Bennis, M., Bhagoji, A. N., … Zhao, S. (2021). Advances and open problems in federated learning. Foundations and Trends® in Machine Learning, 14(1–2), 1–210. https://doi.org/10.1561/2200000083.
Khan, K. (2024). Enhancing privacy in federated learning through quantum teleportation integration [Preprint]. arXiv. https://doi.org/10.48550/arXiv.2412.20762.
Li, C., Kumar, N., Song, Z., Chakrabarti, S., & Pistoia, M. (2024). Privacy-preserving quantum federated learning via gradient hiding. Quantum Science and Technology, 9(3), 035028. https://doi.org/10.1088/2058-9565/ad40cc.
Liu, C., Qu, X., Wang, J., & Xiao, J. (2023). FedET: A communication-efficient federated class-incremental learning framework based on enhanced transformers. arXiv. https://doi.org/10.48550/arXiv.2306.15347.
Mektepayeva, A. K., Sakhipov, A. A., Rystygulova, V., Kaibassova, D., & Belgibayeva, L. (2024). Optimizing machine learning with quantum enhancements for real-time dynamic systems. The Bulletin of KazATC, 135(6), 243–254. https://doi.org/10.52167/1609-1817-2024-135-6-243-254.
Ren, C., Yan, R., Zhu, H., Yu, H., Xu, M., Shen, Y., Xu, Y., Xiao, M., Dong, Z. Y., Skoglund, M., Niyato, D., & Kwek, L. C. (2025). Toward quantum federated learning. IEEE Transactions on Neural Networks and Learning Systems, 36(9), 15580–15600. https://doi.org/10.1109/TNNLS.2025.3552643.
Song, X., Gou, R., & Wen, A. (2020). Secure multiparty quantum computation based on Lagrange unitary operator. Scientific Reports, 10, 7921. https://doi.org/10.1038/s41598-020-64538-8.
Wei, K., Li, J., Ding, M., Ma, C., Yang, H. H., Farokhi, F., Jin, S., Quek, T. Q. S., & Poor, H. V. (2020). Federated learning with differential privacy: Algorithms and performance analysis. IEEE Transactions on Information Forensics and Security, 15, 3454–3469. https://doi.org/10.1109/TIFS.2020.2988575.
Yang, Q., Liu, Y., Chen, T., & Tong, Y. (2019). Federated machine learning: Concept and applications. IEEE Proceedings, 107(6), 1237–1255. https://doi.org/10.1109/JPROC.2019.2950545.
Yu, K., Gao, F., & Lin, S. (2022). Quantum federated learning for distributed quantum networks [Preprint]. arXiv. https://doi.org/10.48550/arXiv.2212.12913.
Zhao, H. (2023). Non-IID quantum federated learning with one-shot communication complexity. Quantum Machine Intelligence, 5, Article 3. https://doi.org/10.1007/s42484-022-00091-z.
Zhou, Q., Lu, S., Cui, Y., Li, L., & Sun, J. (2020). Quantum search on encrypted data based on quantum homomorphic encryption. Scientific Reports, 10, 5135. https://doi.org/10.1038/s41598-020-61791-9.
Yu, H. Z., Ali, H. B. B. Y., & Chamran, M. K. (2026). Quantum Federated Learning Framework for Privacy-Preserving Real-Time Consumer Sentiment Analysis. International Journal of Academic Research in Business and Social Sciences, 16(7), 731–744.
Copyright: © 2026 The Author(s)
Published by Knowledge Words Publications (www.kwpublications.com)
This article is published under the Creative Commons Attribution (CC BY 4.0) license. Anyone may reproduce, distribute, translate and create derivative works of this article (for both commercial and non-commercial purposes), subject to full attribution to the original publication and authors. The full terms of this license may be seen at: http://creativecommons.org/licences/by/4.0/legalcode