Multiset spectrum relabel eq
MState.multiset_spectrum_relabel_eq
Plain-language statement
The multiset of values in the spectrum of a relabeled state is the same as the multiset of values in the spectrum of the original state.
Exact Lean statement
lemma multiset_spectrum_relabel_eq {d₁ d₂ : Type*} [Fintype d₁] [DecidableEq d₁] [Fintype d₂] [DecidableEq d₂]
(ρ : MState d₁) (e : d₂ ≃ d₁) :
Multiset.map (ρ.relabel e).spectrum Finset.univ.val = Multiset.map ρ.spectrum Finset.univ.valFormal artifact
Lean source
lemma multiset_spectrum_relabel_eq {d₁ d₂ : Type*} [Fintype d₁] [DecidableEq d₁] [Fintype d₂] [DecidableEq d₂] (ρ : MState d₁) (e : d₂ ≃ d₁) : Multiset.map (ρ.relabel e).spectrum Finset.univ.val = Multiset.map ρ.spectrum Finset.univ.val := by have h_charpoly : Matrix.charpoly (ρ.relabel e).m = Matrix.charpoly ρ.m := by exact Matrix.charpoly_reindex e.symm ρ.m have h_eigenvalues : Multiset.map (ρ.relabel e).M.H.eigenvalues Finset.univ.val = Multiset.map ρ.M.H.eigenvalues Finset.univ.val := by have h_eigenvalues : Polynomial.roots (Matrix.charpoly (ρ.relabel e).m) = Polynomial.roots (Matrix.charpoly ρ.m) := by rw [h_charpoly]; have := ρ.M.H.roots_charpoly_eq_eigenvalues have := (ρ.relabel e).M.H.roots_charpoly_eq_eigenvalues simp_all only [relabel_m, mat_M, Complex.coe_algebraMap, Function.comp_apply, relabel_M, mat_reindex, Matrix.reindex_apply, Equiv.symm_symm] replace this := congr_arg ( fun m => m.map ( fun x => x.re ) ) this aesop; unfold MState.spectrum; ext rename_i a simp_all only [relabel_m, relabel_M, mat_reindex, mat_M, Matrix.reindex_apply, Equiv.symm_symm] obtain ⟨val, property⟩ := a obtain ⟨left, right⟩ := property convert congr_arg ( fun m => Multiset.count val m ) h_eigenvalues using 1; · rw [ Multiset.count_map, Multiset.count_map ]; simp [ Subtype.ext_iff ]; congr! 2; · erw [ Multiset.count_map, Multiset.count_map ]; congr! 2; exact beq_eq_beq.mp rfl- Project
- quantumInfo
- License
- MIT
- Commit
- 56e83a9288a3
- Source
- QuantumInfo/Finite/MState.lean:1115-1141
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.