Classification of texts based on classical and quantum features
Main Article Content
Abstract
This article proposes classical and quantum vectorization methods for text data classification, along with corresponding neural network architectures for classification based on these representations. The study applies classical and quantum variants of one-hot encoding, bag-of-words, TF-IDF, and word2vec vectorization techniques, which are respectively integrated with CNN, LSTM, MLP, and BiLSTM neural network models for text classification. All models are trained on the same dataset under identical experimental conditions, with classification accuracy and computational efficiency adopted as the primary evaluation metrics. Classical vectorization methods represent semantic and contextual properties of text in a limited manner, whereas quantum vectorization overcomes these limitations. When neural networks are trained using quantum-based representations, higher classification accuracy and significantly reduced computation time are achieved compared to classical approaches. The combined use of quantum word2vec and the BiLSTM architecture yields the highest performance among all evaluated models. The obtained results demonstrate that this approach is the most effective for text data classification, as it accurately captures semantic relationships and leverages deep neural network architectures. This study may serve as a scientific foundation for future research aimed at developing more advanced neural architectures based on quantum computing paradigms.
Article Details
References
Ajibosin, S. S., & Cetinkaya, D. (2024). Implementation and performance evaluation of quantum machine learning algorithms for binary classification. Software, 3, 498–513. https://doi.org/10.3390/software3040024 DOI: https://doi.org/10.3390/software3040024
Chaudhuri, A., et al. (2023). Quantum text classifier – A synchronistic approach. arXiv.
Date, P., & Smith, W. (2024). Quantum discriminator for binary classification. Scientific Reports, 14, 1328. https://doi.org/10.1038/s41598-023-46469-2 DOI: https://doi.org/10.1038/s41598-023-46469-2
Khadiev, K., & Safina, L. (2022). The quantum version of prediction for binary classification problem by ensemble methods. In International Conference on Micro- and Nano-Electronics 2021 DOI: https://doi.org/10.1117/12.2624427
(Vol. 12157, pp. 595–603). SPIE.
Komorniczak, J., Wojciechowski, S., Klikowski, J., Kozik, R., & Choraś, M. (2023). Analysis of extractive text summarization methods as a binary classification problem. In Proceedings of CISIS 2023. DOI: https://doi.org/10.1007/978-3-031-42519-6_9
Kopczyk, D. (2018). Quantum machine learning for data scientists. arXiv. https://arxiv.org/abs/1804.10068
Liu, T., Wei, Y., & Wang, J. (2024). Research on distributional compositional categorical model in both classical and quantum natural language processing. In 2024 IEEE/ACIS 27th International Conference on Software Engineering, Artificial Intelligence, Networking and Parallel/Distributed Computing (SNPD) (pp. 66–71). IEEE. https://doi.org/10.1109/SNPD61259.2024.10673943 DOI: https://doi.org/10.1109/SNPD61259.2024.10673943
Peral-García, D., Cruz-Benito, J., & García-Peñalvo, F. J. (2024). Comparing natural language processing and quantum natural processing approaches in text classification tasks. Expert Systems with Applications, 254, 124427. https://doi.org/10.1016/j.eswa.2024.124427 DOI: https://doi.org/10.1016/j.eswa.2024.124427
Santi, P., Mishra, K., & Mohanty, S. (2023). Quantum text classifier: A synchronistic approach towards classical and quantum machine learning. arXiv. https://arxiv.org/abs/2305.12783
Solovyeva, E., & Abdullah, A. (2021). Binary and multiclass text classification by means of separable convolutional neural network. Inventions, 6(4), 70. https://doi.org/10.3390/inventions6040070 DOI: https://doi.org/10.3390/inventions6040070
Tiwari, P., & Melucci, M. (2019). Towards a quantum-inspired binary classifier. IEEE Access, 7, 42354–42366. https://doi.org/10.1109/ACCESS.2019.2904624 DOI: https://doi.org/10.1109/ACCESS.2019.2904624
Loglisci, C., Malerba, D., & Pascazio, S. (2024). QUARTA: Quantum supervised and unsupervised learning for binary classification in domain-incremental learning. Quantum Machine Intelligence, 6, 68. https://doi.org/10.1007/s42484-024-00196-7 DOI: https://doi.org/10.1007/s42484-024-00196-7
Muhamediyeva, D., Niyozmatova, N., Turgunova, N., Ungalov, S., & Almuradova, N. (2025, January). Classification of Emoji in Text Documents of Users in Social Networks Using Machine Learning. In 2025 6th International Conference on Mobile Computing and Sustainable Informatics (ICMCSI) (pp. 1491-1496). IEEE. DOI: https://doi.org/10.1109/ICMCSI64620.2025.10883250
Turgunova, N., Turgunov, B., & Umaraliyev, J. (2023). Automatic text analysis. SYNTAX AND SEMANTIC ANALYSIS. Engineering Problems and Innovations. извлечено от https://fer-teach. uz/index. php/epai/article/view/46.
Маматов, Н., Турғунова, Н., Хоитқулов, А., & Алмурадова, Н. (2025). МАТНЛИ МАЪЛУМОТЛАРДАГИ ХАТОЛИКЛАРНИ БАРТАРАФ ЭТИШНИ КВАНТ АЛГОРИТМИ. DIGITAL TRANSFORMATION AND ARTIFICIAL INTELLIGENCE, 3(3), 199-204.
Ниёзматова, Н., & Турғунова, Н. (2025). МАТНЛАРНИ ВЕКТОРЛАШНИ TF_IDF КВАНТ АЛГОРИТМИ. DIGITAL TRANSFORMATION AND ARTIFICIAL INTELLIGENCE, 3(3), 189-193.
Muhamediyeva, D. T., Niyozmatova, N. A., Ungalov, S.,
Mamatov, A. A., & Turgunova, N. (2025, June). Evaluating the effectiveness of text summarization algorithms based on recall-oriented understudy for Gisting evaluation metrics. In Fourth International Conference on Digital Technologies, Optics, and Materials Science (DTIEE 2025) (Vol. 13662, pp. 193-201). SPIE.
Muhamediyeva, D., Ungalov, S., & Turg‘Unova, N. (2025). LSTM Asosida matnlardan bilimlar bazasini yaratish. Современные проблемы интеллектуальных систем, 1(1), 315-318.
Muhamediyeva, D., Mamatov, N. S., Samijonov, B. N., Ametova, G. E., & Turgunova, N. M. (2024, November). Applying the Quantum Grover Algorithm to Improve the Efficiency of Growth Models. In International Scientific and Practical Conference Digital and Information Technologies in Economics and Management (pp. 82-93). Cham: Springer Nature Switzerland. DOI: https://doi.org/10.1007/978-3-031-94273-0_7
Мухамедиева, Д., Тургунова, Н., & Нажмиддинов, А. (2024). Обучения многослойных нейронных сетей на основе квантовых вычислений. Новый Узбекистан: наука, образование и инновации, 1(1), 641-644.
Mamatov, N. S., Turg'unova, N. M., Turg'unov, B. X., &
Samijonov, B. N. (2024). Algorithm for analysis of texts in Uzbek language. In Artificial Intelligence and Information Technologies (pp. 511-515). CRC Press. DOI: https://doi.org/10.1201/9781032700502-80
Mamatov, N., & Nuritdinov, N. (2025). MATNNI TAHLIL QILISH BOʻYICHA ILGʻOR TAJRIBALAR. COMPUTER LINGUISTICS: PROBLEMS, SOLUTIONS, PROSPECTS, 1(1).
Turgunova, N., Turgunov, B., & Umaraliyev, J. (2023). Automatic text analysis. syntax and semantic analysis. Engineering Problems and Innovations; TATUFF-EPAI: Chinobod, Uzbekistan.
