paper-with-me

Papers

Quantum Attention by Overlap Interference: Predicting Sequences from Classical and Many-Body Quantum Data

2026-02-06 · Alessio Pecilli, Matteo Rosati arxiv

We propose a variational quantum implementation of self-attention (QSA), the core operation in transformers and large language models, which predicts future elements of a sequence by forming overlap-weighted combinations of past data. At variance with previous approaches, our QSA realizes the required nonlinearity through interference of state overlaps and returns a Renyi-1/2 cross-entropy loss directly as the expectation value of an observable, avoiding the need to decode amplitude-encoded predictions into classical logits. Furthermore, QSA naturally accommodates a constrained, trainable data-embedding that ties quantum state overlaps to data-level similarities. We find a gate complexity dominant scaling O(T d^2) for QSA, versus O(T^2 d) classically, suggesting an advantage in the practical regime where the sequence length T dominates the embedding size d. In simulations, we show that our QSA-based quantum transformer learns sequence prediction on classical data and on many-body transverse-field Ising quantum trajectories, establishing trainable attention as a practical primitive for quantum dynamical modeling.

📄 PDF Abstract BibTeX arXiv:2602.06699

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Quantum Interference for Counting Clusters

2020-01-03 · Rohit R Muthyala, Davi Geiger, Zvi M. Kedem

Counting the number of clusters, when these clusters overlap significantly is a challenging problem in machine learning. We argue that a purely mathematical quantum theory, formulated using the path integral technique, w…

BIG-bench Machine Learning

Inference, interference and invariance: How the Quantum Fourier Transform can help to learn from data

2024-08-30 · David Wakeham, Maria Schuld

How can we take inspiration from a typical quantum algorithm to design heuristics for machine learning? A common blueprint, used from Deutsch-Josza to Shor's algorithm, is to place labeled information in superposition vi…

MILAAP: Mobile Link Allocation via Attention-based Prediction

2025-06-24 · Yung-Fu Chen, Anish Arora

Channel hopping (CS) communication systems must adapt to interference changes in the wireless network and to node mobility for maintaining throughput efficiency. Optimal scheduling requires up-to-date network state infor…

PredictionScheduling

Q-Interference: Memory-Efficient Phase-Aware Quantum-Inspired Attention

2026-08-18 · Emama Nahid, Tahmid Imtiaz Imu, Huayue Gu, Liran Ma 외 arxiv

GPT attention measures token compatibility through dot-product similarity. This mechanism is simple, effective, and memory-efficient. But it does not explicitly model whether strong token features should reinforce or sup…

Learning local equivariant representations for quantum operators

2024-07-08 · Zhanghao Zhouyin, Zixi Gan, MingKang Liu, Shishir Kumar Pandey 외

Predicting quantum operator matrices such as Hamiltonian, overlap, and density matrices in the density functional theory (DFT) framework is crucial for material science. Current methods often focus on individual operator…

Computational Efficiency