Langevin Dynamics In Hamiltonian Phase Space

Langevin dynamics is usually written like

MX¨=XU(X)γMX˙+2γMkBTdW

which is really just two first order differential form relations

dxi=vidt
Midvi=xiU(x)dtγMividt+2γMikBTdWi

but statistical mechanics is formulated in Hamiltonian phase space.

Reformulating in Hamiltonian Phase space

Instead if we can generalize mass then can redefine the process as

dqi=Hpidt
dpi=Hqidtγipidt+Ki2γikBTdWi

where we will be solving for Ki to converge to the canonical ensemble equilibrium distribution.

Drift Diffusion Process

We can then combine both equations to a single drift diffusion process and generalize the matrix so the momentum can share noise

d[q1qnp1pn]=[Hp1HpnHq1γ1p1Hqnγnpn]dt+[0000000K1,12γ1kBTK1,n2γ1kBT0Kn,12γnkBTKn,n2γnkBT]dW

Fokker Plank

From the Fokker Plank equation any drift diffusion process

dz=A(z)dt+𝐁(z)dW

The probability density at each point will evolve as

ρt=izi(ρAi)+12ij2zizj((𝐁T𝐁)i,jρ)

Substitute in the Langevin equation.

ρt=i=1nqi(ρHpi)pi(ρ(Hqi+γipi))+12i=1nj=1n2pipj(ρ2kBTkKi,kKj,kγiγj)

We can combine the two sums and simplify.

i=1nqi(ρHpi)+pi(ρ(Hqi+γipi))+kBTj=1n2pipj(ρkKi,kKj,kγiγj)

Let Fi,j=kKi,kKj,kγiγj so that

i=1nqi(ρHpi)+pi(ρ(Hqi+γipi))+kBTj=1n2pipj(ρFi,j)

and use the chain rule to expand the derivatives in the first part.

=i=1nHqiρpiHpiρqi+ρpiγipi+ργi+kBTj=1n2pipj(ρFi,j)

Then for the second

=i=1nHqiρpiHpiρqi+ρpiγipi+ργi+kBTj=1npi(ρpiFi,j+Fi,jpiρ)

and again.

=i=1nHqiρpiHpiρqi+ρpiγipi+ργi+kBTj=1n(2ρpipjFi,j+ρ2Fi,jpipj+ρpiFi,jpj+ρpjFi,jpi)

Enforcing canonical distribution convergence

In the canonical ensemble it should converge to the below.

ρ0(q,p)=1ZeH(q,p)kBT

So it should be a stable distribution by definition of equilibrium

ρ0t=0

and putting it into the Fokker Plank equation we derived

=1Zi=1nHqieH(q,p)kBTpiHpieH(q,p)kBTqi+eH(q,p)kBTpiγipi+eH(q,p)kBTγi
+kBTj=1n(2eH(q,p)kBTpipjFi,j+eH(q,p)kBT2Fi,jpipj+eH(q,p)kBTpiFi,jpj+eH(q,p)kBTpjFi,jpi)

the Possion bracket part goes to zero.

=1Zi=1neH(q,p)kBTpiγipi+eH(q,p)kBTγi
+kBTj=1n(2eH(q,p)kBTpipjFi,j+eH(q,p)kBT2Fi,jpipj+eH(q,p)kBTpiFi,jpj+eH(q,p)kBTpjFi,jpi)

Then do the chain rule a bunch.

=1Zi=1neHkBTkBTHpiγipi+eHkBTγi
+kBTj=1n((eHkBT(kBT)2HpiHpjeHkBTkBT(2Hpipj))Fi,j
+eHkBT2Fi,jpipj
eHkBTkBT(HpiFi,jpj+HpjFi,jpi))

Factor out the probability.

=p0i=1n1kBTHpiγipi+γi
+kBTj=1n((1(kBT)2HpiHpj1kBT(2Hpipj))Fi,j
+2Fi,jpipj
1kBT(HpiFi,jpj+HpjFi,jpi))

Multiply through the temperature.

=p0i=1n1kBTHpiγipi+γi
+j=1n(1kBTHpiHpj(2Hpipj))Fi,j
+kBT2Fi,jpipj
(HpiFi,jpj+HpjFi,jpi)

Then group based on the temperature.

0=i=1n
1kBT(Hpiγipi+j=1nHpiHpjFi,j)
+kBTj=1n2Fi,jpipj
+γi+j=1n(HpiFi,jpjHpjFi,jpi(2Hpipj)Fi,j)

Any Hamiltonian and matrix 𝐅=𝐊𝐊 that satisfy the above equation will correctly have equilbibrium as a stable distribution

Quadratic Momentum

Lets assume that each term of the sum should be zero. Since it should be valid for any temperature there are 3 equalities that must hold

Hpiγipi=j=1nHpiHpjFi,j
0=2Fi,jpipj
γi=j=1n(HpiFi,jpj+HpjFi,jpi+(2Hpipj)Fi,j)

If the Hamiltonian is in the form

H(q,p)=12p𝐋(q)p+U(q)

where the "mass matrix" is only a function of position, then one can define a matrix

𝐒=12(𝐋+𝐋)

where

2Hpipj=Si,j=Sj,i

Then if we assume that the F's are independent of momentum then the third equality becomes

γi=j=1n(2Hpipj)Fi,j
γi=j=1nFi,jSj,i=(FS)i,j

if all the gammas are equal then

𝐅=γ𝐒1
Fi,j=(γS1)i,j
kγKi,kKj,k=(γS1)i,j
kKi,kKj,k=(S1)i,j

Which requires

𝐊𝐊=𝐒1

since S is symmetric so it has an orthanormal basis

𝐒=𝐐𝐃𝐐

and since we assumed it to be invertable then the inverse is

𝐒1=𝐐𝐃1𝐐

and also assume it's positive definite then all the eigenvalues are positive so one can take the square root

𝐒1=𝐐𝐃1/2𝐃1/2𝐐
𝐒1=(𝐃1/2𝐐)𝐃1/2𝐐

So one possible solution is

𝐊=𝐃1/2𝐐