The basic idea of HMC is to use the molecular dynamics evolution as transi-tion functransi-tion to evolve from one configuratransi-tion to the next one being accepted or rejected according to a generalized Metropolis step (cf. Figure 5.1).[45] For QCD a configuration is given by the gauge-fieldUµ(x) consisting of aSU(3)c
matrix for each Dirac index µat each lattice site x.
integrating EoM Molecular dynamics
Initial steps
•Generate momentaΠµ
•Generate pseudo-fermionsφ
•Compute HamiltonianHold
Final steps
•Compute HamiltonianHnew
•Accept new configuration ifη < exp{Hnew−Hold} otherwise keep old configuration
Figure 5.1. Schematic flow of the HMC algorithm.
Like in the MD approach we introduce again a fictitious Monte Carlo time τ and guide the evolution by canonical equations. To build the Hamiltonian we generate Gaussian momenta Πµ(x) as conjugate variables toUµ(x). Hence the Πµare traceless and Hermitian elements of theSU(3)cgauge group. The
The HMC algorithm 55
Hamiltonian is given by H= 1
2Π2µ(x) +Seff(Uµ, φ), (5.5)
and evolved according to the equations of motion (EoM) φ˙µ= δ{H}
δ{Πµ} = Πµ; ˙Πµ=−δ{H}
δ{Uµ} =−δ{Seff}
δ{Uµ}. (5.6) The effective action Seff in case of even-odd preconditioning is the sum of (1.4), (3.17) and (3.18)
Seff(Uµ, φ) =SG(Uµ) +Sdet(Uµ) +Sb(Uµ, φ). (5.7) of the contributions from the gauge-field (G), the factorized part of the de-terminant (det) and the bosonic part (b) which in addition depends on the pseudo-fermion field φ.
The important difference to the MD approach comes at the end of a trajectory when the accept/reject-step is performed. Therefore we compute the energy-difference ∆H between the new Hamiltonian at the end and the old Hamiltonian at the beginning of the trajectory. The probability to accept a new configuration is given by
PA((Uµ,Πµ)→(Uµ0,Π0µ)) = min{1,exp{−∆H}}, (5.8) with ∆H=Hnew−Hold.
The constructed Hamiltonian serves two distinct tasks: on the one hand it enters in the accept/reject step (acceptance Hamiltonian), on the other hand it guides the molecular dynamics evolution (guidance Hamiltonian).[45] The acceptance Hamiltonian defines the equilibrium distribution to be simulated.
Due to the accept/reject step the algorithm becomes exact accounting for possible rounding or discretization errors occurring e.g. by the numerical in-tegration of the equation of motion. In principal the guidance Hamiltonian entering in the EoM can differ from the acceptance Hamiltonian allowing scope for optimization. Only if both Hamiltonian agree we find energy con-servation (∆H = 0) in the limit of perfect integration.
To let the system evolve according to the EoM we have to compute the variation of the effective action (5.7) in terms of an infinitesimal change of the gauge link δ{Uµ(x)}
δ{Seff}=X
x,µTr nFµ(x)δ{Uµ(x)}+Fµ†(x)δ{Uµ(x)†}o. (5.9)
The quantity Fµ(x) can be considered as “force” arising for a gauge link varied. It can be split into the contributions
Fµ(x) = Vµ(x) +Fµdet(x) +Fµb(x), (5.10) form the pure gauge part (Vµ), the determinant and the bosonic contribution.
Varying the contribution of the gauge field SG to the action we obtain the gauge force
Vµ =−β 6
X
P
Tr δ{UP +UP†}. (5.11) Next we focus on the determinant force which depends on our choice of preconditioning. Assuming both Mee and Moo to be factorized we are discussing the case of symmetric even-odd preconditioning, where Sdet is given by
Sdet=−2 [ln det{Mee}+ ln det{Moo}]. (5.12) Calculating the variation of (5.12) with respect to a link Uµ we find using det{A}= exp{Tr lnA}
δ{Sdet}=−2δ{Tr ln(Mee) + Tr ln(Moo)}
=−2 TrhM-1eeδ{Mee}+ M-1ooδ{Moo}i. (5.13) Let us now look at one particular link (pointing from x to x +µ) to be varied and consider like Jansen and Liu all “clover leaves” which contain this link.[32] We find the following four diagrams forµ6=ν as shown in Fig. 5.2.
x x+µ x x+µ x x+µ x x+µ
x+ν x+ν
x+ν x+ν
x−ν x−ν
x−ν x−ν
xodd
xodd xeven xeven
Figure 5.2. Diagrams contributing toFµdet(x) with the triangles denoting “even” inser-tions.
The HMC algorithm 57 To compute the contribution by varying the link Uµ(x) we have to com-pute the staples starting atx+µ and follow the arrows. At positions of the black triangles a (3×3)-color matrix has to be inserted which for an even insertion point is given by
(N)x = TrDirac
hiσµνM-1ee(x)i, (5.14) while for an odd point M-1ee is replaced by M-1oo. Finally, we have to sum over all directionsµ6=ν and multiply the sum by −κcsw/4 i.e.
Fµdet(x) = −κcsw
4
X
µ6=ν
(diagrams in Fig.5.2). (5.15) The inversion of Mee and Moo is needed locally for all lattice sites x and computed e.g. exactly by applying the Householder triangularization.[36]
The last contribution, named bosonic force, comes from the variation of the pseudo-fermion action
Sb =φ†QˆQˆ†−1φ, (5.16) where the pseudo-fermion fields φ are generated from a Gaussian random vector η by multiplying Q to achieve a distribution according to (5.16)
φ = ˆQη. (5.17)
Due to even-odd preconditioning ˆQ is a mapping from odd sites on odd sites with the even sites only created/used in between. Hence η and φ are vectors on odd sites only. Computing the variation of (5.16) we find applying δ{A−1}=−A−1δ{A}A−1
δ{Sb}=−φ†Qˆ†−1hδ{Qˆ†}Qˆ†−1+ ˆQ−1δ{Q}ˆ iQˆ−1φ. (5.18) The variation of the symmetric preconditioned ˆQ is given by
δ{QˆS}=γ5δ{M-1ooMoeM-1eeMeo}
=−γ5M-1oo[MoeM-1ee,1I]hδ{M0oe} δ{M0eo}i hM-1ee1IMeoi
+γ5M-1oo[MoeM-1ee,1I]hδ{M0ee}δ{M0oo}i hM-1oo1IMoeiM-1eeMeo (5.19) δ{QˆS†}=γ5δ{MoeM-1eeMeoM-1oo}
=−γ5[MoeM-1ee,1I]hδ{M0oe} δ{M0eo}i hM-1ee1IMeoiM-1oo
+γ5MoeM-1ee[1I,MeoM-1oo]hδ{M0ee}δ{M0oo}i hM-1ee1IMeoiM-1oo, (5.20)
x x+µ x x+µ x x+µ x x+µ x+ν
x+ν
x+ν x+ν
x−ν x−ν
x−ν x−ν
Figure 5.3. The contributing diagrams to Fµsw(x).
allowing us to write (5.18) as
δ{Sb}=−X†γ5hδ{M0oe}δ{M0eo}iY +X†γ5hδ{M0ee} δ{M0oo}iZ+ H.c. (5.21) with
X =h−M-1ee1IMeoiM-1ooQˆSQˆS†−1φ (5.22) Y =h−M-1ee1IMeoiQˆS−1φ (5.23) Z =hM-1−1I
ooMoe
iM-1eeMeoQˆS−1φ. (5.24)
The force Fµb splits into one contribution from the hopping terms and one from the Sheikholeslami-Wohlert terms. The hopping force for an even x is given by1
Fµhop(x) =κTrDirac
nγ5(1−γµ)hYo(x+µ)⊗Xe†(x)
+Xo(x+µ)⊗Ye†(x)io. (5.25) For the force Fµsw resulting from the Sheikholeslami-Wohlert terms we have to consider like for the determinant contribution the staples containing the link pointing form xtox+µas they are shown in Fig. 5.3 and insert for the black boxes the matrix in color space [32]
()x = TrDirac
nγ5σµνZ(x)⊗X(x)†+ H.c.o. (5.26) The force Fµsw is then given by summing over all diagrams for µ 6= ν and multiplying the result withiκcsw/8.
1Forxoddeis to be replaced by oand vice versa.
Integrator 59
Hence the bosonic force is the sum of both parts Fµb(x) =κTrDirac
nγ5(1−γµ)hYo(x+µ)⊗Xe†(x) +Xo(x+µ)⊗Ye†(x)io + iκcsw
8
X
µ6=ν
(diagrams in Fig. 5.3). (5.27)
Comparing the three contributions to the total force we find that the computation of the bosonic force is most expensive, but the gauge force has the largest impact. One can account for those differences by improving the integration scheme as is discussed in the next section and demonstrated in Chapter 7.