Related Experiment Video
Updated: May 27, 2026

Combining QD-FRET and Microfluidics to Monitor DNA Nanocomplex Self-Assembly in Real-Time
Published on: August 26, 2009
A Hybrid Transformer Architecture with a Quantized Self-Attention Mechanism Applied to Molecular Generation
Anthony M Smaldone1, Yu Shee1, Gregory W Kyro1
1Department of Chemistry, Yale University, New Haven, Connecticut 06520, United States.
Abstract:
The success of the self-attention mechanism in classical machine learning models has inspired the development of quantum analogs aimed at reducing the computational overhead. Self-attention integrates learnable query and key matrices to calculate attention scores between all pairs of tokens in a sequence. These scores are then multiplied by a learnable value matrix to obtain the output self-attention matrix, enabling the model to effectively capture long-range dependencies within the input sequence. Here, we propose a hybrid quantum-classical self-attention mechanism as part of a transformer decoder, the architecture underlying large language models (LLMs). To demonstrate its utility in chemistry, we train this model on the QM9 dataset for conditional generation, using SMILES strings as input, each labeled with a set of physicochemical properties that serve as conditions during inference. Our theoretical analysis shows that the time complexity of the query-key dot product is reduced from in a classical model to in our quantum model, where n and d represent the sequence length and the embedding dimension, respectively. We perform simulations using NVIDIA's CUDA-Q platform, which is designed for efficient GPU scalability. This work provides a promising avenue for quantum-enhanced natural language processing (NLP).
Related Concept Videos
Molecular Orbital Theory I
Atomic Nuclei: Nuclear Relaxation Processes
π Electron Effects on Chemical Shift: Overview
Molecular Kinetic Energy
Van de Graaff Generator
Van de Graaff uses both smooth and pointed surfaces, conductors, and insulators to generate large static charges and, hence, large voltages. A substantial excess charge can be deposited on the sphere because it moves...
Carrier Generation and Recombination
This process is given by the generation rate G and is efficient due to the conservation of momentum between the valence band maximum and conduction band minimum.
Indirect generation involves an...

