Hello! Welcome back to our course on Computational Quantum Field Theory.
In our last lesson, we developed a complete Metropolis-Hastings algorithm to generate an ensemble of U(1) gauge field configurations. You now have the ability to create a sequence of statistically independent "snapshots" of the quantum vacuum, with each configuration distributed according to the Boltzmann weight .
This is a powerful tool, but it's only the first step. The goal of any simulation is to extract physical information. Today, we'll learn how to do just that. Our objective is to calculate the expectation value of a Wilson loop on a generated lattice gauge field configuration. These gauge-invariant observables are fundamental probes of a gauge theory's structure and are our first step towards understanding non-perturbative phenomena like confinement from first principles.
1. What is a Wilson Loop?
In the continuum, a Wilson loop is defined as the path-ordered exponential of the gauge field integrated around a closed loop :
The trace ensures gauge invariance. On the lattice, this intimidating expression simplifies beautifully. Recall that the link variable acts as a "parallel transporter" from site to . A Wilson loop is then simply the product of the link variables along a closed path on the lattice.

For a closed loop composed of a sequence of links , the Wilson loop is:
The ordering of the matrix multiplication is crucial and follows the direction of the path. For the U(1) gauge group we are studying, the link variables are complex numbers (1x1 matrices), so they commute, the trace is trivial, and path-ordering is not an issue. The Wilson loop is simply the product of the complex numbers along the path.
2. From Path Integrals to Monte Carlo Averages
The vacuum expectation value (VEV) of an observable in quantum field theory is given by the path integral:
where is the partition function.
The power of our Monte Carlo simulation lies in its ability to evaluate this high-dimensional integral numerically. The Metropolis algorithm you implemented generates a sequence of configurations that are sampled directly from the probability distribution . This process, known as importance sampling, transforms the path integral from a complex integration problem into a simple arithmetic average.
For a Wilson loop , the expectation value is approximated by the average of over your generated ensemble:
Here, is the value of the Wilson loop calculated on the -th gauge field configuration.
Introduction to Lattice Field Theory - Indico Global
The following notes on Lattice Field Theory provide a concise formal definition of the Wilson loop and its expectation value as an integral over gauge field configurations.
Please read section 6.1 'Discretization of gauge fields' (pages 7-8) and the first paragraph of section 6.2 (page 9) up to equation (6.21). Focus on the definitions of the plaquette (eq. 6.15), the gauge-invariant Wilson loop (eq. 6.19), and its expectation value (eq. 6.21). This provides the theoretical foundation for the numerical average we will compute.
3. Practical Calculation of Wilson Loops
Now, let's outline the concrete steps to compute the expectation value of an rectangular Wilson loop. Given your experience with simulations on grids, the logic should be quite familiar.
Let's say we want to compute the average of a rectangular loop of size lying in the plane.
Step 1: Compute the loop on a single configuration
To improve our statistics for a single configuration, we should average the loop over all possible starting positions and all non-equivalent plane orientations .
The value of a single loop starting at site in the plane is the product of link variables. For example, for a loop in the plane ():
Note the use of the conjugate (inverse) links for paths in the negative direction. Your computational task is to implement this product. You can do this by creating shifted copies of your link arrays, which is an efficient vector operation.
Step 2: Average over the entire lattice
The expectation value for a single configuration, , is the average over all starting sites n, and typically, all plane orientations.
where is the number of lattice sites. We take the real part, consistent with how we defined the plaquette's contribution to the Wilson action.
Step 3: Average over the ensemble
Finally, the full VEV is the average of these single-configuration values over your entire ensemble of N_meas thermalized, decorrelated configurations.
# Pseudocode for the measurement process
# Assume you have a list of configurations: `ensemble = [U1, U2, ...]`
total_loop_average = 0.0
for U_config in ensemble:
# Average W(R,T) over all starting sites n for this one config
config_average = average_loop_over_lattice(U_config, R, T)
total_loop_average += config_average
final_vev = total_loop_average / len(ensemble)
Test your understanding!
You are measuring a rectangular Wilson loop on a lattice. The loop starts at site in the plane. What is the lattice coordinate of the site where the third link variable in the path, , is located?
Show answer
The path starts at .
- The first link, , is located at site . It transports you from to .
- The second link, , is located at site . It transports you from to .
- The third link, , is located at site .
So, if , the site is , with coordinates taken modulo 16 due to periodic boundary conditions.
4. Physical Motivation: Probing Confinement
Why go to all this trouble? The behavior of Wilson loops as their area increases is a direct probe of confinement. For a rectangular loop of spatial size and temporal extent , its expectation value for large is related to the potential energy between a static quark-antiquark pair separated by distance :
This relationship gives us two famous criteria:
- Area Law: If (decays with the area), it implies a linearly rising potential . This is the signature of confinement. The force between the quarks is constant, and it would take infinite energy to separate them.
- Perimeter Law: If (decays with the perimeter), the potential flattens to a constant at large distances. The theory is not confining, and the particles can be separated. This is the behavior seen in QED (a Coulomb phase).

By calculating for various and , we can determine which regime our simulated theory is in.
Chapter 6: gauge theories on a lattice
The following chapter from a lattice gauge theory course provides Python code snippets for generating gauge configurations and includes a specific homework exercise on measuring Wilson loops.
Skim the section 'Markov chains for pure gauge theories' to see how plaquette measurements are interspersed with configuration generation. Then, focus on the 'Homework' at the end of the chapter. It explicitly asks you to measure 1x1 and 2x1 Wilson loops, suggesting the use of functions like g.cshift to implement the path products. This is a practical guide for your own implementation.
Conclusion
Today, we have connected the output of our Monte Carlo simulation to a physically meaningful, gauge-invariant observable. You have learned how to define a Wilson loop on the lattice and, crucially, how to calculate its expectation value as an average over your generated configurations.
Key Takeaways:
- A Wilson loop is the trace of a path-ordered product of link variables along a closed loop. It is the lattice version of a fundamental gauge-invariant operator.
- The expectation value of a Wilson loop, defined as a path integral, can be numerically computed by averaging its value over an ensemble of configurations generated by a Monte Carlo algorithm.
- The calculation involves three averaging steps: over loop orientations, over starting positions on the lattice, and finally, over the entire ensemble of configurations.
- The physical motivation for this calculation is profound: the area-law or perimeter-law behavior of large Wilson loops reveals whether the underlying theory is confining.
Preview of the Next Lesson:
We have laid all the groundwork. We know what a Wilson loop is and how to calculate its expectation value. In the next lesson, we will focus entirely on the physical interpretation. We will relate the area law behavior of Wilson loops to the static quark-antiquark potential and the concept of confinement. You will learn how to extract the string tension from your data, which is a quantitative measure of the confining force.