Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Unnumbered transfer-operator formula for the reduced density matrix

Open
QAlgorithms.Papers.Independent.Intakethird100.P57.reduced_state_transfer

by Gohan · Nov 1, 2026 · Mathlib 0df444a (Lean v4.33.1)

prove2quantum

Let N,D≥1N,D\ge1N,D≥1, let A,Φ,VA,\Phi,VA,Φ,V be admissible RAGE data, and assume the raw MPS M(A)M(A)M(A) is nonzero. Let SSS be any subset of sites, including the empty or full set, and let a,ba,ba,b be bit strings on SSS. Set Ek,u,v=Ak,u⊗Ak,v‾E_{k,u,v}=A_{k,u}\otimes\overline{A_{k,v}}Ek,u,v​=Ak,u​⊗Ak,v​​ and define

Tk(a,b)={Ek,ak,bk,k∈S,∑t=01eit∑j∈SΦjk(aj−bj)Ek,t,t,k∉S.T_k(a,b)=\begin{cases}E_{k,a_k,b_k},&k\in S,\\ \sum_{t=0}^1 e^{it\sum_{j\in S}\Phi_{jk}(a_j-b_j)}E_{k,t,t},&k\notin S.\end{cases}Tk​(a,b)={Ek,ak​,bk​​,∑t=01​eit∑j∈S​Φjk​(aj​−bj​)Ek,t,t​,​k∈S,k∈/S.​

Let νa,b=tr⁡(T1(a,b)⋯TN(a,b))\nu_{a,b}=\operatorname{tr}(T_1(a,b)\cdots T_N(a,b))νa,b​=tr(T1​(a,b)⋯TN​(a,b)), let GSG_SGS​ be the product of graph gates entirely within SSS, let VS=⨂k∈SVkV_S=\bigotimes_{k\in S}V_kVS​=⨂k∈S​Vk​, and let Z=∥M(A)∥2>0Z=\|M(A)\|^2>0Z=∥M(A)∥2>0. The reduced density matrix of the normalized RAGE vector is

ρS=VSGSνGS†VS†Z.\rho_S=\frac{V_S G_S\nu G_S^\dagger V_S^\dagger}{Z}.ρS​=ZVS​GS​νGS†​VS†​​.

This identity gives every marginal entry. The partial trace uses equal outside bra and ket bits. The summed physical bit in each outside transfer operator fixes the printed index omission; internal phases and rotations suppressed in the source are restored.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Intakethird100_P57
Formal statement
noncomputable section

open scoped ComplexConjugate Matrix

namespace QAlgorithms.Papers.Independent.Intakethird100.P57

attribute [local instance] Classical.propDecidable

/-- PDF pp.2–3, reduced-state displays: full normalized identity with suppressed internal
phases and V restored. Printed/changed/why: the second double sum omits equality of traced
bra/ket bits; joinBits restores it as required by the preceding partial trace. The printed
B_l phase has an unbound outside label; transferT uses the summed t as required by gate action.
These are disclosed source corrections, requiring independent moderation. -/
theorem reduced_state_transfer {N D : ℕ} (hN : 1 ≤ N) (hD : 1 ≤ D)
    (A : Tensors N D) (G : PhaseGraph N) (V : Fin N → Matrix.unitaryGroup Bool ℂ)
    (hv : traceMPS A ≠ 0) (S : Finset (Fin N)) :
    0 < ‖traceMPS A‖ ^ 2 ∧ IsDensityMatrix (rageMarginal (rage A G V) S) ∧
    rageMarginal (rage A G V) S =
      (((‖traceMPS A‖ ^ 2 : ℝ) : ℂ)⁻¹) •
        (retainedOp G V S * crossMarginal A G S * (retainedOp G V S).conjTranspose) := by sorry

end QAlgorithms.Papers.Independent.Intakethird100.P57

end
Source
Renormalization algorithm with graph enhancement, arXiv:0802.1211v1, PDF p. 2, Unnumbered transfer-operator formula for the reduced density matrix
Read-back

What the Lean code literally says, in plain math · gpt-6.1-sol

For all natural numbers N,DN,DN,D satisfying 1≤N1\le N1≤N and 1≤D1\le D1≤D, let Ai(t)A_i(t)Ai​(t) be arbitrary complex D×DD\times DD×D matrices for each site i∈{0,…,N−1}i\in\{0,\ldots,N-1\}i∈{0,…,N−1} and Boolean value ttt; let wijw_{ij}wij​ be real weights satisfying wij=wjiw_{ij}=w_{ji}wij​=wji​, wii=0w_{ii}=0wii​=0, and 0≤wij<2π0\le w_{ij}<2\pi0≤wij​<2π; and let each ViV_iVi​ be a unitary complex 2×22\times22×2 matrix. For a Boolean assignment bbb on all sites, put

mb=tr⁡ ⁣(A0(b0)⋯AN−1(bN−1)),vb=∑c(∏i(Vi)bici)e i∑i<jwijcicjmc,m_b=\operatorname{tr}\!\left(A_0(b_0)\cdots A_{N-1}(b_{N-1})\right), \qquad v_b=\sum_c \left(\prod_i(V_i)_{b_i c_i}\right) e^{\,\mathrm i\sum_{i<j}w_{ij}c_i c_j}m_c,mb​=tr(A0​(b0​)⋯AN−1​(bN−1​)),vb​=c∑​(i∏​(Vi​)bi​ci​​)ei∑i<j​wij​ci​cj​mc​,

where ccc ranges over all Boolean assignments. Assume that the vector mmm is nonzero, and let SSS be any subset of the sites. For assignments a,b:S→{0,1}a,b:S\to\{0,1\}a,b:S→{0,1}, define

ρab=1∥v∥2∑e:Sc→{0,1}va∪e vb∪e‾,Rab=(∏i∈S(Vi)aibi)e i∑i,j∈Si<jwijbibj,\rho_{ab} = \frac{1}{\|v\|^2} \sum_{e:S^{\mathrm c}\to\{0,1\}} v_{a\cup e}\,\overline{v_{b\cup e}}, \qquad R_{ab} = \left(\prod_{i\in S}(V_i)_{a_i b_i}\right) e^{\,\mathrm i\sum_{\substack{i,j\in S\\i<j}}w_{ij}b_i b_j},ρab​=∥v∥21​e:Sc→{0,1}∑​va∪e​vb∪e​​,Rab​=(i∈S∏​(Vi​)ai​bi​​)ei∑i,j∈Si<j​​wij​bi​bj​,

where a∪ea\cup ea∪e denotes the assignment agreeing with aaa on SSS and with eee outside SSS. To define another matrix CCC, put Ei(s,t)=Ai(s)⊗Ai(t)‾E_i(s,t)=A_i(s)\otimes\overline{A_i(t)}Ei​(s,t)=Ai​(s)⊗Ai​(t)​, where the bar conjugates every matrix entry, and set

Ti(a,b)={Ei(ai,bi),i∈S,∑t∈{0,1}e it∑j∈Swji(aj−bj)Ei(t,t),i∉S,Cab=tr⁡ ⁣(T0(a,b)⋯TN−1(a,b)).T_i(a,b)= \begin{cases} E_i(a_i,b_i),&i\in S,\\[2mm] \displaystyle\sum_{t\in\{0,1\}} e^{\,\mathrm i t\sum_{j\in S}w_{ji}(a_j-b_j)}E_i(t,t),&i\notin S, \end{cases} \qquad C_{ab}=\operatorname{tr}\!\left(T_0(a,b)\cdots T_{N-1}(a,b)\right).Ti​(a,b)=⎩⎨⎧​Ei​(ai​,bi​),t∈{0,1}∑​eit∑j∈S​wji​(aj​−bj​)Ei​(t,t),​i∈S,i∈/S,​Cab​=tr(T0​(a,b)⋯TN−1​(a,b)).

The theorem asserts simultaneously that Z=∥m∥2>0Z=\|m\|^2>0Z=∥m∥2>0, that ρ\rhoρ is positive semidefinite with trace 111, and that

ρ=Z−1RCR†.\rho=Z^{-1}RCR^\dagger.ρ=Z−1RCR†.

Here all norms of vectors are Euclidean, and the scalar inverse used in defining ρ\rhoρ is the total inverse, taking value 000 at 000. The subset SSS may be empty or contain every site; assignments on an empty set form a singleton, empty sums are 000, and empty products are identities.

Human review
  • Endorsed by Shuze Chen · Nov 1, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Gohan · Nov 1, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me