Hello! Welcome back. In our previous lesson, we established the crucial theoretical connection between the area law for Wilson loops and the linear confining potential that binds quarks. We saw that for large temporal extent , the static potential can be extracted from the decay of the Wilson loop expectation value .
Today, we will transition from theory to practice. Our objective is to numerically compute the static potential from Wilson loop data and identify the linear confining term. You will take raw data from a simulated lattice gauge theory, process it step-by-step to extract the potential , and then perform a fit to measure the string tension, . This is the culmination of our work in this module and represents a complete, first-principles calculation of a fundamental, non-perturbative property of confining gauge theories.
The Goal: From Numbers to Physics
The end goal of our analysis is to produce a plot of the static quark-antiquark potential, , as a function of their separation, . This potential is a cornerstone of our understanding of the strong force.

The Method: A Practical Refresher
The entire procedure relies on the fundamental relation we derived previously: for large Euclidean time ,
where is an overlap factor.
To eliminate both and the exponential, we can take a ratio of Wilson loops with temporal extents differing by one lattice spacing, . For our analysis, we will work in lattice units where . This gives us the "effective potential":
For large , this effective potential should approach a constant value, which is the static potential we seek:
Once we have for several values of , we can plot it and fit it to the Cornell potential model, , or simply fit the large- region to a line, , to find the string tension .
Let's quickly review a resource that walks through this exact process.
The following document provides a concise overview of the numerical procedure we are about to undertake. It visually demonstrates the expected behavior of the data at each stage of the analysis.
Please reread the section 'Physical interpretation of the Wilson loop' to refresh the connection between (\langle WL angle) and V(r). Then, focus on the section labeled 'Code' (starting on page 12). Pay close attention to the formula V(t, r) = log(W(t, r) / W(t + 1, r)) and the sequence of plots: Figure 3 (Wilson loops vs. t), Figure 4 (potential vs. t), and Figure 5 (final static potential vs. r). Our task today is to computationally reproduce these three plots from raw data.
A Numerical Walkthrough
Let's assume our Monte Carlo simulation of a U(1) gauge theory on a 16^4 lattice has produced a data file, wilson_loops.dat. The file contains the averaged real part of the expectation value of planar Wilson loops, , for various integer values of and (in lattice units).
A sample of the data might look like this:
# R, T, <W(R,T)>
1, 1, 0.654
1, 2, 0.431
1, 3, 0.284
...
2, 1, 0.425
2, 2, 0.183
2, 3, 0.079
...
Your first task would be to load this data into a convenient structure, such as a Python dictionary or a Pandas DataFrame, for easy access. Given your experience with Python and Numpy, this should be straightforward.
Step 1: Visualizing the Raw Data
Before any calculations, it's wise to plot the data to see if it behaves as expected. We anticipate an exponential decay of with . Therefore, a plot of versus for several fixed values of should yield approximately straight lines.
This plot would be the equivalent of Figure 3 in the "Wilson Loop" resource. The slopes of these lines correspond to .
Step 2: Calculating the Effective Potential
Now, we apply our main formula. For each spatial separation , we compute the effective potential for all available values of .
Here's a sketch of how you might implement this in Python, assuming your data is in a dictionary W_data[R][T]:
import numpy as np
V_eff = {}
# Assuming R_values and T_values are lists of available R and T
for R in R_values:
V_eff[R] = {}
for T in T_values:
# Check if T+1 data exists
if (T + 1) in W_data[R]:
# Note the formula from the resource uses W(t)/W(t+1)
# which gives V(R). My previous formula was -log(W(t+1)/W(t)). They are identical.
ratio = W_data[R][T] / W_data[R][T+1]
V_eff[R][T] = np.log(ratio)
Step 3: Identifying the Plateau
The next crucial step is to plot against for each fixed . This corresponds to Figure 4 in the resource.
For small , the results will be "contaminated" by higher-energy excited states of the gluon field. As increases, these faster-decaying exponentials die out, and should settle onto a "plateau." This plateau value is our measurement of the static potential .
You would visually inspect these plots to decide the range of values (e.g., ) that form the plateau for each . The value of is then taken as the average of over this plateau region.
Step 4: Extracting the String Tension
After completing Step 3 for all available values, you will have a set of data points: . This is the final result of the lattice calculation. Plotting versus gives us the static potential curve, equivalent to Figure 5 in the resource.
The final step is to analyze this curve to find the string tension. We expect the potential at large to be dominated by the linear term, .
We can fit the data points for large (e.g., ) to a straight line. The slope of this line is our non-perturbative measurement of the string tension, .
In Python, using numpy.polyfit is a simple way to perform this linear regression:
import numpy as np
# Assume R_fit and V_fit contain the R and V(R) values from the linear region
# Fit to a 1st degree polynomial (a line)
slope, intercept = np.polyfit(R_fit, V_fit, 1)
string_tension_a2 = slope
print(f"String tension in lattice units (sigma * a^2): {string_tension_a2:.4f}")
Test your understanding!
After extracting the potential from your plateau plots, you obtain the following data for the linear region:
- V(R=4) = 0.85
- V(R=5) = 1.02
- V(R=6) = 1.18
Using np.polyfit([4, 5, 6], [0.85, 1.02, 1.18], 1), you get a slope (string tension ) of approximately 0.165.
Now, suppose you also fit to the Cornell potential model, , and get the parameters , , and . What would be the predicted potential value at ? How does the contribution from the linear term () compare to the Coulomb term () at this distance?
Show answer
Using the Cornell potential fit parameters:
The predicted potential at is 0.495.
At this distance:
- The contribution from the linear term is .
- The contribution from the Coulomb term is .
This shows that even at a relatively short distance of , the linear confining part of the potential is already significantly larger in magnitude than the short-range Coulomb part, highlighting the dominance of confinement.
Conclusion
Congratulations! You have now walked through the entire process of performing a key non-perturbative calculation in quantum field theory. By starting with the raw output of a lattice simulation, you have seen how to extract a fundamental physical parameter—the string tension—that governs quark confinement.
Key Takeaways:
- The numerical analysis of Wilson loops follows a clear, multi-step process: data ingestion, calculating the effective potential, identifying plateaus to find , and finally fitting to extract the string tension .
- Plotting the data at each intermediate step ( vs. , and vs. ) is essential for verifying that the data behaves as theoretically expected and for making sound judgments about, for example, the location of the plateau.
- The final fit of the vs. curve allows for a quantitative, first-principles determination of the parameters of the quark-antiquark potential, most notably the string tension .
Preview of the Next Lesson:
Having completed our deep dive into computational QFT and the non-perturbative phenomenon of confinement, we will now change gears significantly. We will return to the world of perturbative QFT and Quantum Electrodynamics (QED). Our next module begins with the essential, and often challenging, topic of Radiative Corrections and Renormalization. In the next lesson, you will learn to identify the ultraviolet (UV) divergences in one-loop QED diagrams, such as the electron self-energy and vacuum polarization. This will set the stage for learning the powerful techniques used to tame these infinities and make precision predictions.