All proofs
Project-declaredLean 4.28.0 · mathlib@8f9d9cff6bd7

Is Trace Preserving iff trace choi

MatrixMap.IsTracePreserving_iff_trace_choi

Plain-language statement

A map is trace preserving iff the partial trace of the Choi matrix is the identity.

Exact Lean statement

theorem IsTracePreserving_iff_trace_choi [DecidableEq A] (M : MatrixMap A B R) : M.IsTracePreserving
    ↔ M.choi_matrix.traceLeft = 1

Formal artifact

Lean source

Canonical source
Full Lean sourceLean 4
theorem IsTracePreserving_iff_trace_choi [DecidableEq A] (M : MatrixMap A B R) : M.IsTracePreserving     M.choi_matrix.traceLeft = 1 := by  constructor  · intro h    ext a₁ a₂    replace h := h (Matrix.single a₁ a₂ 1)    simp_rw [Matrix.trace, Matrix.diag] at h    simp only [Matrix.traceLeft, choi_matrix, Matrix.of_apply, h]    simp only [Matrix.single, Matrix.of_apply, Finset.sum_boole, Matrix.one_apply]    have : (fun x => a₁ = x  a₂ = x) = (fun x => a₁ = a₂  a₂ = x) := by      funext x      rw [eq_iff_iff, and_congr_left_iff]      rintro rfl      trivial    split_ifs with h    <;> simp [this, h, Finset.filter_eq]  · intro h X    replace h := fun (a₁ a₂ : A)  congrFun₂ h a₁ a₂    simp [Matrix.traceLeft, Matrix.trace] at h     rw [ M.choi_map_inv, of_choi_matrix]    dsimp    rw [Finset.sum_comm_cycle, Finset.sum_comm_cycle]    simp_rw [ Finset.mul_sum, h, Matrix.one_apply]    simp
Project
quantumInfo
License
MIT
Commit
56e83a9288a3
Source
QuantumInfo/Finite/CPTPMap/Unbundled.lean:34-57

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