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.
Fix the theory and the approximation
Section titled “Fix the theory and the approximation”We use four-dimensional Yang–Mills in its conformal vacuum. The parent has sixteen real Lorentzian Poincaré supercharges, with four manifest in an description; the gauge rank is . 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 fixed, take with weak fixed, and retain planar one-loop mixing. With ordinary , the canonical complex scalars are
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 fields, with fields , and accepts . Its numbers give anomalous dimensions within the planar approximation. They are dimensionless, not particle energies. Increasing does not implement finite- interactions.
The leading double-line contraction agrees with the corresponding bookkeeping term. The chosen theory remains ; a physical theory would additionally contain a free central multiplet.
From a trace to a computational basis
Section titled “From a trace to a computational basis”Represent by zero and by one. Generate the binary words with exactly two ones. For each word, take the lexicographically smallest of its rotations as the class representative. This removes cyclic duplicates; it does not identify a word with its reversal.
Let be the number of distinct rotations of representative , and its stabilizer: the number of shifts that return the original word. The raw trace has leading free norm . More precisely, at separation ,
The common factor will be removed in the output. The conjugate trace reverses matrix order. Counting its allowed cyclic planar contractions gives , as in Minahan (5.8)–(5.9); his canonical matrix fields are times ours. Equivalently, a raw trace maps to 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 bonds, including the last-to-first bond, and collect the swapped words into cyclic classes. Our matrix convention is
Thus eigenoperator coefficients use the transpose. Their norm is ; our displayed eigenvectors can be chosen real. The ordinary symmetric matrix is , not itself.
| Mathematics | Program name |
|---|---|
| Minimal rotation of a binary word | representative(word) |
| Distinct rotations, | rotations(word), sizes |
| Operator-column matrix, | H |
| Free planar Gram matrix, | gram |
| Coefficient eigenproblem | H.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]] -= 1If 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 , there are cycles of length . An invariant two- word exists only when divides two, in which case there are choices. Averaging this fixed-word count over the rotations counts the cyclic classes, because every orbit contributes exactly pairs of a word and a shift fixing it.
Reproduce the length-four result
Section titled “Reproduce the length-four result”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.txtpython spin_chain.pypython spin_chain.py --length 6python spin_chain.py --wrong-gramThe 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 , the representatives are and . The output contains
Only two bonds of change its class; all four bonds of do. The characteristic polynomial is , and the coefficient eigenvectors are
Their cross norm is zero. Hence the second operator has at planar one loop.
Why call the first one protected? Its coefficients count the words in the term of . At length four that term is . 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, 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 ; it is a mathematical diagnostic, not real or Euclidean time in Yang–Mills theory.
Count the directed events from every word in orbit to orbit . For , call this count . Reversing the swap proves . The matrix with off-diagonal entries and diagonal entries is a symmetric graph Laplacian . Independent counting should give
Here 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 , while the protected operator coefficients are proportional to . 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 . All such cofactors equal for this connected graph. With classes, the coefficient of in is : choose one diagonal mass and the complementary minor of . After dividing by and comparing with , one obtains
At length four, , so and the product is . At length six, the independently counted conductances along the three-class path are ; thus and the product is . 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 is its single-event transition matrix, the evolution is
Starting uniformly on one orbit and summing final probabilities by orbit should reproduce the corresponding row of . The code compares these constructions at . If terms through are retained and , the omitted probability is bounded by
Every entry’s truncation error is at most this tail. At the default 50-digit precision, the length-four comparison differs by about , with a separate Poisson tail below . The acceptance tolerance is . 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.
Deliberately discard the metric
Section titled “Deliberately discard the metric”The --wrong-gram mode replaces by the identity only in the diagnostic. It does not modify , so its eigenvalues remain . Instead it finds
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.
Change an input and interpret the result
Section titled “Change an input and interpret the result”1. Six sites, still two impurities
Section titled “1. Six sites, still two impurities”Run python spin_chain.py --length 6. For the ordered basis
,
and
, 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 and . Directly collecting all six bond swaps gives
Thus is the protected coefficient combination, with norm . The nonzero values are , so
For either nonzero , one coefficient vector is ; substitution into checks all three rows. Its Gram inner product with vanishes using . The eigenvalue sum is , and their product is , independently given by . 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 and . 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 and , and cross norm . The true values are . In the orthonormal basis ,
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 , so are traceless complex matrices. Use Cayley–Hamilton to express as a double trace. Does the existence of the finite two-by-two matrix (LAB08.4) justify treating its eigenvalues as exact finite- anomalous dimensions?
Hint 1
For a traceless matrix, its characteristic polynomial has no linear term. Relate its determinant to .
Hint 2
The laboratory retained single traces at leading color order. The identity relates that space to products of traces.
Solution
Cayley–Hamilton gives , including for complex non-Hermitian . Consequently
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- spectrum. Some protected combinations retain exact dimensions for independent supersymmetric reasons, but a nonzero planar eigenvalue cannot be upgraded by inserting into . 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.