Skip to content

A short N=4 spin chain

Before this lesson: A first cyclic spin chain.

Can a matrix have the right eigenvalues and still give the wrong operator norms? Yes: cyclic traces with different repetition patterns have different free two-point functions. This laboratory makes that distinction executable. Starting from the cyclic spin-chain lesson, you will construct a short basis, find its scaling operators, and deliberately discard the norm factors to see which checks fail.

We use four-dimensional N=4\mathcal N=4 SU(N)SU(N) Yang–Mills in its conformal vacuum. The parent has sixteen real Lorentzian Poincaré supercharges, with four manifest in an N=1\mathcal N=1 description; the gauge rank is N−1N-1. No curved background or localization charge is introduced. The two auxiliary spin values label scalar flavor, not spacetime spin or a two-dimensional gauge representation.

Keep LL fixed, take N→∞N\to\infty with weak λ=gYM2N\lambda=g_{\rm YM}^2N fixed, and retain planar one-loop mixing. With ordinary Tr⁡(tatb)=δab/2\operatorname{Tr}(t^at^b)=\delta^{ab}/2, the canonical complex scalars are

Z=X1+iX22,W=X3+iX42,Γ=λ8π2H+O(λ2),H=∑j=1L(1−Pj,j+1),L+1≡1.(LAB08.1)\begin{aligned} Z&=\frac{X^1+iX^2}{\sqrt2},\qquad W=\frac{X^3+iX^4}{\sqrt2},\\ \Gamma&=\frac{\lambda}{8\pi^2}\mathsf H+O(\lambda^2),\qquad \mathsf H=\sum_{j=1}^{L}(1-P_{j,j+1}),\quad L+1\equiv1. \end{aligned} \tag{LAB08.1}

PP exchanges neighboring letters. The coefficient is imported from the actual one-loop calculation, not inferred by diagonalizing a toy chain: MZ (2.9)–(2.13) reduces to Minahan (8.1) in this holomorphic sector. The prerequisite explains that reduction.

The program fixes two WW fields, with L−2L-2 fields ZZ, and accepts 4≤L≤74\leq L\leq7. Its numbers EE give anomalous dimensions γ=λE/(8π2)+O(λ2)\gamma=\lambda E/(8\pi^2)+O(\lambda^2) within the planar approximation. They are dimensionless, not particle energies. Increasing LL does not implement finite-NN interactions.

The leading double-line contraction agrees with the corresponding U(N)U(N) bookkeeping term. The chosen theory remains SU(N)SU(N); a physical U(N)U(N) theory would additionally contain a free central U(1)U(1) multiplet.

Represent ZZ by zero and WW by one. Generate the (L2)\binom L2 binary words with exactly two ones. For each word, take the lexicographically smallest of its LL rotations as the class representative. This removes cyclic duplicates; it does not identify a word with its reversal.

Let did_i be the number of distinct rotations of representative ii, and si=L/dis_i=L/d_i its stabilizer: the number of shifts that return the original word. The raw trace Oi\mathcal O_i has leading free norm sis_i. More precisely, at separation rx>0r_x>0,

⟨Oi(x)Oj†(0)⟩0=(N8π2rx2)LGij+subleading color terms,Gij=siδij.(LAB08.2)\langle\mathcal O_i(x)\mathcal O_j^\dagger(0)\rangle_0 =\left(\frac{N}{8\pi^2r_x^2}\right)^L G_{ij} +\text{subleading color terms},\qquad G_{ij}=s_i\delta_{ij}. \tag{LAB08.2}

The common factor will be removed in the output. The conjugate trace reverses matrix order. Counting its allowed cyclic planar contractions gives sis_i, as in Minahan (5.8)–(5.9); his canonical matrix fields are 2\sqrt2 times ours. Equivalently, a raw trace maps to si\sqrt{s_i} times a normalized orbit state. This explains why counting each orbit once does not make the trace basis orthonormal.

Act on every representative with all LL bonds, including the last-to-first bond, and collect the swapped words into cyclic classes. Our matrix convention is

HO=HO,Oc=cTO,HTc=Ec,HG=GHT.(LAB08.3)\mathsf H\boldsymbol{\mathcal O}=H\boldsymbol{\mathcal O},\qquad \mathcal O_c=c^T\boldsymbol{\mathcal O},\qquad H^Tc=Ec,\qquad HG=GH^T. \tag{LAB08.3}

Thus eigenoperator coefficients use the transpose. Their norm is c†Gcc^\dagger Gc; our displayed eigenvectors can be chosen real. The ordinary symmetric matrix is G−1/2HG1/2G^{-1/2}HG^{1/2}, not HH itself.

MathematicsProgram name
Minimal rotation of a binary wordrepresentative(word)
Distinct rotations, did_irotations(word), sizes
Operator-column matrix, HHH
Free planar Gram matrix, GGgram
Coefficient eigenproblemH.T.eigenvects()

The central construction is short. Here index maps representatives to their positions:

for i, word in enumerate(basis):
for j in range(length):
H[i, i] += 1
changed = representative(swap(word, j))
H[i, index[changed]] -= 1

If a swap stays in the same cyclic class, its two terms cancel. The complete downloadable program also checks the basis size without enumerating classes twice: for a rotation by rr, there are g=gcd⁡(L,r)g=\gcd(L,r) cycles of length L/gL/g. An invariant two-WW word exists only when L/gL/g divides two, in which case there are (g2g/L)\binom{g}{2g/L} choices. Averaging this fixed-word count over the LL rotations counts the cyclic classes, because every orbit contributes exactly LL pairs of a word and a shift fixing it.

Download these three files into one directory:

Download the complete lab (ZIP) with the program, pinned dependencies, reference output and run instructions.

The tested environment is Python 3.13.7, SymPy 1.13.3 and mpmath 1.3.0. In a virtual environment, run:

python -m pip install -r requirements.txt
python spin_chain.py
python spin_chain.py --length 6
python spin_chain.py --wrong-gram

The default calculation uses exact integer and algebraic arithmetic for the cyclic matrix and eigenproblem. Decimal arithmetic is used only in the independent evolution check described below. No network access or repository files are needed once the dependencies and three downloads are present.

For L=4L=4, the representatives are A=Tr⁡(ZZWW)A=\operatorname{Tr}(ZZWW) and B=Tr⁡(ZWZW)B=\operatorname{Tr}(ZWZW). The output contains

(dA,dB)=(4,2),G=(1002),H=(2−2−44).(LAB08.4)(d_A,d_B)=(4,2),\qquad G=\begin{pmatrix}1&0\\0&2\end{pmatrix},\qquad H=\begin{pmatrix}2&-2\\-4&4\end{pmatrix}. \tag{LAB08.4}

Only two bonds of AA change its class; all four bonds of BB do. The characteristic polynomial is E(E−6)E(E-6), and the coefficient eigenvectors are

operatorEfree norm after removing the common factor2A+B06A−B63(LAB08.5)\begin{array}{c|c|c} \text{operator}&E&\text{free norm after removing the common factor}\\\hline 2A+B&0&6\\ A-B&6&3 \end{array} \tag{LAB08.5}

Their cross norm is zero. Hence the second operator has Δ=4+3λ/(4π2)+O(λ2)\Delta=4+3\lambda/(4\pi^2)+O(\lambda^2) at planar one loop.

Why call the first one protected? Its coefficients count the words in the αL−2β2\alpha^{L-2}\beta^2 term of Tr⁡(αZ+βW)L\operatorname{Tr}(\alpha Z+\beta W)^L. At length four that term is 4A+2B4A+2B. The null complex scalar polarization identifies the symmetric traceless half-BPS family, whose protection uses supersymmetry; see MZ (3.1) and the prerequisite. A zero eigenvalue alone would not prove all-order protection of an arbitrary operator. In contrast, Tr⁡[Z,W]2=−2(A−B)\operatorname{Tr}[Z,W]^2=-2(A-B) is holomorphic but has a nonzero one-loop shift.

Check the answer without diagonalizing again

Section titled “Check the answer without diagonalizing again”

A second construction starts with every labeled binary word, before taking cyclic classes. At unit rate for each bond, swap its two letters. Equal letters simply leave the word unchanged. This defines an auxiliary random walk with total event rate LL; it is a mathematical diagnostic, not real or Euclidean time in Yang–Mills theory.

Count the directed events from every word in orbit ii to orbit jj. For i≠ji\ne j, call this count wijw_{ij}. Reversing the swap proves wij=wjiw_{ij}=w_{ji}. The matrix with off-diagonal entries −wij-w_{ij} and diagonal entries ∑j≠iwij\sum_{j\ne i}w_{ij} is a symmetric graph Laplacian BB. Independent counting should give

D=diag⁡(di),B=DH,fTBf=∑i<jwij(fi−fj)2≥0.(LAB08.6)D=\operatorname{diag}(d_i),\qquad B=DH,\qquad f^TBf=\sum_{i<j}w_{ij}(f_i-f_j)^2\geq0. \tag{LAB08.6}

Here fif_i is any real test value assigned to a class. This confirms positivity and the correct orbit weights with a different data path from the representative action. The stationary probabilities are di/(L2)d_i/\binom L2, while the protected operator coefficients are proportional to did_i. Neither is generally a uniform list over classes.

There is also an exact spectral check using only a cofactor, the determinant left after deleting one row and the same column from BB. All such cofactors equal τ\tau for this connected graph. With nn classes, the coefficient of EE in det⁡(ED−B)\det(ED-B) is (−1)n−1τ∑idi(-1)^{n-1}\tau\sum_i d_i: choose one diagonal mass and the complementary minor of −B-B. After dividing by det⁡D\det D and comparing with det⁡(EI−H)\det(EI-H), one obtains

∏Ea≠0Ea=(∑idi)τ∏idi.(LAB08.7)\prod_{E_a\ne0}E_a=\frac{(\sum_i d_i)\tau}{\prod_i d_i}. \tag{LAB08.7}

At length four, B=(8−8−88)B=\left(\begin{smallmatrix}8&-8\\-8&8\end{smallmatrix}\right), so τ=8\tau=8 and the product is 66. At length six, the independently counted conductances along the three-class path are 12,1212,12; thus τ=144\tau=144 and the product is 2020. The full spectrum must also have the computed trace: these tests can catch a wrong eigenvalue without a second eigensolver.

Finally, sum the actual labeled-word walk over a Poisson-distributed number of swaps. If PP is its single-event transition matrix, the evolution is

e−Lt∑n=0∞(Lt)nn!Pn.(LAB08.8)e^{-Lt}\sum_{n=0}^{\infty}\frac{(Lt)^n}{n!}P^n. \tag{LAB08.8}

Starting uniformly on one orbit and summing final probabilities by orbit should reproduce the corresponding row of e−tHe^{-tH}. The code compares these constructions at t=0.4t=0.4. If terms through n=Mn=M are retained and M+2>LtM+2>Lt, the omitted probability is bounded by

e−Lt(Lt)M+1(M+1)!11−Lt/(M+2).(LAB08.9)\frac{e^{-Lt}(Lt)^{M+1}}{(M+1)!} \frac1{1-Lt/(M+2)}. \tag{LAB08.9}

Every entry’s truncation error is at most this tail. At the default 50-digit precision, the length-four comparison differs by about 1.34×10−511.34\times10^{-51}, with a separate Poisson tail below 3.46×10−573.46\times10^{-57}. The acceptance tolerance is 10−4010^{-40}. The tail inequality does not bound floating-point roundoff; raising --dps repeats that numerical check. None of these computational errors estimates omitted higher-loop or finite-color effects.

The --wrong-gram mode replaces GG by the identity only in the diagnostic. It does not modify HH, so its eigenvalues remain 0,60,6. Instead it finds

H−HT=(02−20)≠0,(2,1)(1−1)=1.(LAB08.10)H-H^T=\begin{pmatrix}0&2\\-2&0\end{pmatrix}\ne0, \qquad (2,1)\begin{pmatrix}1\\-1\end{pmatrix}=1. \tag{LAB08.10}

Hermiticity and distinct-eigenvalue orthogonality fail with that false norm. The output says intentional_error_detected: true; successful exit means the program detected the deliberate error. The ordinary checks still use the correct underlying matrix and Gram data. Use this mode at lengths four or six: at odd lengths in the supplied range all stabilizers are one, so replacing the Gram matrix by the identity does not introduce this particular error, and the program rejects an uninformative negative test.

Run python spin_chain.py --length 6. For the ordered basis A6=Tr⁡(ZZZZWW)A_6=\operatorname{Tr}(ZZZZWW), B6=Tr⁡(ZZZWZW)B_6=\operatorname{Tr}(ZZZWZW) and C6=Tr⁡(ZZWZZW)C_6=\operatorname{Tr}(ZZWZZW), determine the stabilizers, protected combination and both nonzero anomalous dimensions. Check the eigenvalue sum and product independently.

Hint 1

The first two words have six distinct rotations. The last repeats a block of length three.

Hint 2

Use the coefficient transpose, and compare the constant term of the nonzero quadratic factor with (LAB08.7).

Solution

The orbit sizes are (6,6,3)(6,6,3) and G=diag⁡(1,1,2)G=\operatorname{diag}(1,1,2). Directly collecting all six bond swaps gives

H6=(2−20−24−20−44),det⁡(EI−H6)=E(E2−10E+20).H_6=\begin{pmatrix}2&-2&0\\-2&4&-2\\0&-4&4\end{pmatrix}, \qquad\det(EI-H_6)=E(E^2-10E+20).

Thus 2A6+2B6+C62A_6+2B_6+C_6 is the protected coefficient combination, with norm 4+4+2=104+4+2=10. The nonzero values are E±=5±5E_\pm=5\pm\sqrt5, so

Δ±=6+λ8π2(5±5)+O(λ2)at planar order.\Delta_\pm=6+\frac{\lambda}{8\pi^2}(5\pm\sqrt5)+O(\lambda^2) \quad\text{at planar order}.

For either nonzero EE, one coefficient vector is c=(1,(2−E)/2,(E−2)/(E−4))Tc=(1,(2-E)/2,(E-2)/(E-4))^T; substitution into H6Tc=EcH_6^Tc=Ec checks all three rows. Its Gram inner product with (2,2,1)T(2,2,1)^T vanishes using E2−10E+20=0E^2-10E+20=0. The eigenvalue sum is 10=tr⁡H610=\operatorname{tr}H_6, and their product is 2020, independently given by 15×144/(6×6×3)15\times144/(6\times6\times3). The irrational answers are exact algebraic numbers, not numerical noise.

2. Why a passed spectrum test is insufficient

Section titled “2. Why a passed spectrum test is insufficient”

Someone reports the correct length-four eigenvalues but assigns unit norm to both AA and BB. Compute the resulting norms and cross norm of the two operators in (LAB08.5). Then repair the basis and write the symmetric mixing matrix. Which conclusion could the original eigenvalue test still support?

Hint 1

Use the same coefficient vectors before and after changing the metric. The eigenproblem itself has not changed.

Hint 2

Divide each trace representative by the square root of its actual norm.

Solution

The false metric gives norms 55 and 22, and cross norm 11. The true values are 6,3,06,3,0. In the orthonormal basis (A,B/2)T(A,B/\sqrt2)^T,

Horth=G−1/2HG1/2=(2−22−224).H_{\rm orth}=G^{-1/2}HG^{1/2} =\begin{pmatrix}2&-2\sqrt2\\-2\sqrt2&4\end{pmatrix}.

It has the same eigenvalues because this is a similarity transformation. The original spectrum check could therefore confirm the two one-loop shifts, while failing to verify normalization, orthogonality or the mapping to physical two-point functions. A finite list of eigenvalues is not a complete operator-mixing calculation.

3. A short chain is not a small gauge group

Section titled “3. A short chain is not a small gauge group”

Now choose actual gauge group SU(2)SU(2), so Z,WZ,W are traceless complex 2×22\times2 matrices. Use Cayley–Hamilton to express Tr⁡(Z2W2)\operatorname{Tr}(Z^2W^2) as a double trace. Does the existence of the finite two-by-two matrix (LAB08.4) justify treating its eigenvalues as exact finite-N=2N=2 anomalous dimensions?

Hint 1

For a traceless 2×22\times2 matrix, its characteristic polynomial has no linear term. Relate its determinant to Tr⁡(Z2)\operatorname{Tr}(Z^2).

Hint 2

The laboratory retained single traces at leading color order. The identity relates that space to products of traces.

Solution

Cayley–Hamilton gives Z2=12Tr⁡(Z2)I2Z^2=\tfrac12\operatorname{Tr}(Z^2)I_2, including for complex non-Hermitian ZZ. Consequently

Tr⁡(Z2W2)=12Tr⁡(Z2)Tr⁡(W2).\operatorname{Tr}(Z^2W^2) =\frac12\operatorname{Tr}(Z^2)\operatorname{Tr}(W^2).

The identity is exact at gauge rank one. It is not imposed by grouping rotations of four abstract letters. At finite color, single and multiple traces can be related and interact through terms absent from this planar Hamiltonian; the finite-color free Gram matrix also differs from (LAB08.2). Therefore the lab has not computed a finite-N=2N=2 spectrum. Some protected combinations retain exact dimensions for independent supersymmetric reasons, but a nonzero planar eigenvalue cannot be upgraded by inserting N=2N=2 into λ\lambda. The fixed-length limit and the physical gauge group are separate inputs.

For the next controlled step, the spectrum research dossier develops longer-word tests and an explicit finite-rank obstruction. Here the reproducible achievement is narrower: a correctly normalized cyclic basis, a protected family member, nonzero planar one-loop shifts, and checks that can expose a plausible but incomplete calculation.