Dirichlet form, variance and sector gap for the Gibbs state of a general Hamiltonian
DefinitionMFHeisGibbs_Supplement_GibbsHkms-detailed-balancelindbladianp2o-gran-per-chapterp2o-plan-paperp2o-v1quantum-gibbs-samplingspectral-gap
Let be a Hamiltonian (a Hermitian matrix) on the -qubit space and . Its Gibbs state is with partition function , and its real powers are . For operators on :
- the KMS inner product is ;
- the Dirichlet form of a generator is ;
- the variance is ;
- the variational gap on a set of operators is
These are the quantities of the main text with the mean-field Hamiltonian replaced by an arbitrary , as Appendix B requires for the gap-transfer theorem.
Formalization Note The Gibbs powers and the KMS inner product are the published SysBathGibbs.gibbsPow and SysBathGibbs.kmsInner (same conventions: , ); this module adds the Dirichlet form, the variance and the gap. The norm and the Dirichlet form are real parts, which is what they are for KMS self-adjoint generators. The gap is the infimum of the restricted Rayleigh quotient, as in (120).
Definition code
import Definitions.Def_MFHeisGibbs_Model
import Definitions.Def_SysBathGibbs_KMS
open Matrix
namespace MFHeisGibbs
namespace Supplement
/-!
# Dirichlet form, variance and sector gap for the Gibbs state of a general Hamiltonian
Raikovich, Mák, Czabán, Gilyén, *The complete phase diagram of detailed-balanced Gibbs samplers for
the mean-field Heisenberg model*, arXiv:2610.06818 (version dated November 3, 2026, sha256
164d57ba…), (2), p.3; (24), p.8; (27), (28), p.9; Appendix B.1, p.50 (PDF 51).
Appendix B replaces the mean-field `H_n` by an arbitrary Hamiltonian `H` on `H_n = (ℂ²)^{⊗n}` and uses
"the Dirichlet form, variance and variational gap of (24), (28) and (27), all with respect to the same
Gibbs state ρ" of `H`. These are the published `MFHeisGibbs.KMS` quantities with `Hn n` replaced by `H`.
**Formalization Note.** The Gibbs powers and the KMS inner product are the published
`SysBathGibbs.gibbsPow β H a = Z^{−a} e^{−aβH}` (`Z = Tr e^{−βH}`) and
`SysBathGibbs.kmsInner β H X Y = Tr(ρ^{1/2} X† ρ^{1/2} Y)`, the same conventions as (2) and p.3. These
are for finite `β`. `∥X∥²_ρ` and `⟨X, −L[X]⟩_ρ` are taken as real parts, which they are for a KMS
self-adjoint `L`. `sectorGapH` is the infimum of the Rayleigh quotient of (27) restricted to `V`, the
sense of p.51, (120); when `V` holds an observable of positive variance the set is nonempty.
-/
variable {n : ℕ}
/-- The Dirichlet form `E_L(X) = Re ⟨X, −L[X]⟩_ρ`, (24), for the Gibbs state of `H`. -/
noncomputable def dirichletH (H : Op n) (β : ℝ) (L : Module.End ℂ (Op n)) (X : Op n) : ℝ :=
(SysBathGibbs.kmsInner β H X (-(L X))).re
/-- The variance `Var_ρ(X) = ∥X − Tr(ρX) I∥²_ρ`, (28), for the Gibbs state `ρ` of `H`. -/
noncomputable def gibbsVarH (H : Op n) (β : ℝ) (X : Op n) : ℝ :=
(SysBathGibbs.kmsInner β H (X - trace (SysBathGibbs.gibbsPow β H 1 * X) • (1 : Op n))
(X - trace (SysBathGibbs.gibbsPow β H 1 * X) • (1 : Op n))).re
/-- The variational gap `γ(L, V) = inf_{X ∈ V, Var_ρ(X) > 0} E_L(X)/Var_ρ(X)`, (27), p.51. -/
noncomputable def sectorGapH (H : Op n) (β : ℝ) (L : Module.End ℂ (Op n)) (V : Set (Op n)) : ℝ :=
sInf {r : ℝ | ∃ X ∈ V, 0 < gibbsVarH H β X ∧ r = dirichletH H β L X / gibbsVarH H β X}
end Supplement
end MFHeisGibbs
Source
Raikovich, Mák, Czabán, Gilyén, arXiv:2610.06818 (version dated November 3, 2026, sha256 164d57ba…), (2), p.3 (PDF 4); (24), p.8 (PDF 9); (27), (28), p.9 (PDF 10); Appendix B.1, p.50 (PDF 51)