cfahlgren1's picture
download
raw
3.7 kB
import OAI.Analysis.MutuallyUnbiased.Completion.Complement
import OAI.Analysis.MutuallyUnbiased.Completion.ComplementAlgebra
namespace OAI
/-! Exact multiplication tables for six and seven unbiased pinching operators. -/
namespace MUB6.Weiner
open Matrix
open scoped BigOperators
abbrev SuperSix := Matrix (Fin 6 × Fin 6) (Fin 6 × Fin 6) ℂ
lemma six_projection_sum_square (D : Fin 6 → SuperSix)
(hpair : ∀ r s, D r * D s = if r = s then D r else (1 / 6 : ℂ) • traceMatrix) :
(∑ r, D r) * (∑ r, D r) = (∑ r, D r) + 5 * traceMatrix := by
have h := sum_pairwise_projection_square D ((1 / 6 : ℂ) • traceMatrix) hpair
norm_num at h
have hcoeff : (1 / 6 : ℂ) • ((30 : SuperSix) * traceMatrix) = 5 * traceMatrix := by
ext p q
norm_num [Matrix.mul_apply, Matrix.ofNat_apply, ite_mul]
ring
rwa [hcoeff] at h
lemma seven_projection_sum_square (D : Fin 7 → SuperSix)
(hpair : ∀ r s, D r * D s = if r = s then D r else (1 / 6 : ℂ) • traceMatrix) :
(∑ r, D r) * (∑ r, D r) = (∑ r, D r) + 7 * traceMatrix := by
have h := sum_pairwise_projection_square D ((1 / 6 : ℂ) • traceMatrix) hpair
norm_num at h
have hcoeff : (1 / 6 : ℂ) • ((42 : SuperSix) * traceMatrix) = 7 * traceMatrix := by
ext p q
norm_num [Matrix.mul_apply, Matrix.ofNat_apply, ite_mul]
ring
rwa [hcoeff] at h
lemma projection_sum_mul_traceMatrix {m : ℕ} (D : Fin m → SuperSix)
(hunital : ∀ r, applySuper (D r) 1 = 1) :
(∑ r, D r) * traceMatrix = (m : SuperSix) * traceMatrix := by
simp only [Matrix.sum_mul, mul_traceMatrix_of_unital _ (hunital _), Finset.sum_const,
Finset.card_univ, Fintype.card_fin, nsmul_eq_mul]
lemma traceMatrix_mul_projection_sum {m : ℕ} (D : Fin m → SuperSix)
(hherm : ∀ r, (D r)ᴴ = D r) (hunital : ∀ r, applySuper (D r) 1 = 1) :
traceMatrix * (∑ r, D r) = (m : SuperSix) * traceMatrix := by
simp only [Matrix.mul_sum, traceMatrix_mul_of_hermitian_unital _ (hherm _) (hunital _),
Finset.sum_const, Finset.card_univ, Fintype.card_fin, nsmul_eq_mul]
lemma traceMatrix_six_square : (traceMatrix : SuperSix) * traceMatrix = 6 * traceMatrix := by
calc
(traceMatrix : SuperSix) * traceMatrix = (6 : ℂ) • traceMatrix := by
simpa only [Fintype.card_fin, Nat.cast_ofNat] using (traceMatrix_square (n := Fin 6))
_ = 6 * traceMatrix := by
ext p q
norm_num [Matrix.mul_apply, Matrix.ofNat_apply, ite_mul]
/-- Six mutually unbiased unital pinching maps give an idempotent complement. -/
theorem six_complement_idempotent (D : Fin 6 → SuperSix)
(hpair : ∀ r s, D r * D s = if r = s then D r else (1 / 6 : ℂ) • traceMatrix)
(hherm : ∀ r, (D r)ᴴ = D r) (hunital : ∀ r, applySuper (D r) 1 = 1) :
(1 + traceMatrix - ∑ r, D r) * (1 + traceMatrix - ∑ r, D r) =
1 + traceMatrix - ∑ r, D r :=
complement_idempotent _ _ (six_projection_sum_square D hpair)
(projection_sum_mul_traceMatrix D hunital)
(traceMatrix_mul_projection_sum D hherm hunital) traceMatrix_six_square
/-- The complete seven-basis complement is idempotent as well. -/
theorem seven_complement_idempotent (D : Fin 7 → SuperSix)
(hpair : ∀ r s, D r * D s = if r = s then D r else (1 / 6 : ℂ) • traceMatrix)
(hherm : ∀ r, (D r)ᴴ = D r) (hunital : ∀ r, applySuper (D r) 1 = 1) :
(1 + traceMatrix - ∑ r, D r) * (1 + traceMatrix - ∑ r, D r) =
1 + traceMatrix - ∑ r, D r :=
complete_complement_idempotent _ _ (seven_projection_sum_square D hpair)
(projection_sum_mul_traceMatrix D hunital)
(traceMatrix_mul_projection_sum D hherm hunital) traceMatrix_six_square
end MUB6.Weiner
end OAI

Xet Storage Details

Size:
3.7 kB
·
Xet hash:
be475927934fb3cfc76789e6dbf1e6e56062ee71fda2d3390aaf37ad00e483b0

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.