Introduce one definite error process
A gauge-preserving Hamiltonian cannot take a physical initial state outside its Gauss sector. Raising forbidden-state energies therefore changes nothing in that ideal evolution. Testing energy protection requires a term that can actually reach those states.
We add bare matter hopping of strength : a particle moves without updating its link flux. One such hop creates opposite residuals on neighboring sites. This defines the error being tested and makes its strength an explicit parameter.
Reading: David Tong · Sandbox Physics FR04 finite Hamiltonian · Sandbox Physics FR04 original numerical references and reproduction scripts
Assign an energy to each local violation
Keep the larger product space of half-filled matter and truncated links. Add the error and to the gauge-preserving Hamiltonian. A pair of unit residuals contributes two to the sum and therefore costs in penalty energy.
A large energy separation usually suppresses error transitions. Their amplitude still depends on the original configuration energies, couplings and observation time. Different contributions can also compensate and approach resonance. Plotting leakage as a function of time and penalty tests the actual finite system.
Specify the projected reference Hamiltonian
Let project onto configurations with every Gauss residual zero. Hard selection evolves with . A single bare hop ends outside the physical space, so its first-order matrix element is removed in this example.
With a finite penalty, a state can briefly visit a high-energy violating configuration and return. These virtual processes can alter evolution inside the physical subspace. Small leakage therefore need not make a field curve identical to the hard-projection result.
Use the same initial physical configuration, electric range and couplings in both calculations. Hard projection is the ideal reference; the penalty calculation includes the specified error. Their basis dimensions can differ, but each observable must have the same definition.
Two diagnostics answer different questions
Leakage is the total probability outside the physical subspace. The mean squared Gauss residual additionally weights each violating configuration by the size of its residuals. They measure related but different properties.
Now compare a physical observable, such as the middle-link field, with its hard-projection reference. Its difference measures the error in the prediction you wanted. Retain norm and total-energy checks for the full Hamiltonian while scanning the penalty, so a numerical problem cannot masquerade as physical leakage.
Estimate one isolated leakage channel
Suppose one physical state couples to one violating state with strength and total detuning approximately . The two-state result gives maximum leakage . For a large penalty, it decreases as the squared ratio of error strength to penalty.
This isolated-channel estimate explains a trend. The finite chain contains many channels and detunings, which the workbench calculates together. Comparing the estimate with those curves tests when the simple picture is useful.