All proofs
Project-declaredLean 4.28.0 · mathlib@8f9d9cff6bd7

Spectrum prod

MState.spectrum_prod

Plain-language statement

Spectrum of direct product. There is a permutation σ so that the spectrum of the direct product of ρ₁ and ρ₂, as permuted under σ, is the pairwise products of the spectra of ρ₁ and ρ₂.

Exact Lean statement

theorem spectrum_prod (ρ₁ : MState d₁) (ρ₂ : MState d₂) : ∃(σ : d₁ × d₂ ≃ d₁ × d₂),
    ∀i, ∀j, (ρ₁ ⊗ᴹ ρ₂).spectrum (σ (i, j)) = (ρ₁.spectrum i) * (ρ₂.spectrum j)

Formal artifact

Lean source

Canonical source
Full Lean sourceLean 4
theorem spectrum_prod (ρ₁ : MState d₁) (ρ₂ : MState d₂) : (σ : d₁ × d₂ ≃ d₁ × d₂),    i, j, (ρ₁ ⊗ᴹ ρ₂).spectrum (σ (i, j)) = (ρ₁.spectrum i) * (ρ₂.spectrum j) := by  --TODO Cleanup  by_contra! h;  -- Apply `Matrix.IsHermitian.eigenvalues_eq_of_unitary_similarity_diagonal` to $A \otimes B$ and $U_A \otimes U_B$ and the diagonal entries.  obtain σ, hσ :  σ : d₁ × d₂ ≃ d₁ × d₂, (ρ₁.prod ρ₂).M.H.eigenvalues ∘ σ = fun (i, j) => ((ρ₁.spectrum i) * (ρ₂.spectrum j)) := by    have h_unitary :  U : Matrix (d₁ × d₂) (d₁ × d₂) ℂ, U  Matrix.unitaryGroup (d₁ × d₂) ℂ  (ρ₁.prod ρ₂).M = U * Matrix.diagonal (fun (i, j) => ((ρ₁.spectrum i) * (ρ₂.spectrum j)) : d₁ × d₂  ℂ) * Matrix.conjTranspose U := by      -- Let $U_A$ and $U_B$ be the eigenvector unitaries of $\rho_1$ and $\rho_2$, respectively.      obtain U_A, hU_A :  U_A : Matrix d₁ d₁ ℂ, U_A  Matrix.unitaryGroup d₁ ℂ  ρ₁.M = U_A * Matrix.diagonal (fun i => (ρ₁.spectrum i : ℂ)) * Matrix.conjTranspose U_A := by        have := ρ₁.M.H.spectral_theorem;        refine'  _, _, this ;        simp      obtain U_B, hU_B :  U_B : Matrix d₂ d₂ ℂ, U_B  Matrix.unitaryGroup d₂ ℂ  ρ₂.M = U_B * Matrix.diagonal (fun j => (ρ₂.spectrum j : ℂ)) * Matrix.conjTranspose U_B := by        have := ρ₂.M.H.spectral_theorem;        refine'  _, _, this ;        simp      refine'  Matrix.kroneckerMap ( fun x y => x * y ) U_A U_B, _, _ ;      · simp_all only [ne_eq, Matrix.mem_unitaryGroup_iff, mat_M, Matrix.star_kron];        have h_unitary : Matrix.kroneckerMap (fun x y => x * y) U_A U_B * Matrix.kroneckerMap (fun x y => x * y) (Star.star U_A) (Star.star U_B) = 1 := by          have h_unitary : Matrix.kroneckerMap (fun x y => x * y) U_A U_B * Matrix.kroneckerMap (fun x y => x * y) (Star.star U_A) (Star.star U_B) = Matrix.kroneckerMap (fun x y => x * y) (U_A * Star.star U_A) (U_B * Star.star U_B) := by            ext  i, j   k, l  ; simp [ Matrix.mul_apply, Matrix.kroneckerMap_apply ]            ring_nf            erw [ Finset.sum_product ]            simp [ mul_assoc, mul_comm, mul_left_comm, Finset.mul_sum]            exact Finset.sum_comm.trans ( Finset.sum_congr rfl fun _ _ => Finset.sum_congr rfl fun _ _ => by ring );          simp_all only [zero_mul, implies_true, mul_zero, mul_one, Matrix.kroneckerMap_one_one]        exact h_unitary      · simp_all [ MState.prod, Matrix.mul_assoc, Matrix.mul_kronecker_mul ];        congr 2;        · ext  i, j   i', j'  ; by_cases hi : i = i' <;> by_cases hj : j = j' <;> simp [ hi, hj ];        · ext i j; simp [ Matrix.conjTranspose_apply, Matrix.kroneckerMap_apply ] ;    obtain  U, hU₁, hU₂  := h_unitary;    apply Matrix.IsHermitian.eigenvalues_eq_of_unitary_similarity_diagonal;    exact hU₁;    convert hU₂ using 1;    norm_num +zetaDelta at *;  obtain  i, j, h  := h σ; have := congr_fun hσ ( i, j ) ; simp_all [ MState.spectrum ] ;  exact h ( by exact Subtype.ext this )
Project
quantumInfo
License
MIT
Commit
56e83a9288a3
Source
QuantumInfo/Finite/MState.lean:595-632

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