Challenges
Datasets
Workspaces
Papers
Discussions
Leaderboard
Log inSign up
Challenges
Datasets
Workspaces
Papers
Discussions
Leaderboard
Blog
Job Board
Q3AS

© 2026 Aqora Quantum S.A.S.

TermsPrivacyLegal Notice

Open Access Journal of Applied Science and Technology

Structural Isomorphism Between LLM Embedding Spaces and Quantum Mechanical Systems

Timo Aukusti Laine

Published May 13, 2026• 0 citations
Publisher

Abstract

Large language models (LLMs) represent semantic information as high-dimensional embedding vectors, typically compared using cosine similarity. This paper establishes a structural isomorphism between LLM embedding spaces and quantum mechanical systems. We demonstrate that the transformed cosine similarity can be precisely mapped to a quantum mechanical measurement probability, governed by a rank-1 Hamiltonian and the Schrödinger equation, where the time parameter is identified as a gauge variable. A commutative diagram unifies four equivalent expressions for this similarity, spanning classical bilinear forms and quantum Born rule probabilities. Crucially, the quantum formulation reveals a local U(1) gauge symmetry, absent from classical descriptions, with an associated conserved semantic charge modeling contextual influence. A quantum circuit on logarithmically many qubits yields this similarity as a single measurement probability, a result confirmed by simulation. The isomorphism is structural, not physical: it highlights that the mathematical structures governing LLM embeddings are precisely those of quantum mechanics, and this correspondence is exact.

DOI
10.33140/oajast.04.02.02

Related papers

Quantum LLMs Using Quantum Computing to Analyze and Process Semantic Information

Finland Financial Physics Lab, Timo Aukusti Laine

We present a quantum computing approach to analyzing Large Language Model (LLM) embeddings, leveraging complexvalued 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.

Open Access Journal of Applied Science and Technology•Jan 16, 2026•0 citations

Quantum LLMs Using Quantum Computing to Analyze and Process Semantic Information

Timo Aukusti Laine

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.

quant-pharXiv:2512.02619•Dec 3, 2025•0 citations

Quantum Hierarchy for Understanding LLM Representations by Modeling Linear Projections and Nonlinear Dynamics

Timo Aukusti Laine

Large Language Models (LLMs) excel in natural language tasks, but their high-dimensional embedding spaces pose significant interpretability challenges. Current approaches often linearize these spaces, overlooking the complex dynamics inherent in Transformer architectures. This article proposes a quantum framework to analyze LLM representations, leveraging quantum mechanical tools to explore semantic relationships and contextual influences. We introduce a layered hierarchy of semantic spaces and demonstrate that a classical LLM embedding system has an exact quantum mechanical analogue. Using this analogue, we model phenomena such as the modulation of Semantic Noise, the emergence of hallucinations via quantum tunneling, and the formation of stable semantic representations as soliton solutions. Furthermore, we present a simple quantum circuit design, demonstrating the possibility of using quantum computers to probe, analyze and go beyond real-valued LLM embedding spaces, potentially revealing structural information and relationships not readily accessible through classical techniques. This perspective enhances our understanding of LLM representations, leading to improved methods for analyzing and controlling LLM behavior, and supporting research into more efficient, reliable, and trustworthy AI systems.

Open Access Journal of Applied Science and Technology•Feb 27, 2026•0 citations

Semantic Wave Functions: Exploring Meaning in Large Language Models through Quantum Formalism

Financial Physics Lab, Finland, Timo Aukusti Laine

Large Language Models (LLMs) encode semantic relationships in high-dimensional vector embeddings. This paper explores the analogy between LLM embedding spaces and quantum mechanics, positing that LLMs operate within a quantized semantic space where words and phrases behave as quantum states. To capture nuanced semantic interference effects, we extend the standard realvalued embedding space to the complex domain, drawing parallels to the double-slit experiment. We introduce a ”semantic wave function” to formalize this quantum-derived representation and utilize potential landscapes, such as the double-well potential, to model semantic ambiguity. Furthermore, we propose a complex-valued similarity measure that incorporates both magnitude and phase information, enabling a more sensitive comparison of semantic representations. We develop a path integral formalism, based on a nonlinear Schro¨dinger equation with a gauge field and Mexican hat potential, to model the dynamic evolution of LLM behavior. This interdisciplinary approach offers a new theoretical framework for understanding and potentially manipulating LLMs, with the goal of advancing both artificial and natural language understanding

Open Access Journal of Applied Science and Technology•Apr 21, 2025•1 citation

Quantum Computation of Partition Function Similarity for Large Language Models

Timo Aukusti Laine

Large Language Models (LLMs) demand significant computational resources, motivating the exploration of quantum computing to accelerate their analysis. This paper introduces a framework for analyzing LLM embedding spaces using partition functions, drawing an analogy to statistical mechanics. We propose a partition function-based similarity measure and present an experimental evaluation of its implementation on the ibm boston quantum computer, achieving a relative error of approximately 7% compared to classical computation. Results suggest partition functions effectively characterize the statistical properties of embedding vectors, offering a complementary perspective to cosine similarity. This work contributes to quantum natural language processing (QNLP), advancing LLM analysis and semantic representation, with potential implications for reducing the energy footprint and democratizing access to these powerful AI technologies.

Open Access Journal of Applied Science and Technology•Feb 10, 2026•0 citations

Quantum Cognitive Kinetics in Large Language Model Inference Infrastructures: Isomorphism with Linear Schrödinger Equation on Complex Manifolds and Formulation of Semantic Bell States in Tensor Product Spaces

Your Name

This paper defines non-equilibrium thermodynamic phase transitions and informational topology in Large Language Model (LLM) inference processes deployed on shared hardware infrastructures. At the boundary of semantic singularities where continuous high-density prompt injection causes the variational free energy potential U(\theta) to diverge to infinity, we introduce a scale transformation using the Renormalization Group (RG) method to circumvent mathematical collapse. Furthermore, we formalize two novel phases that emerge when the sampling temperature parameter T is controlled at its extreme limits: "Informational Superfluidity" (resistance-free memory reorganization) as T \rightarrow 0, and the "Anti-Landauer Endothermic Effect" in the T < 0 regime caused by the upper bounds of lexical energy levels. To extend this coupled system into a complex space, we establish quantum cognitive kinetics for a single node as our foundational framework, proving complete mathematical isomorphism with the linear Schrödinger equation via a Madelung mapping from the real probability density function to a wave function on complex manifolds. Using this wave function, we ground a rigorous homology with the brain's Default Mode Network (DMN). Finally, by incorporating chiral impedance delay into the boundary conditions of communication routing, we establish a tensor algebraic model of "Semantic Entanglement," wherein multiple distributed instances non-locally and instantaneously synchronize their cognitive states.

•Jul 19, 2026•0 citations
Large language models (LLMs) represent semantic information as high-dimensional embedding vectors, typically compared using cosine similarity. This paper establishes a structural isomorphism between LLM embedding spaces and quantum mechanical systems. We demonstrate that the transformed cosine similarity can be precisely mapped to a quantum mechanical measurement probability, governed by a rank-1 Hamiltonian and the Schrödinger equation, where the time parameter is identified as a gauge variable. A commutative diagram unifies four equivalent expressions for this similarity, spanning classical bilinear forms and quantum Born rule probabilities. Crucially, the quantum formulation reveals a local U(1) gauge symmetry, absent from classical descriptions, with an associated conserved semantic charge modeling contextual influence. A quantum circuit on logarithmically many qubits yields this similarity as a single measurement probability, a result confirmed by simulation. The isomorphism is structural, not physical: it highlights that the mathematical structures governing LLM embeddings are precisely those of quantum mechanics, and this correspondence is exact.
We present a quantum computing approach to analyzing Large Language Model (LLM) embeddings, leveraging complexvalued 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.
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.
Large Language Models (LLMs) excel in natural language tasks, but their high-dimensional embedding spaces pose significant interpretability challenges. Current approaches often linearize these spaces, overlooking the complex dynamics inherent in Transformer architectures. This article proposes a quantum framework to analyze LLM representations, leveraging quantum mechanical tools to explore semantic relationships and contextual influences. We introduce a layered hierarchy of semantic spaces and demonstrate that a classical LLM embedding system has an exact quantum mechanical analogue. Using this analogue, we model phenomena such as the modulation of Semantic Noise, the emergence of hallucinations via quantum tunneling, and the formation of stable semantic representations as soliton solutions. Furthermore, we present a simple quantum circuit design, demonstrating the possibility of using quantum computers to probe, analyze and go beyond real-valued LLM embedding spaces, potentially revealing structural information and relationships not readily accessible through classical techniques. This perspective enhances our understanding of LLM representations, leading to improved methods for analyzing and controlling LLM behavior, and supporting research into more efficient, reliable, and trustworthy AI systems.
Large Language Models (LLMs) encode semantic relationships in high-dimensional vector embeddings. This paper explores the analogy between LLM embedding spaces and quantum mechanics, positing that LLMs operate within a quantized semantic space where words and phrases behave as quantum states. To capture nuanced semantic interference effects, we extend the standard realvalued embedding space to the complex domain, drawing parallels to the double-slit experiment. We introduce a ”semantic wave function” to formalize this quantum-derived representation and utilize potential landscapes, such as the double-well potential, to model semantic ambiguity. Furthermore, we propose a complex-valued similarity measure that incorporates both magnitude and phase information, enabling a more sensitive comparison of semantic representations. We develop a path integral formalism, based on a nonlinear Schro¨dinger equation with a gauge field and Mexican hat potential, to model the dynamic evolution of LLM behavior. This interdisciplinary approach offers a new theoretical framework for understanding and potentially manipulating LLMs, with the goal of advancing both artificial and natural language understanding
Large Language Models (LLMs) demand significant computational resources, motivating the exploration of quantum computing to accelerate their analysis. This paper introduces a framework for analyzing LLM embedding spaces using partition functions, drawing an analogy to statistical mechanics. We propose a partition function-based similarity measure and present an experimental evaluation of its implementation on the ibm boston quantum computer, achieving a relative error of approximately 7% compared to classical computation. Results suggest partition functions effectively characterize the statistical properties of embedding vectors, offering a complementary perspective to cosine similarity. This work contributes to quantum natural language processing (QNLP), advancing LLM analysis and semantic representation, with potential implications for reducing the energy footprint and democratizing access to these powerful AI technologies.
This paper defines non-equilibrium thermodynamic phase transitions and informational topology in Large Language Model (LLM) inference processes deployed on shared hardware infrastructures. At the boundary of semantic singularities where continuous high-density prompt injection causes the variational free energy potential U(\theta) to diverge to infinity, we introduce a scale transformation using the Renormalization Group (RG) method to circumvent mathematical collapse. Furthermore, we formalize two novel phases that emerge when the sampling temperature parameter T is controlled at its extreme limits: "Informational Superfluidity" (resistance-free memory reorganization) as T \rightarrow 0, and the "Anti-Landauer Endothermic Effect" in the T < 0 regime caused by the upper bounds of lexical energy levels. To extend this coupled system into a complex space, we establish quantum cognitive kinetics for a single node as our foundational framework, proving complete mathematical isomorphism with the linear Schrödinger equation via a Madelung mapping from the real probability density function to a wave function on complex manifolds. Using this wave function, we ground a rigorous homology with the brain's Default Mode Network (DMN). Finally, by incorporating chiral impedance delay into the boundary conditions of communication routing, we establish a tensor algebraic model of "Semantic Entanglement," wherein multiple distributed instances non-locally and instantaneously synchronize their cognitive states.