All proofs
Project-declaredLean 4.28.0 · mathlib@8f9d9cff6bd7

Choi id is PSD

MatrixMap.choi_id_is_PSD

Project documentation

The Choi matrix of a map in symmetric Kraus form is a sum of rank-1 projectors. -/ theorem choi_of_kraus_R [DecidableEq A] (K : κ → Matrix B A 𝕜) : (of_kraus K K).choi_matrix = ∑ k, Matrix.vecMulVec (fun (x : B × A) => K k x.1 x.2) (fun (x : B × A) => star (K k x.1 x.2)) := by unfold of_kraus choi_matrix ext i j : 2 simp only [LinearMap.coe_sum, LinearMa...

Exact Lean statement

theorem choi_id_is_PSD {A R : Type*} [Fintype A] [DecidableEq A] [RCLike R] :
    (MatrixMap.id A R).choi_matrix.PosSemidef

Formal artifact

Lean source

Canonical source
Full Lean sourceLean 4
theorem choi_id_is_PSD {A R : Type*} [Fintype A] [DecidableEq A] [RCLike R] :    (MatrixMap.id A R).choi_matrix.PosSemidef := by  -- Let $v$ be the vector with $v_{(a,b)} = \delta_{ab}$.  set v : A × A  R := fun p => if p.1 = p.2 then 1 else 0;  -- By definition of $C$, we know that $C = v v^*$.  have hC : (MatrixMap.id A R).choi_matrix = Matrix.of (fun (i j : A × A) => v i * star (v j)) := by    ext  i, j   k, l  ; simp [ MatrixMap.choi_matrix, Matrix.single ] ; aesop;  rw [Matrix.posSemidef_iff_dotProduct_mulVec]  refine'  _, fun x => _ ;  · ext i j; aesop;  · -- By definition of $v$, we know that $star x ⬝ᵥ v v^* x = |star x ⬝ᵥ v|^2$.    have h_inner : star x ⬝ᵥ (MatrixMap.id A R).choi_matrix.mulVec x = star (star x ⬝ᵥ v) * (star x ⬝ᵥ v) := by      simp [ hC, Matrix.mulVec, dotProduct ];      simp [ Finset.mul_sum, mul_comm, v]      exact Finset.sum_congr rfl fun i hi => by split_ifs <;> simp [ * ] ;    rw [ h_inner, mul_comm ];    exact mul_star_self_nonneg (star x ⬝ᵥ v)
Project
quantumInfo
License
MIT
Commit
56e83a9288a3
Source
QuantumInfo/Finite/CPTPMap/Unbundled.lean:677-693

Reuse this declaration

Bring the exact result into your workflow

The import identifies the source module. Your project still needs the pinned package dependency shown on this page.

What this badge means

This completion status comes from the project or community source. It has not yet been represented here as an independent rebuild and axiom audit.

Continue in this project

Related declarations

Project-declaredLean 4.28.0

Conj Transpose isometry mul isometry le one

conjTranspose_isometry_mul_isometry_le_one

Project documentation

The operator norm of the conjugate transpose is equal to the operator norm. -/ theorem Matrix.opNorm_conjTranspose_eq_opNorm {m n : Type*} [Fintype m] [Fintype n] [DecidableEq m] [DecidableEq n] (A : Matrix m n 𝕜) : Matrix.opNorm Aᴴ = Matrix.opNorm A := by unfold Matrix.opNorm rw [← ContinuousLinearMap.adjoint.norm_map (toEuclideanLin A).toContinuousLine...

quantum informationentropyquantum channels

Source project: quantumInfo

Person-level attribution pending.

View proof record
Project-declaredLean 4.28.0

Convex roof of pure

convex_roof_of_pure

Plain-language statement

The convex roof extension of g : KetUpToPhase d → ℝ≥0 applied to a pure state ψ is g (KetUpToPhase.mk ψ).

quantum informationentropyquantum channels

Source project: quantumInfo

Person-level attribution pending.

View proof record
Project-declaredLean 4.28.0

Id achieves Rate log dim

CPTPMap.id_achievesRate_log_dim

Plain-language statement

The identity channel on D dimensional space achieves a rate of log2(D).

quantum informationentropyquantum channels

Source project: quantumInfo

Person-level attribution pending.

View proof record