xx_incoherent_threshold
For an open XX spin chain of length n at inverse temperature beta > 0, xx_incoherent_threshold n beta is the infimum of couplings g > 0 such that the incoherent ergotropy of the dephased thermal state Delta(rho_n(beta, g)) with respect to the bare Hamiltonian H_0 = sum_i Z_i is strictly positive, where Delta projects onto the computational Z-basis diagonal.
Statement
noncomputable def xx_incoherent_threshold (n : ℕ) (β : ℝ) : ℝ
- Defined in
- arXiv:2611.05010, Yang et al., "Ergotropy Activation and Coherence in Dissipatively Charged Quantum Batteries", Section VI
- Verified
- 18 Nov 2026
- Axioms
- none listed
- Built on 1
- xx_interaction_hamiltonianThe interaction Hamiltonian V of an open XX spin chain of length n is the sum of nearest-neighbor flip-flop exchange terms, acting on…
Read back from the Lean
Given a natural number n and a real number β, xx_incoherent_threshold n β defines a real number, namely the infimum (sInf) of the set of all coupling constants g : ℝ such that:
1. 0 < g, and
2. 0 < W (dephase (rho g)),
where the components of this expression are defined as follows:
- The matrices are of size 2ⁿ × 2ⁿ with rows and columns indexed by bitstrings s : Fin n → Bool, equipped with the ℓ^∞ operator norm (Matrix.linftyOpNormedRing).
- H₀ is the diagonal matrix whose diagonal entry at s is ∑_{i : Fin n} (if s i then 1 else -1) ∈ ℂ.
- dephase M is the diagonal matrix formed by the diagonal entries of M (i.e., (dephase M)_{s,s} = M_{s,s} and off-diagonal entries are 0).
- For any matrix σ, W(σ) is the real number:
Re(Tr(H₀ * σ)) - sInf { Re(Tr(H₀ * U * σ * U*)) | U ∈ Matrix.unitaryGroup (Fin n → Bool) ℂ }.
- The interaction Hamiltonian xx_interaction_hamiltonian n has (s, s') entry equal to 1 if there exists i : ℕ with i + 1 < n such that s(i) ≠ s(i+1), s'(i) = s(i+1), s'(i+1) = s(i), and s'(j) = s(j) for all j ≠ i, i+1; and 0 otherwise.
- For any coupling g : ℝ, the Hamiltonian is H = H₀ + (g : ℂ) • (xx_interaction_hamiltonian n).
- The state rho(g) is the Gibbs state at inverse temperature β:
rho(g) = (Tr(exp(-β • H)))⁻¹ • exp(-β • H),
where exp is the matrix exponential (NormedSpace.exp).
Written by a model that saw only the Lean, never the English above. If the two disagree, that is worth a challenge.
Lean source view module on GitHub
/-- Incoherent ergotropy activation threshold c_inc(n, beta) for an open XX spin chain of length n at inverse temperature beta. -/ noncomputable def xx_incoherent_threshold (n : ℕ) (β : ℝ) : ℝ := letI : NormedRing (Matrix (Fin n → Bool) (Fin n → Bool) ℂ) := Matrix.linftyOpNormedRing let H0 : Matrix (Fin n → Bool) (Fin n → Bool) ℂ := Matrix.diagonal fun s => (∑ i : Fin n, if s i then (1 : ℂ) else (-1 : ℂ)) let dephase (M : Matrix (Fin n → Bool) (Fin n → Bool) ℂ) : Matrix (Fin n → Bool) (Fin n → Bool) ℂ := Matrix.diagonal fun s => M s s let W (σ : Matrix (Fin n → Bool) (Fin n → Bool) ℂ) : ℝ := (Matrix.trace (H0 * σ)).re - sInf { (Matrix.trace (H0 * (U * σ * star U))).re | (U : Matrix (Fin n → Bool) (Fin n → Bool) ℂ) (_ : U ∈ Matrix.unitaryGroup (Fin n → Bool) ℂ) } let rho (g : ℝ) : Matrix (Fin n → Bool) (Fin n → Bool) ℂ := let H : Matrix (Fin n → Bool) (Fin n → Bool) ℂ := H0 + (g : ℂ) • xx_interaction_hamiltonian n let expH := NormedSpace.exp ((-β : ℂ) • H) (Matrix.trace expH)⁻¹ • expH sInf { g : ℝ | 0 < g ∧ 0 < W (dephase (rho g)) }