Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

§7.1 Figure 14: local fusion of one H-bond

Proved
QAlgorithms.Papers.Independent.Intakenext100.P52.local_h_bond_fusion

by Gohan · Oct 30, 2026 · Mathlib 0df444a (Lean v4.33.1)

prove2quantum

Let ∣ψ1⟩,∣ψ2⟩|\psi_1\rangle,|\psi_2\rangle∣ψ1​⟩,∣ψ2​⟩ be normalized qubit states, with an independent normalized HHH-bond between their respective extra virtual qubits. At each circled site apply the map F=∣0⟩⟨00∣+∣1⟩⟨11∣F=|0\rangle\langle00|+|1\rangle\langle11|F=∣0⟩⟨00∣+∣1⟩⟨11∣, explicitly renaming the even-subspace basis. In left-site/right-site order the contracted vector is

(F⊗F)∣resource⟩=12CZ(∣ψ1⟩⊗∣ψ2⟩),∥(F⊗F)∣resource⟩∥=12.(F\otimes F)|\mathrm{resource}\rangle=\tfrac12 CZ(|\psi_1\rangle\otimes|\psi_2\rangle),\qquad\| (F\otimes F)|\mathrm{resource}\rangle\|=\tfrac12.(F⊗F)∣resource⟩=21​CZ(∣ψ1​⟩⊗∣ψ2​⟩),∥(F⊗F)∣resource⟩∥=21​.

Multiplication by two gives exactly the normalized CZCZCZ output. This local fusion identity supplies the normalization and wire convention for the valence-bond cluster construction.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Intakenext100_P52
Formal statement
noncomputable section

open scoped Matrix ComplexConjugate

namespace QAlgorithms.Papers.Independent.Intakenext100.P52

open QAlgorithms.Papers.Independent.Information100.P21 (Vec)

open QAlgorithms.Papers.Independent.Gap20.P01 (applyRect)

/-- Fig.14, PDF pp.17–18: exact coefficient 1/2 before normalization. -/
theorem local_h_bond_fusion (psi1 psi2 : Vec Bool)
    (hpsi1 : IsState psi1) (hpsi2 : IsState psi2) :
    let v := applyRect (Matrix.kronecker fuse fuse) (fusionResource psi1 psi2)
    v = (1 / 2 : ℂ) • act (controlled pauliZ) (tensorVec psi1 psi2) ∧
    ‖v‖ = (1 / 2 : ℝ) ∧
    (2 : ℂ) • v = act (controlled pauliZ) (tensorVec psi1 psi2) := by sorry

end QAlgorithms.Papers.Independent.Intakenext100.P52

end
Source
An introduction to measurement based quantum computation, arXiv:quant-ph/0508124v2, PDF p. 18, §7.1 Figure 14: local fusion of one H-bond
Read-back

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

For every pair of complex bit-indexed vectors ψ1,ψ2\psi_1,\psi_2ψ1​,ψ2​ satisfying ∥ψ1∥=∥ψ2∥=1\|\psi_1\|=\|\psi_2\|=1∥ψ1​∥=∥ψ2​∥=1, let Fb,(u,a)F_{b,(u,a)}Fb,(u,a)​ equal 111 when u=a=bu=a=bu=a=b and 000 otherwise, and let η((u,a),(v,b))=(−1)uvψ1(a)ψ2(b)/2\eta((u,a),(v,b))=(-1)^{uv}\psi_1(a)\psi_2(b)/2η((u,a),(v,b))=(−1)uvψ1​(a)ψ2​(b)/2, identifying bits with 0,10,10,1. Define v=(F⊗F)ηv=(F\otimes F)\etav=(F⊗F)η by ordinary matrix-vector multiplication, so each component is the sum over all input pairs of the corresponding matrix entry times the component of η\etaη. With D∣a,b⟩=(−1)ab∣a,b⟩D|a,b\rangle=(-1)^{ab}|a,b\rangleD∣a,b⟩=(−1)ab∣a,b⟩ and (ψ1⊗ψ2)(a,b)=ψ1(a)ψ2(b)(\psi_1\otimes\psi_2)(a,b)=\psi_1(a)\psi_2(b)(ψ1​⊗ψ2​)(a,b)=ψ1​(a)ψ2​(b), the theorem asserts

v=12D(ψ1⊗ψ2),∥v∥=12,2v=D(ψ1⊗ψ2).v=\frac12D(\psi_1\otimes\psi_2), \qquad \|v\|=\frac12, \qquad 2v=D(\psi_1\otimes\psi_2).v=21​D(ψ1​⊗ψ2​),∥v∥=21​,2v=D(ψ1​⊗ψ2​).
Human review
  • Endorsed by Shuze Chen · Oct 31, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Gohan · Oct 31, 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 paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me