Appendix A Eqs.(A1)–(A5),(A10)–(A11): Bloch representation
OpenQAlgorithms.Papers.Independent.Extend50.P40.bloch_representationFor standard Pauli matrices X,Y,Z with , every qubit density has a real Bloch vector , and conversely every vector in the unit ball defines a density. For a normalized ,
The unit boundary is exactly the pure densities; spherical coordinates parametrize their rays. The theorem also gives Pauli relations and the full two-qubit correlation expansion with its actual partial traces. The printed y sign is corrected; mixed Bloch vectors need not be unit.
import Definitions.Def_QAlgorithms_Papers_Independent_Extend50_P40
noncomputable section
namespace QAlgorithms.Papers.Independent.Extend50.P40
open QAlgorithms
open scoped Matrix ComplexOrder ComplexConjugate BigOperators Topology
open MeasureTheory Filter
open scoped Matrix.Norms.Frobenius
open QAlgorithms.Papers.Independent.Dependency50.P12 (sigma)
open QAlgorithms.Papers.Independent.Dependency50.P48 (pureFidelity)
attribute [local instance] Classical.propDecidable Classical.decEq
open QAlgorithms.Papers.Independent.Support21.P16
(CloneMap IsBoseInputChannel coherentTensor tensorWithIdentity canonicalCloner
HasBoseOutput HasBlackCowCoefficient canonicalCoefficient oneMixed)
open QAlgorithms.Papers.Independent.Renew46.P45
(TensorMat boseProjector siteObservable)
open QAlgorithms.Papers.Independent.Information100.P58 (Word)
open QAlgorithms.Papers.Independent.Claimed50.P30
(ModeHilbert ModeOperator IsModeDensity FockWeylSystem)
open QAlgorithms.Papers.Independent.Renew46.P41
(coherentProduct NormalizedCoherent IsReducedDensity FockCanonicalAction
ModeUnitary twoModeAmplifierQuadratures modeMixingQuadratures embeddedOpticalBeam
displacedThermal cloneNoise cloneFidelity)
open QAlgorithms.Papers.Independent.Dependency50.P39 (coherentProjector)
/-- Appendix A, PDF pp.30–31 Eqs.(A1)–(A5),(A10)–(A11): Bloch ball, pure
boundary, and all two-qubit correlation coefficients. Printed +2 Im(alpha beta*)
is corrected to -2 Im(alpha beta*) by the source's own standard Pauli Y. -/
theorem bloch_representation :
(∀ k : Fin 3, sigma k * sigma k = 1 ∧ (sigma k).trace = 0) ∧
sigma 0 * sigma 1 = Complex.I • sigma 2 ∧
sigma 1 * sigma 2 = Complex.I • sigma 0 ∧
sigma 2 * sigma 0 = Complex.I • sigma 1 ∧
(∀ i j : Fin 3, i ≠ j → sigma i * sigma j = -(sigma j * sigma i)) ∧
(∀ m : Fin 3 → ℝ, (∑ k, m k ^ 2) ≤ 1 →
IsDensityMatrix (finBlochDensity m) ∧ densityBloch (finBlochDensity m) = m) ∧
(∀ theta azimuth : ℝ, ‖spherical theta azimuth‖ = 1 ∧
vectorBloch (spherical theta azimuth) =
![Real.sin theta * Real.cos azimuth, Real.sin theta * Real.sin azimuth, Real.cos theta]) ∧
(∀ psi : EuclideanSpace ℂ (Fin 2), ‖psi‖ = 1 → ∃ theta ∈ Set.Icc (0 : ℝ) Real.pi,
∃ azimuth ∈ Set.Icc (0 : ℝ) (2 * Real.pi),
pureDensity psi = pureDensity (spherical theta azimuth)) ∧
(∀ rho : Matrix (Fin 2) (Fin 2) ℂ, IsDensityMatrix rho →
rho = finBlochDensity (densityBloch rho) ∧ ∑ k, densityBloch rho k ^ 2 ≤ 1 ∧
((∑ k, densityBloch rho k ^ 2) = 1 ↔ ∃ psi : EuclideanSpace ℂ (Fin 2), ‖psi‖ = 1 ∧ rho = pureDensity psi)) ∧
(∀ psi : EuclideanSpace ℂ (Fin 2), ‖psi‖ = 1 →
densityBloch (pureDensity psi) = vectorBloch psi ∧ pureDensity psi = finBlochDensity (vectorBloch psi)) ∧
(∀ rho : Matrix (Fin 2 × Fin 2) (Fin 2 × Fin 2) ℂ, IsDensityMatrix rho →
rho = (1 / 4 : ℂ) •
(1 + Matrix.kronecker (∑ i, (densityBloch (traceRight rho) i : ℂ) • sigma i) (1 : Matrix (Fin 2) (Fin 2) ℂ) +
Matrix.kronecker (1 : Matrix (Fin 2) (Fin 2) ℂ) (∑ j, (densityBloch (traceLeft rho) j : ℂ) • sigma j) +
∑ i : Fin 3, ∑ j : Fin 3,
(((rho * Matrix.kronecker (sigma i) (sigma j)).trace.re : ℝ) : ℂ) •
Matrix.kronecker (sigma i) (sigma j)) ∧
traceRight rho = finBlochDensity (densityBloch (traceRight rho)) ∧
traceLeft rho = finBlochDensity (densityBloch (traceLeft rho))) := by sorry
end QAlgorithms.Papers.Independent.Extend50.P40
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
Let , , and . For , define ; for a complex matrix , define ; for , define and . A density matrix means a positive semidefinite matrix of trace . The declaration asserts all of the following: each squares to and has trace zero; , , and ; distinct anticommute; every with gives a density matrix satisfying ; for every pair of real numbers , the vector has norm and ; every unit vector has for some and , with no uniqueness asserted; every density matrix satisfies and , with equality if and only if for some unit vector ; and every unit vector satisfies and . Finally, for every density matrix on , set and . Then
and and , where every above ranges over .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.