Quantum-enhanced attention mechanism in NLP: a hybrid classical-quantum approach
| bracu.degree.level | Undergraduate | |
| bracu.type.group | Student Works | |
| datacite.rights | Open Access | |
| dc.contributor.advisor | Shahir, Rafiad Sadat | |
| dc.contributor.author | Tomal, S.M. Yousuf Iqbal | |
| dc.contributor.author | Shafin, Abdullah Al | |
| dc.contributor.author | Bhattacharjee, Debojit | |
| dc.contributor.author | Amin, MD. Khairul | |
| dc.contributor.department | Department of Computer Science and Engineering | |
| dc.date.accessioned | 2026-01-19T06:23:04Z | |
| dc.date.available | 2026-01-19T06:23:04Z | |
| dc.date.copyright | 2025 | |
| dc.date.issued | 2025-06 | |
| dc.description | Cataloged from PDF version of thesis. | |
| dc.description | Includes bibliographical references (pages 40-41). | |
| dc.description | This thesis is submitted in partial fulfillment of the requirements for the degree of Bachelor of Science in Computer Science and Engineering, 2025. | en_US |
| dc.description.abstract | Recent advances in quantum computing have opened new pathways for enhancing deep learning architectures, particularly in domains characterized by high-dimensional and context-rich data such as natural language processing (NLP). In this work, we present a hybrid classical–quantum Transformer model that integrates a quantum-enhanced attention mechanism into the standard classical architecture. By embedding token representations into a quantum Hilbert space via parameterized variational circuits and exploiting entanglement-aware kernel similarities, the model captures complex semantic relationships beyond the reach of conventional dot-product attention. We demonstrate the effectiveness of this approach across diverse NLP benchmarks, showing improvements in both efficiency and representational capacity. Empirical study reveals that the quantum attention layer yields globally coherent attention maps and more separable latent features, while requiring comparatively fewer parameters than classical counterparts. These findings highlight the potential of quantum-classical hybrid models to serve as a powerful and resource-efficient alternative to existing attention mechanisms in NLP. | en_US |
| dc.description.degree | Bachelor of Science in Computer Science and Engineering | |
| dc.description.statementofresponsibility | S.M. Yousuf Iqbal Tomal | |
| dc.description.statementofresponsibility | Abdullah Al Shafin | |
| dc.description.statementofresponsibility | Debojit Bhattacharjee | |
| dc.description.statementofresponsibility | MD. Khairul Amin | |
| dc.format.extent | 42 pages | |
| dc.identifier.other | ID 21301129 | |
| dc.identifier.other | ID 21201631 | |
| dc.identifier.other | ID 20201159 | |
| dc.identifier.other | ID 21201167 | |
| dc.identifier.uri | http://hdl.handle.net/10361/27456 | |
| dc.language.iso | en | en_US |
| dc.publisher | BRAC University | en_US |
| dc.rights | BRAC University theses are protected by copyright. They may be viewed from this source for any purpose, but reproduction or distribution in any format is prohibited without written permission. | |
| dc.subject | Natural language processing | en_US |
| dc.subject | Quantum attention | en_US |
| dc.subject | Deep learning | en_US |
| dc.subject | Variational quantum circuit | en_US |
| dc.subject | VQC | en_US |
| dc.subject | Hybrid quantum-classical model | en_US |
| dc.subject | Quantum kernel method | en_US |
| dc.subject.lcsh | Natural language processing (Computer science). | |
| dc.subject.lcsh | Quantum computing. | |
| dc.subject.lcsh | Deep learning (Machine learning). | |
| dc.title | Quantum-enhanced attention mechanism in NLP: a hybrid classical-quantum approach | en_US |
| dc.type | Thesis | en_US |