Documentation

MIPRE.Foundations.Distances

Distance measures #

This file contains the definitions of the blueprint subsection "Distance measures" (Section 2, "Foundations"): the dimension-normalized Hilbert--Schmidt inner product and squared norm on complex matrices, and the distance between two families of POVMs relative to a question distribution.

Main definitions #

Implementation notes #

The normalized Hilbert--Schmidt inner product #

noncomputable def MIPRE.hsInner {n : Type u_1} [Fintype n] (A B : Matrix n n ) :

The dimension-normalized Hilbert--Schmidt inner product on square complex matrices (blueprint def:hs-norm): ⟨A, B⟩_hs = τ(Aᴴ B), where τ = Tr/d is the dimension-normalized trace.

Equations
Instances For
    noncomputable def MIPRE.hsNormSq {n : Type u_1} [Fintype n] (A : Matrix n n ) :

    The squared dimension-normalized Hilbert--Schmidt norm on square complex matrices (blueprint def:hs-norm): ‖A‖²_hs = τ(Aᴴ A), a nonnegative real (hsNormSq_nonneg).

    Equations
    Instances For
      theorem MIPRE.hsNormSq_nonneg {n : Type u_1} [Fintype n] (A : Matrix n n ) :
      theorem MIPRE.hsNormSq_of_isHermitian {n : Type u_1} [Fintype n] {A : Matrix n n } (hA : A.IsHermitian) :
      hsNormSq A = ((A * A).trace / (Fintype.card n)).re

      For a Hermitian matrix, the squared normalized Hilbert--Schmidt norm is the normalized trace of the square, which is the form used in blueprint def:distance.

      POVM distance #

      noncomputable def MIPRE.povmDistance {X : Type u_2} {A : Type u_3} {d : Type u_4} [Fintype X] [Fintype A] [Fintype d] [DecidableEq d] (μ : X) (M N : XPOVM A d) :

      The squared distance between two families of POVMs relative to a question distribution μ (blueprint def:distance): 𝔼_{x ∼ μ} ∑ₐ ‖M^x_a - N^x_a‖²_hs.

      Equations
      Instances For
        def MIPRE.IsPOVMClose {X : Type u_2} {A : Type u_3} {d : Type u_4} [Fintype X] [Fintype A] [Fintype d] [DecidableEq d] (μ : X) (δ : ) (M N : XPOVM A d) :

        Two families of POVMs are δ-close relative to the question distribution μ, written M^x_a ≈_δ N^x_a in the blueprint (blueprint def:distance).

        Equations
        Instances For

          Constructions on POVMs #

          noncomputable def MIPRE.POVM.map {A : Type u_3} {d : Type u_4} [Fintype A] [Fintype d] [DecidableEq d] {B : Type u_5} [Fintype B] [DecidableEq B] (f : AB) (M : POVM A d) :
          POVM B d

          Relabel the outcomes of a POVM along f : A → B (data processing): the operator of the outcome b is the sum of the operators of the outcomes a with f a = b.

          Equations
          • MIPRE.POVM.map f M = { mats := fun (b : B) => a : A with f a = b, M.mats a, nonneg := , normalized := }
          Instances For
            def MIPRE.ProjectiveMeasurement.toPOVM {X : Type u_2} {A : Type u_3} {d : Type u_4} [Fintype A] [Fintype d] [DecidableEq d] (P : ProjectiveMeasurement X A (Matrix d d )) (x : X) :
            POVM A d

            The measurement for the question x of a projective measurement family on the matrix algebra ℂ^{d×d}, as a POVM (positivity follows from projectivity).

            Equations
            • P.toPOVM x = { mats := fun (a : A) => P.M x a, , nonneg := , normalized := }
            Instances For
              noncomputable def MIPRE.uniform (X : Type u_5) [Fintype X] :
              X

              The uniform distribution on a finite type, as a real-valued weight function.

              Equations
              Instances For

                Inconsistency of two measurement families on a bipartite state #

                noncomputable def MIPRE.inconsistency {X : Type u_2} {A : Type u_3} [Fintype X] [Fintype A] {dA : Type u_5} {dB : Type u_6} [Fintype dA] [DecidableEq dA] [Fintype dB] [DecidableEq dB] [DecidableEq A] (μ : X) (ψ : dA × dB) (M : XPOVM A dA) (N : XPOVM A dB) :

                The inconsistency of two families of POVMs M (acting on ℂ^dA) and N (acting on ℂ^dB) with the same question and outcome alphabets, relative to a question distribution μ and a bipartite state ψ ∈ ℂ^dA ⊗ ℂ^dB = ℂ^(dA × dB): the probability that measuring M^x on the first factor and N^x on the second factor yields different outcomes, 𝔼_{x ∼ μ} ∑_{a ≠ b} ⟨ψ| M^x_a ⊗ N^x_b |ψ⟩ (the consistency relation of JNVWY21qld, Definition 4.8, in its two-space form). The tensor product is realized by the Kronecker product, as in TensorProductStrategy.value; the probability is a nonnegative real, and we take the real part so that the definition carries no proof obligation.

                Equations
                • One or more equations did not get rendered due to their size.
                Instances For