Saved in:
Bibliographic Details
Main Author: Laine, Timo Aukusti
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2512.02619
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866908687458631680
author Laine, Timo Aukusti
author_facet Laine, Timo Aukusti
contents We present a quantum computing approach to analyzing Large Language Model (LLM) embeddings, leveraging complex-valued representations and modeling semantic relationships using quantum mechanical principles. By establishing a direct mapping between LLM semantic spaces and quantum circuits, we demonstrate the feasibility of estimating semantic similarity using quantum hardware. One of the key results is the experimental calculation of cosine similarity between Google Sentence Transformer embeddings using a real quantum computer, providing a tangible demonstration of a quantum approach to semantic analysis. This work reveals a connection between LLMs and quantum mechanics, suggesting that these principles can offer new perspectives on semantic representation and processing, and paving the way for future development of quantum algorithms for natural language processing.
format Preprint
id arxiv_https___arxiv_org_abs_2512_02619
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Quantum LLMs Using Quantum Computing to Analyze and Process Semantic Information
Laine, Timo Aukusti
Quantum Physics
We present a quantum computing approach to analyzing Large Language Model (LLM) embeddings, leveraging complex-valued representations and modeling semantic relationships using quantum mechanical principles. By establishing a direct mapping between LLM semantic spaces and quantum circuits, we demonstrate the feasibility of estimating semantic similarity using quantum hardware. One of the key results is the experimental calculation of cosine similarity between Google Sentence Transformer embeddings using a real quantum computer, providing a tangible demonstration of a quantum approach to semantic analysis. This work reveals a connection between LLMs and quantum mechanics, suggesting that these principles can offer new perspectives on semantic representation and processing, and paving the way for future development of quantum algorithms for natural language processing.
title Quantum LLMs Using Quantum Computing to Analyze and Process Semantic Information
topic Quantum Physics
url https://arxiv.org/abs/2512.02619