Paper • The following article is Open access

Quantum mechanics and neural networks

and

Published 7 January 2026 • © 2026 The Author(s). Published by IOP Publishing Ltd
, , Citation Christian Ferko and James Halverson 2026 Mach. Learn.: Sci. Technol. 7 015002DOI 10.1088/2632-2153/ae3105

2632-2153/7/1/015002

Abstract

We demonstrate that any Euclidean-time quantum mechanical theory may be represented as a neural network (NN), ensured by the Kosambi–Karhunen–Loève theorem, mean-square path continuity, and finite two-point functions. The additional constraint of reflection positivity, which is related to unitarity, may be achieved by a number of mechanisms, such as imposing NN parameter space splitting or the Markov property. Non-differentiability of the networks is related to the appearance of non-trivial commutators. Neural networks acting on Markov processes are no longer Markov, but still reflection positive, which facilitates the definition of deep NN quantum systems. We illustrate these principles in several examples using numerical implementations, recovering classic quantum mechanical results such as Heisenberg uncertainty, non-trivial commutators, and the spectrum.

Export citation and abstractBibTeXRIS

Original content from this work may be used under the terms of the Creative Commons Attribution 4.0 license. Any further distribution of this work must maintain attribution to the author(s) and the title of the work, journal citation and DOI.

1. Introduction

An emerging connection between field theory and neural networks (NNs) provides a physical approach to understanding machine learning (ML) and a new method for defining field theories. The essential idea is that a NN is a family of functions φθ accompanied by a density $P(\theta)$ on parameters3, which together define correlation functions

Equation (1.1)

where the last equality provides a method of studying correlators using a NN description, independent of knowledge of an action. The functional form of φθ is known as the architecture, and henceforth we call the NN description of a field theory a NN-FT. Together, the data $(\phi_\theta, P(\theta))$ furnishes an ensemble of fields and associated correlation functions, the minimal defining data of a field theory. Beginning from this data, one might wish to engineer additional interesting features, such as Gaussianity [1, 2], interactions [3], symmetries [4], e.g. conformal symmetry [5], the axioms of constructive quantum field theory (QFT), or other features relevant for studying physical systems4.

When are these theories quantum? Since a NN is usually defined on Euclidean space, and therefore the NN-FT defines Euclidean correlators, the question amounts to asking when Euclidean correlators admit a nice-enough quantum Lorentzian continuation5. This question is central in constructive field theory, where the OS axioms [14, 15] are necessary and sufficient conditions on Euclidean correlators to ensure that the Lorentzian continuation satisfies the Wightman axioms [16]6. An essential role is played by reflection positivity (RP), a Euclidean constraint that ensures unitarity in the quantum theory. A potential drawback of the OS axioms is that Lorentz invariance is baked into the axioms, restricting to a specific type of QFT, rather than the general case. Nevertheless, RP may be studied outside of the OS context, providing a more general notion of when a Euclidean system is, in fact, quantum.

In this paper we restrict our attention to quantum mechanics, considering fields φθ on $\mathbb{R}^d$ with d = 1 and renaming them $x ( t ) = \phi_\theta ( t )$. Instead of asking when a Euclidean field theory is the continuation of a QFT, we ask when a stochastic process (SP) (d = 1 Euclidean field theory) is the continuation of a quantum mechanics theory. Since we will aim for clarity in the main text, rather than brevity, we state our main results here:

  1. 1.  
    Universality of NN approach to QM. Mean-square path continuity and the Kallén–Lehmann spectral representation of QM ensure that QM systems satisfy the assumptions of the Kosambi–Karhunen–Loève theorem of SPs. This gives a statistical decomposition of the paths x(t) that may be interpreted as a NN.
  2. 2.  
    Mechanisms for unitarity and RP.We develop a ‘parameter splitting’ mechanism sufficient for RP, and provide a method by which any seed architecture may be turned into an architecture satisfying RP. However, the method breaks translation invariance, which is required by the OS axioms in QM, unless the splitting (which depends on t) is engineered for all t.Alternatively, Markov processes are RP. We demonstrate that a NN acting on any Markov process may not be Markov, but is still RP.Both of these mechanisms have a common feature: the non-differentiability of paths, which is essential for obtaining non-trivial commutators and Heisenberg uncertainty.
  3. 3.  
    Deep NN-QM: A prescription for defining quantum systems. Since any NN acting on a Markov or RP process yields an RP process, deep NNs provide a means of defining a vast array of Euclidean quantum systems. We instantiate this idea numerically using the Ornstein–Uhlenbeck process (the Euclidean analog of quantum harmonic oscillator) and a variety of NNs acting on it, studying commutators, Heisenberg uncertainty, and the spectrum in each example.

Our methodology shares some ingredients with other techniques for understanding quantum theories using NNs or SPs. For instance, see [19] for another approach to representing quantum systems via NNs, focusing on models that can be defined by a path integral; in this work, we do not assume a path integral representation for the models under consideration. Another strategy called stochastic quantization was introduced by Nelson in [20] and further studied by Parisi and Wu in [21], which realizes a d-dimensional quantum theory via a $(d+1)$-dimensional model with an extra ‘fictitious time’ coordinate. For instance, the stochastic quantization of a 1d model describing a particle trajectory x(t) introduces a second time coordinate s and postulates a stochastic differential equation (SDE) $\frac{\partial x(s, t)}{\partial s} = - \frac{\delta S_\mathrm E [ x ]}{\delta x ( s, t )} + \eta ( x, s )$, where $\eta ( x, s )$ is a noise term and $S_\mathrm E [ x ]$ is a Euclidean action. In contrast, we work with a single time coordinate t and do not assume the existence of a Euclidean action7. Finally, unlike the approach of [23], we will not use NNs to parameterize the wavefunction ψ of a quantum theory, but rather to define the theory itself. An advantage of this formalism is that it will therefore allow us to construct large new classes of quantum mechanical models using deep NNs which exhibit desirable physical properties.

This paper is organized as follows. In section 2 we develop the connection between NNs, SPs, and QM, and explain that any quantum model which satisfies a minimal set of consistency conditions admits a canonical NN representation; this establishes our universality result. Section 3 introduces RP and develops two mechanisms for obtaining RP: a parameter splitting procedure that gives RP about a single time t = 0, and a Markovianity assumption which ensures RP about any time. Section 4 presents a novel construction of a large class of RP quantum systems using deep NNs and numerically implement examples. In section 5, we summarize our results and present directions for future research. In appendix, we present an ancillary discussion, reviewing the observation that commutation relations in QM arise due to the contribution of nowhere-differentiable paths.

2. Quantum systems, SPs, & NNs

We begin by specifying what we mean by a quantum mechanical theory, at least in Euclidean signature (or imaginary time). There are various conditions that one might wish to impose on a model in order to reasonably describe it as ‘quantum,’ such as the existence of uncertainty relations, entanglement, or other cherished features of conventional quantum mechanics. However, at least initially, we will adopt a ‘minimal’ requirement of a quantum system which is motivated by restricting the usual defining data that characterizes the local operators8 of a d-dimensional Euclidean QFT to d = 1 dimension, along with two mild assumptions that are motivated by basic physical principles. As we will see, it is natural to speak about such a minimal quantum theory using the language of SPs and the related machinery of NNs.

2.1. Requirements of quantum models

When discussing a Euclidean field theory in d spacetime dimensions, the local observables of fundamental interest are the correlation functions

Equation (2.1)

where φ is a local operator in the spectrum of the theory (which may be a scalar or carry additional indices that are suppressed) and the quantities $y_i \in \mathbb{R}^d$, for $i = 1, \ldots, n$, are spacetime points at which the field operators have been inserted. The correlators $G^{(n)}$ are also referred to as Schwinger functions. These are the primary objects of study in constructive approaches to QFT, where one investigates whether these functions satisfy certain conditions such as the OS axioms, which guarantee that a Euclidean theory may be analytically continued to a corresponding Lorentzian theory. When $d \unicode{x2A7E} 2$, it is natural to refer to the theory associated with such correlation functions as a field theory, since the degree of freedom φ varies in both Euclidean time and in space.

Restricting to the case d = 1 that will be relevant for quantum mechanics, we instead consider ‘fields’ — such as the position x(t) of a quantum particle subject to a harmonic potential—which depend on a time variable $t \in \mathbb{R}$, but not on any spatial coordinates. Therefore, in a quantum mechanical theory, the natural observables are instead correlators

Equation (2.2)

which depend on n time coordinates $t_i \in \mathbb{R}$. We view the correlation function (2.2) as the expectation value, in some probability distribution, of a product of random variables $x ( t_i )$ for $i = 1 , \ldots , n$. A theory of quantum mechanics should yield a prescription for computing any such expectation value, for any choice of times ti and for any finite n.

However, not all collections of correlation functions $G^{(n)}$ are suitable to be interpreted as arising from physically realistic quantum theories. For instance, we envision the random variables $x ( t_i )$ as representing points on the trajectories of quantum particles. On physical grounds, any such trajectory should be a continuous function of Euclidean time, since a particle should not be able to ‘jump’ instantaneously from one position to another. We will therefore impose a technical condition called ‘mean-square continuity’ on the distribution of random variables $x(t_i)$ in our quantum model. Formally, we require that

Equation (2.3)

for all s. In particular, this condition implies that the sample paths x(t) are continuous and that the two-point function $G^{(2)} ( t, s )$ is a continuous function of t and s9.

A second basic requirement comes from the Kallén–Lehmann spectral representation [24, 25] of the two-point function, which is a non-perturbative result that holds for quite general quantum field theories. In one Euclidean spacetime dimension, this representation for the two-point function $G^{(2)} ( t, s )$ in any theory of quantum mechanics takes the form

Equation (2.4)

where $\rho ( m )$ is a finite Borel measure, which means that ρ is positive definite and that its integral is finite (though not necessarily equal to 1, in which case it is called a probability measure). To see why this assumption is reasonable, it is convenient to consider a conventional quantum system with a discrete spectrum that is bounded below. After shifting the Hamiltonian by a constant so that the ground state energy is zero, one may insert a complete set of energy eigenstates $1 = \sum_n \ket{n} \bra{n}$ to find

Equation (2.5)

where

Equation (2.6)

Although this result is most often applied in higher-dimensional field theory, the version of this expansion for 1d Euclidean systems was already used in some early works such as [26]. Since $\rho ( m )$ must be normalizable, equation (2.4) implies that the two-point function $G^{(2)} ( t, s )$ must be finite for any values of t and s. Indeed, in the coincident-point limit one has $G^{(2)} ( t, t ) = \int_0^\infty\mathrm d m \, \rho ( m ) \lt \infty$, and for any other t ≠ s the integrand is positive-definite and upper-bounded by $\rho ( m )$, so $G^{(2)} ( t, s )$ converges to a finite value for any $t, s$.

These two basic physical inputs are encoded in the following two properties.

  • (P1)  
    The expectation values in our quantum model obey the mean-square continuity condition (2.3). This implies that the two-point10 function $G^{(2)} ( t, s )$ is a continuous function of its arguments, and that the sample paths x(t) are continuous in t.
  • (P2)  
    The two-point function $G^{(2)} ( t, s )$ is finite for all values of the input times t, s.

We therefore adopt the definition that a ‘minimal quantum mechanical model’ or MQM is an assignment, for any $n \in \mathbb{N}$ and to every collection of points $t_1 , \ldots, t_n$, of a joint probability distribution for a collection of random variables $x ( t_1 )$, $\ldots$, $x ( t_n )$, such that the expectation values in this distribution obeys (P1) and (P2).

Here we have focused on Schwinger functions $G^{(n)}$ rather than other common quantities of interest in quantum theories, such as the eigenvalues of the Hamiltonian. However, given the collection of all such correlation functions (2.2) for arbitrary times, it is possible to reconstruct other desired observables. For instance, the energy spectrum can be extracted by performing exponential fits of the fall-offs of correlation functions at large time separations. In fact, for quantum systems that satisfy the OS axioms (which we will discuss in section 3) and can thus can be continued to real time, the OS reconstruction theorem guarantees that the correlation functions $G^{(n)}$ are sufficient to reconstruct the Hilbert space and all local observables of the real-time theory [14]. Therefore, at least for models obeying the OS axioms, we suffer essentially no loss of generality by restricting attention to correlation functions.

Furthermore, although here we primarily discuss quantum systems with a single degree of freedom, one can straightforwardly generalize this definition to models with a collection of bosonic coordinates $x^i ( t )$, to models with anticommuting fields $\psi^i ( t )$ (such as supersymmetric quantum mechanics), and to other settings. For instance, this allows us to represent many-body quantum systems, where the index on the coordinates $x^i ( t )$ label degrees of freedom associated with distinct sites or particles. Let us also remark that seemingly ‘discrete’ quantum models, such as a two-level system, can be accommodated in this framework. For instance, to describe a qubit, we choose three random variables $x^i ( t ) = \left( \phi ( t ) , \theta ( t ) , \psi ( t ) \right)$ using the Euler angle representation, as in the standard construction of the path integral for a spin-$\frac{1}{2}$ particle (see e.g. section 3.3 of [27] for a review). In these more general settings, one could engineer additional symmetries beyond those considered in this work, such as invariance under rotations $x^i_t \to {R}{^{i}_{j}} x_{j, t}$ or supersymmetry transformations mixing bosons and fermions; one approach to doing this is to use the ‘parameter absorption trick’ described in [28].

We refer to the models defined above as ‘minimal’ because, depending on which properties one insists upon as necessary for a theory to qualify as genuinely quantum, these conditions may not be sufficient, although we believe it is fair to say that they are necessary. For example, one might reasonably adopt the view that a Euclidean (imaginary time) model should only be called ‘quantum’ if it can be analytically continued to a Lorentzian (real time) model with unitary time evolution. We will eventually demand that our systems satisfy additional properties, such as time translation symmetry and RP, which ensure the existence of such a Lorentzian continuation.

2.2. Quantum models as SPs

Our definition of a minimal quantum system, obeying (P1) and (P2), is a special case of the mathematical notion of a SP. In modern treatments, the general definition of a SP is phrased in terms of a σ-algebra $\mathcal{F}$ of events in a set Ω called the sample space, along with a measure $\mathbb{P}$ which assigns probability to elements of $\mathcal{F}$. However, for our purposes it will suffice to work with a more elementary definition: by a SP, we mean a collection of real-valued random variables

Equation (2.7)

where T is the index set for the process, which we typically choose to be either $\mathbb{R}$ or a finite interval $[a, b]$. We will often abbreviate a SP x(t) with a subscript, as in xt. Since for each fixed $t_i \in \mathbb{R}$ the quantity $x ( t_i )$ is a random variable, one can speak of the joint probability distribution11

Equation (2.8)

for any finite collection of these random variables. The set of all such joint probability distributions, for any collection of n variables ti in the index set T and for any n, is the defining data of the SP xt.

We therefore see that the definition of a minimal quantum theory given above is an example of a SP, since the defining data for both of these objects is an assignment of a joint probability distribution (2.8) to every finite collection of times ti. The only distinction between these notions is that a minimal quantum theory must satisfy conditions (P1) and (P2), which means that such minimal quantum models are a proper subset of SPs. More precisely, a MQM is a SP xt which is mean-square continuous, i.e. it obeys (2.3), and square-integrable, which implies that the correlation function $G^{(2)} ( t, s )$ is finite for every pair of inputs t and s, ensuring (P2).

The preceding definition referred only to the values $x ( t_i )$ of the process xt at specific points $t_i \in \mathbb{R}$. However, a complementary viewpoint of a SP is as a probability distribution over the space of functions $x : \mathbb{R} \to \mathbb{R}$. From this perspective, one performs a random ‘draw’ of a function xt, and then the values of this sample function at points ti furnish us with realizations of the random variables $x ( t_i )$. This interpretation of a SP is aligned with our usual intuition in the path integral formulation of quantum mechanics, where we view expressions like

Equation (2.9)

as formally computing an expectation value with respect to a probability measure on the space of paths which is determined by the action $S[x]$ and path integral measure $\mathcal{D} x$. However, we note that the SPes (or minimal quantum systems) that we consider here are not assumed to be defined by an action: instead we work directly with an abstract probability distribution (2.8) which plays the role of the combination $\mathcal{D} x \, \mathrm e^{- S [ x ] }$ and thus captures the combined information (both classical and quantum, whereas the action $S[x]$ alone would define only the classical dynamics) of the model.

In some mathematical treatments of SPs, one avoids this picture of a ‘random function’ (which requires imposing additional regularity assumptions on xt for technical reasons), preferring to speak only of the random variables $x ( t_i )$ associated with specific points in time. We will not concern ourselves with such technical subtleties in this work, and instead use the two perspectives interchangeably.

If one wishes to take this interpretation of a SP xt as a random function seriously, it is natural to ask whether one can parameterize the family of functions that are randomly generated by the process xt in terms of some ‘coordinates’ which are real-valued quantities that label a particular function in the family. This leads us to the other main definition of interest in this work, which is that of a NN.

2.3. Universality of NNs

For the purposes of this work12, a NN is a parameterized family of functions $\phi_\theta : \mathbb{R} \to \mathbb{R}$ determined by a set of parameters θ, which are random variables with a joint probability distribution $P ( \theta )$. There can, in general, be many such parameters θi for $i = 1 , \ldots, N$ (or infinitely many), but we will suppress indices and write θ to indicate the collection of all parameters. Performing a random draw of the parameters θ then gives a specific instance of a random function φθ. A simple example of a NN is

Equation (2.10)

where the latter notation indicates that θ is drawn from a uniform distribution on the interval $[0 , 2 \pi]$. We see that the function φθ therefore inherits randomness from the random variable θ; a particular draw of the parameter, say $\theta = \pi$, then determines an instance of the NN, here $\phi_\pi ( t ) = \cos ( t + \pi )$. We refer to the fixed functional form that describes the dependence of φθ on its parameters, such as the cosine function of (2.10), as the architecture of the NN, and we refer to the probability distribution $P ( \theta )$ over the parameters θ as the parameter density.

Clearly every NN satisfies the definition of a SP, since taken together, the architecture and joint probability distribution $P ( \theta )$ over the parameters determine a joint probability distribution

Equation (2.11)

for the collection of random variables $\phi_\theta ( t_i )$ given any finite collection of times ti. We say that a SP xt which admits a representation using a NN, so that $x_t = \phi_\theta ( t )$ with some parameter density $P ( \theta )$, is a NN SP or NN-SP; similarly, any minimal quantum model $x_t = \phi_\theta ( t )$ which can be represented as a NN is said to be a NN quantum mechanics or NN-QM. Said differently, a NN-QM is a NN-SP that enjoys properties (P1) and (P2). For any NN-SP, the correlation functions (2.2) can be computed using parameter space integrals as

Equation (2.12)

where the integral runs over all of the parameters θ but again we suppress indices.

Given that every NN $\left( \phi_\theta , P ( \theta ) \right)$ determines a SP, one might ask about the opposite direction: does every SP xt admit a NN representation in terms of an architecture φθ and a parameter density $P ( \theta )$? One could answer this question in a rather trivial way by choosing an uncountably infinite set of parameters θt, indexed by $t \in \mathbb{R}$, and then declaring that $\phi_\theta ( t ) = \theta^t$. This is simply choosing a separate random variable for the output of the NN at each point. Since the data of the SP xt involves a joint probability distribution (2.8) for each collection of points ti, one could then define the parameter density $P ( \theta )$ to agree with the joint distribution of xt on any finite set of inputs. However, this construction is unwieldy and not very interesting.

One might instead ask whether every SP can be represented via a NN in a useful way, with only countably many parameters and in terms of an architecture which is amenable to theoretical analysis. The answer to this question is provided by a theorem discussed by Kosambi in [29], by Karhunen in [30], and by Loève in [31], which we now recall.

Theorem 2.1. (Kosambi–Karhunen–Loève). Let xt be a square-integrable SP defined on an interval $[a, b]$ such that $\langle x ( t ) \rangle = 0$ for all $t \in [ a, b ]$, and suppose that the two-point function $\langle x ( t_1 ) x ( t_2 ) \rangle$ is continuous. Then xt admits a decomposition

Equation (2.13)

where ek is a set of continuous, orthogonal real-valued functions on $[a, b]$ and θk are a collection of pairwise uncorrelated (but not necessarily13 independent) random variables.

First let us discuss the assumptions of the KKL theorem. Two of the conditions of the theorem—continuity of the two-point function and square-integrability—are implied by (P1) and (P2), which are satisfied by any MQM by definition. The last requirement of theorem 1 is that the SP xt has zero expectation value for all t, which is not a condition which we impose in general. However, this is easy to remedy. Consider some xt which is square-integrable and has a continuous two-point function but which does not satisfy the zero-mean condition. Any square-integrable SP has finite first moment $\langle x ( t ) \rangle$ for all t, by the Cauchy–Schwarz inequality. We define

Equation (2.14)

Then $\hat{x}_t$ satisfies all of the assumptions of the Kosambi–Karhunen–Loève theorem. It follows that the original SP can be written as the sum of the KKL decomposition for $\hat{x}_t$ and the deterministic function $\langle x ( t ) \rangle$. Viewing the expansion coefficients θk appearing in (2.13) as NN parameters, and choosing the architecture

Equation (2.15)

we see that every square-integrable SP xt with continuous two-point function admits a NN representation, albeit generically one with a countably infinite set of parameters. As we mentioned, every minimal quantum model obeys (P1) and (P2) and thus satisfies the conditions of square-integrability and continuity of $G^{(2)}$, so we conclude that every MQM is also a NN-QM. In fact, it is now redundant to use the term ‘NN-QM’ since we have proven that the space of NN-QMs (i.e. SPs obeying (P1) and (P2)) precisely coincides with the space of MQMs. A Venn diagram of various relevant subsets of the set of SPs appears in figure 1.

Figure 1. Refer to the following caption and surrounding text.

Figure 1. A Venn diagram illustrating the various definitions used in this section. Within the space of all stochastic processes (SP), a subset (NN-SP) admit a representation as a neural network. We have proven that every MQM, which is a stochastic process obeying (P1) and (P2), has a neural network description, and thus $\mathrm{MQM} \subset \mathrm{NN}\text{-}\mathrm{SP}$. One might impose additional restrictions upon minimal quantum models, such as the Osterwalder–Schrader axioms (OS-QM) or another set of conditions defining a notion of quantum mechanics of one’s choosing (QM’), which carve out different subsets of MQM.

Standard image High-resolution image

This observation furnishes us with a sort of ‘quantum universal approximation theorem,’ in the sense that any MQM can be approximated to arbitrary accuracy by a truncated architecture of the form (2.15) which includes finitely many of the terms in the sum14. As the number of included terms grows larger, this architecture becomes a better and better approximation to the true statistics of the SP. The specific expansion generated by the Kosambi–Karhunen–Loève theorem, where the $e_k ( t )$ are chosen to be eigenfunctions of a certain linear operator associated with the two-point function of the process, is ‘optimal’ in the sense that a truncated KKL expansion gives the smallest mean-square error among all truncated orthonormal expansions of the SP. The result (2.13) is primarily a representation theorem, analogous to universal approximation theorems for continuous functions, and in practice one might prefer to represent a MQM in a different way which is more amenable to training, such as using a deep NN. We will return to this point in section 4.

Let us emphasize that this result holds for any quantum model obeying (P1) and (P2), and is not restricted to cases which satisfy additional conditions that we typically assume when modeling most physical quantum systems, such as time translation invariance or RP (again, the latter leads to unitary time evolution). This is important since each of these standard assumptions about quantum systems is relaxed in some use cases. For instance, in the study of Floquet systems, one does not impose continuous time translation symmetry, instead assuming the weaker condition that the Hamiltonian is periodic in time, i.e. $H ( t + T ) = H ( t )$ for some period T. Likewise, when considering open quantum systems, one does not generally have unitary time evolution; rather the dynamics are described by the Lindblad master equation, which models a system that interacts with some environment or ‘bath’ and thus evolves in a non-unitary way. Both of these applications can be accommodated within the framework of NN-QM, since we have made only the mild assumptions (P1), (P2) about the underlying process xt.

Having said this, we will now set aside these ‘unconventional’ applications, and for the remainder of this work we will focus on standard quantum systems which enjoy time translation invariance and unitary time evolution. The additional assumptions on xt, or φθ, which guarantee these properties are the subject of the next section.

3. Continuation to real time via RP

In QFT—including the case of $(0+1)$-dimensional field theories which we consider here—the conditions which guarantee that one can analytically continue a Euclidean theory to Lorentz signature are encoded by the OS axioms [14]. The OS axioms are phrased as assumptions about the correlation functions (2.2) which, in our case, are expectation values taken with respect to the joint probability distribution (2.8) associated with a quantum system xt or $\phi_\theta ( t )$. Let us briefly recall each of the OS axioms in general, and then specialize to the case of quantum mechanics.

  • (E0)  
    The Schwinger functions should be tempered distributions away from coincident points. This is a technical assumption that is mostly relevant for theories in $d \unicode{x2A7E} 2$.
  • (E1)  
    The functions $G^{(n)} ( t_1, \ldots , t_n )$ must be Euclidean covariant. In one spacetime dimension, this means that the SP xt must enjoy symmetry under time translations $t \to t + \tau$ and reflections $t \to - t$.
  • (E2)  
    The Schwinger functions must be symmetric under permutation of the insertion points. This condition is automatic when $G^{(n)} ( t_1, \ldots , t_n )$ is an expectation value, since the product of the random variables appearing under an integral commutes15.
  • (E3)  
    Correlation functions should satisfy cluster decomposition, whereby $G^{(p+q)}$ reduces to a product $G^{(p)} G^{(q)}$ when collections of insertion points are taken far apart.
  • (E4)  
    The Schwinger functions must exhibit RP, which means that
    Equation (3.1)
    for any collection of positive times $t_i \gt 0$ and any bounded measurable function F of n variables, which may be complex-valued. Here $\ast$ denotes complex conjugation.

If all of the OS axioms (E0)–(E4) are satisfied, then we are guaranteed that the Euclidean-time quantum system described by xt can be analytically continued to a real-time model which inherits certain desirable properties from the imaginary-time system. For instance, the assumption (E1) for the Euclidean model implies the corresponding time-translation and time-reflection symmetries for the real-time model. As we mentioned, the axiom (E4) of RP is translated to the property of unitary time evolution16.

It will be useful to introduce some terminology in order to characterize whether a given Euclidean quantum system satisfies the various OS axioms. Since we have seen in section 2 that quantum systems, SPs, and NNs are closely related, we will freely pass between these descriptions in what follows.

Two SPs xt and yt are said to be equivalent if, for any collection of times $t_1 , \ldots , t_n$, the joint probability distributions $\mathbb{P} \left( x ( t_1 ) , \ldots , x ( t_n ) \right)$ and $\mathbb{P} \left( y ( t_1 ) , \ldots , y ( t_n ) \right)$ are equal. In particular, equivalent SPs have identical correlators. A SP xt is called stationary if for any $\tau \in \mathbb{R}$ the processes xt and $x_{t + \tau}$ are equivalent, i.e. if for any collection of times $t_1 , \ldots , t_n$ and any fixed $\tau \in \mathbb{R}$ one has

Equation (3.2)

Furthermore, we say that a SP xt is symmetric if the processes xt and x−t are equivalent, so that for any collection of times $t_1 , \ldots , t_n$,

Equation (3.3)

Translating to physical language, we see that a stationary SP corresponds to a time-translation invariant quantum system, and a symmetric SP represents a time-reflection invariant quantum system. It is then easy to characterize the quantum systems which satisfy the Euclidean covariance condition: a theory described by a SP xt obeys (E1) if and only if xt is stationary and symmetric.

This completes the discussion of (E1), and the axioms (E0) and (E2) are essentially automatic, which leaves only two of the OS axioms. For stationary processes, the assumption (E3) of cluster decomposition is equivalent to a property called ‘mixing’ in the literature on ergodic theory. A SP is said to be mixing if its values at widely-separated times are asymptotically independent—for instance, mixing implies that the statistical dependence between $x ( t_1 )$ and $x ( t_2 )$ goes to zero as $| t_1 - t_2 |$ tends to infinity. Mixing can also be thought of as an assumption about the decay of correlations17, and is closely related to ergodicity (in fact, mixing implies ergodicity in general). From the perspective of physics, the condition (E3) is a weak form of locality in time, and is automatically satisfied by conventional quantum systems which have local interactions.

Although it is interesting to investigate the various necessary and/or sufficient conditions for a SP to enjoy cluster decomposition (i.e. to be mixing), we will now set this axiom aside and focus most of our subsequent discussion on (E4), since RP turns out to be more subtle. We stress that RP is distinct from time reflection symmetry, i.e. the statement that xt and x−t are equivalent. A symmetric SP is one whose statistical properties (joint probability distributions) are invariant under a simultaneous replacement of all input times ti by their time-reversed values $- t_i$. In contrast, the RP condition (3.1) is a statement about expectation values for which half of the insertion times take time-reversed values $- t_i$.

RP is a rather delicate condition, so we devote the next two subsections to an exploration of various scenarios in which RP holds.

3.1. A parameter splitting mechanism

In this section, we will pass to the NN description of a quantum system and outline one mechanism by which RP (E4) can be achieved. The advantage of the NN formulation is that we may write expectation values as explicit parameter space integrals, which can make certain manipulations easier.

Consider a NN quantum system xt which is presented via an architecture $x ( t ) = \phi_\theta ( t )$ with associated parameter density $P ( \theta )$. First we will express the condition for RP in this language. Fix a collection of positive times $t_1 , \ldots, t_n \gt 0$ and a (possibly complex) function F of n variables. The condition (3.1) then reads

Equation (3.4)

where again $\ast$ denotes complex conjugation. RP requires that the inequality (3.4) holds for any suitable function F and any finite collection of positive times.

Let us now ask how one might engineer a NN-QM such that RP is automatically satisfied. One obvious way to ensure that a quantity is positive is to write it as a perfect square. We can attempt to force the integrand of (3.4) to be a perfect square by ‘splitting’ the parameter space integral and writing it in a factorized form as follows. Assume that the set $\left\{\theta \right\}$ of parameters associated with the NN-QM $( \phi_\theta , P ( \theta ) )$ decomposes into three mutually disjoint subsets:

Equation (3.5)

As usual, there may be many parameters in each subset, but we suppress indices and write θ0, $\theta^+$, and θ− to denote the collection of all parameters in each subset.

The critical assumption we now make is the following. Suppose that, for positive times t > 0, the architecture $\phi_\theta ( t )$ depends on the parameters $\theta^+$ and θ0 but not on θ−. Likewise, at negative times t < 0, assume that $\phi_\theta ( t )$ depends on θ− and θ0 but not $\theta^+$. This condition allows us to rewrite (3.4) as

Equation (3.6)

where we have introduced the shorthand $\langle F \left( T F \right)^\ast \rangle$ for the integral on the left side of (3.4). Here T is the time-reversal operator which acts on any function of a collection of insertions $\phi_\theta ( t_i )$ by reversing each time as $T : \phi_\theta ( t_i ) \mapsto \phi_\theta ( - t_i )$.

We have succeeded in factorizing the F and $\left( T F \right)^\ast$ insertions, but not the parameter density. To achieve the latter, let us pause to consider which conditions on $P ( \theta^0, \theta^+, \theta^- )$ are natural to impose. Although we are presently focused on RP, we are ultimately interested in engineering a NN-QM that obeys all of the OS axioms. In particular, if our NN satisfies the OS axiom (E1), then the associated SP $x_t = \phi_\theta ( t )$ is symmetric and hence xt and x−t are equivalent processes. This equivalence means that various joint probability distributions must be equal, such as

Equation (3.7)

In the NN description, joint probability distributions on outputs such as (3.7) are controlled by the parameter density. A sufficient set of conditions that one may impose on the density $P ( \theta )$ which ensures that $\phi_\theta ( t )$ generates a symmetric SP is

Equation (3.8)

along with an assumption that time-reversal of the input t can be ‘absorbed’ into an action on the parameters, in the sense that for t > 0 the architecture obeys

Equation (3.9)

where $\theta^{\pm ^{\prime}}$ are re-defined sets of parameters, such that

Equation (3.10)

Equation (3.10) looks somewhat strange due to expressions like $P_\pm \left( \theta^0 , \theta^{\mp ^{\prime}} \right)$ which involve evaluation of $P_\pm$ on inputs with the ‘wrong-sign’ subscripts $\mp$. However, let us emphasize that all of the parameters in these equations are simply dummy variables. At the risk of being pedantic, suppose there are N0 parameters θ0 and $N_{\pm}$ parameters $\theta^{\pm}$. We assume that $N_+ = N_- = N$, so that both $P_+$ and $P_-$ are functions of $N_0 + N$ variables. Then the first equation of (3.10) states that the output of the function $P_-$, when evaluated on the $N_0 + N$ inputs θ0 and θ−, matches the output of the (different) function $P_+$, when $P_+$ is evaluated on the (different) set of $N_0 + N$ inputs θ0 and $\theta^{- ^{\prime}}$. Here $\theta^{- ^{\prime}}$ is a new set of N variables that are obtained by applying some $\mathbb{Z}_2$ transformation to the N variables θ−.

This ‘parameter absorption mechanism’ was first introduced in [4] to engineer NN field theories with particular symmetries. The specific mechanism of equations (3.9)–(3.10) has been chosen so that the NN-QM defined by $x_t = \phi_\theta ( t )$ enjoys time-reflection invariance, i.e. so that xt and x−t are equivalent SPs.

Finally, let us return to RP. With the additional conditions on the parameter density described above, (3.6) becomes

Equation (3.11)

In the first step, we have used (3.9) to absorb all minus signs in the evaluations of φθ at negative times into redefinitions of the parameters. We then applied (3.10) to replace $P_-$ in the second integral with $P_+$ evaluated on the transformed parameters, and we have changed integration variables from θ− to $\theta^{- ^{\prime}}$, which we assume gives a trivial Jacobian so that no additional factors are generated from the change of measure18. Finally, in the last step we recognize that both $\theta^+$ and $\theta^{- ^{\prime}}$ are dummy variables that are integrated over, which means that the integrals inside the two sets of parentheses are in fact identical. This allowed us to write $\langle F \left( T F \right)^\ast \rangle$ as an integral of a non-negative density $P ( \theta^0 )$ multiplied by a perfect square, which is thus also non-negative, as desired. We conclude that

Equation (3.12)

for a NN-QM satisfying the assumptions described above. This establishes RP for any quantum system represented by a NN that enjoys parameter splitting.

Let us now summarize the (rather involved) argument presented above, and make some further comments. We have determined a set of sufficient conditions for a NN-QM to enjoy RP. The key ingredients in our mechanism are:

  • (I)  
    The parameter-space degrees of freedom which are relevant for positive times and negative times decouple from one another. By this, we mean that there is one set of parameters $\theta^+$ that describe the NN-QM at positive times, but which have no effect on the model at negative times; likewise, there is another set of parameters θ− that affect the NN at negative times but not positive times.
  • (II)  
    The parameter density enjoys a factorized form (3.8), and one can employ a ‘parameter absorption trick’ to relate the densities at positive and negative times. This assumption also implies time-reflection symmetry (not to be confused with RP).

The first ingredient (I) is reminiscent of locality in time; the behavior of the NN at large positive times is independent of its behavior in the far past, at negative times, which suggests some form of local interactions.

Alternatively, one can view the parameter splitting as a sort of ‘parameter space Markov property’ in the following sense. Suppose we view the parameters $\theta^+$ as describing $\phi_\theta ( t )$ for $t \unicode{x2A7E} 0$, θ− as describing the NN for $t \unicode{x2A7D} 0$, and θ0 as determining the behavior of $\phi_\theta ( 0 )$. Say that we are given the output of a fixed realization of the NN on the half-line $t \unicode{x2A7D} 0$ and wish to predict its outputs in the future, at positive times. Parameter splitting roughly states that, to make this prediction, it is not necessary to condition on the NN outputs at negative times (which depend on θ−), but only on the most recent time t = 0 associated with θ0. This can be interpreted as a ‘memorylessness’ assumption, at least around the point t = 0. The connection between Markov-like behavior and RP is not an accident; in section 3.2 we will return to this topic, although there we consider the more conventional ‘output-space Markov property’ rather than this ‘parameter-space Markov property’ represented by the splitting mechanism.

We also note that, while our parameter splitting mechanism is sufficient for RP, it depends on the precise parameterization of the NN. A generic quantum system can be presented by NNs in multiple equivalent ways, and even if one representation enjoys parameter splitting, another presentation may fail to split. Therefore it cannot be necessary that a NN with a given parameterization must enjoy a parameter splitting in order to be RP. A simple way to see this is to consider the KKL decomposition of a minimal quantum mechanical model on an interval $[-T, T]$, which we repeat:

Equation (3.13)

Each of the continuous, pairwise orthogonal functions $e_k ( t )$ on $[-T, T]$ generically has support both on the positive half-interval $[0, T]$ and on the negative half-interval $[-T, 0]$. For instance, in the KKL decomposition of a Brownian path or an Ornstein–Uhlenbeck process, the $e_k ( t )$ can be chosen to be trigonometric functions. In such a parameterization, there is no splitting of the parameters θk into appropriate subsets $\theta^+$ and θ−; every one of the θk affects the outputs of the NN φθ at both positive and negative times. But on the other hand, every MQM admits a KKL representation, including the reflection-positive processes. Therefore an RP process, presented via a NN with some choice of parameterization, need not exhibit parameter splitting with respect to that particular parameterization. Said differently, the existence or non-existence of a parameter splitting is a question which depends on the given NN representation $\phi_\theta ( t )$ for a quantum system, rather than an intrinsic question about the system itself19.

Engineering parameter splitting about t = 0

The preceding subsection explained that a set of parameter splitting assumptions on a NN-QM implies RP. One might then ask whether this set of assumptions is actually satisfied in any explicit examples. As it turns out, given any NN $\left( \phi_\theta , P ( \theta ) \right)$, it is possibly to transform this NN into a modified model $\left( \widetilde{\phi}_\theta , \widetilde{P} ( \theta ) \right)$ which obeys the parameter splitting requirements and therefore exhibits RP. In principle, this allows us to generate a large class of examples of NN-QM systems which enjoy RP, although they generally do not satisfy the other OS axioms.

Let us now describe the construction. Begin with any NN-QM defined by an architecture $\phi_\theta : \mathbb{R} \to \mathbb{R}$ and a probability distribution $P ( \theta )$ over parameters. In addition to the parameters θ which are already present in the ‘seed’ model, we introduce two additional parameters $\theta^+$ and θ−. Next, we promote φθ to an upgraded architecture

Equation (3.14)

The choice of which parameter $\theta^{\pm}$ describes the behavior at t = 0 is immaterial; for concreteness, we have chosen $\theta^+$. By construction, we see that the architecture is independent of θ− at positive times and independent of $\theta^+$ at negative times, so these parameters satisfy the first requirement of our parameter splitting mechanism.

We must also specify the form of the joint density $\widetilde{P} ( \theta^+ , \theta^- , \theta )$ over all of the parameters. Here there is a great deal of freedom. If there are N parameters θ in the seed model, choose any density $p ( \theta^+ , \theta )$ on N + 1 parameters. Then we define

Equation (3.15)

For instance, if one wishes to choose the new density so that its dependence on the seed parameters θ is unchanged, one could take a factorized form

Equation (3.16)

for some function f of one variable, where $P ( \theta )$ is the parameter density of the original model. In this case, we see that the density for the new NN-QM takes the simple form $\widetilde{P} ( \theta^+ , \theta^- , \theta ) = P ( \theta ) f ( \theta^+ ) f ( - \theta^- )$. However, this special choice is not required, so we will continue to work with the general density (3.15).

We have engineered the new architecture (3.14) and density (3.15) so that they admit a parameter absorption trick of the form described around equations (3.9) and (3.10). To see this, consider a positive time t > 0 and compare $\widetilde{\phi}_\theta ( t ) = \phi_\theta ( \theta^+ t )$ to its time-reversal $\widetilde{\phi}_\theta ( - t ) = \phi_\theta ( - \theta^- t )$. Clearly the two expressions agree if one identifies $\theta^+ = - \theta^-$. Thus we see that the time-reversal of the input t can be absorbed into a redefinition of the parameters. To make this very explicit, let us define $\theta^{^{\prime} -} = - \theta^-$ and carefully show the parameter absorption mechanism, writing $\widetilde{\phi}_{\theta^+, \theta^-, \theta}$ so that the dependence on all of the parameters is apparent. Then one has

Equation (3.17)

The point is that, in the final expression of (3.17), the parameter $\theta^+$ which usually sits in the first slot of $\widetilde{\phi}_{\theta^+, \theta^-, \theta}$ has been replaced with $\theta^{^{\prime} -} = - \theta^-$. This procedure allows us to perform the parameter absorption required by condition (3.9) in our splitting mechanism. The second condition (3.10) is ensured by our choice (3.15) for the density. Identifying

Equation (3.18)

to facilitate comparison with the notation of (3.10), clearly one has

Equation (3.19)

which is the other condition required in the parameter splitting mechanism.

By the general argument of the preceding subsection, we therefore conclude that the architecture (3.14) and density (3.15) define a reflection-positive NN-QM given any input network φθ. Although this conclusion follows from the results above, it may be instructive to explicitly present the proof of RP for this model to see how the pieces fit together. Given positive times $t_1 , \ldots, t_n \gt 0$ and a function F of n variables, we have

Equation (3.20)

The key step is the redefinition of parameters to $\theta^{^{\prime} -} = - \theta^-$ and the change of variables20 in the integral, which upon recognizing that $\theta^+$ and $\theta^{^{\prime} -}$ are dummy variables which are integrated over, allows us to conclude that the two integrals in parentheses are equal and thus the expectation value $\langle F \left( T F \right)^\ast \rangle$ is the integral of a perfect square. This completes the proof of RP for this class of NN-QM models.

We emphasize that, although this parameter splitting mechanism gives one way of engineering RP, it is not ‘generic’ as there are RP processes that do not achieve RP in this way. As we will discuss further below, the procedure for obtaining RP about t = 0 described here does not preserve translation invariance and thus violates (E1). This construction should therefore not be viewed as a complete or universal method for achieving RP, but rather as one new example of a way to guarantee this property, which is interesting since methods of ensuring RP are quite rare.

Translation invariance  and the inevitability of non-analyticity

The construction of $\tilde{\phi}_\theta$ in equation (3.14), with an appropriate parameter density (3.15), produces a reflection positive NN-QM given any input NN φθ. However, the resulting model is not time-translation invariant, even if the original network φθ enjoys translational symmetry. This is manifest from the form of the architecture (3.14), which explicitly singles out the time t = 0 as special. For example, a correlation function like $\langle \widetilde{\phi}_\theta ( - 1 ) \widetilde{\phi}_\theta ( 1 ) \rangle $ is sensitive to the statistics of both $\theta^+$ and θ−, while shifting $t \to t + 2$ gives the correlator $\langle \widetilde{\phi}_\theta ( 1 ) \widetilde{\phi}_\theta ( 3 ) \rangle$, which now only involves $\theta^+$. A priori there is no reason for the shifted and un-shifted correlators to agree, and in general they will not match.

This brings us to an important point about NN-QM systems which satisfy all of the OS axioms. In the preceding discussion we have been focused on RP in the form (3.1), which involves reflections about the point t = 0. However, for a quantum system which enjoys both time-translation invariance and RP, the model must exhibit positivity with respect to reflections about any time t = a. This is a much stronger condition, and not one which can be easily engineered using parameter splitting.

To better understand the tension between the parameter splitting mechanism for RP and translation invariance, let us think about how one might try to engineer RP about two points t1, t2 using the above construction. Naively, one would now need to introduce four extra parameters $\theta^{1 \pm}$ and $\theta^{2 \pm}$ with the properties that $\phi_\theta ( t )$ is independent of $\theta^{1 +}$ for $t \lt t_1$, independent of $\theta^{1 -}$ for $t \gt t_1$, independent of $\theta^{2 +}$ for $t \lt t_2$, and independent of $\theta^{2 -}$ for $t \gt t_2$. If one proceeds in this way, one would be naturally led to introduce an uncountable infinity of parameters $\theta^{a \pm}$ for $a \in \mathbb{R}$, which seems excessive.

Another way to think of this tension is to return to our intuitive picture of the parameter splitting mechanism as a ‘decoupling’ between the parameter-space degrees of freedom $\theta^+$ which control the positive-time behavior of the network and the parameters θ− which determine the behavior for negative times. In order to engineer RP about any point t = a via parameter splitting, it would therefore seem that we would need the behavior of the NN at any time t to admit a decoupling from its behavior at other times $t^{^{\prime}} \neq t$. In particular, it appears that the NN outputs at time t should never be determined from the outputs in a neighborhood of t, since this would preclude any such decoupling. This can be made precise in the following result.

Proposition 3.1. Let φθ be a NN-QM which is reflection-positive with respect to all times. Assume that the mechanism by which φθ achieves RP about each time t is by parameter splitting. Then φθ cannot be an analytic function of t at any point in its domain.

Proof. Suppose by way of contradiction that φθ is an analytic function of time near a point t = a. This means that, within some finite radius of convergence $| t - a| \lt R$, the outputs of the NN are described by a convergent Taylor series expansion

Equation (3.21)

Note that φθ is still a random function, so different draws of the NN will give different analytic functions near t = a, with different Taylor coefficients that are determined by the values of the parameters. We indicate this dependence by writing the series coefficients as $c_n ( \theta )$. Equation (3.21) defines what we mean by analyticity for NNs.

By assumption, φθ achieves RP about t = a by a parameter splitting mechanism. We therefore wish to identify two sets of parameters $\{\theta^+ \}$, $\{\theta^- \}$ such that $\phi_\theta ( t )$ is independent of $\theta^+$ for t < a and $x_\theta ( t )$ is independent of θ− for t > a.

However, for each fixed parameter $\bar{\theta}$, there are only two possibilities: either none of the Taylor coefficients depend on $\bar{\theta}$, or at least one of the cn depends on this $\bar{\theta}$.

  • (a)  
    In the first case, the behavior of φθ is independent of this parameter $\bar{\theta}$ for both t < a and t > a, in which case $\bar{\theta}$ cannot be used for parameter splitting. This is because, if φθ is independent of $\bar{\theta}$ on both sides of t = a, then (3.9) can never hold.
  • (b)  
    In the second case, where at least one of the cn depends on $\bar{\theta}$, then the behavior of φθ depends on $\bar{\theta}$ for both t < a and t > a because the same convergent Taylor series expansion involving the same cn is used in both regions. We can see this directly by computing a quantity that depends on $\bar{\theta}$ using only $\phi_\theta ( t )$ for t > a, and again using only data for t < a. For instance, one could compute any of the cn via the formula
    Equation (3.22)
    and the derivatives (3.22) could be computed using one-sided limits which only require knowing the behavior of $\phi_\theta ( t )$ for t > a (or, equivalently, only knowing the function for t < a). This shows explicitly that, if cn depends on some $\bar{\theta}$, then $\phi_\theta ( t )$ depends on $\bar{\theta}$ on both sides of the t = a point. Thus any parameter $\bar{\theta}$ on which at least one of the cn depends also cannot be used for splitting mechanism.

This argument applies to any parameter, so we conclude that there do not exist any parameters $\theta^+$ and θ− that can be used for the parameter splitting mechanism. This contradicts that φθ achieves RP about t = a by parameter splitting. □

Proposition 3.1. may seem disturbing if one is accustomed to thinking of NNs with analytic architectures like the cosine in (2.10), or of conventional NNs such as a feedforward network φθ with ReLU activation functions, since this φθ is an analytic function of its arguments away from a set of measure zero corresponding to the kink discontinuities of the functions $\mathrm{ReLU} ( z )$ at z = 0. However, in the rigorous formulation of the Euclidean quantum mechanics path integral, one may also recall that the path integral measure is supported on paths which are differentiable nowhere. This construction proceeds by combining the naive path integral measure $\mathcal{D} x$ with the exponentiated kinetic part of the action $\mathrm e^{-S_{\text{kin}}}$, where $S_{\text{kin}} \sim \int \mathrm dt \, \dot{x}^2$, in a particular discretization scheme. Taking the continuum limit of this discretization, one can prove that the combination $\mathrm e^{-S_{\text{kin}}} \, \mathcal{D} x$ converges to the Wiener measure on continuous functions. Functions which are differentiable at even a single point form a set of measure zero with respect to the Wiener measure; the full-measure contribution comes from nowhere-differentiable paths, such as typical sample paths of Brownian motion. From this perspective, it is not so surprising that a reasonable NN-QM system might involve architectures which are analytic nowhere (or differentiable nowhere, which is a stronger condition).

Let us also point out that the inclusion of nowhere-differentiable paths in the standard quantum mechanics path integral is not merely a mathematical curiosity, but has physical implications. For instance, in appendix we review the standard argument that non-trivial commutators such as $[ \hat{x} , \hat{p} ] = i \hbar$ are a direct consequence of the inclusion of non-differentiable trajectories in the path integral. In particular, if one studies a NN-QM system $x ( t ) = \phi_\theta ( t )$ whose architecture is a continuously differentiable function of t at each point, then it would necessarily follow that $[ \hat{x} , \hat{\dot{x}} ] = 0$. Assuming that $\dot{x}$ is related to the canonical momentum, this contradicts the fundamental commutation relations that we expect for a quantum system. Therefore, if we would like our NN-QM to reproduce basic features of quantum mechanics such as commutation relations and the associated uncertainty principles, nowhere-differentiable architectures are essential. However, as we will see in section 4, such nowhere-differentiable paths can be approximated numerically using piecewise-differentiable paths with kink discontinuities at a finite but large collection of points.

3.2. Markov processes and RP

We now turn to a Markov process description of the quantum system, where a Markov process yt could arise as the ‘output-space’ description of a NN with $y_t = x_t$, or in the parameter space perspective if $y_t = \theta_t$. The latter case achieves Markov $x_{\theta_t}$ if the architecture is injective, but we emphasize the former output space viewpoint in this section for simplicity. In this perspective, xt defines joint probability distributions (2.8) over outputs, rather than the ‘parameter-space’ description in terms of a NN architecture and probability density over parameters θ. This has the advantage of being ‘representation-independent’ in the sense that one need not choose a particular parameterization involving specific θ. As a result, we can present a mechanism for reflection-positivity, somewhat analogous to parameter splitting, which is phrased directly as a sufficient condition on the process xt and without referring to its parameterization. Furthermore, we will be able to easily implement both RP and the OS axiom (E1) of symmetry and stationarity at once.

To motivation this condition, suppose that we would like to restrict attention to SPs with nowhere-differentiable sample paths, motivated by the importance of such paths for commutation relations which we mentioned at the end of the last subsection. Famous examples of such processes include Brownian motion, Ornstein–Uhlenbeck processes, and any diffusion process obeying a SDE

Equation (3.23)

where Wt is a Wiener path. If $\sigma ( x_t ) \neq 0$, any solution to an equation of the form (3.23) is nowhere-differentiable almost surely. All of these processes share the Markov property, which is the statement that ‘the future is independent of the past, given the present.’ This is clear given an expression (3.23) for the infinitesimal increments $\mathrm d x_t$, which manifestly depend only on the present value of xt but not on its values at earlier times.

More precisely, a SP xt is said to be Markov if, given times $t_1 \lt t_2 \lt \ldots \lt t_n \lt t_{n+1}$, one has

Equation (3.24)

where a vertical bar indicates a conditional probability distribution. Said differently, conditioning on a collection of observations $x ( t_i ) = x_i$ of the SP at several past points gives no additional information about the future evolution of the SP than conditioning on the single, latest observation $x ( t_n ) = x_n$.

Intuitively, the Markov property plays a similar role as the parameter splitting mechanism in NN-QM. If a NN-QM $\phi_\theta ( t )$ enjoys parameter splitting with respect to some time tn, this means that there are parameters θ− which do not affect the outputs of the network for times $t \gt t_n$, although they are relevant for the model’s behavior at earlier times $t \lt t_n$. These parameters θ− are similar to the outputs $x ( t_1 )$, $\ldots$, $x ( t_{n-1} )$ in the Markov condition (3.24). Given the value of $x ( t_n )$, which is roughly analogous to the parameters θ0 in the splitting mechanism, future outputs like $x ( t_{n+1} )$ are independent of the behavior of the SP for $t \lt t_n$, just as the future behavior of a NN with parameter splitting is independent of the parameters θ−. As a simple example, a solution to a SDE—presented as a NN via its KKL decomposition—is Markov in the ‘output-space’ sense but does not enjoy the ‘parameter-space’ Markov property, since each of the random coefficients θk multiplies a function ek which is generically non-zero at both positive and negative times, and thus the parameters do not split. On the other hand, the extreme case of a network $\phi_\theta ( t ) = \theta_t$, with an uncountable infinity of independent parameters θt for each time t, enjoys both the output-space Markov property and the parameter-space Markov property.

Because parameter splitting implies RP, and the Markov property is conceptually similar to parameter splitting, one might ask whether the Markov property is related to RP. The answer is affirmative, and this connection has been known for some time. In fact, the condition of RP was originally introduced in [14] as a weakening of the Markov condition used by Nelson [34]. A proof that the Markov property implies RP, in the general d-dimensional case, can be found in the chapter ‘Probability Theory and Euclidean Field Theory’ by Nelson in the lecture notes [35], and a similar two-line argument (using slightly different language) appears in proposition 1.5 of [36]. Hence it is natural to think of RP as a generalization of the Markov property [37].

Although this result is well-understood, even for d-dimensional Euclidean field theories, we find it useful to give an explicit proof in the d = 1 case of quantum mechanics which we focus on in this work. By virtue of restricting to a one-dimensional spacetime, we are able to give an argument which is more elementary than the one for general d, and which makes the resemblance to the parameter splitting mechanism clear. For a proof of the analogous result for discrete time SPs, see proposition 2.2.5 of [38].

Theorem 3.1 Every symmetric Markov process is reflection positive.

Proof. Let xt be Markov and symmetric, and fix a collection of positive times $0 \lt t_1 \lt \ldots \lt t_n$. Consider the joint probability distribution

Equation (3.25)

where we have added the time-zero value x(0) (which is not in the list of ti and $-t_i$). The quantity $\mathbb{P}$ can be written in conditional form as

Equation (3.26)

where in the second line we have used the Markov property. Similarly, one can write

Equation (3.27)

so that

Equation (3.28)

Now given any appropriate function $F \left( x ( t_1 ) , \ldots , x ( t_n ) \right)$ that depends on the values of xt at positive times, one has

Equation (3.29)

where T is the time-reversal operator and where we use the shorthand notation $x_i = x ( t_i )$, $x_{-i} = x ( - t_{i} )$, $\mathrm d x_{-i} =\mathrm d x ( - t_i )$, $\mathrm d x_i =\mathrm d x ( t_i )$. Using the decomposition (3.28), this is

Equation (3.30)

The integral in the parentheses of the first line in the final equation of (3.30) computes a particular conditional expectation value of the function F in the SP xt. Similarly, the integral in the final line of (3.30) computes the same conditional expectation value in the SP x−t. Since xt is symmetric, the processes xt and x−t are equivalent and these expectations are equal. We therefore conclude that

Equation (3.31)

which is manifestly non-negative. □

Comparing, for instance, the penultimate lines of equations (3.11) and (3.30) highlights the technical similarities between the parameter splitting and Markov mechanisms for achieving RP. In both cases, one factorizes the expectation value $\langle F ( T F )^\ast \rangle$ into an integral of a product of two factors, one of which is another expectation value associated with only positive times and the other of which concerns only negative times. Using an appropriate symmetry—arising from either the parameter absorption trick, in the splitting mechanism, or from the explicit assumption that xt and x−t are equivalent, in the Markov argument—one then observes that these two factors are equal, which means that $\langle F ( T F )^\ast \rangle$ is the integral of a perfect square, and is hence positive.

However, a notable difference between the two mechanisms is the ease or difficulty of combining RP with translation invariance. We saw in section 3.1 that incorporating time translation symmetry into the parameter splitting mechanism seems tricky, and naively appears to require introducing an uncountable infinity of parameters. However, from the ‘output-space’ perspective, combining these two features is easy. Indeed, we immediately see that every symmetric, stationary Markov process is positive with respect to reflections about any time t = a, and thus satisfies both of the OS axioms (E1) and (E4). Morally, this is because the definition (3.24) of a Markov process makes no reference to any specific time t = 0. Rather, the ‘independence of the future from the past, given the present’ occurs universally for any value of the present time.

4. Deep NN quantum mechanics

It is natural to seek general methods for constructing new quantum mechanical models out of old ones. In section 3.2, we have seen that any symmetric stationary Markov process xt (which, if it is also a MQM, must admit a NN representation $x_t = \phi_\theta ( t )$, by theorem 1 defines a quantum system that satisfies the OS axioms (E1) and (E4), which are necessary conditions for the existence of a well-defined real-time extension of the Euclidean theory. In this section, we will investigate the allowed transformations that one can perform on such a process xt which preserve the possibility of continuing the associated quantum system to real-time.

4.1. Neural networks preserve RP

First let us discuss the Markov property, which was used to achieve RP in theorem 3.1. Unfortunately, the space of Markov processes is rather ‘fragile’ in the sense that it is not closed under many operations. For instance, a linear combination of Markov processes need not be Markov. Intuitively, this is because knowing the sum of two numbers provides strictly less information than knowing each of the two summands individually. If $z_t = x_t + y_t$ where xt, yt are Markov, then knowing the present values of xt and yt gives enough information to predict their future behavior, and hence the behavior of their sum zt. But if one only knows the present value of zt, it is impossible to recover the precise current values of xt and yt since many pairs of numbers have the same sum, and thus the present value of zt is not sufficient to predict its future behavior.

Similarly, the space of Markov processes is not closed under the operation of applying deterministic functions. As an illustrative example, if Wt is a Wiener process or Brownian path, [39] classified all functions $f : \mathbb{R} \to \mathbb{R}$ for which $x_t = f ( W_t )$ is Markov, and found only four families of possibilities. Again, this is because a general function is not injective, so knowing the value of $f ( W_t )$ is typically insufficient to recover the value of Wt.

However, it was pointed out in [37] that the space of RP processes behaves more nicely with respect to these operations. In particular, one has the following results.

Proposition 4.1. If xt and yt are two reflection positive processes, then any linear combination $z_t = a x_t + b y_t$, for $a, b \in \mathbb{R}$, is also reflection positive.

Proposition 4.2. If xt is reflection positive and $f : \mathbb{R} \to \mathbb{R}$ is a bounded measurable deterministic function, then the process $z_t = f ( x_t )$ is reflection positive.

It is also straightforward to see that the operations of taking linear combinations and/or deterministic functions preserve the properties of symmetry and . These observations suggests a strategy for generating a large class of Euclidean quantum models that admit real-time continuations: begin with some collection of simple examples, such as symmetric stationary Markov processes, and apply a sequence of such operations to produce new systems which still obey the OS axioms (E1) and (E4).

One can generalize proposition 4.2 further by considering random functions of RP processes, such as those defined by a NN, which still preserve RP. This is the main result of this section, and is formalized in the following theorem.

Theorem 4.1. Let xt be a reflection-positive SP and consider a family of measurable random functions realized by a NN architecture φθ with parameter density $P ( \theta )$. Then the SP

Equation (4.1)

is also reflection-positive.

Note that yt has two sources of randomness: to generate a sample path of yt, we first generate an entire realization of the process xt, and we perform a random draw of the parameters θ to obtain an instance of the function φθ, then apply φθ to xt pointwise.

Proof. Fix a collection of positive times $0 \lt t_1 \lt \ldots \lt t_n$. Following the notation in the proof of theorem 4.1, we write $y_i = y ( t_i )$, $y_{-i} = y ( - t_i )$, and so on. Let $F ( y_1 , \ldots, y_n )$ be a bounded measurable function which depends only on the values of $y_i = y ( t_i )$ at these positive times. Then consider the expectation value

Equation (4.2)

We use the notation $\langle \, \cdot \, \rangle_y$ to emphasize that this is an expectation value taken with respect to the process $y_t = \phi_\theta ( x_t )$. Now define the function $\widetilde{F} = F \circ \phi_\theta$ of n variables by

Equation (4.3)

so that

Equation (4.4)

We have introduced the symbol $\langle \, \cdot \, \rangle_x$ to refer to the expectation value taken with respect to the SP xt. For each fixed choice of the parameters θ, the function $\widetilde{F}$ is a bounded measurable function of n variables, and thus satisfies the technical condition on the function appearing in the statement (3.1) of RP. Since we have assumed the SP xt is reflection positive, one has

Equation (4.5)

We therefore see that $\langle F ( T F )^\ast \rangle_y$ is the integral of a non-negative definite quantity, multiplied by a non-negative parameter density $P ( \theta )$, so we conclude that

Equation (4.6)

and hence yt is reflection positive. □

Theorem 4.1 motivates the following construction. Let $y_t^{(1)}$, $\ldots$, $y_t^{(n)}$ be a finite set of reflection-positive processes (for instance, symmetric Markov processes). If the $y_t^{(i)}$ are MQMs, we may realize each of them as NNs by presenting them using the KKL decomposition. We then view these processes as inputs to a new NN. Choose a width D1 for the next layer and define a collection of D1 processes $z^{(1, i)}_t$ by

Equation (4.7)

where $\phi_\theta^{(1, i)}$ are NNs (or general random functions) and $c_{j}^{(1, i)}$ are real coefficients, which can be chosen either to be constants or random variables with some probability distribution. We then continue: choosing another width D2, we define

Equation (4.8)

and so on, up to a collection of processes $z^{(N, i)}$, $i = 1 , \ldots, D_N$, for a positive integer N. Finally, we construct the output layer

Equation (4.9)

We refer to any quantum system xt obtained by a sequence of steps of this form as a deep NN quantum mechanics (deep NN-QM). For a fixed choice of architecture of the type described above, and fixed input processes, changing the parameter density $P ( \theta )$ substantially modifies the properties of the output process; the choice of density is part of the definition of the deep NN-QM theory. Our theorem guarantees that RP is preserved at each layer of this network, so the resulting SP xt is reflection positive. If all of the input processes $y_t^{(i)}$ are symmetric and stationary, so that they satisfy the OS axiom (E1), then xt enjoys this property as well. This is because the NN architecture and parameters are independent of time, and the function defining xt is obtained by applying operations to the inputs $y_t^{(i)}$ pointwise (at each value of time), so this construction does not break any symmetries involving transformation of the argument t, such as $t \to t + a$ or $t \to - t$21.

Although it is not our primary focus here, let us remark that certain choices of deep NN-QM architectures also preserve the mixing property, in the sense that if each of the $y_t^{(i)}$ obeys the cluster decomposition axiom (E3), then xt also inherits this property. This is not, however, true in general: a counter-example is a network which simply shifts the input process by a random offset, $y_t = x_t + \theta$ with θ drawn randomly and separately for each sample path xt. As is known in ergodic theory, such an ensemble of mixing processes with random shifts may fail to be mixing (this is in contrast with the application of a deterministic measurable function, which always preserves the mixing property).

Therefore, given any collection of input process $y_t^{(i)}$ which satisfy all of the OS axioms, the deep NN-QM construction generically produces a new quantum system that also satisfies (E0), (E1), (E2), and (E4), and for certain choices also (E3); in the latter case the deep NN-QM hence gives rise to a well-defined real-time quantum mechanical theory.

The quantum systems produced by this deep NN-QM procedure are non-trivial, even if the input processes $y_t^{(i)}$ are quite simple. For instance, suppose that all of the $y_t^{(i)}$ are Ornstein–Uhlenbeck processes, which are associated with quantum harmonic oscillators with some mass parameter. Then in addition to being mixing, symmetric, stationary, and Markov—and consequently satisfying all of the OS axioms—the systems $y_t^{(i)}$ are Gaussian, and are in some sense trivial since they are analogous to free quantum field theories. However, the output xt of a generic deep NN-QM built from these Markov, Gaussian input processes will be neither Markov nor Gaussian, although such an xt is symmetric, stationary, and RP. The non-Gaussianity of xt is clear since a non-linear transformation of a Gaussian process is no longer Gaussian, and the NNs $\phi_\theta^{(i, j)}$ used in this construction are nonlinear in general. In particular, the higher-order cumulants of a process obtained from applying a generic deep NN-QM to Gaussian inputs will be non-vanishing, which signals that they are interacting quantum mechanical theories.

4.2. Examples and numerics

In this section, we will present some numerical results for quantum observables obtained by simulating SPs on a computer. The simplest model which can be studied in this way is the quantum harmonic oscillator, which is associated with the statistics of the Ornstein–Uhlenbeck process and is discussed in section 4.2.1. We then use OU processes as inputs for a deep NN-QM construction in section 4.2.2. As we have mentioned, since the Ornstein–Uhlenbeck process is symmetric, stationary, and Markov, any such deep NN-QM constructed from OU building blocks is symmetric, stationary, and reflection positive. We will choose examples of deep NN-QM architectures for which the output process is also mixing, which gives rise to families of Euclidean quantum models obeying all of the OS axioms and which can thus be continued to real time.

4.2.1. Ornstein–Uhlenbeck process

The Ornstein–Uhlenbeck process [40] is a famous and well-studied SP, which enjoys many desirable features that make it amenable to theoretical analysis, while still exhibiting sufficient richness as to be interesting. One can think of the OU process as a mean-reverting random walk, in the sense that the trajectory xt of such a process exhibits Brownian fluctuations in addition to a ‘restoring force’ which acts to return the position to its equilibrium value $x_t = 0$. This two effects are modeled mathematically via the two terms on the right side of the SDE

Equation (4.10)

where Wt is a Wiener path. Here θ measures the strength of the deterministic ‘drift’ part of the SDE, which leads to the mean-reverting behavior, and the ‘noise’ parameter σ describes the size of the random fluctuations. This is an example of the general form (3.23) of the SDE which defines an Itô diffusion. As we have remarked, the solution of any such SDE is a Markov process which, assuming symmetry, is RP.

An OU process with a fixed initial condition, say $x ( 0 ) = 0$, is not stationary. However, the Ornstein–Uhlenbeck process admits a stationary distribution, in the sense that if the initial condition $x_0 = x ( 0 )$ is drawn from a particular probability distribution $\mathbb{P}_{s} ( x_0 )$, then the resulting SP is stationary. This distribution is given by

Equation (4.11)

which is a Gaussian distribution with mean zero and variance $\frac{\sigma^2}{2 \theta}$. When we speak of ‘the’ Ornstein–Uhlenbeck process, we always mean the version of this process where the initial position of the process is drawn from the stationary distribution (4.11). In this case, the OU process is stationary, symmetric, and Markov, and it also turns out to be Gaussian22.

The statistics of the Ornstein–Uhlenbeck process precisely correspond to the Euclidean-time quantum harmonic oscillator, with a Hamiltonian that has been shifted by a constant so that the ground state energy is E0 = 0 rather than $E_0 = \frac{1}{2} \hbar \omega$. As we will review in more detail around equation (4.38), this can be seen by performing a similarity transformation on the Fokker–Planck operator of the Ornstein–Uhlenbeck process [42], bringing it to the form of an effective Hamiltonian

Equation (4.12)

Comparing this to the Euclidean-time Hamiltonian of the quantum harmonic oscillator,

Equation (4.13)

we see that the dictionary between the parameters is

Equation (4.14)

and that the two Hamiltonians are related by

Equation (4.15)

The overall factor of $\frac{1}{\hbar}$ is due to the fact that the quantum mechanical time evolution operator is $\mathrm e^{- H t / \hbar}$, whereas the generator of time translations in the SP has no factor of $\hbar$. We therefore see that the two Hamiltonians HOU and HSHO agree, up to this overall scaling and the shift by $\frac{\theta}{2} = \frac{\hbar \omega}{2}$ which we mentioned.

In our numerical analysis of the OU process, we will generate sample paths by solving the SDE (4.10) using the Euler–Maruyama method. This means that we partition a finite interval $[0, T]$ into a collection of points $0 \lt t_1 \lt t_2 \lt \ldots \lt t_N = T$, differing by a time step $t_{i+1} - t_i = \Delta t$, and recursively define the value of $x_i = x_{t_i}$ at these points ti using

Equation (4.16)

where $\zeta_i \sim \mathcal{N} ( 0, 1 )$ are unit normal random variables. The initial condition x0 is drawn from the stationary distribution (4.11) of the OU process. There are several sources of numerical error in computing observables using a simulation scheme of this form. One is Monte Carlo error: we generate a finite number N of sample paths and compute ensemble averages over quantities in each path, which leads to sampling error for quantities like the two-point function (to be discussed shortly) that scales as $\frac{1}{\sqrt{N}}$. Another source of error is due to the discretization Δt, as the true properties of the continuous OU process are reproduced only as $\Delta t \to 0$. When we compute the spectrum, we will create a histogram of pairs $(x_0 , x_{\Delta t})$ to be explained below, which introduces binning error that also depends on Δt. We will not undertake a systematic analysis of these various sources of error, but in the plots of our numerical results we will include error bars that represent the standard deviation across different epochs, and these error bars give a sense of the magnitude of the combined error from these various sources.

Two-point function

One of the simplest quantities that one can compute numerically for the OU process is the two-point function $G^{(2)} ( t, s )$. The well-known closed-form expression for this correlator is

Equation (4.17)

Because the Ornstein–Uhlenbeck process is Gaussian, all of the higher correlation functions $G^{(n)}$, $n \unicode{x2A7E} 3$, are completely fixed by the two-point function. The fact that the two-point function decomposes into a product of one-point functions at large separation,

Equation (4.18)

is an implication of the mixing property of the OU process, which is physically interpreted as the statement that the quantum harmonic oscillator enjoys cluster decomposition.

As a first test of our numerics, we compare the simulated two-point function for the Ornstein–Uhlenbeck process to the theoretical expression (4.17) in figure 2, finding agreement between the numerical estimate and the theoretical prediction.

Figure 2. Refer to the following caption and surrounding text.

Figure 2. The correlation function $G^{(2)} ( t , 0 )$ obtained by simulating Ornstein–Uhlenbeck processes with $\theta, \sigma \in \{1, 2 \}$ for a total time T = 5 and step size $\Delta t = 0.01$. The initial position is drawn from the stationary distribution (4.11) and updates are performed using the Euler–Maruyama method. We carry out 200 epochs of simulations with 10 000 sample paths per epoch, compute the average correlator $G^{(2)} ( t , 0 )$ for each time t, and use the standard deviation across epochs for the error bars. The experimental results are shown as scatter plots with cool colors (green, cyan, purple, blue), while the corresponding analytical curves (4.17) for the two-point functions are drawn above the data points in warm colors (red, orange, yellow, and orange-red) and lie within all of the error bars. The marker size for the simulated results has been enlarged to enhance visibility; the error bars are plotted but are not visible because they are smaller than the corresponding markers.

Standard image High-resolution image

In view of the spectral representation (2.5) for the two-point function and the fact that the matrix element $\langle 0 \mid x \mid n \rangle$ vanishes for the harmonic oscillator unless n = 1, we can immediately read off the gap between the ground state energy $E_0^{\text{OU}}$ and the first excited state energy $E_1^{\text{OU}}$ from the rate of the exponential decay of this two-point function. In this case, we find $E_1^{\text{OU}} - E_0^{\text{OU}} = \theta$. Using the dictionary (4.14) and the relation $E_n^{\text{OU}} = \frac{1}{\hbar} E_n^{\text{SHO}}$, which follows from (4.15), this gives $E_1^{\text{SHO}} - E_0^{\text{SHO}} = \hbar \omega$, which agrees with the gap to the first excited state in the harmonic oscillator. We will review a different method for extracting spectral data about the quantum oscillator from the OU process below.

Commutator

We have mentioned, in section 3.1 and appendix, that the existence of nowhere-differentiable paths is crucial for non-trivial commutation relations. We would now like to see how this works for the Ornstein–Uhlenbeck realization of the harmonic oscillator.

Since the Ornstein–Uhlenbeck process satisfies a SDE with non-zero noise term, in the continuum limit the sample paths of this process will be differentiable nowhere almost surely. This means that, in a numerical simulation of OU paths using the Euler–Maruyama method with step size Δt, the estimated derivative

Equation (4.19)

diverges as the discretization becomes finer and finer ($\Delta t \to 0$). However, the expression

Equation (4.20)

which estimates the commutator $[ \hat{x} ( t ) , \hat{p} ( t ) ]$, should remain finite as the step size is taken small (as we have argued in appendix for the case of the free quantum particle). Since $[\hat{x} ( t ) , \hat{p} ( t ) ] = \hbar$ for quantum mechanics in Euclidean signature, we expect C(t) to be constant in time and proportional to $\hbar$, which scales as σ2 according to the dictionary between OU and SHO parameters given in equation (4.14). In our numerical simulations we find that this expectation is indeed borne out; the results are presented in figure 3. The computation of C(t) gives one way of quantitatively measuring the ‘roughness’ of the sample paths of the Ornstein–Uhlenbeck process23.

Figure 3. Refer to the following caption and surrounding text.

Figure 3. The values of the commutator C(t), defined in (4.20), for Ornstein–Uhlenbeck processes with θ = 1 and varying values of σ. We generate $10\,000$ sample paths per epoch for 200 epochs, using the Euler–Maruyama method with step size $\Delta t = 0.01$ and total time T = 5, and plot the average value $\langle C ( t ) \rangle$ with error bars given by the standard deviation across epochs. The value of the commutator is constant in time and scales as the square of σ, as expected from the relation $\hbar = \sigma^2 m$ of equation (4.14). This reproduces the commutator relation $[ \hat{x} , \hat{p} ] = \hbar$ for a quantum model in Euclidean signature. Although the displayed error bars appear bigger for the commutators with larger values of σ, the ratio of the standard deviation to the mean is approximately constant across experiments.

Standard image High-resolution image

Uncertainty  relations

One of the most basic features of quantum mechanics is the Heisenberg uncertainty principle (HUP). In terms of the uncertainty ΔA associated with an observable $\hat{A}$,

Equation (4.21)

the HUP bounds the product of ΔA and the uncertainty ΔB in a second observable $\hat{B}$:

Equation (4.22)

As we have reviewed, in Euclidean signature the position and momentum operators obey $[ \hat{x} , \hat{p} ] = \hbar$. Therefore, one obtains the general lower bound

Equation (4.23)

In the ground state of the harmonic oscillator, which corresponds to the stationary distribution of the OU process, this inequality is saturated and one finds $\Delta x \, \Delta p = \frac{\hbar}{2}$.

We would like to verify the saturation of this uncertainty relation numerically using simulations of the Ornstein–Uhlenbeck process. However, to do this, we must first identify a suitable definition of expectation values of powers of the momentum operator $\hat{p}$. When m = 1, we expect that $p = \dot{x}$, and we have already pointed out that the continuum Ornstein–Uhlenbeck process has sample paths which are differentiable nowhere. We therefore cannot use the naive definition of the derivative $\dot{x}$ for computing momentum expectation values, as these derivatives will diverge as the step size Δt is taken to zero.

There are two ways to sidestep this issue, which turn out to be equivalent for the harmonic oscillator. One way is to represent the momentum operator in terms of the derivative $\frac{\partial}{\partial x}$ acting on wavefunctions, as we do in ordinary quantum mechanics, and compute expectation values of this derivative using the stationary distribution of the Ornstein–Uhlenbeck process. The second way, which we follow here, is motivated by the observation that the OU two-point function (4.17) is non-differentiable at the point t = s, but admits a one-sided derivative. That is, if we restrict to t > s, one has

Equation (4.24)

One may then take derivatives of this expectation value to define momentum correlators. Following this strategy, we define the second moment of the momentum operator as

Equation (4.25)

The notation $h \to 0^+$, $k \to 0^+$ mean that the variables $h, k$ are taken to zero from above (i.e. through strictly positive values). This definition ensures that the ordering

Equation (4.26)

is maintained throughout the limiting procedure, so that we avoid the non-differentiability of the two-point function at coincident points. In numerical simulations, we use a finite-difference approximation to the quantity (4.25):

Equation (4.27)

Similarly, we define

Equation (4.28)

and as $\langle x ( t ) \rangle = 0$ this quantity vanishes for the true continuum OU process.

The results of the numerical computation of $\left( \Delta x \right)^2$ and $\left( \Delta p \right)^2$, for various values of θ, σ, and the discretization time Δt, are presented in table 1, which confirms that the uncertainty relation is saturated for the harmonic oscillator ground state within the numerical error induced by our simulation scheme.

Table 1. We compare the simulated (‘sim’) values of $\left( \Delta x \right)^2$, $\left( \Delta p \right)^2$ (defined using (4.25) and (4.28)), and their product, to the predicted theoretical (‘th’) values $\left( \Delta x \right)^2 = \frac{\sigma^2}{2 \theta}$, $\left( \Delta p \right)^2 = \frac{\sigma^2 \theta}{2}$, and $(\Delta x)^2\cdot(\Delta p)^2 = \frac{\sigma^4}{4}$. Simulations are performed using 200 epochs with $10\,000$ OU sample path per epoch, where each path consists of 1000 time steps. We average across time steps and epochs, and the errors indicated by ± are the standard deviation across epochs. We contrast two different sizes of the time step used in the Euler–Maruyama method, $\mathrm dt = 0.1$ and $\mathrm dt = 0.01$, and we see that the simulation results become closer to the theoretical values for the smaller choice of $\mathrm dt$ due to reduced discretization error. The results confirm the relation $\left( \Delta x \right)^2 \left( \Delta p \right)^2 = \frac{\hbar^2}{4}$ for the ground state of the harmonic oscillator, where the effective $\hbar$ of the process is determined by σ2 as in (4.14).

θσ$\mathrm dt$$(\Delta x)^2$ (sim)$(\Delta x)^2$ (th)$(\Delta p)^2$ (sim)$(\Delta p)^2$ (th)$(\Delta x)^2\cdot(\Delta p)^2$ (sim)$(\Delta x)^2\cdot(\Delta p)^2$ (th)
$\frac{1}{2}$$\frac{1}{2}$0.100$0.2564 \pm 0.0005$0.2500$0.0641 \pm 0.0008$0.0625$0.0164 \pm 0.0002$0.0156
$\frac{1}{2}$$\frac{1}{2}$0.010$0.2509 \pm 0.0015$0.2500$0.0633 \pm 0.0077$0.0625$0.0159 \pm 0.0019$0.0156
$\frac{1}{2}$10.100$1.0256 \pm 0.0018$1.0000$0.2560 \pm 0.0034$0.2500$0.2626 \pm 0.0034$0.2500
$\frac{1}{2}$10.010$1.0023 \pm 0.0064$1.0000$0.2503 \pm 0.0316$0.2500$0.2509 \pm 0.0316$0.2500
$\frac{1}{2}$20.100$4.1004 \pm 0.0077$4.0000$1.0270 \pm 0.0125$1.0000$4.2109 \pm 0.0513$4.0000
$\frac{1}{2}$20.010$4.0080 \pm 0.0261$4.0000$1.0099 \pm 0.1334$1.0000$4.0475 \pm 0.5330$4.0000
1$\frac{1}{2}$0.100$0.1316 \pm 0.0002$0.1250$0.1315 \pm 0.0008$0.1250$0.0173 \pm 0.0001$0.0156
1$\frac{1}{2}$0.010$0.1257 \pm 0.0005$0.1250$0.1252 \pm 0.0075$0.1250$0.0157 \pm 0.0009$0.0156
110.100$0.5262 \pm 0.0007$0.5000$0.5263 \pm 0.0033$0.5000$0.2770 \pm 0.0017$0.2500
110.010$0.5023 \pm 0.0023$0.5000$0.5073 \pm 0.0307$0.5000$0.2548 \pm 0.0155$0.2500
120.100$2.1044 \pm 0.0029$2.0000$2.1072 \pm 0.0137$2.0000$4.4343 \pm 0.0277$4.0000
120.010$2.0097 \pm 0.0090$2.0000$2.0036 \pm 0.1307$2.0000$4.0269 \pm 0.2646$4.0000
2$\frac{1}{2}$0.100$0.0694 \pm 0.0001$0.0625$0.2778 \pm 0.0008$0.2500$0.0193 \pm 0.0001$0.0156
2$\frac{1}{2}$0.010$0.0631 \pm 0.0002$0.0625$0.2525 \pm 0.0080$0.2500$0.0159 \pm 0.0005$0.0156
210.100$0.2777 \pm 0.0003$0.2500$1.1114 \pm 0.0032$1.0000$0.3087 \pm 0.0009$0.2500
210.010$0.2524 \pm 0.0009$0.2500$1.0154 \pm 0.0317$1.0000$0.2563 \pm 0.0079$0.2500
220.100$1.1109 \pm 0.0011$1.0000$4.4458 \pm 0.0143$4.0000$4.9390 \pm 0.0155$4.0000
220.010$1.0098 \pm 0.0032$1.0000$4.0375 \pm 0.1261$4.0000$4.0772 \pm 0.1263$4.0000

Spectrum and eigenfunctions

Finally, we turn to the numerical computation of the energy eigenvalues and eigenfunctions of the harmonic oscillator. Because the spectrum and energy eigenstates are properties of the Hamiltonian operator, which is the generator of infinitesimal time translations, one might expect that this data can be extracted from the update rule (4.10) that describes how OU sample paths evolve over a small time step. Indeed this is the case—by a standard argument, which we will briefly review, the generator of a SP which admits a stationary distribution can be transformed into a Schrodinger-type operator via a certain similarity transformation, which can then be diagonalized to obtain the energies. See, for instance, section 4.9 of [42] for a more thorough discussion of this point.

We first mention that, rather than describing the time evolution of a specific sample path xt via the SDE (4.10), we can equivalently specify a differential equation that models the dynamics of the probability density $\mathbb{P} ( x, t )$ of an ensemble of OU paths at a time t. This equation takes the form

Equation (4.29)

which is called the Fokker–Planck equation, and

Equation (4.30)

is called the generator of the process, or the Fokker–Planck operator. This operator $\mathcal{L}$ generates infinitesimal time translations of the probability density $\mathbb{P} ( x, t )$, but this is not the same as the operator that time-evolves the wavefunction $\psi ( x, t )$ in conventional quantum mechanics, since $\mathbb{P} ( x, t ) = \left| \psi ( x, t ) \right|^2$. One way to see this is to note that the Fokker–Planck operator is not self-adjoint with respect to the inner product on functions:

Equation (4.31)

On the other hand, we expect that the Hamiltonian operator should be self-adjoint when acting on wavefunctions. The failure of self-adjointness is due to the final term $\theta x \frac{\partial g}{\partial x}$ in the first line of (4.31); performing an integration by parts on this term does not yield the expression on the second line. The standard technique for removing such a first derivative term is through the introduction of an integrating factor. Given a differential operator

Equation (4.32)

for a constant a and functions p(x) and q(x), one can change variables to a new function

Equation (4.33)

in terms of which the differential operator takes the form

Equation (4.34)

which has no term proportional to G′.

In the case of the operator $D = \mathcal{L}$ defined in equation (4.30), taking $a = \frac{\sigma^2}{2}$ and $p(x) = \theta x$, this suggests the change of variables

Equation (4.35)

so that the Fokker–Planck operator $\mathcal{L}$ acts as

Equation (4.36)

and in terms of which the differential equation (4.29) can be written as

Equation (4.37)

which we identify as the Euclidean Schrodinger equation $\partial_t \psi = - H_{\text{OU}} \psi$ where

Equation (4.38)

in agreement with the result for HOU we quoted earlier in (4.12). The operator (4.38) is now self-adjoint with respect to the inner product on twice-differentiable square-normalizable functions, as is appropriate for a Hamiltonian operator in quantum mechanics.

Combining equations (4.35), (4.36), and (4.38) gives the relation

Equation (4.39)

In terms of the stationary distribution (4.11) for the Ornstein–Uhlenbeck process, equation (4.39) can be expressed as

Equation (4.40)

Thus, by performing the similarity transformation (4.40), we can convert from the (non-self-adjoint) Fokker–Planck operator $\mathcal{L}$ that generates time evolution of the probability distribution $\mathbb{P}(x, t)$ to the self-adjoint operator HOU which generates time evolution of the wavefunction $\psi(x, t)$. Although we have reviewed the steps of this procedure for the Ornstein–Uhlenbeck process, the same argument applies to more general SPs which admit a stationary distribution, $H = - \mathbb{P}_s ( x )^{-1/2} \, \mathcal{L} \, \mathbb{P}^{1/2}_s$.

These observations suggest a numerical algorithm that one can perform to compute the energies and eigenstates associated with any SP that admits a stationary distribution. First, perform many draws from this stationary distribution to obtain an ensemble of initial positions x0. Then use the update rule of the SP to time-evolve each initial position by a small time step Δt, which gives a collection of one-step sample paths $(x_0, x_{\Delta t})$. Bin these $(x_0, x_{\Delta t})$ pairs to create a histogram, which represents a discrete approximation to the joint probability distribution $\mathbb{P} ( ( x_{\Delta t}, \Delta t ) , ( x_0, 0 ) )$. We then normalize this histogram so that the sum of the entries in each row is unity; this yields a discretized estimate of the conditional probability distribution

Equation (4.41)

where the denominator $\mathbb{P} ( x_0, 0 )$ is the marginal distribution for the position x0 at time 0. On the one hand, this conditional distribution obeys

Equation (4.42)

but on the other hand, as $\mathcal{L}$ generates infinitesimal time evolution of $\mathbb{P} ( x , t ) $, we have

Equation (4.43)

We now compare these two expressions to obtain an estimate for $\mathcal{L}$. In our discrete approximation, the integral in equation (4.42) becomes a matrix-vector product; the (i, j) entry of the matrix $\mathbb{P} ( x_{\Delta t} , \Delta t \mid x_0 , 0 )$ represents the conditional probability that $x_{\Delta t}$ lies in bin i given that x0 lies in bin j. Therefore, in matrix notation, we have

Equation (4.44)

Solving for the matrix discretization of the Fokker–Planck operator $\mathcal{L}$ yields

Equation (4.45)

where the Kronecker delta δij gives the entries in the identity matrix. This formula allows us to numerically compute the approximate Fokker–Planck operator. Next one performs the similarity transformation (4.40) using the stationary distribution; if $\mathbb{P}_s$ is not known in closed form, it can be estimated by simulating many sample paths with arbitrarily chosen initial positions, evolving each for a long time, and recording the steady-state distribution to which the ensemble settles down in the long run. Finally, one numerically diagonalizes the matrix H to obtain approximate energy eigenvalues and eigenfunctions.

The energy eigenvalues computed using this procedure are displayed in figure 4. Because the true spectrum of HOU is $E_n = \theta n$, which is independent of σ, we only show results for different values of θ and fix σ = 1 across all experiments. The numerically estimated wavefunctions of the first three energy eigenstates are shown in figure 5 and compared to the true eigenstates. As we mentioned above, there are various sources of numerical error in this procedure, including Monte Carlo error, discretization and binning error which depend on Δt, and matrix diagonalization error in computing the eigenvalues of H; all of these sources contribute to the errors seen in figures 4 and 5.

Figure 4. Refer to the following caption and surrounding text.

Figure 4. We display the results of computing the first 10 energy eigenvalues of the harmonic oscillator for various values of θ, using the algorithm described above. For each choice of θ, we carry out 20 separate experiments, each of which generates $5000\,000$ sample paths to estimate the Hamiltonian. Error bars are included, computed using the standard deviation across these 20 experiments, but are too small to be seen. Dotted lines indicate the true energy eigenvalues, $E_n = \theta n$, where we recall that the ground state energy has been shifted to zero. The experimental values are more accurate for low-lying energies at small n and then accrue larger errors for higher En, although the magnitude and sign of the errors differs between the different choices of θ.

Standard image High-resolution image
Figure 5. Refer to the following caption and surrounding text.

Figure 5. We compare the first three numerical energy eigenstates (scatter), obtained by diagonalizing the estimated Hamiltonian, to the true harmonic oscillator eigenstates (solid line). For concreteness, we take $\theta = \sigma = 1$. The Hamiltonian is computed by generating $50\,000\,000$ one-step sample paths and applying a similarity transformation to the estimated Fokker–Planck operator following the procedure described in the main text.

Standard image High-resolution image

4.2.2. Deep NN-QM with Ornstein–Uhlenbeck inputs

We now turn to an investigation of deep NN quantum mechanics, where a SP xt is obtained via a NN whose inputs are themselves SPs satisfying all of the OS axioms. Since the Ornstein–Uhlenbeck process is the unique stationary Gaussian process that is also Markov, this is a natural place to begin, but we mention that one could also use other SPs as inputs. For instance, one could consider Feller processes like the Cox–Ingersoll–Ross model, defined by the SDE

Equation (4.46)

or the Jacobi diffusion,

Equation (4.47)

Both of these differ from the Ornstein–Uhlenbeck process in that the noise function which multiplies $\mathrm d W_t$ itself depends on xt. Since the noise controls commutators and thus the effective $\hbar$ in the model, these processes can be roughly viewed as quantum systems with a ‘position-dependent Planck constant.’

We instead use standard OU processes $y_t^{(j)}$ and focus on the architecture

Equation (4.48)

Like the choice of input SP, it would also be interesting to consider other architectures besides (4.48) and to investigate how architectural choices affect the physical properties of the quantum mechanical model.

In the numerical simulations below, for concreteness we take d = 3, N = 10, and we choose the parameters of the OU processes $y_t^{(j)}$ to be $\theta^{(j)}$ and $\sigma^{(j)}$. The noise parameters $\sigma^{(j)}$ are not to be confused with the activation function σ in equation (4.48), which we take to be

Equation (4.49)

One can either choose the weights $w_i^{(1)}$ and $w_{ij}^{(0)}$ to be identical across all sample paths xt—in which case yt is a deterministic function of a linear combination of RP processes, which is RP by propositions 2 and 3—or we can take the weights to be random variables which are drawn independently for each sample path, which is RP by the generalized result given in theorem 4.1. Here we take the latter approach; this is not a fundamental requirement of the deep NN-QM framework, and one could also study models with weights that are fixed across sample paths, but we choose the random-weight case since this illustrates the novel construction proposed in this work. Specifically, all of the weight variables are taken to be independent and identically drawn from unit Gaussians,

Equation (4.50)

where w schematically represents all $w_i^{(1)}$ and $w_{ij}^{(1)}$.

Let us briefly comment on the bias variables, which we have set to zero in this construction. The reason is related to the mixing property, or cluster decomposition. As we alluded to above, if yt is a mixing process and f is a measurable deterministic function, then $x_t = f ( y_t )$ is also mixing. However, if f is a random function, then mixing may not be preserved. A simple example is adding a random shift $\theta \sim P ( \theta )$ which is drawn separately for each sample path. If yt is mixing and

Equation (4.51)

then the process $x_t = \phi_\theta ( y_t )$ is not mixing in general. An intuitive way to see this is by considering the centered covariance

Equation (4.52)

where we have used that θ and y are uncorrelated to cancel the cross-terms. The quantity in the first set of parentheses is the centered covariance of process yt while the second set of parentheses contains the variance of θ. Thus, even if the centered covariance of yt decays to zero for large values of $| t - s |$, the corresponding covariance of process xt approaches the constant value $\mathrm{var} ( b )$, which is non-zero if b is a random variable.

Such a random shift (4.51) is essentially what randomly chosen bias variables in the NN implement, and indeed we see that the mixing property (or cluster decomposition) fails if we include these random biases in our network. Therefore, we turn off the bias parameters, which leads to an output process yt whose empirical two-point function obeys cluster decomposition, as we investigate below.

Two-point function

As in our discussion of the Ornstein–Uhlenbeck process, the first natural observable to study for our deep NN-QM model is the two-point function. Because we take d = 3 input OU processes $y_t^{(i)}$, each of which is determined by a drift parameter $\theta^{(i)}$ and a noise amplitude $\sigma^{(i)}$, there are six available parameters to tune in the definition of xt. The experimental values of $G^{(2)} ( t, 0 )$ for several choices of these parameters are displayed in figure 6. All other parameters in the NN—including the width N = 10 of the hidden layers, the distribution (4.50) of weights, and the choice (4.49) of tanh activation function—are fixed across all of the experiments.

Figure 6. Refer to the following caption and surrounding text.

Figure 6. The two-point function $G^{(2)} ( t, 0 ) = \langle x ( t ) x ( 0 ) \rangle$ for the deep NN-QM described in the main text, as the parameters θi and σi of the three input Ornstein–Uhlenbeck processes $y_t^{(i)}$ are varied. In all cases, the correlation function decays to zero at large time separations, consistent with cluster decomposition. For each set of parameters, we perform 100 experiments with 5000 paths per experiment; the average values of $G^{(2)}$ are shown in cool colors (blue, purple, green, cyan) with error bars indicating the standard deviation across experiments. Although no theoretical result is available for comparison, we perform a fit of each set of data to a decaying exponential $G^{(2)} ( t, 0 ) = A \mathrm e^{- \lambda t}$ and show the best-fit curves in warm colors. The best-fit values of λ yield estimates of the first excited state energy E1 in each deep NN-QM.

Standard image High-resolution image

The results of these simulations confirm several basic properties that one might expect of our deep NN-QM model. First, the correlation function $G^{(2)} ( t, 0 )$ decays to zero at large t, which gives evidence that mixing or cluster decomposition holds in this theory (as we mentioned above, this is a consequence of our choice to set the biases to zero, and mixing fails if we choose random non-zero biases). Second, we see that the behavior of the two-point function changes as the parameters $\theta^{(i)}$ and $\sigma^{(i)}$ of the input OU processes are varied, as it should. Third, although we have no theoretical prediction for an analytical expression for the two-point function in this model to which the experimental results could be compared, by equation (2.5) we expect the leading exponential fall-off of $G^{(2)}$ to be determined by the gap E1 from the ground state to the first excited state (since E0 = 0 by construction in the stationary state of a SP). By performing exponential fits with the functional form $G^{(2)} = A \mathrm e^{- \lambda t}$, we therefore obtain approximations of the first excited state energies in these deep NN-QM models, which are also recorded in figure 6.

Commutator

For the Ornstein–Uhlenbeck process, we found that the discrete approximation C(t) of the commutator $[ \hat{x} ( t ) , \hat{p} ( t ) ]$, defined in equation (4.20), was constant in time with a magnitude set by the effective $\hbar$ of the SP. This should, of course, hold for any conventional quantum system with a quadratic kinetic term. However, since the deep NN-QM that we have defined here is obtained from a fairly involved transformation of several OU processes, it is not clear a priori that it corresponds to a familiar quantum system for which $p(t) \sim \dot{x} ( t )$ so that C(t) is constant.

Nonetheless, repeating the numerical computation of C(t) via simulations as described above, we find that this is indeed the case. These results are presented in figure 7, which shows that C(t) is also constant for deep NN-QM, with an effective $\hbar$ that is a function of the noise parameters $\sigma^{(i)}$ defining the input OU processes.

Figure 7. Refer to the following caption and surrounding text.

Figure 7. We show the average value of the discretized commutator C(t) over time, as in figure 3 for the OU process, but here for the deep NN-QM xt obtained from three Ornstein–Uhlenbeck inputs $y_t^{(i)}$ and a single hidden layer of N = 10 neurons, as described in the main text. For each tuple of parameters $(\sigma_1, \sigma_2, \sigma_3)$ associated with the input Ornstein–Uhlenbeck processes, we perform 200 experiments with $10\,000$ sample paths per experiment, all with step size $\Delta t = 0.01$ and total simulation time T = 5. The displayed error bars represent the standard deviation across experiments. The resulting deep NN-QM still exhibits a conventional commutation relation $[\hat{x} , \hat{p}] = \hbar_{\text{eff}}$ with an effective Planck constant that depends on the noise parameters σi of the three input processes.

Standard image High-resolution image

We note that the crucial non-differentiability of paths, which is required for non-trivial commutation relations, in the deep NN-QM approach is inherited from the non-differentiability of the input processes. However, the character of this non-differentiability is ‘re-shaped’ by the application of the NN. One way to see this is to note that the commutator values in the transformed process of figure 7 differ from those in the input processes, even in the case where all σi are equal. Another simple way to see this is to consider a deterministic NN $\phi_\theta ( y_t ) = y_t^2$. The SP obtained by squaring the Ornstein–Uhlenbeck process is related to the Cox–Ingersoll–Ross model (4.46), whose noise (and hence non-differentiability) is position-dependent, so even in this toy example qualitative aspects of the roughness of paths are considerably modified.

Uncertainty relations

It is also interesting to consider the behavior of the uncertainties Δx and Δp in the deep NN-QM model. These uncertainties must, of course, obey the Heisenberg uncertainty relation, but we no longer expect the product $\Delta x \, \Delta p$ to saturate the bound, since this is a special property of minimum uncertainty states such as Gaussian wavepackets.

The simulated uncertaintes $\left( \Delta x \right)^2$ and $\left( \Delta p \right)^2$ for several choices of parameters are displayed in table 2. Again, we have no theoretical prediction for the product of uncertainties, but the lower bound implied by the Heisenberg uncertainty relation is displayed in the final column of table 2. This lower bound is not uniform across all rows of this table since it is set by the effective value of $\hbar$ in the model. We estimate $\hbar_{\text{eff}}$ by computing the commutator C(t), and as we have already seen in figure 7, this quantity depends on the parameters. We find that the Heisenberg uncertainty relation is not saturated for any choices of parameters that we consider in this deep NN-QM theory.

Table 2. We compute the uncertainties in position and momentum for the deep NN-QM process with three OU inputs. The definitions (4.28) and (4.25) are used to compute the momentum uncertainties. We simulate 200 epochs with $10\,000$ paths per epoch, each with 1000 update steps, for each combination of parameters, and the standard deviation across epochs appears following the symbol ± for each quantity. We compare the simulated uncertainties for several values of the parameters $\theta^{(i)}$ and $\sigma^{(i)}$ defining the input OU processes, and for two values of the time step $\mathrm dt$. We also include the value $\frac{\hbar_{\text{eff}}^2}{4}$, which gives a lower bound for the product $\left( \Delta x \right)^2 \cdot \left( \Delta p \right)^2$ by the Heisenberg uncertainty principle, where $\hbar_{\text{eff}}$ is estimated from the commutator C(t) which approximates $[\hat{x} , \hat{p} ]$. We find that $\left( \Delta x \right)^2 \cdot \left( \Delta p \right)^2 \gt \frac{\hbar_{\text{eff}}^2}{4}$ in all cases, so the uncertainty bound is not saturated.

θ1θ2θ3σ1σ2σ3$\mathrm dt$$ \left( \Delta x \right)^2 $$ \left( \Delta p \right)^2 $$ \left( \Delta x \right)^2 \cdot \left( \Delta p \right)^2 $$ \frac{\hbar_{\text{eff}}^2}{4} $
$\frac{1}{2}$$\frac{1}{2}$$\frac{1}{2}$$\frac{1}{2}$$\frac{1}{2}$$\frac{1}{2}$0.1000.3031 ± 0.00290.1360 ± 0.00180.0412 ± 0.00080.0307 ± 0.0005
$\frac{1}{2}$$\frac{1}{2}$$\frac{1}{2}$$\frac{1}{2}$$\frac{1}{2}$$\frac{1}{2}$0.0100.2997 ± 0.00330.1480 ± 0.01780.0444 ± 0.00530.0307 ± 0.0006
1111110.1000.4175 ± 0.00370.9227 ± 0.00860.3852 ± 0.00660.2687 ± 0.0044
1111110.0100.4104 ± 0.00401.2741 ± 0.05530.5229 ± 0.02320.2850 ± 0.0052
2222220.1000.5393 ± 0.00444.8038 ± 0.03522.5908 ± 0.03871.9196 ± 0.0292
2222220.0100.5236 ± 0.004710.4247 ± 0.17415.4586 ± 0.11272.4223 ± 0.0360
$\frac{1}{2}$12$\frac{1}{2}$120.1000.4365 ± 0.00422.1579 ± 0.02350.9420 ± 0.01830.6104 ± 0.0121
$\frac{1}{2}$12$\frac{1}{2}$120.0100.4263 ± 0.00393.7006 ± 0.10751.5777 ± 0.05150.6834 ± 0.0150
21$\frac{1}{2}$21$\frac{1}{2}$0.1000.4371 ± 0.00462.1610 ± 0.02550.9446 ± 0.02040.6100 ± 0.0120
21$\frac{1}{2}$21$\frac{1}{2}$0.0100.4255 ± 0.00393.6972 ± 0.10511.5731 ± 0.04920.6819 ± 0.0138
$\frac{1}{2}$212$\frac{1}{2}$10.1000.5329 ± 0.00591.0278 ± 0.01130.5477 ± 0.01080.2674 ± 0.0054
$\frac{1}{2}$212$\frac{1}{2}$10.0100.5287 ± 0.00611.8866 ± 0.07620.9974 ± 0.04150.3101 ± 0.0066
1$\frac{1}{2}$212$\frac{1}{2}$0.1000.5330 ± 0.00561.0282 ± 0.01070.5481 ± 0.01050.2671 ± 0.0053
1$\frac{1}{2}$212$\frac{1}{2}$0.0100.5286 ± 0.00571.8828 ± 0.08400.9952 ± 0.04510.3098 ± 0.0057
2$\frac{1}{2}$2$\frac{1}{2}$110.1000.3678 ± 0.00380.9056 ± 0.00990.3331 ± 0.00630.1943 ± 0.0035
2$\frac{1}{2}$2$\frac{1}{2}$110.0100.3603 ± 0.00421.1025 ± 0.04920.3973 ± 0.01880.1934 ± 0.0037

Spectrum and eigenfunctions

Finally, we repeat the calculation of the energy eigenvalues and eigenfunctions for the deep NN-QM model. These results are shown in figure 8. We see that the energy eigenvalues are approximately linear in n for small n, as in the harmonic oscillator, but upon investigating higher energy eigenvalues we find that the curve is concave down. The rate at which the energies ‘level off’ seems to be set by the θ parameters of the input Ornstein–Uhlenbeck processes, with larger θ values giving models that deviate from the linear SHO-like spectrum more quickly. We also see that, unlike the OU example, the spectrum appears to depend on the noise parameters $\sigma^{(i)}$ in addition to the $\theta^{(i)}$.

Figure 8. Refer to the following caption and surrounding text.

Figure 8. The first 10 energy eigenvalues for our deep NN-QM model. Energies are computed by numerically estimating the Hamiltonian operator using the transition matrix and a similarity transformation involving the empirical stationary distribution. We perform 20 trials and display the mean energies with error bars (visible upon zooming in) set by the standard deviation across trials. Unlike the harmonic oscillator energy levels, the deep NN-QM energies do not grow linearly, but rather level off at large n.

Standard image High-resolution image

We do not display the energy eigenfunctions since their shape is very similar to that of the OU eigenfunctions in figure 5. This suggests that—at least for low-lying states—the effect of the deep NN transformation primarily modifies the energy eigenvalues, while leaving the energy eigenfunctions essentially unchanged. This is similar to the behavior of deformations of quantum systems where the seed Hamiltonian H0 is mapped to a function $H = f ( H_0 )$ of the undeformed Hamiltonian, such as in the quantum-mechanical versions of the ${T\bar{T}}$ [43, 44] and root-${T\bar{T}}$ [45, 46] deformations. However, at high energies, we see that the deep NN-QM spectrum levels off, so the effect of the transformation on the eigenfunctions for high-energy states may be more dramatic.

Although we will not undertake a detailed sensitivity analysis for deep NN-QM in this work, we note that for each of the quantities considered here, one could also vary other pieces of defining data in a deep NN-QM model and study how the resulting observable changes. For instance, one could promote the commutator C(t) displayed in figure 7 to a family $C ( N, t )$ of commutators, where N is the number of neurons in the architecture (4.48), and study the sensitivity of this quantity to N. Since modifying the architecture changes the theory defined by the deep NN-QM, such an analysis could be interpreted as studying how observables vary in families of quantum mechanical models.

5. Conclusion

In this paper we developed a NN approach to quantum mechanics (QM), focusing on universality of the description and the appearance of unitarity via RP. The defining data of the construction is a NN and associated parameter density, $(\phi_\theta(t), P(\theta))$, where θ are the parameters and the functional form of $\phi_\theta(t)$ is the architecture. This is restriction of a scalar NN-FT to the case d = 1, yielding a SP that, in general, is not quantum mechanical; it is a NN-SP.

We were led to a number of questions: 1) when is a SP actually a Euclidean QM theory? 2) is every Euclidean QM theory representable by a NN? The first question depends in part on which axioms one wants to demand of a QM theory—and, of course, many are canonical—but we began by adopting minimal requirements, in which mean-square continuity of x(t) and the Kallén–Lehmann spectral representation ensure the applicability of the Kosambi–Karhunen–Loève theorem [29–31] from the literature on SPs. The associated decomposition can be interpreted as a NN with varying neurons, answering the second question in the affirmative: any theory satisfying the minimal requirements admits a NN description24.

Of course, these requirements are not sufficient, as unitarity is central in conventional quantum mechanics. In constructive approaches to QFT, unitarity is encoded in a property called RP that is satisfied by Euclidean correlators, and the property may also be studied in d = 1 field theories, i.e. quantum mechanics. We were therefore led to the study of RP in NN descriptions of QM systems, and focused on two constructions. The first was a ‘parameter splitting’ mechanism that allows the relevant quantity for RP to be expressed as perfect square integrand in an integral over NN parameters θ. This mechanism may be applied as a concrete modification to any NN, but unfortunately simple instantiations break translation invariance. This can be remedied by performing the parameter splitting for all times, at the cost of introducing a continuous infinity of NN parameters and nowhere-analytic paths x(t). The latter is familiar from ordinary QM, as non-differentiability (which implies non-analyticity) is the origin of non-zero commutators in the Feynman path integral. In the second, we studied Markov processes, which are known to be RP, and we showed that a NN acting on any Markov or RP process produces an RP process, preserving unitarity.

This provides a mechanism for defining a vast array of QM theories, since a NN acting on an RP process preserves RP. In particular, NN layers may be successively applied to the original process, defining a different NN-QM theory at each successive layer. We studied this idea in numerical examples, including an Ornstein–Uhlenbeck process (the SP that is the Euclidean realization of the quantum harmonic oscillator) and standard NN layers acting on it. In each case we studied the appearance of non-zero commutators, uncertainty, and the spectrum.

Our work opens many interesting directions for future work:

  1. 1.  
    Hamiltonian engineering in deep NN-QM. In the ML literature and NN-FT, the recursive application of NN layers allows one to understand how the correlations at one layer relate to and influence the correlations at the next. In the context of our construction, it is natural to ask whether this influence may be utilized to engineer NN QM theories whose Hamiltonians have desired properties.One avenue for engineering desired QM theories with deep NN-QM is to learn them. Specifically, let xt be any Markov or RP process. Then since
    Equation (5.1)
    for any NN f with its own parameters ϕ, we may use traditional ML to optimize the parameters ϕ to obtain a desired QM theory. For instance, if several of the energy eigenvalues $E_n^{\text{true}}$ of the target theory are known, one could train the NN to minimize the L2 loss
    Equation (5.2)
    or if one wishes to engineer a two-point function $G^{(2), \text{true}} ( \tau )$, one could minimize
    Equation (5.3)
    where $\tau = t_2 - t_1$ and the integral is computed numerically. More generally, one could use other Lp losses or more complicated custom loss functions that involve combinations of observables. Note that this idea also applies for translation-invariant (stationary) and/or time reflection invariant (symmetric) theories, as these properties persist in passing from the process $x_t \mapsto f_\varphi(x_t)$. In this case, fϕ is one NN, with some initial draw $\varphi\sim P(\varphi)$ that is subsequently optimized.Alternatively, instead of using a single (deterministic) NN to convert xt to another NN-QM process, one could apply the entire ensemble fϕ (for all ϕ in the parameter domain, drawn appropriately) to xt. In such a case this ensemble theory is optimized by using a final auxiliary NN such as a normalizing flow to optimize the density on ϕ in order to achieve the desired theory.Interestingly, the OU process provides a natural starting point for such studies. To satisfy the OS QM axioms, we need a stationary symmetric RP process. Specializing to Markov rather than general RP, the OU process is the unique [41] such process that is also Gaussian. Therefore NN(OU) is the way to perturb (or, more precisely, modify) a Markov Gaussian process in this context.
  2. 2.  
    Completeness of deep NN-QM. A natural future direction is to attempt to prove or disprove the following conjecture.

    Conjecture 1. Every reflection-positive process admits a representation as a deep NN-QM whose inputs $y_t^{(i)}$ are symmetric Markov processes.

    The results of this work establish that every SP xt that admits a deep NN-QM representation with symmetric Markov inputs is reflection positive. The content of the conjecture is that this set of processes is complete: every RP process can be obtained from such a deep NN-QM. Said differently, the space of reflection positive processes is the closure of the space of symmetric Markov processes under the operations of taking linear combinations and applying random functions. If true, this would provide another example of the universality of NNs (besides theorem 1), and give an alternative characterization of reflection positive SPs. Indeed, rather than defining RP by (3.1), one could equivalently define an RP process as one obtained from applying deep NNs to collections of symmetric Markov processes.
  1. 3.  
    Higher-dimensional field theories. The standard construction of a free scalar field in d-dimensional Euclidean QFT, also called the ‘Gaussian free field’ in more mathematical literature, proceeds by taking
    Equation (5.4)
    where the ψk are an orthonormal basis for the Sobolev space $H^1 ( \Omega )$ on some domain $\Omega \subset \mathbb{R}^d$ and the ξk are i.i.d. random variables drawn from a normal distribution with mean zero and variance 1.
  • The behavior of this sum is very different in d = 1 compared to $d \unicode{x2A7E} 2$. For d = 1, (5.4) can be viewed as the KKL decomposition of a SP, which almost surely converges to a continuous nowhere-differentiable function. However, for $d \unicode{x2A7E} 2$, the sum diverges almost surely for any value of the input x. In this case, ϕ does not define an ordinary function, but rather a generalized function or distribution. This is a signal of the familiar fact that, for quantum field theories in $d \unicode{x2A7E} 2$ dimensions, the path integral receives contributions only from distributions; ordinary functions are a set of measure zero with respect to the path integral measure.

An important extension of the analysis in this work is to construct NN quantum field theories in $d \unicode{x2A7E} 2$ dimensions which satisfy all of the OS axioms. This will require a detailed investigation of NNs which define generalized functions, or distributions, rather than ordinary functions.

  1. 4.  
    Information-theoretic analysis. There are several potential avenues for studying NN-QM systems using the toolkits of both classical and quantum information theory. At the level of classical information theory, SPs admit a well-defined notion of an entropy rate h which characterizes the complexity of the process. It would be interesting to investigate how the entropy rate, or other measures of information content, of an input SP yt is modified when it is transformed into a deep NN-QM process $x_t = \phi_\theta ( y_t )$. At the level of quantum information, one could engineer NN-QM systems which exhibit entanglement, and study how the entanglement entropy (or other entanglement measures) are related to the defining data of the NN-QM model.

We hope to return to some of these interesting and important directions in future work.

Acknowledgments

We thank Hamza Ahmed, Ning Bao, and Jonathan Weitsman for helpful discussions. This work is supported by the National Science Foundation under Cooperative Agreement PHY-2019786 (the NSF AI Institute for Artificial Intelligence and Fundamental Interactions). J H is supported by NSF CAREER Grant PHY-1848089.

Data availability statement

Part of the data is still relevant for future publications. The authors would like to reserve the right to choose whether and when to make them available on request. The data that support the findings of this study are available upon reasonable request from the authors.

Appendix: Commutators and non-differentiability

In this appendix, we will review one argument that the quantum-mechanical path integral must have contributions from paths that are differentiable nowhere. In particular, the inclusion of non-differentiable paths is required in order to reproduce non-trivial commutation relations such as $[\hat{x} , \hat{p}] \neq 0$. We emphasize that this is a standard textbook result which we include only to make the present work self-contained25.

For simplicity, we consider the path integral formulation for a free quantum particle with position x(t) and restrict to a finite time interval $t \in [ a, b ]$. On this interval, the dynamics is described by the action

Equation (A.1)

and we will choose units where m = 1. Using this normalization, the momentum canonically conjugate to the position x is $p = \dot{x}$.

Our aim is to compute the commutator $[\hat{x} , \hat{p}]$ using the path integral. Of course, in the path integral formulation, the variables x and $\dot{x}$ are ordinary commuting functions rather than operators. Therefore, in order to study the commutator, we should use time-ordering and compare the results of (i) inserting $x ( t_+ ) \dot{x} ( t_- )$, where $t_+ \gt t_-$, in the path integral, and (ii) using the opposite ordering $x ( t_- ) \dot{x} ( t_+ )$ for the insertion. In the limit as $t_+$ and $t_-$ become coincident, the difference between these quantities (i) and (ii) should measure the commutator $[\hat{x} , \hat{p}]$ at the common value $t = t_+ = t_-$. More precisely, we wish to compute

Equation (A.2)

and then take the limit of this quantity as $t_+ \to t$ from above and $t_- \to t$ from below.

We begin by discretizing the path integral, fixing a partition of the interval $[a, b]$ into a sequence of increasing times tk separated by intervals Δt, so that

Equation (A.3)

where $t_1 = a + \Delta t$, $t_2 = a + 2 \Delta t$, and so on, up to $t_N = a + N \Delta t = b$. For concreteness, we will also fix boundary conditions for the path integral so that $x ( t_a ) = x_a$ and $x ( t_b ) = x_b$. We indicate the variables representing the positions $x ( t_i )$ with subscripts, such as

Equation (A.4)

Using this discretization scheme, let us compute the regularized commutator (A.2) at the jth time in our sequence and the two times which immediately precede and follow it, i.e.

Equation (A.5)

In particular, we must replace the velocities $\dot{x} ( t_{\pm} )$ by the finite difference quotients

Equation (A.6)

which approach the desired derivatives in the limit $\Delta t \to 0$, assuming this limit exists.

In terms of the free particle propagator,

Equation (A.7)

the quantity defined in (A.2) is

Equation (A.8)

We note that the derivative of the propagator (A.7) with respect to its final endpoint is

Equation (A.9)

with a similar formula applying to the derivative $\partial_x$ with respect to the initial endpoint. Therefore, the two expressions appearing in (A.8) can be rewritten using the relations

Equation (A.10)

respectively. Collecting these terms and rewriting them using the product rule, we have

Equation (A.11)

Since xj is integrated over, we may integrate by parts and discard the boundary term at the cost of a sign. The only other dependence on xj in the integrand is in the xj prefactor multiplying the $\partial_{x_j}$ derivative, which is therefore replaced with $\partial_{x_j} x_j = 1$:

Equation (A.12)

We can then evaluate the remaining integral over xj using the propagator identity

Equation (A.13)

and using a similar identity for each of the other integration variables xk collapses the entire expression to a single propagator:

Equation (A.14)

The result is independent of Δt and the discretization, so we may freely take the limit $\Delta t \to 0$ so that $t_- = t_{j-1}$ approaches $t = t_j$ from below and $t_+ = t_{j+1}$ approaches $t = t_j$ from above. The result is $\hbar$ times the propagator which would have been computed by the path integral (A.2) if we had not inserted $x ( t ) \dot{x} ( t_- ) - x ( t ) \dot{x} ( t_+ )$. This is exactly what one would expect if we had evaluated the commutator in operator language,

Equation (A.15)

since $[ \hat{x} ( t ) , \hat{p} ( t ) ] = \hbar$, with no factor of i because we work in Euclidean signature.

We conclude that the path integral formulation can indeed reproduce the desired commutation relations. However, for this argument it was crucial that the path integral receives contributions from paths that are non-differentiable. If all of the trajectories x(t) in the path integral were instead smoothly differentiable, then one would have

Equation (A.16)

and thus $C ( t_- , t , t_+ ) = 0$ in the continuum limit26.

In the NN-QM context, non-differentiability similarly gives rise to non-trivial commutation relations, although here the relevant expectation values are expressed as integrals over parameters with a density $P ( \theta )$, rather than integrals over paths x(t). Formally, the non-differentiability of minimal quantum model sample paths emerges from the strictly infinite sum (2.13) in the KKL decomposition, as any finite sum of differentiable functions remains differentiable. A numerical investigation of these non-vanishing commutators appears in section 4.

Footnotes

  • 3 

    $P(\theta)$ could be the density at initialization, or after flowing for some amount of learning time t.

  • 4 

    Some of these ideas have parallels in the ML community, e.g. [6] which initiated the study of NNs at infinite width, [7–9] for finite-width corrections, [10, 11] for more general field theory techniques applied to NNs, and [12] as well as references above advocating applications in physics. For a lengthy summary of some of the references, see the Introduction of [3]; for lectures in the ‘for-ML’ direction, see [13]; and for a quick summary of essential NN-FT results, see J.H.’s talk at Strings 2025.

  • 5 

    The realization of NN-FTs satisfying the Osterwalder–Schrader (OS) axioms was proposed in [2], with Gaussian examples.

  • 6 

    It is also natural to ask how these relate to other constructions. Theories defined by certain local Lagrangians [17] or satisfying Euclidean CFT axioms [18] are known to satisfy the OS axioms.

  • 7 

    Another difference between these two approaches is that stochastic quantization appears to be in tension with RP, at least in some examples [22]. In contrast, we will be able to engineer RP in our framework by any of several mechanisms.

  • 8 

    This data does not completely define a QFT, since there may be additional non-local operators, such as Wilson lines or symmetry defect operators, in the spectrum of the theory.

  • 9 

    We impose the stronger condition of mean-square continuity, rather than merely assuming continuity of sample paths, because the latter is not strong enough to imply continuity of the two-point function.

  • 10 

    For technical reasons, mean-square continuity does not imply continuity of all correlators $G^{(n)}$, but only of the two-point function $G^{(2)}$. However, the latter is all we will need in what follows.

  • 11 

    To avoid confusion, we will always use blackboard bold letters like $\mathbb{P}$ for joint probability distributions over the outputs of a SP, to avoid confusion with joint distributions over NN parameters θ which we will introduce shortly. The latter are written with undecorated letters like $P ( \theta )$.

  • 12 

    Of course, one can consider more general NNs $\phi_\theta : \mathbb{R}^n \to \mathbb{R}^m$, but since we focus on single-particle quantum mechanics we will take $n = m = 1$.

  • 13 

    We remind the reader that two random variables x and y are uncorrelated if $\langle x y \rangle = \langle x \rangle \langle y \rangle$, and they are independent if their joint probability distribution $P ( x, y ) = P ( x ) P ( y )$ factorizes into a product of marginals. Independent variables are uncorrelated, but uncorrelated variables need not be independent.

  • 14 

    See [32] for a related but distinct ‘stochastic universal approximation theorem’ which establishes that recurrent NNs can approximate processes obtained as the solution to a SDE to arbitrary accuracy. Solutions to SDEs are a proper subset of all SPs.

  • 15 

    Note that permutation symmetry holds for expectation values of arbitrary operators at distinct points, but that coincident-point limits of correlators involving both local operators and their derivatives may depend on ordering of limits; the latter encode, for instance, non-trivial commutation relations.

  • 16 

    See [33] for a study of Euclidean field theories where the assumption of RP is relaxed.

  • 17 

    This can be made precise: a stationary SP xt is mixing if and only if the covariance between any pair of bounded observables $f ( x_0 )$ and $g ( x_t )$ tends to zero as $t \to \infty$.

  • 18 

    Recall that the transformation from θ− to $\theta^{- ^{\prime}}$ absorbs the time-reversal operation $t \to -t$, which is a $\mathbb{Z}_2$ involution. Therefore, the map from θ− to $\theta^{- ^{\prime}}$ squares to the identity, so it is reasonable to assume that it has trivial Jacobian. For instance, if the transformation on the θ− is implemented by a linear operator M, i.e. $\theta^{^{\prime} - i} = {M}{^{i}_{j}} \theta^{- j}$, this is guaranteed since $M^2 = I$ so $| \det ( M ) | = 1$.

  • 19 

    As an extreme example, we commented below (2.12) that any SP can be represented by a NN $\phi_\theta ( t ) = \theta^t$ with an uncountable infinity of parameters θt, $t \in \mathbb{R}$. In such a parameterization, the parameters associated with t > 0 trivially split from those that describe t < 0. This does not imply that any process is RP, since $P ( \theta )$ need not have the form required by our argument above.

  • 20 

    Note that no signs or factors are generated when we change integration variables from θ− to $\theta^{^{\prime} -}$, since $\int_{-\infty}^{\infty}\mathrm d \theta^- \, f ( - \theta^- ) = \int_{\infty}^{-\infty} \left( -\mathrm d \theta^{^{\prime} -} \right) \, f ( \theta^{^{\prime} -} ) = + \int_{-\infty}^{\infty} \mathrm d \theta^{^{\prime} -} \, f ( \theta^{^{\prime} -} )$. The sign from the change of measure from $\mathrm d \theta^-$ to $\mathrm d \theta^{^{\prime} -}$ cancels against a compensating sign from the reversal of the bounds of integration.

  • 21 

    More generally, any pointwise measurable function of a stationary symmetric process is stationary and symmetric.

  • 22 

    By a theorem of Doob, the OU process is the unique stationary Gaussian Markov process [41].

  • 23 

    A different measure of roughness is the Holder exponent α, which describes the short-time scaling of increments of a SP obeying $| x_{t + \delta t} - x_t | \sim ( \delta t )^{\alpha}$. The Ornstein–Uhlenbeck process, and all processes solving SDEs driven by Brownian noise, have Holder exponent $\alpha = \frac{1}{2}$, but one can also consider processes driven by fractional Brownian motion with $0 \lt \alpha \lt 1$, which are rougher than Brownian motion for $\alpha \lt \frac{1}{2}$ and smoother for $\alpha \gt \frac{1}{2}$.

  • 24 

    Although the KKL decomposition formally involves an infinite sum, for practical applications one truncates this expansion and retains only finitely many terms.

  • 25 

    Here we follow section 3.2.1 of [47]. For other discussions, see section 7.3 of [48] or the note [49].

  • 26 

    See [50] for a discussion of other modifications to quantum mechanics that arise from restricting to differentiable paths in the path integral.

Please wait… references are loading.
10.1088/2632-2153/ae3105