Journal of Science and Innovative Development ISSN 2181-4317

ALGORITHM FOR TEXT CLASSIFICATION BASED ON QUANTUM FEATURES

Niyozmatova Nilufar A’loxanovna, Turg‘unova Nafisaxon Maxammadjon qizi, Almuradova Nigora Abdunabiyevna, Abduraxmanova Nigora Nurmaxamadovna December 8, 2025 DOI: https://doi.org/10.36522/ILM-FAN/8-6-2025-33429

Abstract

<p>This article is devoted to solving the problem of forming quantum&nbsp;features and classifying texts based on them. A quantum one-hot algorithm is&nbsp;proposed for classifying sarcastic expressions using a neural network. Today,&nbsp;sarcasm is frequently encountered on social networks, information websites, and&nbsp;messengers. Its analysis and classification constitute one of the pressing challenges&nbsp;in the field of natural language processing. Sarcastic expressions are generally&nbsp;context-dependent. To detect them, the proposed quantum one-hot algorithm was&nbsp;applied to represent textual data in vector form, and a neural network was trained&nbsp;on the generated vectors. Based on the quantum one-hot algorithm, textual data&nbsp;<br /> are transformed into quantum amplitudes, after which measurement is performed&nbsp;according to the vectorization results. Through measurement, the quantum data&nbsp;are converted into classical form. These data are then used to train an LSTM neural&nbsp;network. Experimental results demonstrated that quantum approaches outperform&nbsp;classical ones. This study highlights the potential for applying quantum encoding&nbsp;methods in deep learning systems, which may serve as a foundation for new&nbsp;approaches in text analysis.</p>

Cite this article
Niyozmatova Nilufar A’loxanovna, Turg‘unova Nafisaxon Maxammadjon qizi, Almuradova Nigora Abdunabiyevna, Abduraxmanova Nigora Nurmaxamadovna (2025). ALGORITHM FOR TEXT CLASSIFICATION BASED ON QUANTUM FEATURES. Journal of Science and Innovative Development. https://doi.org/https://doi.org/10.36522/ILM-FAN/8-6-2025-33429