Quantum Transformer: Accelerating model inference via quantum linear algebra
26 Feb · Naixu Guo, Zhan Yu, Matthew Choi +5 · arXiv:2402.16714
Powerful generative artificial intelligence from large language models (LLMs) harnesses extensive computational resources for inference. In this work, we investigate the transformer architecture, a key component of these models, under the lens of fault-tolerant quantum computing. We develop quantum subroutines to construct the building blocks in the transformer, including the self-attention, residual connection with…