The Ising ring Hamiltonian in the computational basis #
IsingLongitudinal.model g h is built from RPRing.bondOp and RPRing.siteOp. This file
computes its action on a vector,
(H x)(σ) = E(σ) x(σ) - g ∑ⱼ x(flipₖ σ), E(σ) = -∑ⱼ zⱼ zⱼ₊₁ - h ∑ⱼ zⱼ,
with zⱼ = ±1 for σ j = 0, 1 (hamiltonian_mulVec_apply), and the comparison of its quadratic
form with the classical energies, Re ⟪x, H x⟫ ≥ ∑_σ (E(σ) - g L) |x(σ)|² for g ≥ 0
(re_quadratic_ge). The entries of one-site and diagonal two-site operators come from
Ring/Hamiltonian.lean (siteOp_mulVec_apply, bondOp_diag_apply), the quadratic form and
Cauchy–Schwarz from Spectral/ (Spectral.qform, Spectral.re_dotProduct_sq_le).
The eigenvalue ±1 of Z on the basis state a.
Instances For
The classical energy E(σ) = -∑ⱼ zⱼ zⱼ₊₁ - h ∑ⱼ zⱼ of a configuration.
Equations
- SeedKernel.Ising.diagE h σ = -∑ j : Fin L, SeedKernel.Ising.zR (σ j) * SeedKernel.Ising.zR (σ ((finRotate L) j)) - h * ∑ j : Fin L, SeedKernel.Ising.zR (σ j)
Instances For
The configuration with spin j flipped.
Equations
- SeedKernel.Ising.flipAt j σ = Function.update σ j (σ j).rev
Instances For
Flipping a spin as a permutation of the configurations.
Equations
Instances For
The Ising Hamiltonian #
The Hamiltonian on a vector. (H x)(σ) = E(σ) x(σ) - g ∑ⱼ x(flipⱼ σ).
Comparison with the classical energies. For g ≥ 0,
Re ⟪x, H x⟫ ≥ ∑_σ (E(σ) - g L) |x(σ)|².