chars int64 40 24k | content_type stringclasses 9
values | id stringlengths 13 64 | source stringclasses 5
values | subset stringclasses 31
values | text stringlengths 40 24k |
|---|---|---|---|---|---|
140 | leanexplore_declaration | leanexplore:378304 | leanexplore_sqlite | leanexplore_declarations | /-- The weighted norm for p = \infty. -/
noncomputable def weighted_norm_infty (_ : MState d) (X : Matrix d d ℂ) : ℝ :=
spectralNorm_mat X |
216 | leanexplore_declaration | leanexplore:378305 | leanexplore_sqlite | leanexplore_declarations | /-- The map Γ_σ(X) = σ^{1/2} X σ^{1/2}. -/
noncomputable def Gamma (σ : MState d) (X : Matrix d d ℂ) : Matrix d d ℂ :=
let σ_half : HermitianMat d ℂ := σ.M.cfc (fun x => x ^ (1/2 : ℝ))
σ_half.mat * X * σ_half.mat |
248 | leanexplore_declaration | leanexplore:378306 | leanexplore_sqlite | leanexplore_declarations | /-- The inverse map Γ_σ^{-1}(X) = σ^{-1/2} X σ^{-1/2}. -/
noncomputable def Gamma_inv (σ : MState d) (X : Matrix d d ℂ) : Matrix d d ℂ :=
let σ_inv_half : HermitianMat d ℂ := σ.M.cfc (fun x => x ^ (-1/2 : ℝ))
σ_inv_half.mat * X * σ_inv_half.mat |
182 | leanexplore_declaration | leanexplore:378307 | leanexplore_sqlite | leanexplore_declarations | /-- The operator T = Γ_{Φ(σ)}^{-1} ∘ Φ ∘ Γ_σ. -/
noncomputable def T_op (Φ : CPTPMap d d₂) (σ : MState d) (X : Matrix d d ℂ) : Matrix d₂ d₂ ℂ :=
Gamma_inv (Φ σ) (Φ.map (Gamma σ X)) |
307 | leanexplore_declaration | leanexplore:378308 | leanexplore_sqlite | leanexplore_declarations | /-- The induced norm of a map Ψ: M_d -> M_d2 with respect to weighted norms. -/
noncomputable def induced_norm (p : ℝ) (σ : MState d) (Φ : CPTPMap d d₂) (Ψ : Matrix d d ℂ → Matrix d₂ d₂ ℂ) : ℝ :=
sSup { weighted_norm p (Φ σ) (Ψ X) / weighted_norm p σ X | (X : Matrix d d ℂ) (_ : weighted_norm p σ X ≠ 0) } |
241 | leanexplore_declaration | leanexplore:378309 | leanexplore_sqlite | leanexplore_declarations | noncomputable def induced_norm_infty_map (σ : MState d) (Φ : CPTPMap d d₂) (Ψ : Matrix d d ℂ → Matrix d₂ d₂ ℂ) : ℝ :=
sSup { weighted_norm_infty (Φ σ) (Ψ X) / weighted_norm_infty σ X | (X : Matrix d d ℂ) (_ : weighted_norm_infty σ X ≠ 0) } |
337 | leanexplore_declaration | leanexplore:378310 | leanexplore_sqlite | leanexplore_declarations | noncomputable def T_map (σ : MState d) (Φ : CPTPMap d d₂) : MatrixMap d d₂ ℂ :=
{ toFun := fun X => T_op Φ σ X,
map_add' := fun X Y => by
unfold T_op Gamma Gamma_inv
simp [Matrix.mul_add, Matrix.add_mul]
map_smul' := fun c X => by
unfold T_op
simp
unfold Gamma Gamma_inv
sim... |
119 | leanexplore_declaration | leanexplore:378311 | leanexplore_sqlite | leanexplore_declarations | noncomputable def Gamma_map (σ : MState d) : MatrixMap d d ℂ :=
MatrixMap.conj (σ.M.cfc (fun x => x ^ (1/2 : ℝ))).mat |
160 | leanexplore_declaration | leanexplore:378312 | leanexplore_sqlite | leanexplore_declarations | lemma Gamma_map_eq (σ : MState d) (X : Matrix d d ℂ) :
Gamma_map σ X = Gamma σ X := by
ext; simp [ Gamma_map, Gamma ];
apply_rules [ IsSelfAdjoint.cfc ] |
139 | leanexplore_declaration | leanexplore:378313 | leanexplore_sqlite | leanexplore_declarations | lemma Gamma_map_CP (σ : MState d) : (Gamma_map σ).IsCompletelyPositive := by
have := @MatrixMap.conj_isCompletelyPositive;
exact this _ |
124 | leanexplore_declaration | leanexplore:378314 | leanexplore_sqlite | leanexplore_declarations | noncomputable def Gamma_inv_map (σ : MState d) : MatrixMap d d ℂ :=
MatrixMap.conj (σ.M.cfc (fun x => x ^ (-1/2 : ℝ))).mat |
172 | leanexplore_declaration | leanexplore:378315 | leanexplore_sqlite | leanexplore_declarations | lemma Gamma_inv_map_eq (σ : MState d) (X : Matrix d d ℂ) :
Gamma_inv_map σ X = Gamma_inv σ X := by
simp [Gamma_inv_map, Gamma_inv];
congr;
apply IsSelfAdjoint.cfc |
107 | leanexplore_declaration | leanexplore:378316 | leanexplore_sqlite | leanexplore_declarations | noncomputable def sigma_inv_sqrt (σ : MState d) : Matrix d d ℂ :=
(σ.M.cfc (fun x => x ^ (-1/2 : ℝ))).mat |
118 | leanexplore_declaration | leanexplore:378317 | leanexplore_sqlite | leanexplore_declarations | lemma Gamma_inv_map_eq_conj (σ : MState d) :
Gamma_inv_map σ = MatrixMap.conj (sigma_inv_sqrt σ) := by
exact rfl |
172 | leanexplore_declaration | leanexplore:378318 | leanexplore_sqlite | leanexplore_declarations | lemma Gamma_inv_map_CP (σ : MState d) : (Gamma_inv_map σ).IsCompletelyPositive := by
convert MatrixMap.conj_isCompletelyPositive _;
· infer_instance;
· infer_instance |
264 | leanexplore_declaration | leanexplore:378319 | leanexplore_sqlite | leanexplore_declarations | lemma T_map_eq_comp (σ : MState d) (Φ : CPTPMap d d₂) :
T_map σ Φ = (Gamma_inv_map (Φ σ)).comp (Φ.map.comp (Gamma_map σ)) := by
ext;
unfold T_map;
simp [T_op]
congr! 1;
· exact funext fun x => Gamma_inv_map_eq ( Φ σ ) x ▸ rfl;
· rw [ Gamma_map_eq ] |
287 | leanexplore_declaration | leanexplore:378320 | leanexplore_sqlite | leanexplore_declarations | lemma T_is_CP (σ : MState d) (Φ : CPTPMap d d₂) :
(T_map σ Φ).IsCompletelyPositive := by
rw [ T_map_eq_comp ];
apply MatrixMap.IsCompletelyPositive.comp;
· apply MatrixMap.IsCompletelyPositive.comp;
· exact Gamma_map_CP σ;
· exact Φ.cp;
· exact Gamma_inv_map_CP (Φ σ) |
133 | leanexplore_declaration | leanexplore:378321 | leanexplore_sqlite | leanexplore_declarations | lemma T_is_positive (σ : MState d) (Φ : CPTPMap d d₂) :
(T_map σ Φ).IsPositive := by
exact T_is_CP σ Φ |> fun h => h.IsPositive |
179 | leanexplore_declaration | leanexplore:378322 | leanexplore_sqlite | leanexplore_declarations | lemma weighted_norm_one_eq_trace_norm_Gamma (σ : MState d) (X : Matrix d d ℂ) :
weighted_norm 1 σ X = schattenNorm (Gamma σ X) 1 := by
unfold weighted_norm Gamma;
norm_num |
227 | leanexplore_declaration | leanexplore:378323 | leanexplore_sqlite | leanexplore_declarations | noncomputable def general_induced_norm
(p q : ℝ) (σ : MState d) (σ' : MState d₂)
(Ψ : MatrixMap d d₂ ℂ) : ℝ :=
sSup { weighted_norm q σ' (Ψ X) / weighted_norm p σ X | (X : Matrix d d ℂ) (_ : weighted_norm p σ X ≠ 0) } |
211 | leanexplore_declaration | leanexplore:378324 | leanexplore_sqlite | leanexplore_declarations | lemma HermitianMat.cfc_mul {d : Type*} [Fintype d] [DecidableEq d]
(A : HermitianMat d ℂ) (f g : ℝ → ℝ) :
(A.cfc f).mat * (A.cfc g).mat = (A.cfc (fun x => f x * g x)).mat := by
symm
apply mat_cfc_mul |
1,027 | leanexplore_declaration | leanexplore:378325 | leanexplore_sqlite | leanexplore_declarations | lemma Gamma_one (σ : MState d) : Gamma σ 1 = σ.M.mat := by
have h_gamma_one : (σ.M.cfc (fun x => x^(1/2 : ℝ))).mat * (σ.M.cfc (fun x => x^(1/2 : ℝ))).mat = σ.M.cfc (fun x => x^(1/2 : ℝ) * x^(1/2 : ℝ)) := by
symm
exact HermitianMat.mat_cfc_mul σ.M ( fun x => x ^ ( 1 / 2 : ℝ ) ) ( fun x => x ^ ( 1 / 2 : ℝ ) )
... |
2,661 | leanexplore_declaration | leanexplore:378326 | leanexplore_sqlite | leanexplore_declarations | lemma Gamma_inv_self (σ : MState d) (hσ : σ.m.PosDef) :
Gamma_inv σ σ.M.mat = 1 := by
-- We use `HermitianMat.cfc_mul` and the fact that $x^{-1/2} * x * x^{-1/2} = 1$ for $x > 0$.
have h_gamma_inv_sigma : (σ.M.cfc (fun x => x ^ (-1/2 : ℝ))).mat * (σ.M.mat) * (σ.M.cfc (fun x => x ^ (-1/2 : ℝ))).mat = (σ.M.cfc (f... |
114 | leanexplore_declaration | leanexplore:378327 | leanexplore_sqlite | leanexplore_declarations | lemma CPTPMap_apply_MState_M (Φ : CPTPMap d d₂) (σ : MState d) :
(Φ σ).M.mat = Φ.map σ.M.mat := by
exact rfl |
212 | leanexplore_declaration | leanexplore:378328 | leanexplore_sqlite | leanexplore_declarations | theorem T_map_unital (σ : MState d) (Φ : CPTPMap d d₂) (hΦσ : (Φ σ).m.PosDef) :
(T_map σ Φ) 1 = 1 := by
dsimp [T_map, T_op]
rw [Gamma_one σ]
rw [← CPTPMap_apply_MState_M]
rw [Gamma_inv_self (Φ σ) hΦσ] |
120 | leanexplore_declaration | leanexplore:378329 | leanexplore_sqlite | leanexplore_declarations | theorem T_map_is_CP_proof (σ : MState d) (Φ : CPTPMap d d₂) :
(T_map σ Φ).IsCompletelyPositive := by
apply T_is_CP |
1,665 | leanexplore_declaration | leanexplore:378330 | leanexplore_sqlite | leanexplore_declarations | lemma Gamma_Gamma_inv (σ : MState d) (hσ : σ.m.PosDef) (X : Matrix d d ℂ) :
Gamma σ (Gamma_inv σ X) = X := by
-- By definition of Gamma and Gamma_inv, we can simplify the expression.
have h_simp : (σ.M.cfc (fun x => x ^ (1 / 2 : ℝ))).mat * (σ.M.cfc (fun x => x ^ (-1 / 2 : ℝ))).mat = 1 := by
symm
convert... |
1,804 | leanexplore_declaration | leanexplore:378331 | leanexplore_sqlite | leanexplore_declarations | theorem HermitianMat.le_smul_one_imp_eigenvalues_le (A : HermitianMat d ℂ) (M : ℝ)
(h : A ≤ M • (1 : HermitianMat d ℂ)) (i : d) :
A.H.eigenvalues i ≤ M := by
-- By definition of eigenvalues, for any unit vector $v$, we have $\langle v, A v \rangle \leq M$.
have h_eigenvalue_le_M_step : ∀ (v : EuclideanSpace... |
1,184 | leanexplore_declaration | leanexplore:378332 | leanexplore_sqlite | leanexplore_declarations | theorem HermitianMat.eigenvalues_le_imp_le_smul_one (A : HermitianMat d ℂ) (M : ℝ)
(h : ∀ i, A.H.eigenvalues i ≤ M) :
A ≤ M • (1 : HermitianMat d ℂ) := by
have := A.H.spectral_theorem.symm;
-- Since $A$ is Hermitian, we can write it as $A = UDU^*$ where $U$ is unitary and $D$ is diagonal with eigenvalues $\... |
758 | leanexplore_declaration | leanexplore:378333 | leanexplore_sqlite | leanexplore_declarations | /-- The block matrix [[1, X], [X†, X†X]] is positive semidefinite. -/
theorem block_matrix_posSemidef {m n k : Type*} [Fintype m] [Fintype n] [Fintype k]
(X : Matrix k n ℂ) (Y : Matrix k m ℂ):
(Matrix.fromBlocks (Yᴴ * Y) (Yᴴ * X) (Xᴴ * Y) (Xᴴ * X)).PosSemidef := by
set Z : Matrix (m ⊕ n) (m ⊕ n) ℂ := Matrix.f... |
230 | leanexplore_declaration | leanexplore:378334 | leanexplore_sqlite | leanexplore_declarations | theorem block_matrix_one_posSemidef {m n : Type*} [Fintype m] [Fintype n] [DecidableEq m]
(X : Matrix m n ℂ) :
(Matrix.fromBlocks 1 X Xᴴ (Xᴴ * X)).PosSemidef := by
simpa using block_matrix_posSemidef X (1 : Matrix m m ℂ) |
396 | leanexplore_declaration | leanexplore:378335 | leanexplore_sqlite | leanexplore_declarations | /-- The Data Processing Inequality for the Sandwiched Renyi relative entropy.
Proved in `https://arxiv.org/pdf/1306.5920`. Seems kind of involved. -/
theorem sandwichedRenyiEntropy_DPI (hα : 1 ≤ α) (ρ σ : MState d) (Φ : CPTPMap d d₂) :
D̃_ α(Φ ρ‖Φ σ) ≤ D̃_ α(ρ‖σ) := by
--If we want, we can prove this just for 1 <... |
74 | leanexplore_declaration | leanexplore:378336 | leanexplore_sqlite | leanexplore_declarations | axiom sandwichedRenyiEntropy_DPI_ax : type_of% @sandwichedRenyiEntropy_DPI |
507 | leanexplore_declaration | leanexplore:378337 | leanexplore_sqlite | leanexplore_declarations | /--
Weighted Jensen inequality: for weights w_j ≥ 0 with ∑ w_j = 1, values b_j ≥ 0,
and q ≥ 1: (∑_j w_j * b_j)^q ≤ ∑_j w_j * b_j^q.
This is the special case of `Real.rpow_arith_mean_le_arith_mean_rpow` applied to
`Finset.univ`
-/
lemma weighted_jensen_rpow (b w : d → ℝ) (q : ℝ)
(hb : ∀ j, 0 ≤ b j) (hw : ∀ j, 0 ≤ w j... |
2,446 | leanexplore_declaration | leanexplore:378338 | leanexplore_sqlite | leanexplore_declarations | /--
Doubly stochastic Hölder inequality: for nonneg a, b, doubly stochastic w,
and conjugate p, q > 1:
∑_{ij} a_i * b_j * w_{ij} ≤ (∑ a_i^p)^{1/p} * (∑ b_j^q)^{1/q}.
-/
lemma doubly_stochastic_holder (a b : d → ℝ) (w : d → d → ℝ)
(ha : ∀ i, 0 ≤ a i) (hb : ∀ j, 0 ≤ b j)
(hw : ∀ i j, 0 ≤ w i j)
(hrow : ∀ i, ∑... |
1,360 | leanexplore_declaration | leanexplore:378339 | leanexplore_sqlite | leanexplore_declarations | /--
Hermitian trace Hölder inequality: for PSD A, B and conjugate exponents p, q > 1,
⟪A, B⟫ ≤ Tr[A^p]^(1/p) * Tr[B^q]^(1/q).
-/
lemma HermitianMat.inner_le_trace_rpow_mul
{A B : HermitianMat d ℂ} (hA : 0 ≤ A) (hB : 0 ≤ B)
(p q : ℝ) (hp : 1 < p) (hpq : 1/p + 1/q = 1) :
⟪A, B⟫_ℝ ≤ (A ^ p).trace ^ (1/p) * (B ... |
578 | leanexplore_declaration | leanexplore:378340 | leanexplore_sqlite | leanexplore_declarations | lemma MState.rpow_le_one' {r : ℝ} (hσ : 0 < r) : σ.M ^ r ≤ 1 := by
rw [HermitianMat.le_iff]
have h1 : 1 - σ.M ^ r = σ.M.cfc (fun x => 1 - x ^ r) := by
rw [HermitianMat.rpow_eq_cfc]
have : σ.M.cfc (fun _ => (1:ℝ)) = 1 := by ext1; simp
rw [← this, ← HermitianMat.cfc_sub_apply]
rw [h1, ← HermitianMat.zer... |
1,491 | leanexplore_declaration | leanexplore:378341 | leanexplore_sqlite | leanexplore_declarations | /-- If A ≥ 0 and A ≤ 1, then each eigenvalue of A is in [0, 1]. -/
lemma HermitianMat.eigenvalues_le_one_of_le_one
(A : HermitianMat d ℂ) (hA1 : A ≤ 1) (i : d) :
A.H.eigenvalues i ≤ 1 := by
by_contra! h
obtain ⟨v, hv₁, hv₂⟩ : ∃ v : EuclideanSpace ℂ d, ‖v‖ = 1 ∧ A.mat.mulVec v = (A.H.eigenvalues i) • v := by... |
1,127 | leanexplore_declaration | leanexplore:378342 | leanexplore_sqlite | leanexplore_declarations | /-- For positive A ≤ 1 and p ≥ 1, `Tr[A^p] ≤ Tr[A]`.
-/
lemma HermitianMat.trace_rpow_le_trace_of_le_one
(A : HermitianMat d ℂ) (hA : 0 ≤ A) (hA1 : A ≤ 1)
(p : ℝ) (hp : 1 ≤ p) :
(A ^ p).trace ≤ A.trace := by
-- Rewrite both sides using trace_rpow_eq_sum: Tr[A^p] = ∑ λ_i^p and Tr[A] = ∑ λ_i (using trace_rp... |
921 | leanexplore_declaration | leanexplore:378343 | leanexplore_sqlite | leanexplore_declarations | /-- For PSD A and p ≠ 0, `A^{-p} * A^p = HermitianMat.supportProj A`. -/
lemma HermitianMat.rpow_neg_mul_rpow_eq_supportProj
{A : HermitianMat d ℂ} (hA : 0 ≤ A) {p : ℝ} (hp : p ≠ 0) :
(A ^ (-p)).mat * (A ^ p).mat = A.supportProj.mat := by
unfold HermitianMat.supportProj;
have h_cfc : (A ^ (-p)).mat * (A ^ p... |
1,746 | leanexplore_declaration | leanexplore:378344 | leanexplore_sqlite | leanexplore_declarations | lemma HermitianMat.supportProj_mul_self (A : HermitianMat d ℂ) :
A.supportProj.mat * A.mat = A.mat := by
have h_supportProj_mul_A : ∀ (v : d → ℂ), (A.supportProj.val.mulVec (A.val.mulVec v)) = (A.val.mulVec v) := by
intro v
have h_range : WithLp.toLp 2 (A.val.mulVec v) ∈ LinearMap.range A.val.toEuclideanL... |
722 | leanexplore_declaration | leanexplore:378345 | leanexplore_sqlite | leanexplore_declarations | lemma HermitianMat.inner_supportProj_self (A : HermitianMat d ℂ) :
⟪A, A.supportProj⟫ = A.trace := by
simp only [trace, IsMaximalSelfAdjoint.RCLike_selfadjMap, Matrix.trace, Matrix.diag_apply,
mat_apply, map_sum, RCLike.re_to_complex]
simp only [inner, IsMaximalSelfAdjoint.RCLike_selfadjMap, RCLike.re_to_co... |
3,118 | leanexplore_declaration | leanexplore:378346 | leanexplore_sqlite | leanexplore_declarations | lemma HermitianMat.mul_supportProj_of_ker_le {A B : HermitianMat d ℂ}
(h : LinearMap.ker B.lin.toLinearMap ≤ LinearMap.ker A.lin.toLinearMap) :
A.mat * B.supportProj.mat = A.mat := by
-- Since $B.supportProj$ is the projection onto $range B$, we have $B.supportProj * B.mat = B.mat$.
have h_supportProj_mul_B :... |
239 | leanexplore_declaration | leanexplore:378347 | leanexplore_sqlite | leanexplore_declarations | lemma HermitianMat.inner_supportProj_of_ker_le {A B : HermitianMat d ℂ}
(h : LinearMap.ker B.lin.toLinearMap ≤ LinearMap.ker A.lin.toLinearMap) :
⟪A, B.supportProj⟫ = A.trace := by
rw [inner_def, mul_supportProj_of_ker_le h, trace] |
178 | leanexplore_declaration | leanexplore:378348 | leanexplore_sqlite | leanexplore_declarations | lemma supportProj_inner_density (h : σ.M.ker ≤ ρ.M.ker) :
⟪σ.M.supportProj, ρ.M⟫_ℝ = 1 := by
rw [HermitianMat.inner_comm, HermitianMat.inner_supportProj_of_ker_le h]
simp |
835 | leanexplore_declaration | leanexplore:378349 | leanexplore_sqlite | leanexplore_declarations | theorem inner_log_sub_log_nonneg (h : σ.M.ker ≤ ρ.M.ker) :
0 ≤ ⟪ρ.M, ρ.M.log - σ.M.log⟫ := by
-- Take the limit α → 1+ of the sandwiched Renyi relative entropy,
-- which converges to ⟪ρ.M, ρ.M.log - σ.M.log⟫ and is nonneg for all α > 1.
-- Use the limit from the right: for α > 1, log(Tr[...]^α) / (α - 1) ≥ 0
... |
471 | leanexplore_declaration | leanexplore:378350 | leanexplore_sqlite | leanexplore_declarations | theorem sandwichedRelRentropy_nonneg {α : ℝ} (hα : 0 < α) (h : σ.M.ker ≤ ρ.M.ker) :
0 ≤ if α = 1 then ⟪ρ.M, ρ.M.log - σ.M.log⟫
else ((ρ.M.conj (σ.M ^ ((1 - α)/(2 * α)) ).mat) ^ α).trace.log / (α - 1) := by
split_ifs with h1
· exact inner_log_sub_log_nonneg h
by_cases hα₂ : α > 1
· exact sandwichedRelR... |
2,552 | leanexplore_declaration | leanexplore:378351 | leanexplore_sqlite | leanexplore_declarations | /--
If the kernels of the components are contained, then the kernel of the Kronecker product is contained.
-/
lemma ker_kron_le_of_le {d₁ d₂ : Type*} [Fintype d₁] [Fintype d₂] [DecidableEq d₁] [DecidableEq d₂]
(A C : Matrix d₁ d₁ ℂ) (B D : Matrix d₂ d₂ ℂ)
(hA : LinearMap.ker A.toEuclideanLin ≤ LinearMap.ker C.t... |
4,439 | leanexplore_declaration | leanexplore:378352 | leanexplore_sqlite | leanexplore_declarations | /--
If the kernel of a product state is contained in another, the left component kernel is contained.
-/
lemma ker_le_of_ker_kron_le_left (ρ₁ σ₁ : MState d₁) (ρ₂ σ₂ : MState d₂)
(h : (σ₁ ⊗ᴹ σ₂).M.ker ≤ (ρ₁ ⊗ᴹ ρ₂).M.ker) :
σ₁.M.ker ≤ ρ₁.M.ker := by
intro u hu
obtain ⟨v, hv⟩ : ∃ v : EuclideanSpace ℂ d₂, v ∉ (σ₂... |
3,924 | leanexplore_declaration | leanexplore:378353 | leanexplore_sqlite | leanexplore_declarations | /--
If the kernel of a product state is contained in another, the right component kernel is contained.
-/
lemma ker_le_of_ker_kron_le_right (ρ₁ σ₁ : MState d₁) (ρ₂ σ₂ : MState d₂)
(h : (σ₁ ⊗ᴹ σ₂).M.ker ≤ (ρ₁ ⊗ᴹ ρ₂).M.ker) :
σ₂.M.ker ≤ ρ₂.M.ker := by
intro v hv;
have h_z : ∃ u : EuclideanSpace ℂ d₁, u ≠ 0 ∧ u ... |
459 | leanexplore_declaration | leanexplore:378354 | leanexplore_sqlite | leanexplore_declarations | /--
The kernel of a product state is contained in another product state's kernel iff the individual
kernels are contained.
-/
lemma ker_prod_le_iff (ρ₁ σ₁ : MState d₁) (ρ₂ σ₂ : MState d₂) :
(σ₁ ⊗ᴹ σ₂).M.ker ≤ (ρ₁ ⊗ᴹ ρ₂).M.ker ↔ σ₁.M.ker ≤ ρ₁.M.ker ∧ σ₂.M.ker ≤ ρ₂.M.ker := by
constructor <;> intro h;
· exact ⟨ k... |
1,461 | leanexplore_declaration | leanexplore:378355 | leanexplore_sqlite | leanexplore_declarations | lemma HermitianMat.inner_kron
(A : HermitianMat d₁ ℂ) (B : HermitianMat d₂ ℂ) (C : HermitianMat d₁ ℂ) (D : HermitianMat d₂ ℂ) :
⟪A ⊗ₖ B, C ⊗ₖ D⟫ = ⟪A, C⟫ * ⟪B, D⟫ := by
-- Apply the property of the trace of Kronecker products.
have h_trace_kron : ∀ (A₁ B₁ : Matrix d₁ d₁ ℂ) (A₂ B₂ : Matrix d₂ d₂ ℂ), Matrix.t... |
1,293 | leanexplore_declaration | leanexplore:378356 | leanexplore_sqlite | leanexplore_declarations | lemma continuousOn_rpow_uniform {K : Set ℝ} (hK : IsCompact K) :
ContinuousOn (fun r : ℝ ↦ UniformOnFun.ofFun {K} (fun t : ℝ ↦ t ^ r)) (Set.Ioi 0) := by
refine continuousOn_of_forall_continuousAt fun r hr => ?_
rw [Set.mem_Ioi] at hr
apply UniformOnFun.tendsto_iff_tendstoUniformlyOn.mpr
simp only [Set.mem_s... |
935 | leanexplore_declaration | leanexplore:378357 | leanexplore_sqlite | leanexplore_declarations | theorem sandwichedRelRentropy_additive_alpha_one_aux (ρ₁ σ₁ : MState d₁) (ρ₂ σ₂ : MState d₂)
(h1 : σ₁.M.ker ≤ ρ₁.M.ker) (h2 : σ₂.M.ker ≤ ρ₂.M.ker) :
⟪(ρ₁ ⊗ᴹ ρ₂).M, (ρ₁ ⊗ᴹ ρ₂).M.log - (σ₁ ⊗ᴹ σ₂).M.log⟫ =
⟪ρ₁.M, ρ₁.M.log - σ₁.M.log⟫_ℝ + ⟪ρ₂.M, ρ₂.M.log - σ₂.M.log⟫ := by
have h_log_kron : (ρ₁ ⊗ᴹ ρ₂).M.log = ρ₁... |
688 | leanexplore_declaration | leanexplore:378358 | leanexplore_sqlite | leanexplore_declarations | /-- The Sandwiched Renyi Relative Entropy, defined with ln (nits). Note that at `α = 1` this definition
switch to the standard Relative Entropy, for continuity. For α ≤ 0, this gives junk value 0. (There
is no conventional value for α < 0; there is a continuous limit at α = 0, but it is complicated and
unneeded a... |
63 | leanexplore_declaration | leanexplore:378359 | leanexplore_sqlite | leanexplore_declarations | notation "D̃_" α "(" ρ "‖" σ ")" => SandwichedRelRentropy α ρ σ |
245 | leanexplore_declaration | leanexplore:378360 | leanexplore_sqlite | leanexplore_declarations | /-- The quantum relative entropy `𝐃(ρ‖σ) := Tr[ρ (log ρ - log σ)]`. Also called
the Umegaki quantum relative entropy, when it's necessary to distinguish from other
relative entropies. -/
def qRelativeEnt (ρ σ : MState d) : ENNReal :=
D̃_1(ρ‖σ) |
45 | leanexplore_declaration | leanexplore:378361 | leanexplore_sqlite | leanexplore_declarations | notation "𝐃(" ρ "‖" σ ")" => qRelativeEnt ρ σ |
534 | leanexplore_declaration | leanexplore:378362 | leanexplore_sqlite | leanexplore_declarations | lemma sandwiched_term_product (ρ₁ σ₁ : MState d₁) (ρ₂ σ₂ : MState d₂) (α β : ℝ) :
(((ρ₁ ⊗ᴹ ρ₂).M.conj ((σ₁ ⊗ᴹ σ₂).M ^ β).mat) ^ α).trace =
((ρ₁.M.conj (σ₁.M ^ β).mat) ^ α).trace * ((ρ₂.M.conj (σ₂.M ^ β).mat) ^ α).trace := by
simp only [MState.prod]
rw [← HermitianMat.trace_kronecker]
rw [← HermitianMat.rp... |
1,398 | leanexplore_declaration | leanexplore:378363 | leanexplore_sqlite | leanexplore_declarations | theorem sandwichedRelRentropy_additive_alpha_ne_one {α : ℝ} (hα : α ≠ 1) (ρ₁ σ₁ : MState d₁) (ρ₂ σ₂ : MState d₂) :
D̃_ α(ρ₁ ⊗ᴹ ρ₂‖σ₁ ⊗ᴹ σ₂) = D̃_ α(ρ₁‖σ₁) + D̃_ α(ρ₂‖σ₂) := by
by_cases hα0 : 0 < α; swap
· simp [SandwichedRelRentropy, hα0]
by_cases h_ker : σ₁.M.ker ≤ ρ₁.M.ker ∧ σ₂.M.ker ≤ ρ₂.M.ker
· simp_all... |
405 | leanexplore_declaration | leanexplore:378364 | leanexplore_sqlite | leanexplore_declarations | /-- The Sandwiched Renyi Relative entropy is additive when the inputs are product states -/
@[simp]
theorem sandwichedRelRentropy_additive (α) (ρ₁ σ₁ : MState d₁) (ρ₂ σ₂ : MState d₂) :
D̃_ α(ρ₁ ⊗ᴹ ρ₂‖σ₁ ⊗ᴹ σ₂) = D̃_ α(ρ₁‖σ₁) + D̃_ α(ρ₂‖σ₂) := by
rcases eq_or_ne α 1 with rfl | hα
· exact sandwichedRelRentropy_ad... |
315 | leanexplore_declaration | leanexplore:378365 | leanexplore_sqlite | leanexplore_declarations | /-- The quantum relative entropy is additive when the inputs are product states -/
@[simp]
theorem qRelativeEnt_additive (ρ₁ σ₁ : MState d₁) (ρ₂ σ₂ : MState d₂) :
𝐃(ρ₁ ⊗ᴹ ρ₂‖σ₁ ⊗ᴹ σ₂) = 𝐃(ρ₁‖σ₁) + 𝐃(ρ₂‖σ₂) := by
--or `simp [SandwichedRelRentropy]`.
exact sandwichedRelRentropy_additive_alpha_one ρ₁ σ₁ ρ₂ σ₂ |
317 | leanexplore_declaration | leanexplore:378366 | leanexplore_sqlite | leanexplore_declarations | @[simp]
theorem sandwichedRelRentropy_relabel (ρ σ : MState d) (e : d₂ ≃ d) :
D̃_ α(ρ.relabel e‖σ.relabel e) = D̃_ α(ρ‖σ) := by
simp only [SandwichedRelRentropy, MState.relabel_M]
have := HermitianMat.ker_reindex_le_iff (σ : HermitianMat d ℂ ) ↑ρ e.symm
split_ifs <;> simp_all [HermitianMat.conj_submatrix] |
1,086 | leanexplore_declaration | leanexplore:378367 | leanexplore_sqlite | leanexplore_declarations | @[simp]
theorem sandwichedRelRentropy_self (hα : 0 < α) (ρ : MState d) :
--Technically this holds for all α except for `-1` and `0`. But those are stupid.
--TODO: Maybe SandwichedRelRentropy should actually be defined differently for α = 0?
D̃_ α(ρ‖ρ) = 0 := by
simp? [SandwichedRelRentropy, NNReal.eq_iff, hα]... |
266 | leanexplore_declaration | leanexplore:378368 | leanexplore_sqlite | leanexplore_declarations | @[aesop (rule_sets := [finiteness]) unsafe apply]
theorem sandwichedRelEntropy_ne_top {ρ σ : MState d} [σ.M.NonSingular] : D̃_ α(ρ‖σ) ≠ ⊤ := by
by_cases 0 < α
· simp [SandwichedRelRentropy, HermitianMat.nonSingular_ker_bot, *]
· simp [SandwichedRelRentropy, *] |
165 | leanexplore_declaration | leanexplore:378369 | leanexplore_sqlite | leanexplore_declarations | @[fun_prop]
lemma continuousOn_exponent : ContinuousOn (fun α : ℝ => (1 - α) / (2 * α)) (Set.Ioi 0) := by
fun_prop (disch := intros; linarith [Set.mem_Ioi.mp ‹_›]) |
219 | leanexplore_declaration | leanexplore:378370 | leanexplore_sqlite | leanexplore_declarations | @[fun_prop]
lemma Complex.continuousOn_cpow_const_Ioi (z : ℂ) :
ContinuousOn (fun r : ℝ => z ^ (r : ℂ)) (Set.Ioi 0) := by
apply ContinuousOn.const_cpow (f := Complex.ofReal)
· fun_prop
· grind [ofReal_ne_zero] |
348 | leanexplore_declaration | leanexplore:378371 | leanexplore_sqlite | leanexplore_declarations | /--
The function α ↦ (1 - α) / (2 * α) maps the interval (1, ∞) to (-∞, 0).
-/
lemma maps_to_Iio_of_Ioi_1 : Set.MapsTo (fun α : ℝ => (1 - α) / (2 * α)) (Set.Ioi 1) (Set.Iio 0) := by
intro x hx
rw [Set.mem_Ioi] at hx
rw [Set.mem_Iio]
have h1 : 1 - x < 0 := by linarith
have h2 : 0 < 2 * x := by linarith
exact... |
153 | leanexplore_declaration | leanexplore:378372 | leanexplore_sqlite | leanexplore_declarations | @[simp]
theorem frontier_singleton {X : Type*} [TopologicalSpace X] [T1Space X] [PerfectSpace X]
(p : X) : frontier {p} = {p} := by
simp [frontier] |
648 | leanexplore_declaration | leanexplore:378373 | leanexplore_sqlite | leanexplore_declarations | @[fun_prop]
theorem sandwichedRelRentropy.continuousOn (ρ σ : MState d) :
ContinuousOn (fun α => D̃_ α(ρ‖σ)) (Set.Ioi 0) := by
--If this turns out too hard, we just need `ContinousAt f 1`.
--If that's still too hard, we really _just_ need that `(𝓝[>] 1).Tendsto f (𝓝 (f 1))`.
intro α hα
rcases lt_trichotom... |
285 | leanexplore_declaration | leanexplore:378374 | leanexplore_sqlite | leanexplore_declarations | /-- Quantum relative entropy as `Tr[ρ (log ρ - log σ)]` when supports are contained. -/
theorem qRelativeEnt_ker {ρ σ : MState d} (h : σ.M.ker ≤ ρ.M.ker) :
𝐃(ρ‖σ).toEReal = ⟪ρ.M, ρ.M.log - σ.M.log⟫ := by
simp [qRelativeEnt, SandwichedRelRentropy, h, EReal.coe_nnreal_eq_coe_real] |
381 | leanexplore_declaration | leanexplore:378375 | leanexplore_sqlite | leanexplore_declarations | theorem qRelativeEnt_eq_neg_Sᵥₙ_add (ρ σ : MState d) :
(qRelativeEnt ρ σ).toEReal = -(Sᵥₙ ρ : EReal) +
if σ.M.ker ≤ ρ.M.ker then (-⟪ρ.M, σ.M.log⟫ : EReal) else (⊤ : EReal) := by
by_cases h : σ.M.ker ≤ ρ.M.ker
· simp [h, Sᵥₙ_eq_neg_trace_log, qRelativeEnt_ker, inner_sub_right]
rw [real_inner_comm, sub_... |
205 | leanexplore_declaration | leanexplore:378376 | leanexplore_sqlite | leanexplore_declarations | /-- The quantum relative entropy is unchanged by `MState.relabel` -/
@[simp]
theorem qRelativeEnt_relabel (ρ σ : MState d) (e : d₂ ≃ d) :
𝐃(ρ.relabel e‖σ.relabel e) = 𝐃(ρ‖σ) := by
simp [qRelativeEnt] |
208 | leanexplore_declaration | leanexplore:378377 | leanexplore_sqlite | leanexplore_declarations | @[simp]
theorem sandwichedRelRentropy_of_unique [Unique d] (ρ σ : MState d) :
D̃_α(ρ‖σ) = 0 := by
rcases Subsingleton.allEq ρ default
rcases Subsingleton.allEq σ default
simp [SandwichedRelRentropy] |
132 | leanexplore_declaration | leanexplore:378378 | leanexplore_sqlite | leanexplore_declarations | @[simp]
theorem qRelEntropy_of_unique [Unique d] (ρ σ : MState d) :
𝐃(ρ‖σ) = 0 := by
exact sandwichedRelRentropy_of_unique ρ σ |
775 | leanexplore_declaration | leanexplore:378379 | leanexplore_sqlite | leanexplore_declarations | theorem sandwichedRelRentropy_heq_congr
{d₁ d₂ : Type u} [Fintype d₁] [DecidableEq d₁] [Fintype d₂] [DecidableEq d₂]
{ρ₁ σ₁ : MState d₁} {ρ₂ σ₂ : MState d₂} (hd : d₁ = d₂) (hρ : ρ₁ ≍ ρ₂) (hσ : σ₁ ≍ σ₂) :
D̃_ α(ρ₁‖σ₁) = D̃_ α(ρ₂‖σ₂) := by
--Why does this thm need to exist? Why not just `subst d₁` and `... |
344 | leanexplore_declaration | leanexplore:378380 | leanexplore_sqlite | leanexplore_declarations | @[gcongr]
theorem sandwichedRelRentropy_congr {α : ℝ}
{d₁ d₂ : Type u} [Fintype d₁] [DecidableEq d₁] [Fintype d₂] [DecidableEq d₂]
{ρ₁ σ₁ : MState d₁} {ρ₂ σ₂ : MState d₂} (hd : d₁ = d₂)
(hρ : ρ₁ = ρ₂.relabel (Equiv.cast hd)) (hσ : σ₁ = σ₂.relabel (Equiv.cast hd)) :
D̃_ α(ρ₁‖σ₁) = D̃_ α(ρ₂‖σ₂) :=... |
288 | leanexplore_declaration | leanexplore:378381 | leanexplore_sqlite | leanexplore_declarations | @[gcongr]
theorem qRelEntropy_heq_congr {d₁ d₂ : Type u} [Fintype d₁] [DecidableEq d₁] [Fintype d₂] [DecidableEq d₂]
{ρ₁ σ₁ : MState d₁} {ρ₂ σ₂ : MState d₂} (hd : d₁ = d₂) (hρ : ρ₁ ≍ ρ₂) (hσ : σ₁ ≍ σ₂) :
𝐃(ρ₁‖σ₁) = 𝐃(ρ₂‖σ₂) := by
exact sandwichedRelRentropy_heq_congr hd hρ hσ |
236 | leanexplore_declaration | leanexplore:378382 | leanexplore_sqlite | leanexplore_declarations | /-- Quantum relative entropy when σ has full rank -/
theorem qRelativeEnt_rank {ρ σ : MState d} [σ.M.NonSingular] :
(𝐃(ρ‖σ) : EReal) = ⟪ρ.M, ρ.M.log - σ.M.log⟫ := by
apply qRelativeEnt_ker
simp [HermitianMat.nonSingular_ker_bot] |
706 | leanexplore_declaration | leanexplore:378383 | leanexplore_sqlite | leanexplore_declarations | lemma inner_log_bounded_near (hx : σ.M.ker ≤ ρ.M.ker) {y : ℝ} (hy : ⟪ρ.M, σ.M.log⟫ < y) :
∀ᶠ x in nhds σ, x.M.ker ≤ ρ.M.ker → ⟪ρ.M, x.M.log⟫ < y := by
have h_tendsto := tendsto_inner_cfc_approxLog ρ σ hx
obtain ⟨N, hN⟩ : ∃ N : ℕ, ⟪ρ.M, σ.M.cfc (approxLog N)⟫ < y := by
by_contra h
push Not at h
exact... |
2,365 | leanexplore_declaration | leanexplore:378384 | leanexplore_sqlite | leanexplore_declarations | theorem qRelativeEnt_lowerSemicontinuous_2 (ρ x : MState d) (hx : ¬(x.M.ker ≤ ρ.M.ker)) (y : ENNReal) (hy : y < ⊤) :
∀ᶠ (x' : MState d) in nhds x,
y < (if x'.M.ker ≤ ρ.M.ker then ⟪ρ.M, ρ.M.log - x'.M.log⟫ else ⊤ : EReal) := by
-- Since $y < \top$, we can choose a neighborhood around $x$ where the inner prod... |
1,331 | leanexplore_declaration | leanexplore:378385 | leanexplore_sqlite | leanexplore_declarations | @[fun_prop]
theorem qRelativeEnt.lowerSemicontinuous (ρ : MState d) : LowerSemicontinuous fun σ => 𝐃(ρ‖σ) := by
simp_rw [qRelativeEnt, SandwichedRelRentropy, if_true, lowerSemicontinuous_iff]
simp only [zero_lt_one, ↓reduceDIte]
intro x
by_cases hx : x.M.ker ≤ ρ.M.ker
· intro y hy
obtain ⟨y', hy'⟩ : ∃ y'... |
688 | leanexplore_declaration | leanexplore:378386 | leanexplore_sqlite | leanexplore_declarations | /-- Joint convexity of Quantum relative entropy. We can't state this with `ConvexOn` because that requires
an `AddCommMonoid`, which `MState`s are not. Instead we state it with `Mixable`.
TODO:
* Add the `Mixable` instance that infers from the `Coe` so that the right hand side can be written as
`p [𝐃(ρ₁‖σ₁) ↔ 𝐃(ρ₂‖... |
88 | leanexplore_declaration | leanexplore:378387 | leanexplore_sqlite | leanexplore_declarations | @[simp]
theorem qRelEntropy_self (ρ : MState d) : 𝐃(ρ‖ρ) = 0 := by
simp [qRelativeEnt] |
164 | leanexplore_declaration | leanexplore:378388 | leanexplore_sqlite | leanexplore_declarations | @[aesop (rule_sets := [finiteness]) unsafe apply]
theorem qRelativeEnt_ne_top {ρ σ : MState d} [σ.M.NonSingular] : 𝐃(ρ‖σ) ≠ ⊤ := by
rw [qRelativeEnt]
finiteness |
170 | leanexplore_declaration | leanexplore:378389 | leanexplore_sqlite | leanexplore_declarations | /-- `I(A:B) = 𝐃(ρᴬᴮ‖ρᴬ ⊗ ρᴮ)` -/
theorem qMutualInfo_as_qRelativeEnt (ρ : MState (dA × dB)) :
qMutualInfo ρ = (𝐃(ρ‖ρ.traceRight ⊗ᴹ ρ.traceLeft) : EReal) := by
sorry |
1,481 | leanexplore_declaration | leanexplore:378390 | leanexplore_sqlite | leanexplore_declarations | theorem qRelEntropy_le_add_of_le_smul (ρ : MState d) {σ₁ σ₂ : MState d} (hσ : σ₂.M ≤ α • σ₁.M) :
𝐃(ρ‖σ₁) ≤ 𝐃(ρ‖σ₂) + ENNReal.ofReal (Real.log α)
:= by
-- Consider two cases: when the kernel of σ₂ is contained in the kernel of ρ and when it is not.
by_cases hker : σ₂.M.ker ≤ ρ.M.ker;
· by_cases hker₁ : σ... |
153 | leanexplore_declaration | leanexplore:378391 | leanexplore_sqlite | leanexplore_declarations | theorem qRelativeEnt_op_le {ρ σ : MState d} (h : ρ.M ≤ α • σ.M) :
𝐃(ρ‖σ) ≤ .ofReal (Real.log α) := by
simpa using qRelEntropy_le_add_of_le_smul ρ h |
241 | leanexplore_declaration | leanexplore:378392 | leanexplore_sqlite | leanexplore_declarations | /-- The operator norm of a matrix, with respect to the Euclidean norm (l2 norm) on the domain and codomain. -/
noncomputable def Matrix.opNorm [RCLike 𝕜] (A : Matrix m n 𝕜) : ℝ :=
‖LinearMap.toContinuousLinearMap (Matrix.toEuclideanLin A)‖ |
1,042 | leanexplore_declaration | leanexplore:378393 | leanexplore_sqlite | leanexplore_declarations | theorem Matrix.isometry_preserves_norm (A : Matrix n m 𝕜) (hA : A.Isometry) (x : EuclideanSpace 𝕜 m) :
‖Matrix.toEuclideanLin A x‖ = ‖x‖ := by
rw [ ← sq_eq_sq₀ ( by positivity ) ( by positivity ), Matrix.Isometry ] at *;
simp [ EuclideanSpace.norm_eq]
have h_inner : ∀ x y : EuclideanSpace 𝕜 m, inner 𝕜 (to... |
540 | leanexplore_declaration | leanexplore:378394 | leanexplore_sqlite | leanexplore_declarations | theorem Matrix.opNorm_isometry [Nonempty m] (A : Matrix n m 𝕜) (hA : A.Isometry) : Matrix.opNorm A = 1 := by
have h_opNorm : ∀ x : EuclideanSpace 𝕜 m, ‖Matrix.toEuclideanLin A x‖ = ‖x‖ := by
convert Matrix.isometry_preserves_norm A hA;
refine' le_antisymm ( csInf_le _ _ ) ( le_csInf _ _ );
· exact ⟨ 0, fun ... |
264 | leanexplore_declaration | leanexplore:378395 | leanexplore_sqlite | leanexplore_declarations | /-- The matrix representation of the map $v \mapsto v \otimes \sum_k |k\rangle|k\rangle$.
The output index is `(d1 \times d2) \times d2`. -/
def map_to_tensor_MES : Matrix ((d₁ × d₂) × d₂) d₁ ℂ :=
Matrix.of fun ((i, j), k) l => if i = l ∧ j = k then 1 else 0 |
505 | leanexplore_declaration | leanexplore:378396 | leanexplore_sqlite | leanexplore_declarations | theorem map_to_tensor_MES_prop (A : Matrix (d₁ × d₂) (d₁ × d₂) ℂ) :
(map_to_tensor_MES d₁ d₂).conjTranspose * (Matrix.kronecker A (1 : Matrix d₂ d₂ ℂ)) * (map_to_tensor_MES d₁ d₂) =
A.traceRight := by
ext i j; simp [map_to_tensor_MES, Matrix.mul_apply]
simp [ Finset.sum_ite, Matrix.one_apply]
rw [ Finset.... |
344 | leanexplore_declaration | leanexplore:378397 | leanexplore_sqlite | leanexplore_declarations | /-- The isometry V_rho from the paper. -/
noncomputable def V_rho (ρAB : HermitianMat (dA × dB) ℂ) : Matrix ((dA × dB) × dB) dA ℂ :=
let ρA_inv_sqrt := ρAB.traceRight⁻¹.sqrt
let ρAB_sqrt := ρAB.sqrt
let I_B := (1 : Matrix dB dB ℂ)
let term1 := ρAB_sqrt.mat ⊗ₖ I_B
let term2 := map_to_tensor_MES dA dB
term1 *... |
297 | leanexplore_declaration | leanexplore:378398 | leanexplore_sqlite | leanexplore_declarations | /-- The isometry V_sigma from the paper. -/
noncomputable def V_sigma (σBC : HermitianMat (dB × dC) ℂ) : Matrix (dB × (dB × dC)) dC ℂ :=
(V_rho (σBC.reindex (Equiv.prodComm dB dC))).reindex
((Equiv.prodComm _ _).trans (Equiv.prodCongr (Equiv.refl _) (Equiv.prodComm _ _)))
(Equiv.refl _) |
1,567 | leanexplore_declaration | leanexplore:378399 | leanexplore_sqlite | leanexplore_declarations | /--
V_rho^H * V_rho simplifies to sandwiching the traceRight by the inverse square root.
-/
lemma V_rho_conj_mul_self_eq (ρAB : HermitianMat (dA × dB) ℂ) (hρ : ρAB.mat.PosDef) :
let ρA := ρAB.traceRight
let ρA_inv_sqrt := (ρA⁻¹.sqrt : Matrix dA dA ℂ)
(V_rho ρAB)ᴴ * (V_rho ρAB) = ρA_inv_sqrt * ρAB.traceRight... |
3,913 | leanexplore_declaration | leanexplore:378400 | leanexplore_sqlite | leanexplore_declarations | /--
The partial trace (left) of a positive definite matrix is positive definite.
-/
lemma PosDef_traceRight [Nonempty dB] (A : HermitianMat (dA × dB) ℂ) (hA : A.mat.PosDef) :
A.traceRight.mat.PosDef := by
have h_trace_right_pos_def : ∀ (x : EuclideanSpace ℂ dA), x ≠ 0 → 0 < ∑ k : dB, (star x) ⬝ᵥ (Matrix.mulVec (A... |
196 | leanexplore_declaration | leanexplore:378401 | leanexplore_sqlite | leanexplore_declarations | lemma PosDef_traceLeft [Nonempty dA] (A : HermitianMat (dA × dB) ℂ) (hA : A.mat.PosDef) :
A.traceLeft.mat.PosDef := by
exact PosDef_traceRight (A.reindex (Equiv.prodComm _ _)) (hA.reindex _) |
565 | leanexplore_declaration | leanexplore:378402 | leanexplore_sqlite | leanexplore_declarations | /--
V_rho is an isometry.
-/
theorem V_rho_isometry [Nonempty dB] (ρAB : HermitianMat (dA × dB) ℂ) (hρ : ρAB.mat.PosDef) :
(V_rho ρAB)ᴴ * (V_rho ρAB) = 1 := by
-- Since ρA is positive definite, we can use the fact that ρA_inv_sqrt * ρA * ρA_inv_sqrt = I.
have h_pos_def : (ρAB.traceRight⁻¹.sqrt : Matrix dA dA ℂ)... |
241 | leanexplore_declaration | leanexplore:378403 | leanexplore_sqlite | leanexplore_declarations | /--
V_sigma is an isometry.
-/
theorem V_sigma_isometry [Nonempty dB] (σBC : HermitianMat (dB × dC) ℂ) (hσ : σBC.mat.PosDef) :
(V_sigma σBC).conjTranspose * (V_sigma σBC) = 1 := by
simp [V_sigma]
exact V_rho_isometry _ (hσ.reindex _) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.