closed_network_correlator_J
Given n, d, m : ℕ, end-node observables B : Fin n → Fin 2 → Matrix (Fin d) (Fin d) ℂ, central observable F1 : Matrix (Fin m) (Fin m) ℂ, and state ρ : Matrix ((Fin n → Fin d) × Fin m) ((Fin n → Fin d) × Fin m) ℂ, closed_network_correlator_J n d m B F1 ρ is (1 / 2 : ℝ) ^ n * ∑ y : Fin n → Fin 2, ((-1 : ℝ) ^ (∑ i : Fin n, (y i).val)) * (((tensor_prod_end_nodes n d (fun i => B i (y i))).kronecker F1 * ρ).trace).re.
Statement
noncomputable def closed_network_correlator_J (n d m : ℕ) (B : Fin n → Fin 2 → Matrix (Fin d) (Fin d) ℂ) (F1 : Matrix (Fin m) (Fin m) ℂ) (ρ : Matrix ((Fin n → Fin d) × Fin m) ((Fin n → Fin d) × Fin m) ℂ) : ℝ
- Defined in
- arXiv:2610.35838 Eq. 8
- Verified
- 17 Nov 2026
- Axioms
- none listed
- Built on 1
- tensor_prod_end_nodesGiven a family of d × d complex matrices A : Fin n → Matrix (Fin d) (Fin d) ℂ, their tensor product on (ℂ^d)^⊗n is the matrix indexed by…
Read back from the Lean
Given natural numbers n, d, and m, a family of matrices B indexed by i ∈ Fin n and y_i ∈ Fin 2 with entries in ℂ of size d × d, a matrix F1 of size m × m over ℂ, and a density/square matrix ρ with row and column indices in ((Fin n → Fin d) × Fin m) over ℂ, closed_network_correlator_J n d m B F1 ρ is the real number defined by:
(1/2)^n * ∑_{y : Fin n → Fin 2} (-1)^(∑_{i : Fin n} y(i)) * Re(Tr(((tensor_prod_end_nodes n d (fun i => B i (y i))).kronecker F1 * ρ)))
where tensor_prod_end_nodes n d (fun i => B i (y i)) is the (d^n × d^n) matrix representing the tensor product ⨂_{i=0}^{n-1} B(i, y(i)), whose (u, v) entry is ∏_{i : Fin n} B i (y i) (u i) (v i).
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
/-- The closed network correlator J with parity signs for n tripartite sources. -/ noncomputable def closed_network_correlator_J (n d m : ℕ) (B : Fin n → Fin 2 → Matrix (Fin d) (Fin d) ℂ) (F1 : Matrix (Fin m) (Fin m) ℂ) (ρ : Matrix ((Fin n → Fin d) × Fin m) ((Fin n → Fin d) × Fin m) ℂ) : ℝ := (1 / 2 : ℝ) ^ n * ∑ y : Fin n → Fin 2, ((-1 : ℝ) ^ (∑ i : Fin n, (y i).val)) * (((tensor_prod_end_nodes n d (fun i => B i (y i))).kronecker F1 * ρ).trace).re