Documentation

MIPRE.Foundations.FinitePairExpand

Finite pairs are closed under ancilla extensions and under the exchange of the players #

The Pauli basis analysis applies the low-individual-degree hypothesis in the ancilla extensions M.expand e of the model it works in (QLD.soundIn_of_lidt), and the answer-reduction and Pauli basis analyses are stated for both orders of the players. So the class of finite pairs (MIPRE/Foundations/FinitePair.lean) has to be closed under both, which this file shows (lem:finite-pair-expand).

Faithful tracial states on matrices of operators #

noncomputable def MIPRE.VecTrace.ofFintype {H : Type u_1} [NormedAddCommGroup H] [InnerProductSpace ℂ H] {s : Set (H →L[ℂ] H)} {κ : Type u_2} [Fintype κ] (g : κ → H) (norm_sq_sum : ∑ k : κ, ‖g k‖ ^ 2 = 1) (trace_mul_comm : ∀ x ∈ s, ∀ y ∈ s, ∑ k : κ, inner ℂ (g k) ((x * y) (g k)) = ∑ k : κ, inner ℂ (g k) ((y * x) (g k))) (separating : ∀ x ∈ s, (∀ (k : κ), x (g k) = 0) → x = 0) :

A faithful tracial state given by vectors indexed by any finite type, numbered.

Equations
Instances For
    def MIPRE.VecTrace.mono {H : Type u_1} [NormedAddCommGroup H] [InnerProductSpace ℂ H] {s t : Set (H →L[ℂ] H)} (τ : VecTrace t) (h : s ⊆ t) :

    A faithful tracial state on a set is one on each of its subsets.

    Equations
    • τ.mono h = { n := τ.n, g := τ.g, norm_sq_sum := ⋯, trace_mul_comm := ⋯, separating := ⋯ }
    Instances For
      noncomputable def MIPRE.VecTrace.amplVec {H : Type u_1} [NormedAddCommGroup H] [InnerProductSpace ℂ H] {ι : Type u_2} [Fintype ι] [DecidableEq ι] {s : Set (H →L[ℂ] H)} (τ : VecTrace s) (m : Fin τ.n × ι) :

      The vectors of the amplified state: |ι|^{-1/2} gₖ ⊗ eₚ.

      Equations
      Instances For
        theorem MIPRE.VecTrace.sum_inner_amplVec {H : Type u_1} [NormedAddCommGroup H] [InnerProductSpace ℂ H] {ι : Type u_2} [Fintype ι] [DecidableEq ι] {s : Set (H →L[ℂ] H)} (τ : VecTrace s) (Z : Matrix ι ι (H →L[ℂ] H)) :
        ∑ m : Fin τ.n × ι, inner ℂ (τ.amplVec m) ((OperatorMatrix.toCLM Z) (τ.amplVec m)) = (↑(Fintype.card ι))⁻¹ * ∑ p : ι, ∑ k : Fin τ.n, inner ℂ (τ.g k) ((Z p p) (τ.g k))

        The amplified state of the operator of a matrix is the normalized trace of the matrix, |ι|⁻¹ ∑ₚ τ(Zₚₚ).

        theorem MIPRE.VecTrace.sum_trace_mul_comm {H : Type u_1} [NormedAddCommGroup H] [InnerProductSpace ℂ H] {ι : Type u_2} [Fintype ι] {s : Set (H →L[ℂ] H)} (τ : VecTrace s) {Z W : Matrix ι ι (H →L[ℂ] H)} (hZ : Z ∈ s.matrix) (hW : W ∈ s.matrix) :
        ∑ p : ι, ∑ k : Fin τ.n, inner ℂ (τ.g k) (((Z * W) p p) (τ.g k)) = ∑ p : ι, ∑ k : Fin τ.n, inner ℂ (τ.g k) (((W * Z) p p) (τ.g k))

        The normalized trace of a product of matrices over s is tracial when τ is.

        noncomputable def MIPRE.VecTrace.ampl {H : Type u_1} [NormedAddCommGroup H] [InnerProductSpace ℂ H] {ι : Type u_2} [Fintype ι] [DecidableEq ι] [Nonempty ι] {s : Set (H →L[ℂ] H)} (τ : VecTrace s) :

        The normalized trace of matrices over a set carrying a faithful tracial state: the operators of the ι × ι matrices with entries in s carry the faithful tracial state τ'(Z) = |ι|⁻¹ ∑ₚ τ(Zₚₚ), given by the vectors |ι|^{-1/2} gₖ ⊗ eₚ.

        Equations
        Instances For

          The players' operators of an extension #

          theorem MIPRE.liftLeft_map {R : Type u_1} {S : Type u_2} {α : Type u_3} {β : Type u_4} [Ring R] [StarRing R] [Algebra ℂ R] [Ring S] [StarRing S] [Algebra ℂ S] [Fintype α] [DecidableEq α] [Fintype β] [DecidableEq β] {f : R → S} (hf : f 0 = 0) (X : Matrix α α R) :
          (liftLeft X).map f = liftLeft (X.map f)

          The first register's matrices commute with a map of the entries vanishing at zero.

          theorem MIPRE.liftRight_map {R : Type u_1} {S : Type u_2} {α : Type u_3} {β : Type u_4} [Ring R] [StarRing R] [Algebra ℂ R] [Ring S] [StarRing S] [Algebra ℂ S] [Fintype α] [DecidableEq α] [Fintype β] [DecidableEq β] {f : R → S} (hf : f 0 = 0) (Y : Matrix β β R) :

          The second register's matrices commute with a map of the entries vanishing at zero.

          theorem MIPRE.BipartiteModel.IsFinitePair.swap {𝒞 : Type u_1} {𝒜 : Type u_2} {ℬ : Type u_3} [Ring 𝒞] [StarRing 𝒞] [Algebra ℂ 𝒞] [Ring 𝒜] [StarRing 𝒜] [Algebra ℂ 𝒜] [Ring ℬ] [StarRing ℬ] [Algebra ℂ ℬ] {M : BipartiteModel 𝒞 𝒜 ℬ} (h : M.IsFinitePair) :

          A finite pair with the players exchanged is a finite pair.

          theorem MIPRE.BipartiteModel.expand_π_πA_eq_toCLM {𝒞 : Type u_1} {𝒜 : Type u_2} {ℬ : Type u_3} [Ring 𝒞] [StarRing 𝒞] [Algebra ℂ 𝒞] [Ring 𝒜] [StarRing 𝒜] [Algebra ℂ 𝒜] [Ring ℬ] [StarRing ℬ] [Algebra ℂ ℬ] {α : Type u_4} {β : Type u_5} [Fintype α] [DecidableEq α] [Fintype β] [DecidableEq β] (M : BipartiteModel 𝒞 𝒜 ℬ) (e : α × β → ℂ) (X : Matrix α α 𝒜) :
          (M.expand e).π ((M.expand e).πA X) = OperatorMatrix.toCLM (liftLeft (X.map ⇑(M.π.comp M.πA)))

          The first player's operators of an extension are X ⊗ 1_β over the model's operators.

          theorem MIPRE.BipartiteModel.expand_π_πB_eq_toCLM {𝒞 : Type u_1} {𝒜 : Type u_2} {ℬ : Type u_3} [Ring 𝒞] [StarRing 𝒞] [Algebra ℂ 𝒞] [Ring 𝒜] [StarRing 𝒜] [Algebra ℂ 𝒜] [Ring ℬ] [StarRing ℬ] [Algebra ℂ ℬ] {α : Type u_4} {β : Type u_5} [Fintype α] [DecidableEq α] [Fintype β] [DecidableEq β] (M : BipartiteModel 𝒞 𝒜 ℬ) (e : α × β → ℂ) (Y : Matrix β β ℬ) :
          (M.expand e).π ((M.expand e).πB Y) = OperatorMatrix.toCLM (liftRight (Y.map ⇑(M.π.comp M.πB)))

          The second player's operators of an extension are 1_α ⊗ Y over the model's operators.

          theorem MIPRE.BipartiteModel.opsA_expand_subset {𝒞 : Type u_1} {𝒜 : Type u_2} {ℬ : Type u_3} [Ring 𝒞] [StarRing 𝒞] [Algebra ℂ 𝒞] [Ring 𝒜] [StarRing 𝒜] [Algebra ℂ 𝒜] [Ring ℬ] [StarRing ℬ] [Algebra ℂ ℬ] {α : Type u_4} {β : Type u_5} [Fintype α] [DecidableEq α] [Fintype β] [DecidableEq β] (M : BipartiteModel 𝒞 𝒜 ℬ) (e : α × β → ℂ) :

          The first player's operators of an extension are operators of matrices over the first player's operators of the model.

          theorem MIPRE.BipartiteModel.opsB_expand_subset {𝒞 : Type u_1} {𝒜 : Type u_2} {ℬ : Type u_3} [Ring 𝒞] [StarRing 𝒞] [Algebra ℂ 𝒞] [Ring 𝒜] [StarRing 𝒜] [Algebra ℂ 𝒜] [Ring ℬ] [StarRing ℬ] [Algebra ℂ ℬ] {α : Type u_4} {β : Type u_5} [Fintype α] [DecidableEq α] [Fintype β] [DecidableEq β] (M : BipartiteModel 𝒞 𝒜 ℬ) (e : α × β → ℂ) :

          The second player's operators of an extension are operators of matrices over the second player's operators of the model.

          theorem MIPRE.BipartiteModel.IsFinitePair.expand {𝒞 : Type u_1} {𝒜 : Type u_2} {ℬ : Type u_3} [Ring 𝒞] [StarRing 𝒞] [Algebra ℂ 𝒞] [Ring 𝒜] [StarRing 𝒜] [Algebra ℂ 𝒜] [Ring ℬ] [StarRing ℬ] [Algebra ℂ ℬ] {M : BipartiteModel 𝒞 𝒜 ℬ} (h : M.IsFinitePair) {α : Type u_4} {β : Type u_5} [Fintype α] [DecidableEq α] [Fintype β] [DecidableEq β] [Nonempty α] [Nonempty β] (e : α × β → ℂ) :

          An ancilla extension of a finite pair is a finite pair (lem:finite-pair-expand), for nonempty registers.