Plain-language statement
The defining property of purification, that tracing out the purifying system gives the original mixed state.
Exact Lean statement
@[simp] theorem purify_spec (ρ : MState d) : (pure ρ.purify).traceRight = ρ
Formal artifact
Lean source
@[simp]theorem purify_spec (ρ : MState d) : (pure ρ.purify).traceRight = ρ := by ext i j simp_rw [purify, traceRight, HermitianMat.traceRight, Matrix.traceRight] simp only [Matrix.IsHermitian.eigenvectorUnitary_apply, mat_M, pure_apply, mat_mk, Matrix.of_apply] simp only [Ket.apply] simp only [map_mul] simp_rw [mul_assoc, mul_comm, ← mul_assoc (Complex.ofReal _), Complex.mul_conj] -- By definition of eigenvectorUnitary and the properties of the unitary matrix and the eigenvalues, we can show that the matrix constructed from the purification is equal to ρ. have h_eigenvectorUnitary : ∀ i j, ∑ x, ρ.Hermitian.eigenvectorUnitary i x * ((ρ.Hermitian.eigenvalues x).sqrt ^ 2) * starRingEnd ℂ (ρ.Hermitian.eigenvectorUnitary j x) = ρ.M i j := by intro i j have h_eigenvectorUnitary : ρ.M = Matrix.of (fun i j => ∑ x, ρ.Hermitian.eigenvectorUnitary i x * ρ.Hermitian.eigenvalues x * starRingEnd ℂ (ρ.Hermitian.eigenvectorUnitary j x)) := by have := ρ.Hermitian.spectral_theorem; convert this using 1; ext i j; simp [ Matrix.mul_apply, Matrix.diagonal ] ; replace h_eigenvectorUnitary := congr_fun ( congr_fun h_eigenvectorUnitary i ) j simp_all only [mat_apply, Matrix.IsHermitian.eigenvectorUnitary_apply, Matrix.of_apply] congr! 2; norm_num [ Complex.ext_iff, sq ]; exact Or.inl (Real.mul_self_sqrt (ρ.psd.eigenvalues_nonneg _)) simp_all [ Complex.normSq, sq ]; simpa only [ mul_assoc ] using h_eigenvectorUnitary i j- Project
- quantumInfo
- License
- MIT
- Commit
- 56e83a9288a3
- Source
- QuantumInfo/Finite/MState.lean:1004-1026
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
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...
Source project: quantumInfo
Person-level attribution pending.
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 ψ).
Source project: quantumInfo
Person-level attribution pending.
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).
Source project: quantumInfo
Person-level attribution pending.