Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Unnumbered qubit example: Bloch-vector addition (4.18)

Open
QAlgorithms.Papers.Independent.Advance50.P21.bloch_addition

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

prove2quantum

Let d=2d=2d=2, let ρ,σ\rho,\sigmaρ,σ be positive semidefinite complex d×dd\times dd×d matrices of trace one, and let a∈[0,1]a\in[0,1]a∈[0,1]. Write

ρ⊞aσ=aρ+(1−a)σ−ia(1−a)(ρσ−σρ).\rho\boxplus_a\sigma=a\rho+(1-a)\sigma-i\sqrt{a(1-a)}(\rho\sigma-\sigma\rho).ρ⊞a​σ=aρ+(1−a)σ−ia(1−a)​(ρσ−σρ).

In the Pauli order X,Y,ZX,Y,ZX,Y,Z, the Bloch vector r(τ)∈R3r(\tau)\in\mathbb R^3r(τ)∈R3 is specified by τ=(I+r(τ)⋅σ)/2\tau=(I+r(\tau)\cdot\boldsymbol\sigma)/2τ=(I+r(τ)⋅σ)/2. Then

r(ρ⊞aσ)=ar(ρ)+(1−a)r(σ)+a(1−a) r(ρ)×r(σ).r(\rho\boxplus_a\sigma)=a r(\rho)+(1-a)r(\sigma)+\sqrt{a(1-a)}\,r(\rho)\times r(\sigma).r(ρ⊞a​σ)=ar(ρ)+(1−a)r(σ)+a(1−a)​r(ρ)×r(σ).

The cross product is right handed and lengths use the Euclidean norm. This is the coordinate form of qubit addition.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Advance50_P21
Formal statement
noncomputable section

namespace QAlgorithms.Papers.Independent.Advance50.P21

open scoped BigOperators Matrix ComplexConjugate

attribute [local instance] Classical.propDecidable Classical.decEq

open QAlgorithms.Papers.Independent.Information100.P26 (Mat)

open QAlgorithms.Papers.Independent.Information100.P56 (entropy)

open QAlgorithms.Papers.Independent.Information100.P76 (swapMatrix)

open QAlgorithms.Papers.Independent.Dependency50.P16 (simplex orderedSpectrum majorizedBy)

open QAlgorithms.Papers.Independent.Information100.P08 (Ensemble)

open QAlgorithms.Papers.Independent.Information100.P49 (thermalEntropy)

open QAlgorithms.Papers.Independent.Claimed50.P11 (thermalEntropyInverse)

/-- PDF p.10, (4.18), repeated p.33, (A.8): positive right-handed cross-product term. -/
theorem bloch_addition (rho sigma : Mat 2)
    (hrho : IsDensityMatrix rho) (hsigma : IsDensityMatrix sigma)
    (a : ℝ) (ha : a ∈ Set.Icc (0 : ℝ) 1) :
    qubitBlochVector (quditAddition a rho sigma) = a • qubitBlochVector rho + (1 - a) • qubitBlochVector sigma +
      Real.sqrt (a * (1 - a)) • blochCross (qubitBlochVector rho) (qubitBlochVector sigma) := by sorry

end QAlgorithms.Papers.Independent.Advance50.P21

end
Source
Entropy power inequalities for qudits, arXiv:1503.04213v3, PDF p. 10, Unnumbered qubit example: Bloch-vector addition (4.18)
Read-back

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

For every pair of positive semidefinite trace-one complex 2×22\times22×2 matrices ρ,σ\rho,\sigmaρ,σ and every real a∈[0,1]a\in[0,1]a∈[0,1], define the real vector

b(X)=(2Re⁡X01, −2Im⁡X01, Re⁡X00−Re⁡X11)∈R3.b(X)=\bigl(2\operatorname{Re}X_{01},\,-2\operatorname{Im}X_{01}, \,\operatorname{Re}X_{00}-\operatorname{Re}X_{11}\bigr)\in\mathbb R^3.b(X)=(2ReX01​,−2ImX01​,ReX00​−ReX11​)∈R3.

Then

b ⁣(aρ+(1−a)σ−ia(1−a)(ρσ−σρ))=ab(ρ)+(1−a)b(σ)+a(1−a)(b(ρ)×b(σ)),b\!\left(a\rho+(1-a)\sigma -i\sqrt{a(1-a)}(\rho\sigma-\sigma\rho)\right) =ab(\rho)+(1-a)b(\sigma) +\sqrt{a(1-a)}\bigl(b(\rho)\times b(\sigma)\bigr),b(aρ+(1−a)σ−ia(1−a)​(ρσ−σρ))=ab(ρ)+(1−a)b(σ)+a(1−a)​(b(ρ)×b(σ)),

where ×\times× is the usual ordered cross product on R3\mathbb R^3R3. Both endpoints a=0a=0a=0 and a=1a=1a=1 are included.

Human review
  • Endorsed by Shuze Chen · Oct 30, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Gohan · Oct 30, 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