Matrix.traceLeft
defimported Lean
Matrix.traceLeft
Statement
set_option autoImplicit true in set_option relaxedAutoImplicit true in open BigOperators in variable {n 𝕜 : Type*} in variable [RCLike 𝕜] [DecidableEq n] in open scoped ComplexOrder MatrixOrder in variable [AddCommMonoid R] [Fintype d] in noncomputable def Matrix.traceLeft (m : Matrix (d × d₁) (d × d₂) R) : Matrix d₁ d₂ R
- Defined in
- QuantumInfo, `Matrix.traceLeft`
- Lean proof
- By Alex Meiburg, from github.com/leanprover-community/physlib at
e411c6e89692(Copyright (c) 2025 Alex Meiburg. All rights reserved, Apache-2.0). Compiled here against leanprover/lean4:v4.33.1, Mathlib v4.33.1; written for leanprover/lean4:v4.34.1.Matrix.traceLeft← Matrix.traceLeft (QuantumInfo/ForMathlib/Matrix.lean:598): verbatim
- Verified
- 16 Oct 2026
- Axioms
- none listed
- Used by 17
- HermitianMat.traceLeft_subHermitianMat.traceLeft_sub
- two_qubit_min_bell_fidelityFor a real number ε, two_qubit_min_bell_fidelity ε is the real infimum sInf of the set of real numbers F such that there exists a complex…
- HermitianMat.traceLeftHermitianMat.traceLeft
- Matrix.traceLeft_addMatrix.traceLeft_add
- Matrix.traceLeft_subMatrix.traceLeft_sub
- HermitianMat.traceLeft_addHermitianMat.traceLeft_add
- Matrix.IsHermitian.traceLeftMatrix.IsHermitian.traceLeft
- Matrix.traceLeft_traceMatrix.traceLeft_trace
- Matrix.PosSemidef.traceLeftMatrix.PosSemidef.traceLeft
- HermitianMat.traceLeft_traceHermitianMat.traceLeft_trace
- HermitianMat.traceLeft_kronHermitianMat.traceLeft_kron
- Matrix.traceLeft_negMatrix.traceLeft_neg
- HermitianMat.traceLeft_smulHermitianMat.traceLeft_smul
- petz_power_informationThe Petz power mutual information petz_power_information β ρ of type ℝ for an exponent β : ℝ and a bipartite real matrix ρ : Matrix (u ×…
- HermitianMat.traceLeft_matHermitianMat.traceLeft_mat
- HermitianMat.traceLeft_negHermitianMat.traceLeft_neg
- Matrix.traceLeft_smulMatrix.traceLeft_smul
Lean source view module on GitHub
set_option autoImplicit true in set_option relaxedAutoImplicit true in open BigOperators in variable {n 𝕜 : Type*} in variable [RCLike 𝕜] [DecidableEq n] in open scoped ComplexOrder MatrixOrder in variable [AddCommMonoid R] [Fintype d] in noncomputable def Matrix.traceLeft (m : Matrix (d × d₁) (d × d₂) R) : Matrix d₁ d₂ R := Matrix.of fun i₁ j₁ ↦ ∑ i₂, m (i₂, i₁) (i₂, j₁)