Exact arithmetic checks for two fixed-point trial vectors of the longitudinal Ising chain. This module imports no spectral axioms. A successful check is an arithmetic theorem only; the spectral enclosure theorem and RPRing Hamiltonian identification are separate obligations.
Equations
- SeedKernel.Ising.entry v s = Int.ofNat (v >>> (56 * s) % 2 ^ 56) - SeedKernel.Ising.bias
Instances For
Equations
- SeedKernel.Ising.diagonal n s = List.foldl (fun (a : Int) (j : Nat) => a - 20 * SeedKernel.Ising.z s j * SeedKernel.Ising.z s ((j + 1) % n) - SeedKernel.Ising.z s j) 0 (List.range n)
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- SeedKernel.Ising.dot n u v = List.foldl (fun (a : Int) (s : Nat) => a + SeedKernel.Ising.entry u s * SeedKernel.Ising.entry v s) 0 (List.range (2 ^ n))
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Number of diagonal entries strictly below a proposed classical cutoff.
Equations
- SeedKernel.Ising.classicalCount n cut = List.foldl (fun (a s : Nat) => if SeedKernel.Ising.diagonal n s < cut then a + 1 else a) 0 (List.range (2 ^ n))