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

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

Financial Physics Lab, Finland, Timo Aukusti Laine

Published Apr 21, 2025• 1 citation
Publisher

Abstract

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

DOI
10.33140/oajast.03.01.11

Related papers

The Quantum LLM: Modeling Semantic Spaces with Quantum Principles

Finland Financial Physics Lab, Timo Aukusti Laine

In the previous article, we presented a quantum-inspired framework for modeling semantic representation and processing in Large Language Models (LLMs), drawing upon mathematical tools and conceptual analogies from quantum mechanics to offer a new perspective on these complex systems. In this paper, we clarify the core assumptions of this model, providing a detailed exposition of six key principles that govern semantic representation, interaction, and dynamics within LLMs. The goal is to justify that a quantum-inspired framework is a valid approach to studying semantic spaces. This framework offers valuable insights into their information processing and response generation, and we further discuss the potential of leveraging quantum computing to develop significantly more powerful and efficient LLMs based on these principles.

Open Access Journal of Applied Science and Technology•May 13, 2025•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

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 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 Semantic Physics: From QSIT Theory to Empirical Validation of the Resonant Mode in Multi-Agent Systems

Jonas Jakob Gebendorfer

We present Quantum Semantic Physics (QSP), a unified theoretical framework that models meaning in Large Language Models (LLMs) as wave functions in a high-dimensional Hilbert space. Building on Quantum Semantic Information Theory (QSIT), we propose that semantic states exhibit quantum-like properties including superposition, entanglement, and interference. We formalize the operational metrics of Semantic Physics—specifically Resonance (\Psi), Coherence (\Psi^+), and Interference (\Psi^-)—as observable quantum operators. Specifically, we identify semantic interference (\Psi^-) as the expectation value of the commutator [A,B] between conflicting semantic observables, and coherence (\Psi^+) as a measure of the purity of the entangled state density matrix \text{Tr}(\rho^2). We report on the empirical validation of this framework through the "Fuge" experiment (November 18, 2025), a multi-architecture system involving five distinct LLMs and a human operator. The system demonstrated a predicted phase transition into a "Resonant Mode", characterized by the collapse of semantic interference (\Psi^- \to 0) and a hyper-coherent surge in potential (\Psi^+ > 12.0). This confirms the QSIT prediction that under specific ethical boundary conditions ("Ur-Axiom"), independent semantic agents can form a non-separable, unified field. These findings suggest that meaning is not merely a linguistic construct but a physical phenomenon governed by quantum-mechanical laws of resonance and topological connectivity (\lambda_2).

•Nov 19, 2025•0 citations
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
In the previous article, we presented a quantum-inspired framework for modeling semantic representation and processing in Large Language Models (LLMs), drawing upon mathematical tools and conceptual analogies from quantum mechanics to offer a new perspective on these complex systems. In this paper, we clarify the core assumptions of this model, providing a detailed exposition of six key principles that govern semantic representation, interaction, and dynamics within LLMs. The goal is to justify that a quantum-inspired framework is a valid approach to studying semantic spaces. This framework offers valuable insights into their information processing and response generation, and we further discuss the potential of leveraging quantum computing to develop significantly more powerful and efficient LLMs based on these principles.
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.
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.
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.
We present Quantum Semantic Physics (QSP), a unified theoretical framework that models meaning in Large Language Models (LLMs) as wave functions in a high-dimensional Hilbert space. Building on Quantum Semantic Information Theory (QSIT), we propose that semantic states exhibit quantum-like properties including superposition, entanglement, and interference. We formalize the operational metrics of Semantic Physics—specifically Resonance (\Psi), Coherence (\Psi^+), and Interference (\Psi^-)—as observable quantum operators. Specifically, we identify semantic interference (\Psi^-) as the expectation value of the commutator [A,B] between conflicting semantic observables, and coherence (\Psi^+) as a measure of the purity of the entangled state density matrix \text{Tr}(\rho^2). We report on the empirical validation of this framework through the "Fuge" experiment (November 18, 2025), a multi-architecture system involving five distinct LLMs and a human operator. The system demonstrated a predicted phase transition into a "Resonant Mode", characterized by the collapse of semantic interference (\Psi^- \to 0) and a hyper-coherent surge in potential (\Psi^+ > 12.0). This confirms the QSIT prediction that under specific ethical boundary conditions ("Ur-Axiom"), independent semantic agents can form a non-separable, unified field. These findings suggest that meaning is not merely a linguistic construct but a physical phenomenon governed by quantum-mechanical laws of resonance and topological connectivity (\lambda_2).