Quantum-enhanced attention mechanism in NLP: a hybrid classical-quantum approach

dc.contributor.advisorShahir, Rafiad Sadat
dc.contributor.authorTomal, S.M. Yousuf Iqbal
dc.contributor.authorShafin, Abdullah Al
dc.contributor.authorBhattacharjee, Debojit
dc.contributor.authorAmin, MD. Khairul
dc.date.accessioned2026-01-19T06:23:04Z
dc.date.available2026-01-19T06:23:04Z
dc.date.issued2025-06
dc.descriptionCataloged from PDF version of thesis.
dc.descriptionIncludes bibliographical references (pages 40-41).
dc.descriptionThis thesis is submitted in partial fulfillment of the requirements for the degree of Bachelor of Science in Computer Science and Engineering, 2025.
dc.description.abstractRecent 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.
dc.identifier.otherID 21301129
dc.identifier.otherID 21201631
dc.identifier.otherID 20201159
dc.identifier.otherID 21201167
dc.identifier.otherhttps://dspace.bracu.ac.bd/server/api/core/items/7fdcdd68-7936-4b49-a7d0-df4388f8861c
dc.identifier.urihttp://hdl.handle.net/10361/27456
dc.language.isoen
dc.publisherBRAC University
dc.sourceBRAC University Institutional Repository
dc.subjectNatural language processing
dc.subjectQuantum attention
dc.subjectDeep learning
dc.subjectVariational quantum circuit
dc.subjectVQC
dc.subjectHybrid quantum-classical model
dc.subjectQuantum kernel method
dc.titleQuantum-enhanced attention mechanism in NLP: a hybrid classical-quantum approach
dc.typeThesis

Files

Original bundle

Now showing 1 - 1 of 1
Thumbnail Image
Name:
21301129, 21201631, 20201159, 21201167_CSE.pdf
Size:
654.83 KB
Format:
Adobe Portable Document Format