{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,2,7]],"date-time":"2026-02-07T11:31:56Z","timestamp":1770463916672,"version":"3.49.0"},"reference-count":47,"publisher":"Springer Science and Business Media LLC","issue":"25","license":[{"start":{"date-parts":[[2023,6,23]],"date-time":"2023-06-23T00:00:00Z","timestamp":1687478400000},"content-version":"tdm","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0"},{"start":{"date-parts":[[2023,6,23]],"date-time":"2023-06-23T00:00:00Z","timestamp":1687478400000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0"}],"funder":[{"name":"Electronics Research Institute"}],"content-domain":{"domain":["link.springer.com"],"crossmark-restriction":false},"short-container-title":["Neural Comput &amp; Applic"],"published-print":{"date-parts":[[2023,9]]},"abstract":"<jats:title>Abstract<\/jats:title><jats:p>In the era of Large Language Models, there is still potential for improvement in current Natural Language Processing (NLP) methods in terms of verifiability and consistency. NLP classical approaches are computationally expensive due to their high-power consumption, computing power, and storage requirements. Another computationally efficient approach to NLP is categorical quantum mechanics, which combines grammatical structure and individual word meaning to deduce the sentence meaning. As both quantum theory and natural language use vector space to describe states which are more efficient on quantum hardware, QNLP models can achieve up to quadratic speedup over classical direct calculation methods. In recent years, there is significant progress in utilizing quantum features such as superposition and entanglement to represent linguistic meaning on quantum hardware. Earlier research work has already demonstrated QNLP\u2019s potential quantum advantage in terms of speeding up search, enhancing classification tasks\u2019 accuracy and providing an exponentially large quantum state space in which complex linguistic structures can be efficiently embedded. In this work, a QNLP model is used to determine if two sentences are related to the same topic or not. By comparing our QNLP model to a classical tensor network-based one, our model improved training accuracy by up to 45% and validation accuracy by 35%, respectively. The QNLP model convergence is also studied when varying: first, the problem size, second, parametrized quantum circuits used for model\u2019s training, and last, the backend quantum simulator noise model. The experimental results show that strongly entangled ansatz designs result in fastest model convergence.<\/jats:p>","DOI":"10.1007\/s00521-023-08706-7","type":"journal-article","created":{"date-parts":[[2023,6,23]],"date-time":"2023-06-23T21:29:35Z","timestamp":1687555775000},"page":"18803-18812","update-policy":"https:\/\/doi.org\/10.1007\/springer_crossmark_policy","source":"Crossref","is-referenced-by-count":4,"title":["A topic-aware classifier based on a hybrid quantum-classical model"],"prefix":"10.1007","volume":"35","author":[{"ORCID":"https:\/\/orcid.org\/0000-0003-0178-7194","authenticated-orcid":false,"given":"Maha A.","family":"Metawei","sequence":"first","affiliation":[],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Mohamed","family":"Taher","sequence":"additional","affiliation":[],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Hesham","family":"ElDeeb","sequence":"additional","affiliation":[],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Salwa M.","family":"Nassar","sequence":"additional","affiliation":[],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"297","published-online":{"date-parts":[[2023,6,23]]},"reference":[{"issue":"1","key":"8706_CR1","doi-asserted-by":"publisher","first-page":"153","DOI":"10.1103\/RevModPhys.86.153","volume":"86","author":"IM Georgescu","year":"2014","unstructured":"Georgescu IM, Ashhab S, Nori F (2014) Quantum simulation. Rev Mod Phys 86(1):153","journal-title":"Rev Mod Phys"},{"key":"8706_CR2","doi-asserted-by":"crossref","unstructured":"Coecke B, Felice Gd, Meichanetzidis K, Toumi A (2022) In: Quantum computing in the arts and humanities. Springer, pp 277\u2013297","DOI":"10.1007\/978-3-030-95538-0_8"},{"key":"8706_CR3","unstructured":"Zeng WJ, Coecke B (2016) In: SLPCS@QPL"},{"key":"8706_CR4","unstructured":"Aaronson S, Chen L (2016) Complexity-theoretic foundations of quantum supremacy experiments. arXiv:1612.05903"},{"key":"8706_CR5","unstructured":"Zhu D, Kahanamoku-Meyer GD, Lewis L, Noel C, Katz O, Harraz B, Wang Q, Risinger A, Feng L, Biswas D et\u00a0al (2021) Interactive protocols for classically-verifiable quantum advantage. arXiv:2112.05156"},{"key":"8706_CR6","unstructured":"Brakerski Z, Koppula V, Vazirani U, Vidick T (2020) Simpler proofs of quantumness. arXiv:2005.04826"},{"key":"8706_CR7","unstructured":"Gambetta J (2020) Ibm quantum roadmap for scaling quantum technology. https:\/\/research.ibm.com\/blog\/ibm-quantum-roadmap. Accessed 05 April 2023"},{"key":"8706_CR8","first-page":"1877","volume":"33","author":"T Brown","year":"2020","unstructured":"Brown T, Mann B, Ryder N, Subbiah M, Kaplan JD, Dhariwal P, Neelakantan A, Shyam P, Sastry G, Askell A et al (2020) Language models are few-shot learners. Adv Neural Inf Process Syst 33:1877\u20131901","journal-title":"Adv Neural Inf Process Syst"},{"issue":"3","key":"8706_CR9","doi-asserted-by":"publisher","first-page":"575","DOI":"10.1109\/JAS.2023.123486","volume":"10","author":"FY Wang","year":"2023","unstructured":"Wang FY, Miao Q, Li X, Wang X, Lin Y (2023) What does ChatGPT say: the DAO from algorithmic intelligence to linguistic intelligence. IEEE\/CAA J Autom Sin 10(3):575\u2013579","journal-title":"IEEE\/CAA J Autom Sin"},{"key":"8706_CR10","doi-asserted-by":"publisher","unstructured":"Devlin J, Chang MW, Lee K, Toutanova K (2019) In: Proceedings of the 2019 conference of the North American chapter of the association for computational linguistics: human language technologies, Volume 1 (Long and Short Papers). Association for Computational Linguistics, Minneapolis, Minnesota, pp 4171\u20134186. https:\/\/doi.org\/10.18653\/v1\/N19-1423https:\/\/aclanthology.org\/N19-1423","DOI":"10.18653\/v1\/N19-1423"},{"key":"8706_CR11","unstructured":"Kartsaklis D, Fan I, Yeung R, Pearson A, Lorenz R, Toumi A, de\u00a0Felice G, Meichanetzidis K, Clark S, Coecke B (2021) lambeq: an efficient high-level python library for quantum nlp. arXiv:2110.04236"},{"key":"8706_CR12","unstructured":"Farhi E, Neven H (2018) Classification with quantum neural networks on near term processors. arXiv:1802.06002"},{"key":"8706_CR13","unstructured":"Metawei MA, Said H, Taher M, Eldeib H, Nassar SM (2020) In: 2020 international conference on communications, computing, cybersecurity, and informatics (CCCI). IEEE, pp 1\u20136"},{"issue":"6","key":"8706_CR14","doi-asserted-by":"publisher","first-page":"403","DOI":"10.1038\/s43588-021-00084-1","volume":"1","author":"A Abbas","year":"2021","unstructured":"Abbas A, Sutter D, Zoufal C, Lucchi A, Figalli A, Woerner S (2021) The power of quantum neural networks. Nat Comput Sci 1(6):403\u2013409","journal-title":"Nat Comput Sci"},{"key":"8706_CR15","doi-asserted-by":"crossref","unstructured":"de\u00a0Felice G, Toumi A, Coecke B (2020) Discopy: monoidal categories in python. arXiv:2005.02975","DOI":"10.4204\/EPTCS.333.13"},{"key":"8706_CR16","unstructured":"Coecke B, de\u00a0Felice G, Meichanetzidis K, Toumi A (2020) Foundations for near-term quantum natural language processing. arXiv:2012.03755"},{"key":"8706_CR17","unstructured":"Coecke B, Sadrzadeh M, Clark S (2010) Mathematical foundations for a compositional distributional model of meaning. arXiv:1003.4394"},{"issue":"3\u20134","key":"8706_CR18","first-page":"318","volume":"15","author":"N Wiebe","year":"2015","unstructured":"Wiebe N, Kapoor A, Svore KM (2015) Quantum nearest-neighbor algorithms for machine learning. Quantum Inf Comput 15(3\u20134):318\u2013358","journal-title":"Quantum Inf Comput"},{"key":"8706_CR19","unstructured":"Lorenz R, Pearson A, Meichanetzidis K, Kartsaklis D, Coecke B (2021) Qnlp in practice: running compositional models of meaning on a quantum computer. arXiv:2102.12846"},{"issue":"1","key":"8706_CR20","doi-asserted-by":"publisher","first-page":"1","DOI":"10.1007\/s42484-023-00097-1","volume":"5","author":"K Meichanetzidis","year":"2023","unstructured":"Meichanetzidis K, Toumi A, de Felice G, Coecke B (2023) Grammar-aware sentence classification on quantum computers. Quantum Mach Intell 5(1):1\u201316","journal-title":"Quantum Mach Intell"},{"key":"8706_CR21","doi-asserted-by":"publisher","DOI":"10.3390\/app12115651","author":"R Guarasci","year":"2022","unstructured":"Guarasci R, De Pietro G, Esposito M (2022) Quantum natural language processing: challenges and opportunities. Appl Sci. https:\/\/doi.org\/10.3390\/app12115651","journal-title":"Appl Sci"},{"key":"8706_CR22","doi-asserted-by":"crossref","unstructured":"Karamlou A, Pfaffhauser M, Wootton J (2022) Quantum natural language generation on near-term devices. arXiv:2211.00727","DOI":"10.18653\/v1\/2022.inlg-main.22"},{"key":"8706_CR23","unstructured":"Khatri N, Hall LM (2022) In: Experimental comparison of ansatze for quantum natural language processing"},{"issue":"1","key":"8706_CR24","doi-asserted-by":"publisher","DOI":"10.1103\/PRXQuantum.3.010313","volume":"3","author":"Z Holmes","year":"2022","unstructured":"Holmes Z, Sharma K, Cerezo M, Coles PJ (2022) Connecting ansatz expressibility to gradient magnitudes and barren plateaus. PRX Quantum 3(1):010313","journal-title":"PRX Quantum"},{"key":"8706_CR25","unstructured":"Abbas-zadeh M, Mousavi SS, Salari V (2021) Parametrized quantum circuits of synonymous sentences in quantum natural language processing. arxiv:abs\/2102.02204"},{"key":"8706_CR26","doi-asserted-by":"publisher","first-page":"50","DOI":"10.4204\/eptcs.366.7","volume":"366","author":"MH Waseem","year":"2022","unstructured":"Waseem MH, Liu J, Wang-Ma\u015bcianica V, Coecke B (2022) Language-independence of DisCoCirc\u2019s text circuits: English and urdu. Electron Proc Theor Comput Sci 366:50\u201360. https:\/\/doi.org\/10.4204\/eptcs.366.7","journal-title":"Electron Proc Theor Comput Sci"},{"key":"8706_CR27","doi-asserted-by":"crossref","unstructured":"Casadio C, Scott PJ (2021) Joachim Lambek: the interplay of mathematics, logic, and linguistics. Springer","DOI":"10.1007\/978-3-030-66545-6"},{"key":"8706_CR28","unstructured":"Wang-Mascianica V, Liu J, Coecke B (2023) Distilling text into circuits. arXiv:2301.10595"},{"key":"8706_CR29","doi-asserted-by":"crossref","unstructured":"Metawei MA, Said H, Taher M, ElDeeb H, Nassar SM (2022) Evaluation of different ansatze designs for quantum neural network binary classifiers. Accessed on: Nov","DOI":"10.21203\/rs.3.rs-1919180\/v1"},{"issue":"1","key":"8706_CR30","doi-asserted-by":"publisher","first-page":"1","DOI":"10.1007\/s42484-021-00038-w","volume":"3","author":"T Hubregtsen","year":"2021","unstructured":"Hubregtsen T, Pichlmeier J, Stecher P, Bertels K (2021) Evaluation of parameterized quantum circuits: on the relation between classification accuracy, expressibility, and entangling capability. Quantum Mach Intell 3(1):1\u201319","journal-title":"Quantum Mach Intell"},{"key":"8706_CR31","unstructured":"Arthur D et\u00a0al (2022)A hybrid quantum-classical neural network architecture for binary classification. arXiv:2201.01820"},{"key":"8706_CR32","doi-asserted-by":"publisher","first-page":"167793","DOI":"10.1016\/j.ijleo.2021.167793","volume":"246","author":"AM El-Mahalawy","year":"2021","unstructured":"El-Mahalawy AM, El-Safty KH (2021) Classical and quantum regression analysis for the optoelectronic performance of NTCDA\/p-Si uv photodiode. Optik 246:167793","journal-title":"Optik"},{"key":"8706_CR33","unstructured":"Aleksandrowicz G, Alexander T, Barkoutsos P, Bello L, Ben-Haim Y, Bucher D, Cabrera-Hern\u00e1ndez FJ, Carballo-Franquis J, Chen A, Chen CF et\u00a0al (2019) Qiskit: An open-source framework for quantum computing. Accessed 16 Mar"},{"key":"8706_CR34","unstructured":"Womanium.org. Womanium Quantum Hackathon (2022). https:\/\/womanium.org\/Quantum\/Computing. Accessed 24 Oct 2022"},{"issue":"12","key":"8706_CR35","doi-asserted-by":"publisher","first-page":"1900070","DOI":"10.1002\/qute.201900070","volume":"2","author":"S Sim","year":"2019","unstructured":"Sim S, Johnson PD, Aspuru-Guzik A (2019) Expressibility and entangling capability of parameterized quantum circuits for hybrid quantum-classical algorithms. Adv Quantum Technol 2(12):1900070","journal-title":"Adv Quantum Technol"},{"key":"8706_CR36","doi-asserted-by":"publisher","first-page":"141007","DOI":"10.1109\/ACCESS.2020.3010470","volume":"8","author":"SYC Chen","year":"2020","unstructured":"Chen SYC, Yang CHH, Qi J, Chen PY, Ma X, Goan HS (2020) Variational quantum circuits for deep reinforcement learning. IEEE Access 8:141007\u2013141024","journal-title":"IEEE Access"},{"issue":"3","key":"8706_CR37","doi-asserted-by":"publisher","DOI":"10.1103\/PhysRevA.101.032308","volume":"101","author":"M Schuld","year":"2020","unstructured":"Schuld M, Bocharov A, Svore KM, Wiebe N (2020) Circuit-centric quantum classifiers. Phys Rev A 101(3):032308","journal-title":"Phys Rev A"},{"issue":"7747","key":"8706_CR38","doi-asserted-by":"publisher","first-page":"209","DOI":"10.1038\/s41586-019-0980-2","volume":"567","author":"V Havl\u00ed\u010dek","year":"2019","unstructured":"Havl\u00ed\u010dek V, C\u00f3rcoles AD, Temme K, Harrow AW, Kandala A, Chow JM, Gambetta JM (2019) Supervised learning with quantum-enhanced feature spaces. Nature 567(7747):209\u2013212","journal-title":"Nature"},{"key":"8706_CR39","unstructured":"Bergholm V, Izaac J, Schuld M, Gogolin C, Blank C, McKiernan K, Killoran N (2018)Pennylane: automatic differentiation of hybrid quantum-classical computations. arXiv:1811.04968"},{"key":"8706_CR40","unstructured":"Corp P (2022) qml.StronglyEntanglingLayers. https:\/\/docs.pennylane.ai\/. Accessed 24 Oct 2022"},{"issue":"3","key":"8706_CR41","doi-asserted-by":"publisher","DOI":"10.1103\/PhysRevA.71.032313","volume":"71","author":"K \u017byczkowski","year":"2005","unstructured":"\u017byczkowski K, Sommers HJ (2005) Average fidelity between random quantum states. Phys Rev A 71(3):032313","journal-title":"Phys Rev A"},{"issue":"1","key":"8706_CR42","doi-asserted-by":"publisher","first-page":"79","DOI":"10.1214\/aoms\/1177729694","volume":"22","author":"S Kullback","year":"1951","unstructured":"Kullback S, Leibler RA (1951) On information and sufficiency. Ann Math Stat 22(1):79\u201386","journal-title":"Ann Math Stat"},{"issue":"7","key":"8706_CR43","doi-asserted-by":"publisher","first-page":"3089","DOI":"10.1137\/080739379","volume":"39","author":"I Arad","year":"2010","unstructured":"Arad I, Landau Z (2010) Quantum computation and the evaluation of tensor networks. SIAM J Comput 39(7):3089\u20133121","journal-title":"SIAM J Comput"},{"key":"8706_CR44","doi-asserted-by":"crossref","unstructured":"Abbas A, Sutter D, Zoufal C, Lucchi A, Figalli A, Woerner S (2020) The power of quantum neural networks. arXiv:2011.00027","DOI":"10.1038\/s43588-021-00084-1"},{"key":"8706_CR45","doi-asserted-by":"publisher","DOI":"10.1016\/j.compbiolchem.2022.107732","volume":"99","author":"NQK Le","year":"2022","unstructured":"Le NQK, Ho QT, Nguyen VN, Chang JS (2022) BERT-promoter: An improved sequence-based predictor of DNA promoter using BERT pre-trained model and SHAP feature selection. Comput Biol Chem 99:107732","journal-title":"Comput Biol Chem"},{"key":"8706_CR46","doi-asserted-by":"publisher","first-page":"90","DOI":"10.1016\/j.ymeth.2022.09.007","volume":"207","author":"QH Kha","year":"2022","unstructured":"Kha QH, Tran TO, Nguyen VN, Than K, Le NQK et al (2022) An interpretable deep learning model for classifying adaptor protein complexes from sequence information. Methods 207:90\u201396","journal-title":"Methods"},{"key":"8706_CR47","unstructured":"Ragone M, Braccia P, Nguyen QT, Schatzki L, Coles PJ, Sauvage F, Larocca M, Cerezo M (2022) Representation theory for geometric quantum machine learning. arXiv:2210.07980"}],"container-title":["Neural Computing and Applications"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/link.springer.com\/content\/pdf\/10.1007\/s00521-023-08706-7.pdf","content-type":"application\/pdf","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/link.springer.com\/article\/10.1007\/s00521-023-08706-7\/fulltext.html","content-type":"text\/html","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/link.springer.com\/content\/pdf\/10.1007\/s00521-023-08706-7.pdf","content-type":"application\/pdf","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2023,12,15]],"date-time":"2023-12-15T15:44:58Z","timestamp":1702655098000},"score":1,"resource":{"primary":{"URL":"https:\/\/link.springer.com\/10.1007\/s00521-023-08706-7"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2023,6,23]]},"references-count":47,"journal-issue":{"issue":"25","published-print":{"date-parts":[[2023,9]]}},"alternative-id":["8706"],"URL":"https:\/\/doi.org\/10.1007\/s00521-023-08706-7","relation":{},"ISSN":["0941-0643","1433-3058"],"issn-type":[{"value":"0941-0643","type":"print"},{"value":"1433-3058","type":"electronic"}],"subject":[],"published":{"date-parts":[[2023,6,23]]},"assertion":[{"value":"23 January 2023","order":1,"name":"received","label":"Received","group":{"name":"ArticleHistory","label":"Article History"}},{"value":"23 May 2023","order":2,"name":"accepted","label":"Accepted","group":{"name":"ArticleHistory","label":"Article History"}},{"value":"23 June 2023","order":3,"name":"first_online","label":"First Online","group":{"name":"ArticleHistory","label":"Article History"}},{"order":1,"name":"Ethics","group":{"name":"EthicsHeading","label":"Declarations"}},{"value":"Not applicable.","order":2,"name":"Ethics","group":{"name":"EthicsHeading","label":"Ethics approval and consent to participate"}},{"value":"Not applicable.","order":3,"name":"Ethics","group":{"name":"EthicsHeading","label":"Human and animal ethics"}},{"value":"All authors approve the publication of this work.","order":4,"name":"Ethics","group":{"name":"EthicsHeading","label":"Consent for publication"}},{"value":"The authors have no conflict of interest to declare.","order":5,"name":"Ethics","group":{"name":"EthicsHeading","label":"Conflict of interest"}}]}}