Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Definitions for Quantum state estimation and large deviations

Definition
QAlgorithms_Papers_Independent_Extend50_P41

by Gohan · Oct 29, 2026 · Mathlib 0df444a (Lean v4.33.1)

prove2quantum

The objects the formalized statements of Quantum state estimation and large deviations (arXiv:quant-ph/0412053) are stated in. Each was checked against the paper by a blind read-back and a moderator.

  • conjugateState: PDF p.4, (7)-(8): the action rho ↦ U rho U*.
  • OrderedProbability: PDF p.3, (4): the ordered probability simplex.
  • OrderedSpectrum: PDF p.3, (4): Sigma with its usual subspace topology.
  • spectrumVector: PDF p.3, (4): decreasing eigenvalues. The Fin.cast only removes card(Fin d).
  • diagonalStateMatrix: PDF p.7, (21): rho_x, as an actual diagonal matrix.
  • CopyIndex: PDF p.4, (3): positive-copy tensor register.
  • Scheme: PDF pp.3-4: a scheme, fixed before the input state. The scalar laws and their Born identity are redundant data: the identity on all Borel events uniquely determines each law from the normalized operator POVM. This avoids making a tensor-PSD proof part of a new definition body.
  • GoodRate: PDF p.37, A.1: good, nonnegative extended rate.
  • logMass: PDF pp.37-38: extended natural logarithm, including log(0)=-infinity.
  • scaledLog: PDF p.37, (215)-(216): 1/N log probability, with N=k+1.
  • HasLDP: PDF p.37, A.2: closed upper and open lower bounds, with a good rate. The infimum over an empty event is infinity. No Borel-set exact limit is asserted.
  • SchemeLDP: PDF pp.4-5, Def.2.2. The relation target rho x is p(rho)=x; using a relation also permits the spectral projection without an auxiliary choice.
  • FullTarget: PDF p.4: full estimation has target map Id.
  • SpectralTarget: PDF p.3, (4): the spectral target is the decreasing eigenvalue vector.
  • AdmissibleRate: PDF p.5, Def.2.3: admissibility requires a single witnessing scheme.
  • JointLSC: PDF p.5, (9): joint lower semicontinuity in both arguments.
  • optimalRate: PDF p.5, (12): unrestricted or regular optimal rate, as an extended supremum.
  • PermutationInvariantAt: PDF p.4, (6): permutation invariance at a fixed copy count.
  • CovariantAt: PDF p.4, (7): covariance of the full-state observable at a fixed copy count.
  • CovariantAdmissible: PDF p.5, (10): covariance requires a covariant witnessing scheme.
  • covariantOptimal: PDF p.5, (13): supremum over rates with a covariant full-estimation witness.
  • InvariantRate: PDF p.5, (11): simultaneous conjugation, in the same orientation.
  • weightedNegLog: PDF pp.8,25: weighted -log, with zero weight contributing zero even at p=0.
  • principalMinor: PDF p.8, (26): the leading (k+1)-by-(k+1) principal minor.
  • nextCoordinate: PDF p.8, (26): the final coordinate is followed by zero.
  • minorFormula: PDF pp.8,25, (26),(131): the formula in a specified eigenbasis of the estimate.
  • fullRate: PDF p.8, (26): the full rate, defined from all spectral representations. Lemma 4.15 states basis independence and equality with the displayed formula; its equality also rules out any clamping by toENNReal.
  • spectralRate: PDF p.7, (19): the classical divergence D(x||s(rho)) with zero conventions.
  • SchurCoordinateIndex: PDF pp.6-7: actual Schur and Specht coordinate dimensions.
  • highestCoordinates: PDF pp.6-7: coordinates of the actual highest-weight vector.
  • schurAction: PDF p.6, (14): pi_Y computed on the actual Schur module, in its public basis.
  • embedBlock: PDF p.6, (14): embed Q_Y tensor I_K into the physical tensor space. The accepted transform is Specht-first, so the Specht index is matched first.
  • matrixInEvent: PDF pp.7-8: Borel event pullback along a matrix-valued decoder. No arbitrary state decoder or certificate is supplied.
  • fullEstimatorOperator: PDF p.7, (20): the explicit raw full-estimation POVM on Borel events. Normalized-POVM and Born-law witnesses are conclusions of Theorem 3.2.
  • spectralEstimatorOperator: PDF p.7, (17): the explicit spectral estimator using physical central projectors.
  • spectralPreimage: PDF p.7, (22): the preimage of a spectral event under s.
  • SpectralCovariantAt: PDF p.7: covariance for spectral estimation has trivial outcome action.
  • spectralCovariantOptimal: PDF p.5, (13), for the spectral projection.
  • logLaplaceMoment: PDF p.11, (35): the scaled negative log Laplace logLaplaceMoment. Continuous f on compact S is bounded; under the scheme assumptions the integral is finite and positive.
  • limitMomentExtended: PDF p.11, (36): extended infimum; continuous f and an admissible rate make it finite.
  • limitMoment: PDF p.11, (36): the real-valued limiting logLaplaceMoment. The LDP hypotheses and compactness ensure that this toReal never discards an infinite value in our theorems.
  • actionTest: PDF p.15, (64): alpha_U f(sigma)=f(U sigma U*).
  • permutationAverageOperator: PDF p.17, (79): permutation average, exactly 1/N! times the sum.
  • unitaryAverageOperator: PDF p.17, (81): normalized Haar average of the translated observable.
  • orbitRate: PDF p.17, (82): simultaneous inverse-conjugation orbit infimum.
  • FiniteOperatorMeasure: PDF pp.21-23: finite positive operator measures for the non-normalized seeds.
  • seedObservable: PDF p.22, (111): event form of the single-Schur-factor orbit disintegration.
  • discreteSeedObservable: PDF p.24, (124): the discrete seed representation of a fixed observable.
  • youngDimensionLaw: PDF p.27, (142): the explicit dimension-weighted probability measures. The branch merely avoids needing a separate proof in the definition that every valid normalized Young shape belongs to Sigma; Lemma 4.16 asserts mass one.
  • maximallyMixedRate: PDF p.27, (147): entropy rate at the maximally mixed input.
  • blochDensityMatrix: PDF p.9, (29): Bloch matrix with the standard Pauli orientation.
  • blochLength: PDF p.9, (29): Euclidean length of a Bloch vector.
  • blochDirectionalComponent: PDF p.9, (29): extension of r cos(theta) at zero Bloch vectors. If y=0 its value is irrelevant because its weight is zero.
  • PureDensityState: PDF p.32, (183): purity means a unit-vector rank-one density matrix.
  • SymmetricVector: PDF p.33: the symmetric subspace consists of permutation-fixed vectors.
  • PureTestProperties: PDF p.33, (185)-(186): the two asymptotic requirements on a pure local test.
  • Consistent: PDF p.4, Def.2.1: weak consistency for full estimation. All continuous real test functions are bounded because the finite-dimensional state space is compact.
Definition code
import Mathlib
import Definitions.Def_QAlgorithms_Defs_GeneralPOVMs
import Definitions.Def_QAlgorithms_Defs_TomographyOutcomes
import Definitions.Def_QAlgorithms_Defs_Ensemble
import Definitions.Def_QAlgorithms_Defs_ExtendedQuantumEntropy
import Definitions.Def_QAlgorithms_Defs_SchurWeylDecomposition
import Definitions.Def_QAlgorithms_Defs_SchurUnitaryEnsembles

/-!
Statements from M. Keyl, Quantum state estimation and large deviations,
arXiv:quant-ph/0412053v2. All page citations below are PDF page numbers.
The local definitions implement this paper's statistical model; N is always k+1.
DensityOutcome, tensorPow and Umegaki entropy are imported frozen APIs.
Von Neumann entropy in nats is the frozen bit entropy multiplied by log 2.
No theorem is imported from another paper chunk. Compilation is pending.
-/

noncomputable section

open MeasureTheory Filter
open scoped Matrix ComplexOrder ENNReal Topology Matrix.Norms.Frobenius

namespace QAlgorithms.Papers.Independent.Extend50.P41

open QAlgorithms.Tomography (DensityOutcome)

attribute [local instance] Classical.propDecidable Classical.decEq

/-- PDF p.4, (7)-(8): the action rho ↦ U rho U*. -/
def conjugateState {d : ℕ} (U : Matrix.unitaryGroup (Fin d) ℂ) (rho : DensityOutcome d) : DensityOutcome d :=
  ⟨(U : Matrix (Fin d) (Fin d) ℂ) * rho.val * star (U : Matrix (Fin d) (Fin d) ℂ), by
    refine ⟨rho.property.1.mul_mul_conjTranspose_same (U : Matrix (Fin d) (Fin d) ℂ), ?_⟩
    rw [Matrix.trace_mul_cycle, Unitary.star_mul_self_of_mem U.property, one_mul]
    exact rho.property.2⟩

/-- PDF p.3, (4): the ordered probability simplex. -/
def OrderedProbability {d : ℕ} (x : Fin d → ℝ) : Prop :=
  Antitone x ∧ (∀ i, 0 ≤ x i) ∧ ∑ i, x i = 1

/-- PDF p.3, (4): Sigma with its usual subspace topology. -/
abbrev OrderedSpectrum (d : ℕ) := {x : Fin d → ℝ // OrderedProbability x}

/-- PDF p.3, (4): Borel events in Sigma. -/
instance spectrumMeasurable (d : ℕ) : MeasurableSpace (OrderedSpectrum d) := borel _

/-- PDF p.3, (4): compatibility of the topology and Borel events. -/
instance spectrumBorel (d : ℕ) : BorelSpace (OrderedSpectrum d) := ⟨rfl⟩

/-- PDF p.3, (4): decreasing eigenvalues. The Fin.cast only removes card(Fin d). -/
def spectrumVector {d : ℕ} (rho : DensityOutcome d) : Fin d → ℝ :=
  fun i => rho.property.1.isHermitian.eigenvalues₀ (Fin.cast (Fintype.card_fin d).symm i)

/-- PDF p.7, (21): rho_x, as an actual diagonal matrix. -/
def diagonalStateMatrix {d : ℕ} (x : OrderedSpectrum d) : Matrix (Fin d) (Fin d) ℂ :=
  Matrix.diagonal fun i => (x.val i : ℂ)

/-- PDF p.4, (3): positive-copy tensor register. -/
abbrev CopyIndex (d k : ℕ) := Fin (k+1) → Fin d

/-- PDF pp.3-4: a scheme, fixed before the input state.
The scalar laws and their Born identity are redundant data: the identity on all
Borel events uniquely determines each law from the normalized operator POVM.
This avoids making a tensor-PSD proof part of a new definition body. -/
structure Scheme (d : ℕ) (X : Type*) [MeasurableSpace X] where
  observable : ∀ k, Measurements.OperatorPOVM (CopyIndex d k) X
  law : ℕ → DensityOutcome d → Measure X
  probability : ∀ k rho, IsProbabilityMeasure (law k rho)
  born : ∀ k rho B, MeasurableSet B →
    law k rho B = ENNReal.ofReal
      (effectProb ((observable k).operator B) (piKron (k+1) rho.val))

/-- PDF p.37, A.1: good, nonnegative extended rate. -/
def GoodRate {X : Type*} [TopologicalSpace X] (I : X → ℝ≥0∞) : Prop :=
  LowerSemicontinuous I ∧ (∃ x, I x ≠ ⊤) ∧
    ∀ c : ℝ, IsCompact {x | (I x : EReal) ≤ (c : EReal)}

/-- PDF pp.37-38: extended natural logarithm, including log(0)=-infinity. -/
def logMass (p : ℝ≥0∞) : EReal :=
  if p = 0 then ⊥ else if p = ⊤ then ⊤ else (Real.log p.toReal : EReal)

/-- PDF p.37, (215)-(216): 1/N log probability, with N=k+1. -/
def scaledLog (k : ℕ) (p : ℝ≥0∞) : EReal :=
  ((1 / (k+1 : ℝ) : ℝ) : EReal) * logMass p

/-- PDF p.37, A.2: closed upper and open lower bounds, with a good rate.
The infimum over an empty event is infinity. No Borel-set exact limit is asserted. -/
def HasLDP {X : Type*} [TopologicalSpace X] [MeasurableSpace X]
    (mu : ℕ → Measure X) (I : X → ℝ≥0∞) : Prop :=
  (∀ k, IsProbabilityMeasure (mu k)) ∧ GoodRate I ∧
  (∀ B : Set X, IsClosed B →
    Filter.limsup (fun k => scaledLog k (mu k B)) atTop ≤
      -(↑(⨅ x : B, I x.val) : EReal)) ∧
  (∀ B : Set X, IsOpen B →
    -(↑(⨅ x : B, I x.val) : EReal) ≤
      Filter.liminf (fun k => scaledLog k (mu k B)) atTop)

/-- PDF pp.4-5, Def.2.2. The relation `target rho x` is p(rho)=x;
using a relation also permits the spectral projection without an auxiliary choice. -/
def SchemeLDP {d : ℕ} {X : Type*} [TopologicalSpace X] [MeasurableSpace X]
    (E : Scheme d X) (target : DensityOutcome d → X → Prop) (I : DensityOutcome d → X → ℝ≥0∞) : Prop :=
  (∀ rho, HasLDP (fun k => E.law k rho) (I rho)) ∧
    ∀ rho x, I rho x = 0 ↔ target rho x

/-- PDF p.4: full estimation has target map Id. -/
def FullTarget {d : ℕ} (rho sigma : DensityOutcome d) : Prop := rho = sigma

/-- PDF p.3, (4): the spectral target is the decreasing eigenvalue vector. -/
def SpectralTarget {d : ℕ} (rho : DensityOutcome d) (x : OrderedSpectrum d) : Prop :=
  spectrumVector rho = x.val

/-- PDF p.5, Def.2.3: admissibility requires a single witnessing scheme. -/
def AdmissibleRate {d : ℕ} {X : Type*} [TopologicalSpace X] [MeasurableSpace X]
    (target : DensityOutcome d → X → Prop) (I : DensityOutcome d → X → ℝ≥0∞) : Prop :=
  ∃ E : Scheme d X, SchemeLDP E target I

/-- PDF p.5, (9): joint lower semicontinuity in both arguments. -/
def JointLSC {d : ℕ} {X : Type*} [TopologicalSpace X]
    (I : DensityOutcome d → X → ℝ≥0∞) : Prop := LowerSemicontinuous (Function.uncurry I)

/-- PDF p.5, (12): unrestricted or regular optimal rate, as an extended supremum. -/
def optimalRate {d : ℕ} {X : Type*} [TopologicalSpace X] [MeasurableSpace X]
    (target : DensityOutcome d → X → Prop) (regular : Bool) (rho : DensityOutcome d) (x : X) : ℝ≥0∞ :=
  ⨆ I : DensityOutcome d → X → ℝ≥0∞,
    ⨆ (_h : AdmissibleRate target I ∧ (regular = true → JointLSC I)), I rho x

/-- PDF p.4, (6): permutation invariance at a fixed copy count. -/
def PermutationInvariantAt {d k : ℕ}
    (E : Measurements.OperatorPOVM (CopyIndex d k) (DensityOutcome d)) : Prop :=
  ∀ (p : Equiv.Perm (Fin (k+1))) B, MeasurableSet B →
    Schur.tensorPermutation d (k+1) p * E.operator B *
      star (Schur.tensorPermutation d (k+1) p) = E.operator B

/-- PDF p.4, (7): covariance of the full-state observable at a fixed copy count. -/
def CovariantAt {d k : ℕ}
    (E : Measurements.OperatorPOVM (CopyIndex d k) (DensityOutcome d)) : Prop :=
  ∀ (U : Matrix.unitaryGroup (Fin d) ℂ) B, MeasurableSet B →
    E.operator (conjugateState U '' B) =
      piKron (k+1) (U : Matrix (Fin d) (Fin d) ℂ) * E.operator B * star (piKron (k+1) (U : Matrix (Fin d) (Fin d) ℂ))

/-- PDF p.5, (10): covariance requires a covariant witnessing scheme. -/
def CovariantAdmissible {d : ℕ} (I : DensityOutcome d → DensityOutcome d → ℝ≥0∞) : Prop :=
  ∃ E : Scheme d (DensityOutcome d), SchemeLDP E FullTarget I ∧ ∀ k, CovariantAt (E.observable k)

/-- PDF p.5, (13): supremum over rates with a covariant full-estimation witness. -/
def covariantOptimal {d : ℕ} (rho sigma : DensityOutcome d) : ℝ≥0∞ :=
  ⨆ I : DensityOutcome d → DensityOutcome d → ℝ≥0∞, ⨆ (_h : CovariantAdmissible I), I rho sigma

/-- PDF p.5, (11): simultaneous conjugation, in the same orientation. -/
def InvariantRate {d : ℕ} (I : DensityOutcome d → DensityOutcome d → ℝ≥0∞) : Prop :=
  ∀ U rho sigma, I (conjugateState U rho) (conjugateState U sigma) = I rho sigma

/-- PDF pp.8,25: weighted -log, with zero weight contributing zero even at p=0. -/
def weightedNegLog (w p : ℝ) : EReal :=
  if w = 0 then 0 else if p ≤ 0 then ⊤ else (-(w * Real.log p) : ℝ)

/-- PDF p.8, (26): the leading (k+1)-by-(k+1) principal minor. -/
def principalMinor {d : ℕ} (A : Matrix (Fin d) (Fin d) ℂ) (k : Fin d) : ℝ :=
  (Matrix.det (A.submatrix
    (fun i : Fin (k.val+1) => (⟨i.val, by omega⟩ : Fin d))
    (fun i : Fin (k.val+1) => (⟨i.val, by omega⟩ : Fin d)))).re

/-- PDF p.8, (26): the final coordinate is followed by zero. -/
def nextCoordinate {d : ℕ} (x : Fin d → ℝ) (k : Fin d) : ℝ :=
  if h : k.val+1 < d then x ⟨k.val+1,h⟩ else 0

/-- PDF pp.8,25, (26),(131): the formula in a specified eigenbasis of the estimate. -/
def minorFormula {d : ℕ} (rho : DensityOutcome d) (U : Matrix.unitaryGroup (Fin d) ℂ)
    (x : OrderedSpectrum d) : EReal :=
  ((∑ j, x.val j * Real.log (x.val j) : ℝ) : EReal) +
    ∑ j, weightedNegLog (x.val j - nextCoordinate x.val j)
      (principalMinor (star (U : Matrix (Fin d) (Fin d) ℂ) * rho.val * (U : Matrix (Fin d) (Fin d) ℂ)) j)

/-- PDF p.8, (26): the full rate, defined from all spectral representations.
Lemma 4.15 states basis independence and equality with the displayed formula;
its equality also rules out any clamping by toENNReal. -/
def fullRate {d : ℕ} (rho sigma : DensityOutcome d) : ℝ≥0∞ :=
  (⨅ x : OrderedSpectrum d, ⨅ U : Matrix.unitaryGroup (Fin d) ℂ,
    ⨅ (_h : sigma.val = (U : Matrix (Fin d) (Fin d) ℂ) * diagonalStateMatrix x * star (U : Matrix (Fin d) (Fin d) ℂ)),
      minorFormula rho U x).toENNReal

/-- PDF p.7, (19): the classical divergence D(x||s(rho)) with zero conventions. -/
def spectralRate {d : ℕ} (rho : DensityOutcome d) (x : OrderedSpectrum d) : ℝ≥0∞ :=
  (((∑ j, x.val j * Real.log (x.val j) : ℝ) : EReal) +
    ∑ j, weightedNegLog (x.val j) (spectrumVector rho j)).toENNReal

/-- PDF pp.6-7: actual Schur and Specht coordinate dimensions. -/
abbrev SchurCoordinateIndex {d n : ℕ} (Y : Schur.Partition d n) :=
  Fin (Module.finrank ℂ (Schur.schurModule Y))

/-- PDF pp.6-7: coordinates of the actual highest-weight vector. -/
def highestCoordinates {d n : ℕ} (Y : Schur.Partition d n) :
    EuclideanSpace ℂ (SchurCoordinateIndex Y) :=
  WithLp.toLp 2 fun i => inner ℂ (stdOrthonormalBasis ℂ (Schur.schurModule Y) i)
    (Schur.highestWeightVector Y)

/-- PDF p.6, (14): pi_Y computed on the actual Schur module, in its public basis. -/
def schurAction {d n : ℕ} (Y : Schur.Partition d n) (U : Matrix.unitaryGroup (Fin d) ℂ) :
    Matrix (SchurCoordinateIndex Y) (SchurCoordinateIndex Y) ℂ :=
  fun i j => inner ℂ (stdOrthonormalBasis ℂ (Schur.schurModule Y) i)
    (Schur.polynomialRepresentation Y (U : Matrix (Fin d) (Fin d) ℂ)
      (stdOrthonormalBasis ℂ (Schur.schurModule Y) j))

/-- PDF p.6, (14): embed Q_Y tensor I_K into the physical tensor space.
The accepted transform is Specht-first, so the Specht index is matched first. -/
def embedBlock {d n : ℕ} (Y : Schur.Partition d n)
    (Q : Matrix (SchurCoordinateIndex Y) (SchurCoordinateIndex Y) ℂ) :
    Matrix (Fin n → Fin d) (Fin n → Fin d) ℂ :=
  (Schur.decomposition d n)ᴴ *
    (Matrix.of fun a b : Schur.DecompositionIndex d n =>
      if ha : a.1 = Y then if hb : b.1 = Y then
        if (ha ▸ a.2.1) = (hb ▸ b.2.1) then Q (ha ▸ a.2.2) (hb ▸ b.2.2) else 0
      else 0 else 0) * Schur.decomposition d n

/-- PDF pp.7-8: Borel event pullback along a matrix-valued decoder.
No arbitrary state decoder or certificate is supplied. -/
def matrixInEvent {d : ℕ} (B : Set (DensityOutcome d)) (A : Matrix (Fin d) (Fin d) ℂ) : Prop :=
  ∃ rho ∈ B, rho.val = A

/-- PDF p.7, (20): the explicit raw full-estimation POVM on Borel events.
Normalized-POVM and Born-law witnesses are conclusions of Theorem 3.2. -/
def fullEstimatorOperator {d : ℕ} (hd : 0 < d) (k : ℕ) (B : Set (DensityOutcome d)) :
    Matrix (CopyIndex d k) (CopyIndex d k) ℂ :=
  ∑ Y : Schur.Partition d (k+1),
    ∫ U : Matrix.unitaryGroup (Fin d) ℂ,
      if matrixInEvent B (Schur.estimate hd (by omega) Y U) then
        (Module.finrank ℂ (Schur.schurModule Y) : ℂ) •
          embedBlock Y (pureDensity (act (schurAction Y U) (highestCoordinates Y)))
      else 0
      ∂Schur.unitaryHaar d

/-- PDF p.7, (17): the explicit spectral estimator using physical central projectors. -/
def spectralEstimatorOperator {d : ℕ} (hd : 0 < d) (k : ℕ)
    (B : Set (OrderedSpectrum d)) : Matrix (CopyIndex d k) (CopyIndex d k) ℂ :=
  ∑ Y : Schur.Partition d (k+1),
    if ∃ x ∈ B, x.val = Schur.normalizedRows hd (by omega) Y then
      Schur.isotypicProjector Y else 0

/-- PDF p.7, (22): the preimage of a spectral event under s. -/
def spectralPreimage {d : ℕ} (B : Set (OrderedSpectrum d)) : Set (DensityOutcome d) :=
  {rho | ∃ x ∈ B, spectrumVector rho = x.val}

/-- PDF p.7: covariance for spectral estimation has trivial outcome action. -/
def SpectralCovariantAt {d k : ℕ}
    (E : Measurements.OperatorPOVM (CopyIndex d k) (OrderedSpectrum d)) : Prop :=
  ∀ (U : Matrix.unitaryGroup (Fin d) ℂ) B, MeasurableSet B →
    piKron (k+1) (U : Matrix (Fin d) (Fin d) ℂ) * E.operator B * star (piKron (k+1) (U : Matrix (Fin d) (Fin d) ℂ)) = E.operator B

/-- PDF p.5, (13), for the spectral projection. -/
def spectralCovariantOptimal {d : ℕ} (rho : DensityOutcome d) (x : OrderedSpectrum d) : ℝ≥0∞ :=
  ⨆ I : DensityOutcome d → OrderedSpectrum d → ℝ≥0∞,
    ⨆ (_h : ∃ E : Scheme d (OrderedSpectrum d), SchemeLDP E SpectralTarget I ∧
      ∀ k, SpectralCovariantAt (E.observable k)), I rho x

/-- PDF p.11, (35): the scaled negative log Laplace logLaplaceMoment. Continuous f on
compact S is bounded; under the scheme assumptions the integral is finite and positive. -/
def logLaplaceMoment {d : ℕ} (E : Scheme d (DensityOutcome d)) (k : ℕ)
    (rho : DensityOutcome d) (f : DensityOutcome d → ℝ) : ℝ :=
  -(Real.log (∫ sigma, Real.exp (-(k+1 : ℝ) * f sigma) ∂E.law k rho)) / (k+1 : ℝ)

/-- PDF p.11, (36): extended infimum; continuous f and an admissible rate make it finite. -/
def limitMomentExtended {d : ℕ} (I : DensityOutcome d → DensityOutcome d → ℝ≥0∞)
    (rho : DensityOutcome d) (f : DensityOutcome d → ℝ) : EReal :=
  ⨅ sigma, (I rho sigma : EReal) + (f sigma : EReal)

/-- PDF p.11, (36): the real-valued limiting logLaplaceMoment. The LDP hypotheses and
compactness ensure that this toReal never discards an infinite value in our theorems. -/
def limitMoment {d : ℕ} (I : DensityOutcome d → DensityOutcome d → ℝ≥0∞)
    (rho : DensityOutcome d) (f : DensityOutcome d → ℝ) : ℝ := (limitMomentExtended I rho f).toReal

/-- PDF p.15, (64): alpha_U f(sigma)=f(U sigma U*). -/
def actionTest {d : ℕ} (U : Matrix.unitaryGroup (Fin d) ℂ)
    (f : DensityOutcome d → ℝ) (sigma : DensityOutcome d) : ℝ := f (conjugateState U sigma)

/-- PDF p.17, (79): permutation average, exactly 1/N! times the sum. -/
def permutationAverageOperator {d : ℕ} (E : Scheme d (DensityOutcome d)) (k : ℕ)
    (B : Set (DensityOutcome d)) : Matrix (CopyIndex d k) (CopyIndex d k) ℂ :=
  (((k+1).factorial : ℂ)⁻¹) •
    ∑ p : Equiv.Perm (Fin (k+1)), Schur.tensorPermutation d (k+1) p *
      (E.observable k).operator B * star (Schur.tensorPermutation d (k+1) p)

/-- PDF p.17, (81): normalized Haar average of the translated observable. -/
def unitaryAverageOperator {d : ℕ} (E : Scheme d (DensityOutcome d)) (k : ℕ)
    (B : Set (DensityOutcome d)) : Matrix (CopyIndex d k) (CopyIndex d k) ℂ :=
  ∫ U : Matrix.unitaryGroup (Fin d) ℂ,
    piKron (k+1) (U : Matrix (Fin d) (Fin d) ℂ) * (E.observable k).operator (conjugateState U ⁻¹' B) *
      star (piKron (k+1) (U : Matrix (Fin d) (Fin d) ℂ)) ∂Schur.unitaryHaar d

/-- PDF p.17, (82): simultaneous inverse-conjugation orbit infimum. -/
def orbitRate {d : ℕ} (I : DensityOutcome d → DensityOutcome d → ℝ≥0∞) (rho sigma : DensityOutcome d) : ℝ≥0∞ :=
  ⨅ U : Matrix.unitaryGroup (Fin d) ℂ,
    I (conjugateState U⁻¹ rho) (conjugateState U⁻¹ sigma)

/-- PDF pp.21-23: finite positive operator measures for the non-normalized seeds. -/
structure FiniteOperatorMeasure (J X : Type*) [Fintype J] [DecidableEq J]
    [MeasurableSpace X] where
  operator : Set X → Matrix J J ℂ
  empty : operator ∅ = 0
  positive : ∀ B, MeasurableSet B → (operator B).PosSemidef
  additive : ∀ B : ℕ → Set X, (∀ i, MeasurableSet (B i)) →
    Pairwise (fun i j => Disjoint (B i) (B j)) →
    HasSum (fun i => operator (B i)) (operator (⋃ i, B i))

/-- PDF p.22, (111): event form of the single-Schur-factor orbit disintegration. -/
def seedObservable {d n : ℕ} (Y : Schur.Partition d n)
    (q : FiniteOperatorMeasure (SchurCoordinateIndex Y) (OrderedSpectrum d)) (B : Set (DensityOutcome d)) :
    Matrix (SchurCoordinateIndex Y) (SchurCoordinateIndex Y) ℂ :=
  ∫ U : Matrix.unitaryGroup (Fin d) ℂ,
    schurAction Y U *
      q.operator {x | matrixInEvent B ((U : Matrix (Fin d) (Fin d) ℂ) * diagonalStateMatrix x * star (U : Matrix (Fin d) (Fin d) ℂ))} *
      star (schurAction Y U) ∂Schur.unitaryHaar d

/-- PDF p.24, (124): the discrete seed representation of a fixed observable. -/
def discreteSeedObservable {d : ℕ} (hd : 0 < d) (k : ℕ)
    (Q : (Y : Schur.Partition d (k+1)) → Matrix (SchurCoordinateIndex Y) (SchurCoordinateIndex Y) ℂ)
    (B : Set (DensityOutcome d)) : Matrix (CopyIndex d k) (CopyIndex d k) ℂ :=
  ∑ Y : Schur.Partition d (k+1),
    ∫ U : Matrix.unitaryGroup (Fin d) ℂ,
      if matrixInEvent B (Schur.estimate hd (by omega) Y U) then
        piKron (k+1) (U : Matrix (Fin d) (Fin d) ℂ) * embedBlock Y (Q Y) * star (piKron (k+1) (U : Matrix (Fin d) (Fin d) ℂ))
      else 0 ∂Schur.unitaryHaar d

/-- PDF p.27, (142): the explicit dimension-weighted probability measures.
The branch merely avoids needing a separate proof in the definition that every
valid normalized Young shape belongs to Sigma; Lemma 4.16 asserts mass one. -/
def youngDimensionLaw {d : ℕ} (hd : 0 < d) (k : ℕ) : Measure (OrderedSpectrum d) :=
  ∑ Y : Schur.Partition d (k+1),
    ENNReal.ofReal
      (((Module.finrank ℂ (Schur.schurModule Y) : ℝ) *
        (Module.finrank ℂ (Schur.spechtSpace Y) : ℝ)) / (d : ℝ) ^ (k+1)) •
      (if h : OrderedProbability (Schur.normalizedRows hd (by omega) Y) then
        Measure.dirac ⟨Schur.normalizedRows hd (by omega) Y, h⟩ else 0)

/-- PDF p.27, (147): entropy rate at the maximally mixed input. -/
def maximallyMixedRate {d : ℕ} (x : OrderedSpectrum d) : ℝ≥0∞ :=
  ENNReal.ofReal (Real.log d + ∑ j, x.val j * Real.log (x.val j))

/-- PDF p.9, (29): Bloch matrix with the standard Pauli orientation. -/
def blochDensityMatrix (x : Fin 3 → ℝ) : Matrix (Fin 2) (Fin 2) ℂ :=
  !![((1+x 2)/2 : ℝ), ((x 0 : ℂ) - Complex.I * (x 1 : ℂ))/2;
    ((x 0 : ℂ) + Complex.I * (x 1 : ℂ))/2, ((1-x 2)/2 : ℝ)]

/-- PDF p.9, (29): Euclidean length of a Bloch vector. -/
def blochLength (x : Fin 3 → ℝ) : ℝ := Real.sqrt (∑ i, (x i)^2)

/-- PDF p.9, (29): extension of r cos(theta) at zero Bloch vectors.
If y=0 its value is irrelevant because its weight is zero. -/
def blochDirectionalComponent (x y : Fin 3 → ℝ) : ℝ :=
  (∑ i, x i * y i) / blochLength y

/-- PDF p.32, (183): purity means a unit-vector rank-one density matrix. -/
def PureDensityState {d : ℕ} (rho : DensityOutcome d) : Prop :=
  ∃ psi : EuclideanSpace ℂ (Fin d), ‖psi‖ = 1 ∧ rho.val = pureDensity psi

/-- PDF p.33: the symmetric subspace consists of permutation-fixed vectors. -/
def SymmetricVector {d k : ℕ} (v : EuclideanSpace ℂ (CopyIndex d k)) : Prop :=
  ∀ p : Equiv.Perm (Fin (k+1)), act (Schur.tensorPermutation d (k+1) p) v = v

/-- PDF p.33, (185)-(186): the two asymptotic requirements on a pure local test. -/
def PureTestProperties {d : ℕ} (I : DensityOutcome d → DensityOutcome d → ℝ≥0∞)
    (rho sigma : DensityOutcome d) (phi psi : EuclideanSpace ℂ (Fin d))
    (v : (k : ℕ) → EuclideanSpace ℂ (CopyIndex d k)) : Prop :=
  (∀ k, ‖v k‖ = 1 ∧ SymmetricVector (v k)) ∧
  (I rho sigma : EReal) ≤ Filter.liminf
    (fun k => -scaledLog k (ENNReal.ofReal (Complex.normSq (inner ℂ (tensorPow (k+1) phi) (v k))))) atTop ∧
  Tendsto (fun k => Complex.normSq (inner ℂ (v k) (tensorPow (k+1) psi))) atTop (nhds 1)

/-- Definition sanity: zero-weight vanishing minors contribute zero (PDF p.8). -/
example : weightedNegLog 0 0 = 0 := by simp [weightedNegLog]

/-- Definition sanity: zero event probabilities have logarithm minus infinity (PDF p.37). -/
example : logMass 0 = ⊥ := by simp [logMass]

/-- Definition sanity: a scheme gives zero mass to the empty event (PDF p.3). -/
example {d : ℕ} {X : Type*} [MeasurableSpace X] (E : Scheme d X) (k : ℕ) (rho : DensityOutcome d) :
    E.law k rho ∅ = 0 := measure_empty

/-- Definition sanity: the one-dimensional identity is a valid state (PDF p.3). -/
example : IsDensityMatrix (1 : Matrix (Fin 1) (Fin 1) ℂ) := by
  exact ⟨Matrix.PosSemidef.one, by simp [Matrix.trace]⟩

/-- Definition sanity: identity conjugation fixes every state (PDF p.4). -/
example {d : ℕ} (rho : DensityOutcome d) : conjugateState 1 rho = rho := by
  apply Subtype.ext
  simp [conjugateState]

/-- Definition sanity: one-copy tensor coordinates have no normalization factor (PDF p.3). -/
example {d : ℕ} (psi : EuclideanSpace ℂ (Fin d)) (x : Fin 1 → Fin d) :
    tensorPow 1 psi x = psi (x 0) := by simp [tensorPow]

/-- Definition sanity: a zero continuous test has logarithmic moment zero (PDF p.11). -/
example {d : ℕ} (E : Scheme d (DensityOutcome d)) (k : ℕ) (rho : DensityOutcome d) :
    logLaplaceMoment E k rho (fun _ => 0) = 0 := by
  letI : IsProbabilityMeasure (E.law k rho) := E.probability k rho
  simp [logLaplaceMoment]

/-- Definition sanity: the zero Bloch vector gives I/2 (PDF p.9). -/
example : blochDensityMatrix (fun _ => 0) = (1/2 : ℂ) • (1 : Matrix (Fin 2) (Fin 2) ℂ) := by
  ext i j
  fin_cases i <;> fin_cases j <;> norm_num [blochDensityMatrix, Matrix.smul_apply, Matrix.one_apply]

/-- PDF p.4, Def.2.1: weak consistency for full estimation. All continuous real
test functions are bounded because the finite-dimensional state space is compact. -/
def Consistent {d : ℕ} (E : Scheme d (DensityOutcome d)) : Prop :=
  ∀ rho (f : DensityOutcome d → ℝ), Continuous f →
    Tendsto (fun k => ∫ sigma, f sigma ∂E.law k rho) atTop (nhds (f rho))

end QAlgorithms.Papers.Independent.Extend50.P41
Source
Quantum state estimation and large deviations, arXiv:quant-ph/0412053v2, https://arxiv.org/abs/quant-ph/0412053v2
Read-back

What the Lean code literally says, in plain math · gpt-6.1-sol

QAlgorithms.Papers.Independent.Extend50.P41.AdmissibleRate

Let d∈Nd\in\mathbb Nd∈N, let Dd\mathcal D_dDd​ be the space of complex positive semidefinite d×dd\times dd×d matrices of trace one with its inherited topology and Borel measurable space, and let XXX carry an arbitrary topology and measurable space. For a relation target⊆Dd×X\mathrm{target}\subseteq\mathcal D_d\times Xtarget⊆Dd​×X and a function I:Dd×X→[0,∞]I:\mathcal D_d\times X\to[0,\infty]I:Dd​×X→[0,∞], this predicate asserts the existence of a scheme with the following properties. For each k∈Nk\in\mathbb Nk∈N there is an operator-valued measurement FkF_kFk​ on XXX, acting on the coordinate set Jk={0,…,d−1}{0,…,k}J_k=\{0,\ldots,d-1\}^{\{0,\ldots,k\}}Jk​={0,…,d−1}{0,…,k}, that sends the empty set to zero and the whole space to the identity, is positive semidefinite on measurable sets, and is countably additive on pairwise disjoint measurable sets by convergent matrix series. For every ρ∈Dd\rho\in\mathcal D_dρ∈Dd​ there are probability measures μk,ρ\mu_{k,\rho}μk,ρ​ satisfying, for every measurable BBB,

μk,ρ(B)=max⁡ ⁣{0,Re⁡tr⁡ ⁣(Fk(B)ρ⊗(k+1))},(ρ⊗(k+1))u,v=∏i=0kρu(i),v(i).\mu_{k,\rho}(B)= \max\!\left\{0,\operatorname{Re}\operatorname{tr}\!\left(F_k(B)\rho^{\otimes(k+1)}\right)\right\}, \qquad \bigl(\rho^{\otimes(k+1)}\bigr)_{u,v}=\prod_{i=0}^{k}\rho_{u(i),v(i)}.μk,ρ​(B)=max{0,Retr(Fk​(B)ρ⊗(k+1))},(ρ⊗(k+1))u,v​=i=0∏k​ρu(i),v(i)​.

For every ρ\rhoρ, I(ρ,⋅)I(\rho,\cdot)I(ρ,⋅) is lower semicontinuous, finite somewhere, and has compact sublevel sets at every real level; for every closed BBB and open GGG,

lim sup⁡k→∞log⁡μk,ρ(B)k+1≤−inf⁡x∈BI(ρ,x),−inf⁡x∈GI(ρ,x)≤lim inf⁡k→∞log⁡μk,ρ(G)k+1;\limsup_{k\to\infty}\frac{\log\mu_{k,\rho}(B)}{k+1} \le-\inf_{x\in B}I(\rho,x), \qquad -\inf_{x\in G}I(\rho,x) \le\liminf_{k\to\infty}\frac{\log\mu_{k,\rho}(G)}{k+1};k→∞limsup​k+1logμk,ρ​(B)​≤−x∈Binf​I(ρ,x),−x∈Ginf​I(ρ,x)≤k→∞liminf​k+1logμk,ρ​(G)​;

and I(ρ,x)=0I(\rho,x)=0I(ρ,x)=0 if and only if target(ρ,x)\mathrm{target}(\rho,x)target(ρ,x) for every ρ,x\rho,xρ,x. The bounds are extended real inequalities with log⁡0=−∞\log0=-\inftylog0=−∞ and empty infimum +∞+\infty+∞; no compatibility of topology and measurability is assumed, and the bounds apply to all closed and open sets. Only positive copy numbers k+1k+1k+1 occur. Dimension zero is included, with all conditions quantified over density matrices then vacuous.

QAlgorithms.Papers.Independent.Extend50.P41.Consistent

For any natural number ddd, let EEE consist, for every natural number kkk, of an operator-valued measurement on (Cd)⊗(k+1)(\mathbb C^d)^{\otimes(k+1)}(Cd)⊗(k+1) with outcomes in the Borel space Dd\mathcal D_dDd​ of positive semidefinite trace-111 matrices, together with probability laws μk,ρ\mu_{k,\rho}μk,ρ​ for every ρ∈Dd\rho\in\mathcal D_dρ∈Dd​. Each measurement assigns matrices Ek(B)E_k(B)Ek​(B) to sets of outcomes, assigns 000 to the empty set and the identity to the whole space, is positive semidefinite on measurable sets, and is countably additive on disjoint measurable sets through convergent matrix series; its laws satisfy

μk,ρ(B)=max⁡{Re⁡tr⁡(Ek(B)ρ⊗(k+1)),0}\mu_{k,\rho}(B)= \max\{\operatorname{Re}\operatorname{tr}(E_k(B)\rho^{\otimes(k+1)}),0\}μk,ρ​(B)=max{Retr(Ek​(B)ρ⊗(k+1)),0}

for every measurable BBB, where (ρ⊗(k+1))x,y=∏t=0kρxt,yt(\rho^{\otimes(k+1)})_{x,y}=\prod_{t=0}^{k}\rho_{x_t,y_t}(ρ⊗(k+1))x,y​=∏t=0k​ρxt​,yt​​. The predicate requires that, for every ρ∈Dd\rho\in\mathcal D_dρ∈Dd​ and every continuous real-valued function fff on Dd\mathcal D_dDd​,

lim⁡k→∞∫Ddf(σ) dμk,ρ(σ)=f(ρ).\lim_{k\to\infty}\int_{\mathcal D_d}f(\sigma)\,d\mu_{k,\rho}(\sigma)=f(\rho).k→∞lim​∫Dd​​f(σ)dμk,ρ​(σ)=f(ρ).

The integral is the total Bochner integral, and no separate boundedness or integrability hypothesis on fff is included. For d=0d=0d=0, there are no input density matrices, so this consistency condition is vacuous.

QAlgorithms.Papers.Independent.Extend50.P41.CopyIndex

For every pair of natural numbers d,kd,kd,k, this defines the index set of all functions from {0,…,k}\{0,\ldots,k\}{0,…,k} to {0,…,d−1}\{0,\ldots,d-1\}{0,…,d−1}, equivalently all ordered (k+1)(k+1)(k+1)-tuples of ddd-valued indices. Thus k=0k=0k=0 gives one-coordinate tuples; when d=0d=0d=0, the index set is empty for every kkk.

QAlgorithms.Papers.Independent.Extend50.P41.CovariantAdmissible

For every natural number ddd and every function I:Dd×Dd→[0,∞]I:\mathcal D_d\times\mathcal D_d\to[0,\infty]I:Dd​×Dd​→[0,∞], where Dd\mathcal D_dDd​ is the space of complex positive semidefinite d×dd\times dd×d matrices of trace one with its inherited topology and Borel measurable space, this predicate asserts the existence of a scheme as follows. For each k∈Nk\in\mathbb Nk∈N there is a set-indexed matrix assignment FkF_kFk​ on Dd\mathcal D_dDd​, acting on coordinates Jk={0,…,d−1}{0,…,k}J_k=\{0,\ldots,d-1\}^{\{0,\ldots,k\}}Jk​={0,…,d−1}{0,…,k}, with value zero on the empty set, identity on the whole space, positive semidefinite values on measurable sets, and countable additivity by convergent matrix series on pairwise disjoint measurable sets; for every ρ∈Dd\rho\in\mathcal D_dρ∈Dd​ there are probability measures μk,ρ\mu_{k,\rho}μk,ρ​ satisfying, for measurable BBB,

μk,ρ(B)=max⁡ ⁣{0,Re⁡tr⁡ ⁣(Fk(B)ρ⊗(k+1))},(A⊗(k+1))u,v=∏i=0kAu(i),v(i).\mu_{k,\rho}(B)= \max\!\left\{0,\operatorname{Re}\operatorname{tr}\!\left(F_k(B)\rho^{\otimes(k+1)}\right)\right\}, \qquad \bigl(A^{\otimes(k+1)}\bigr)_{u,v}=\prod_{i=0}^{k}A_{u(i),v(i)}.μk,ρ​(B)=max{0,Retr(Fk​(B)ρ⊗(k+1))},(A⊗(k+1))u,v​=i=0∏k​Au(i),v(i)​.

For each ρ\rhoρ, I(ρ,⋅)I(\rho,\cdot)I(ρ,⋅) is lower semicontinuous, finite somewhere, and has compact sublevel sets at every real level; for every closed B⊆DdB\subseteq\mathcal D_dB⊆Dd​ and open G⊆DdG\subseteq\mathcal D_dG⊆Dd​,

lim sup⁡k→∞log⁡μk,ρ(B)k+1≤−inf⁡σ∈BI(ρ,σ),−inf⁡σ∈GI(ρ,σ)≤lim inf⁡k→∞log⁡μk,ρ(G)k+1;\limsup_{k\to\infty}\frac{\log\mu_{k,\rho}(B)}{k+1} \le-\inf_{\sigma\in B}I(\rho,\sigma), \qquad -\inf_{\sigma\in G}I(\rho,\sigma) \le\liminf_{k\to\infty}\frac{\log\mu_{k,\rho}(G)}{k+1};k→∞limsup​k+1logμk,ρ​(B)​≤−σ∈Binf​I(ρ,σ),−σ∈Ginf​I(ρ,σ)≤k→∞liminf​k+1logμk,ρ​(G)​;

and I(ρ,σ)=0I(\rho,\sigma)=0I(ρ,σ)=0 if and only if ρ=σ\rho=\sigmaρ=σ. Additionally, for every kkk, every unitary UUU, and every measurable B⊆DdB\subseteq\mathcal D_dB⊆Dd​,

Fk({UσU∗:σ∈B})=U⊗(k+1)Fk(B)(U⊗(k+1))∗.F_k\bigl(\{U\sigma U^*:\sigma\in B\}\bigr) = U^{\otimes(k+1)}F_k(B)\bigl(U^{\otimes(k+1)}\bigr)^*.Fk​({UσU∗:σ∈B})=U⊗(k+1)Fk​(B)(U⊗(k+1))∗.

All logarithmic bounds are in the extended reals, with log⁡0=−∞\log0=-\inftylog0=−∞ and empty infimum +∞+\infty+∞, and ∗*∗ denotes conjugate transpose. Copy numbers are always k+1≥1k+1\ge1k+1≥1. Dimension zero is allowed, and conditions quantified over density matrices are then vacuous.

QAlgorithms.Papers.Independent.Extend50.P41.CovariantAt

For natural numbers d,kd,kd,k, let Dd\mathcal D_dDd​ be the Borel space of complex positive semidefinite d×dd\times dd×d matrices of trace one, put J={0,…,d−1}{0,…,k}J=\{0,\ldots,d-1\}^{\{0,\ldots,k\}}J={0,…,d−1}{0,…,k}, and let EEE be a set-indexed matrix assignment on Dd\mathcal D_dDd​ acting on JJJ, with value zero on the empty set, identity on the whole space, positive semidefinite values on measurable sets, and countable additivity by convergent matrix series on pairwise disjoint measurable sets. This predicate means that for every unitary complex d×dd\times dd×d matrix UUU and every measurable B⊆DdB\subseteq\mathcal D_dB⊆Dd​,

E({UτU∗:τ∈B})=U⊗(k+1)E(B)(U⊗(k+1))∗,(U⊗(k+1))y,x=∏i=0kUy(i),x(i).E\bigl(\{U\tau U^*:\tau\in B\}\bigr) = U^{\otimes(k+1)}E(B)\bigl(U^{\otimes(k+1)}\bigr)^*, \qquad \bigl(U^{\otimes(k+1)}\bigr)_{y,x} =\prod_{i=0}^{k}U_{y(i),x(i)}.E({UτU∗:τ∈B})=U⊗(k+1)E(B)(U⊗(k+1))∗,(U⊗(k+1))y,x​=i=0∏k​Uy(i),x(i)​.

Here ∗*∗ denotes conjugate transpose, and the set on the left is the image of BBB under conjugation. The number of copies is k+1≥1k+1\ge1k+1≥1, including one copy when k=0k=0k=0. Dimension zero is permitted, with empty density-matrix and coordinate spaces.

QAlgorithms.Papers.Independent.Extend50.P41.FiniteOperatorMeasure

For any type JJJ equipped with a finite enumeration and decidable equality, and any type XXX equipped with a measurable-space structure, this structure consists of a function QQQ assigning a complex J×JJ\times JJ×J matrix Q(B)Q(B)Q(B) to every subset B⊆XB\subseteq XB⊆X, together with the requirements that Q(∅)=0Q(\varnothing)=0Q(∅)=0, that Q(B)Q(B)Q(B) is positive semidefinite whenever BBB is measurable, and that for every sequence (Bi)i∈N(B_i)_{i\in\mathbb N}(Bi​)i∈N​ of measurable sets with Bi∩Bj=∅B_i\cap B_j=\varnothingBi​∩Bj​=∅ whenever i≠ji\ne ji=j,

∑i=0∞Q(Bi)=Q ⁣(⋃i=0∞Bi)\sum_{i=0}^{\infty}Q(B_i)=Q\!\left(\bigcup_{i=0}^{\infty}B_i\right)i=0∑∞​Q(Bi​)=Q(i=0⋃∞​Bi​)

in the sense of convergence of the matrix series. The function is defined on nonmeasurable sets as well, but positivity is required only for measurable sets. No condition requires Q(X)Q(X)Q(X) to be the identity or requires XXX to be finite. Empty JJJ and empty XXX are permitted.

QAlgorithms.Papers.Independent.Extend50.P41.FullTarget

For every natural number ddd and every pair ρ,σ\rho,\sigmaρ,σ of complex d×dd\times dd×d positive semidefinite matrices of trace one, this predicate means exactly ρ=σ\rho=\sigmaρ=σ, equivalently equality of all their matrix entries. Dimension zero is allowed, but there are no trace-one matrices of that dimension, so there are no such arguments when d=0d=0d=0.

QAlgorithms.Papers.Independent.Extend50.P41.GoodRate

For every topological space XXX and function I:X→[0,∞]I:X\to[0,\infty]I:X→[0,∞], this property means that III is lower semicontinuous, that there exists at least one x∈Xx\in Xx∈X with I(x)≠+∞I(x)\ne+\inftyI(x)=+∞, and that for every real number ccc, the set {x∈X:I(x)≤c}\{x\in X:I(x)\le c\}{x∈X:I(x)≤c} is compact, with the inequality interpreted in the extended real numbers. Negative ccc give empty sublevel sets, and the existence requirement makes this property impossible when XXX is empty.

QAlgorithms.Papers.Independent.Extend50.P41.HasLDP

For a type XXX equipped with a topology and a measurable space, a sequence of measures (μk)k∈N(\mu_k)_{k\in\mathbb N}(μk​)k∈N​ on XXX, and a function I:X→[0,∞]I:X\to[0,\infty]I:X→[0,∞], this predicate means that every μk\mu_kμk​ is a probability measure; III is lower semicontinuous, is finite at at least one point, and has compact sublevel sets {x:I(x)≤c}\{x:I(x)\le c\}{x:I(x)≤c} for every real ccc; and the following bounds hold, with limits taken as k→∞k\to\inftyk→∞:

lim sup⁡k→∞log⁡μk(B)k+1≤−inf⁡x∈BI(x)for every closed B⊆X,−inf⁡x∈BI(x)≤lim inf⁡k→∞log⁡μk(B)k+1for every open B⊆X.\begin{aligned} \limsup_{k\to\infty}\frac{\log\mu_k(B)}{k+1} &\le -\inf_{x\in B}I(x) &&\text{for every closed }B\subseteq X,\\ -\inf_{x\in B}I(x) &\le \liminf_{k\to\infty}\frac{\log\mu_k(B)}{k+1} &&\text{for every open }B\subseteq X. \end{aligned}k→∞limsup​k+1logμk​(B)​−x∈Binf​I(x)​≤−x∈Binf​I(x)≤k→∞liminf​k+1logμk​(B)​​​for every closed B⊆X,for every open B⊆X.​

These inequalities are in the extended real numbers: the logarithm of zero is −∞-\infty−∞, the logarithm of infinite mass is +∞+\infty+∞, and the infimum over an empty set is +∞+\infty+∞. The index includes k=0k=0k=0, and the scaling denominator is always k+1k+1k+1. No compatibility between the topology and measurable space is assumed, so the bounds also apply to open or closed sets that are not measurable, using their measure values as defined on arbitrary sets.

QAlgorithms.Papers.Independent.Extend50.P41.InvariantRate

For every natural number ddd and every function I:Dd×Dd→[0,∞]I:\mathcal D_d\times\mathcal D_d\to[0,\infty]I:Dd​×Dd​→[0,∞], where Dd\mathcal D_dDd​ consists of complex positive semidefinite d×dd\times dd×d matrices of trace one, this predicate means that for every unitary complex d×dd\times dd×d matrix UUU and every ρ,σ∈Dd\rho,\sigma\in\mathcal D_dρ,σ∈Dd​,

I(UρU∗, UσU∗)=I(ρ,σ),I(U\rho U^*,\,U\sigma U^*)=I(\rho,\sigma),I(UρU∗,UσU∗)=I(ρ,σ),

where ∗*∗ denotes conjugate transpose. No continuity, measurement, or asymptotic condition is included in this predicate. Dimension zero is allowed, and the condition is then vacuous because Dd\mathcal D_dDd​ is empty.

QAlgorithms.Papers.Independent.Extend50.P41.JointLSC

For every natural number ddd, every topological space XXX, and every function I:Dd×X→[0,∞]I:\mathcal D_d\times X\to[0,\infty]I:Dd​×X→[0,∞], where Dd\mathcal D_dDd​ consists of complex positive semidefinite d×dd\times dd×d matrices of trace one with its inherited matrix topology, this predicate means that the function (ρ,x)↦I(ρ,x)(\rho,x)\mapsto I(\rho,x)(ρ,x)↦I(ρ,x) is lower semicontinuous on the product space Dd×X\mathcal D_d\times XDd​×X. No measurable-space structure on XXX is required here. Dimension zero is allowed; its density-matrix space is empty, so the lower semicontinuity condition then holds vacuously.

QAlgorithms.Papers.Independent.Extend50.P41.OrderedProbability

For every natural number ddd and real vector x=(x0,…,xd−1)x=(x_0,\ldots,x_{d-1})x=(x0​,…,xd−1​), this property means that xi≥xjx_i\ge x_jxi​≥xj​ whenever i≤ji\le ji≤j, that xi≥0x_i\ge0xi​≥0 for every index iii, and that ∑i=0d−1xi=1\sum_{i=0}^{d-1}x_i=1∑i=0d−1​xi​=1. When d=0d=0d=0, the empty sum is 000, so no vector satisfies this property.

QAlgorithms.Papers.Independent.Extend50.P41.OrderedSpectrum

For every natural number ddd, this defines the type of real vectors x=(x0,…,xd−1)x=(x_0,\ldots,x_{d-1})x=(x0​,…,xd−1​) whose coordinates are nonincreasing, nonnegative, and sum to 111. This type is empty when d=0d=0d=0.

QAlgorithms.Papers.Independent.Extend50.P41.PermutationInvariantAt

For natural numbers d,kd,kd,k, let Dd\mathcal D_dDd​ be the Borel space of complex positive semidefinite d×dd\times dd×d matrices of trace one, and put J={0,…,d−1}{0,…,k}J=\{0,\ldots,d-1\}^{\{0,\ldots,k\}}J={0,…,d−1}{0,…,k}. Let EEE assign to each subset B⊆DdB\subseteq\mathcal D_dB⊆Dd​ a complex matrix E(B)E(B)E(B) indexed by JJJ, with E(∅)=0E(\varnothing)=0E(∅)=0, E(Dd)=IdE(\mathcal D_d)=\mathrm{Id}E(Dd​)=Id, positive semidefinite values on measurable sets, and countable additivity by convergent matrix series on pairwise disjoint measurable sets. This predicate means that, for every permutation ppp of {0,…,k}\{0,\ldots,k\}{0,…,k} and every measurable B⊆DdB\subseteq\mathcal D_dB⊆Dd​,

TpE(B)Tp∗=E(B),(Tp)y,x={1,y=x∘p−1,0,otherwise,T_pE(B)T_p^*=E(B), \qquad (T_p)_{y,x}= \begin{cases} 1,&y=x\circ p^{-1},\\ 0,&\text{otherwise}, \end{cases}Tp​E(B)Tp∗​=E(B),(Tp​)y,x​={1,0,​y=x∘p−1,otherwise,​

where ∗*∗ is conjugate transpose. Thus the coordinate count is k+1k+1k+1, including one coordinate when k=0k=0k=0, in which case the only permutation is the identity and the equality imposes no additional restriction. Dimension zero is also included; then JJJ and Dd\mathcal D_dDd​ are empty.

QAlgorithms.Papers.Independent.Extend50.P41.PureDensityState

For any natural number ddd and any positive semidefinite complex d×dd\times dd×d matrix ρ\rhoρ of trace 111, this predicate means that there exists a vector ψ∈Cd\psi\in\mathbb C^dψ∈Cd with Euclidean norm 111 such that

ρab=ψaψb‾(0≤a,b<d).\rho_{ab}=\psi_a\overline{\psi_b}\qquad(0\le a,b<d).ρab​=ψa​ψb​​(0≤a,b<d).

The witness is not required to be unique. Dimension 000 is syntactically allowed, but there is no trace-111 matrix in that dimension.

QAlgorithms.Papers.Independent.Extend50.P41.PureTestProperties

For a natural number ddd, an arbitrary function III from pairs of positive semidefinite trace-111 complex d×dd\times dd×d matrices to [0,∞][0,\infty][0,∞], two such matrices ρ,σ\rho,\sigmaρ,σ, arbitrary vectors ϕ,ψ∈Cd\phi,\psi\in\mathbb C^dϕ,ψ∈Cd, and vectors vkv_kvk​ indexed by ddd-letter words of length k+1k+1k+1 for every natural number kkk, this predicate is the conjunction of the following requirements: every vkv_kvk​ has Euclidean norm 111 and is fixed by every position-permutation matrix Pp(y,x)=1{y=x∘p−1}P_p(y,x)=\mathbf1_{\{y=x\circ p^{-1}\}}Pp​(y,x)=1{y=x∘p−1}​; and, writing (ξ⊗(k+1))x=∏t=0kξxt(\xi^{\otimes(k+1)})_x=\prod_{t=0}^{k}\xi_{x_t}(ξ⊗(k+1))x​=∏t=0k​ξxt​​,

I(ρ,σ)≤lim inf⁡k→∞−1k+1log⁡∣⟨ϕ⊗(k+1),vk⟩∣2,∣⟨vk,ψ⊗(k+1)⟩∣2⟶1.I(\rho,\sigma)\le \liminf_{k\to\infty} -\frac{1}{k+1}\log\left|\left\langle\phi^{\otimes(k+1)},v_k\right\rangle\right|^2, \qquad \left|\left\langle v_k,\psi^{\otimes(k+1)}\right\rangle\right|^2\longrightarrow1.I(ρ,σ)≤k→∞liminf​−k+11​log​⟨ϕ⊗(k+1),vk​⟩​2,​⟨vk​,ψ⊗(k+1)⟩​2⟶1.

The first inequality is in the extended real numbers, with I(ρ,σ)I(\rho,\sigma)I(ρ,σ) embedded there and −log⁡0=+∞-\log0=+\infty−log0=+∞. Neither ϕ\phiϕ nor ψ\psiψ is assumed normalized, and no equation relates them to ρ\rhoρ or σ\sigmaσ; no continuity or rate-function property is required of III. The quantification includes k=0k=0k=0, which uses one tensor factor.

QAlgorithms.Papers.Independent.Extend50.P41.Scheme

For every natural number ddd and every type XXX equipped with a σ\sigmaσ-algebra, a scheme consists of the following data and conditions: for each natural number kkk, an operator-valued set function EkE_kEk​ on subsets of XXX, taking values in complex matrices indexed by (k+1)(k+1)(k+1)-tuples from {0,…,d−1}\{0,\ldots,d-1\}{0,…,d−1}, with Ek(∅)=0E_k(\varnothing)=0Ek​(∅)=0, Ek(X)=IE_k(X)=IEk​(X)=I, positive semidefinite Ek(B)E_k(B)Ek​(B) for every measurable BBB, and, for every sequence of pairwise disjoint measurable sets BjB_jBj​, a convergent matrix series satisfying ∑j=0∞Ek(Bj)=Ek(⋃jBj)\sum_{j=0}^{\infty}E_k(B_j)=E_k(\bigcup_j B_j)∑j=0∞​Ek​(Bj​)=Ek​(⋃j​Bj​); and, for every kkk and every density matrix ρ\rhoρ, meaning a positive semidefinite complex d×dd\times dd×d matrix of trace 111, a probability measure μk,ρ\mu_{k,\rho}μk,ρ​ on XXX satisfying, for every measurable BBB, μk,ρ(B)=max⁡{0,Re⁡tr⁡(Ek(B)Rk,ρ)}\mu_{k,\rho}(B)=\max\{0,\operatorname{Re}\operatorname{tr}(E_k(B)R_{k,\rho})\}μk,ρ​(B)=max{0,Retr(Ek​(B)Rk,ρ​)}, viewed as an extended nonnegative real number, where Rk,ρ(x,y)=∏i=0kρxi,yiR_{k,\rho}(x,y)=\prod_{i=0}^{k}\rho_{x_i,y_i}Rk,ρ​(x,y)=∏i=0k​ρxi​,yi​​. The index k=0k=0k=0 therefore uses one copy of ρ\rhoρ. The parameter ddd may be zero; in that case the matrix index sets and the type of density inputs are empty, so the requirements quantified over ρ\rhoρ are vacuous.

QAlgorithms.Papers.Independent.Extend50.P41.SchemeLDP

Let d∈Nd\in\mathbb Nd∈N, let Dd\mathcal D_dDd​ be the space of complex d×dd\times dd×d positive semidefinite matrices of trace one, with its inherited topology and Borel measurable space, and let XXX have a topology and a measurable space, without an assumed compatibility between them. A supplied scheme EEE consists, for every k∈Nk\in\mathbb Nk∈N, of an operator-valued measurement FkF_kFk​ on XXX acting on coordinates Jk={0,…,d−1}{0,…,k}J_k=\{0,\ldots,d-1\}^{\{0,\ldots,k\}}Jk​={0,…,d−1}{0,…,k}, together with probability measures μk,ρ\mu_{k,\rho}μk,ρ​ for every ρ∈Dd\rho\in\mathcal D_dρ∈Dd​: Fk(∅)=0F_k(\varnothing)=0Fk​(∅)=0, Fk(X)=IdF_k(X)=\mathrm{Id}Fk​(X)=Id, Fk(B)F_k(B)Fk​(B) is positive semidefinite for measurable BBB, and FkF_kFk​ is countably additive on pairwise disjoint measurable sets, with matrix sums interpreted as convergent series; moreover, for every measurable BBB,

μk,ρ(B)=max⁡ ⁣{0,Re⁡tr⁡ ⁣(Fk(B)ρ⊗(k+1))},(ρ⊗(k+1))u,v=∏i=0kρu(i),v(i).\mu_{k,\rho}(B)= \max\!\left\{0,\operatorname{Re}\operatorname{tr}\!\left(F_k(B)\rho^{\otimes(k+1)}\right)\right\}, \qquad \bigl(\rho^{\otimes(k+1)}\bigr)_{u,v}=\prod_{i=0}^{k}\rho_{u(i),v(i)}.μk,ρ​(B)=max{0,Retr(Fk​(B)ρ⊗(k+1))},(ρ⊗(k+1))u,v​=i=0∏k​ρu(i),v(i)​.

For any relation target⊆Dd×X\mathrm{target}\subseteq\mathcal D_d\times Xtarget⊆Dd​×X and function I:Dd×X→[0,∞]I:\mathcal D_d\times X\to[0,\infty]I:Dd​×X→[0,∞], the predicate means that, for every ρ\rhoρ, the function I(ρ,⋅)I(\rho,\cdot)I(ρ,⋅) is lower semicontinuous, finite somewhere, and has compact sublevel sets at every real level; for every closed BBB and open GGG,

lim sup⁡k→∞log⁡μk,ρ(B)k+1≤−inf⁡x∈BI(ρ,x),−inf⁡x∈GI(ρ,x)≤lim inf⁡k→∞log⁡μk,ρ(G)k+1;\limsup_{k\to\infty}\frac{\log\mu_{k,\rho}(B)}{k+1} \le-\inf_{x\in B}I(\rho,x), \qquad -\inf_{x\in G}I(\rho,x) \le\liminf_{k\to\infty}\frac{\log\mu_{k,\rho}(G)}{k+1};k→∞limsup​k+1logμk,ρ​(B)​≤−x∈Binf​I(ρ,x),−x∈Ginf​I(ρ,x)≤k→∞liminf​k+1logμk,ρ​(G)​;

and, for every ρ\rhoρ and xxx, I(ρ,x)=0I(\rho,x)=0I(ρ,x)=0 if and only if target(ρ,x)\mathrm{target}(\rho,x)target(ρ,x). The bounds use extended real arithmetic, with log⁡0=−∞\log0=-\inftylog0=−∞ and the empty infimum equal to +∞+\infty+∞, and do not require the closed or open sets to be measurable. The number of copies is always k+1≥1k+1\ge1k+1≥1. The dimension d=0d=0d=0 is permitted, in which case Dd\mathcal D_dDd​ is empty and the conditions quantified over ρ\rhoρ are vacuous.

QAlgorithms.Papers.Independent.Extend50.P41.SchurCoordinateIndex

For arbitrary natural numbers d,nd,nd,n and a Young diagram YYY with exactly nnn cells and at most ddd rows, this abbreviates the finite index set {0,…,mY−1}\{0,\ldots,m_Y-1\}{0,…,mY​−1}, where mY=dim⁡CVYm_Y=\dim_{\mathbb C}V_YmY​=dimC​VY​ is defined as follows. Choose the supplied bijection from the cells of YYY to {0,…,n−1}\{0,\ldots,n-1\}{0,…,n−1}, let RYR_YRY​ consist of permutations preserving the row of each numbered cell, and let CYC_YCY​ consist of permutations preserving its column. On the complex Euclidean space with coordinates indexed by words x:{0,…,n−1}→{0,…,d−1}x:\{0,\ldots,n-1\}\to\{0,\ldots,d-1\}x:{0,…,n−1}→{0,…,d−1}, put

(Pπ)y,x=1{y=x∘π−1},TY=∑a∈RY∑b∈CYsgn⁡(b)Pab,VY=range⁡TY.(P_\pi)_{y,x}=\mathbf1_{\{y=x\circ\pi^{-1}\}}, \qquad T_Y=\sum_{a\in R_Y}\sum_{b\in C_Y}\operatorname{sgn}(b)P_{ab}, \qquad V_Y=\operatorname{range}T_Y.(Pπ​)y,x​=1{y=x∘π−1}​,TY​=a∈RY​∑​b∈CY​∑​sgn(b)Pab​,VY​=rangeTY​.

If mY=0m_Y=0mY​=0, the coordinate index set is empty. The parameters permit n=0n=0n=0, when the word index set contains the single empty word; a diagram with n>0n>0n>0 and d=0d=0d=0 cannot satisfy the diagram conditions.

QAlgorithms.Papers.Independent.Extend50.P41.SpectralCovariantAt

For natural numbers d,kd,kd,k, let XdX_dXd​ be the space of nonincreasing, nonnegative vectors in Rd\mathbb R^dRd summing to 111, equipped with its Borel measurable structure, and let H=C{0,…,k}→{0,…,d−1}\mathcal H=\mathbb C^{\{0,\ldots,k\}\to\{0,\ldots,d-1\}}H=C{0,…,k}→{0,…,d−1}. Given an operator-valued measurement EEE assigning a matrix E(B)E(B)E(B) on H\mathcal HH to every subset B⊆XdB\subseteq X_dB⊆Xd​, with E(∅)=0E(\varnothing)=0E(∅)=0, E(Xd)=1E(X_d)=1E(Xd​)=1, positive semidefinite values on measurable sets, and countable additivity in the sense that ∑jE(Bj)\sum_j E(B_j)∑j​E(Bj​) converges to E(⋃jBj)E(\bigcup_jB_j)E(⋃j​Bj​) for every pairwise disjoint measurable sequence, this predicate requires

U⊗(k+1)E(B)(U⊗(k+1))∗=E(B)U^{\otimes(k+1)}E(B)\bigl(U^{\otimes(k+1)}\bigr)^*=E(B)U⊗(k+1)E(B)(U⊗(k+1))∗=E(B)

for every unitary d×dd\times dd×d matrix UUU and every measurable B⊆XdB\subseteq X_dB⊆Xd​. Here the tensor-power matrix has entries ∏i=0kUyizi\prod_{i=0}^{k}U_{y_i z_i}∏i=0k​Uyi​zi​​, and ∗^*∗ denotes conjugate transpose. The value k=0k=0k=0 means one tensor factor. Dimension d=0d=0d=0 is included; in that case both XdX_dXd​ and the matrix index set are empty.

QAlgorithms.Papers.Independent.Extend50.P41.SpectralTarget

For every natural number ddd, every complex d×dd\times dd×d positive semidefinite matrix ρ\rhoρ of trace one, and every vector x=(x0,…,xd−1)x=(x_0,\ldots,x_{d-1})x=(x0​,…,xd−1​) satisfying x0≥⋯≥xd−1≥0x_0\ge\cdots\ge x_{d-1}\ge0x0​≥⋯≥xd−1​≥0 and ∑ixi=1\sum_i x_i=1∑i​xi​=1, this predicate means that xxx equals the list of eigenvalues of ρ\rhoρ in nonincreasing order, counted with multiplicity. Dimension zero is permitted, but neither a trace-one matrix nor a probability vector exists in that dimension.

QAlgorithms.Papers.Independent.Extend50.P41.SymmetricVector

For natural numbers d,kd,kd,k and a complex vector vvv indexed by functions x:{0,…,k}→{0,…,d−1}x:\{0,\ldots,k\}\to\{0,\ldots,d-1\}x:{0,…,k}→{0,…,d−1}, this predicate requires Ppv=vP_pv=vPp​v=v for every permutation ppp of the k+1k+1k+1 positions, where

(Pp)y,x={1,y=x∘p−1,0,otherwise.(P_p)_{y,x}= \begin{cases} 1,&y=x\circ p^{-1},\\ 0,&\text{otherwise}. \end{cases}(Pp​)y,x​={1,0,​y=x∘p−1,otherwise.​

No normalization or nonzero condition is imposed on vvv. When k=0k=0k=0, the only permutation is the identity; when d=0d=0d=0, the indexing set is empty and the only vector is the zero vector.

QAlgorithms.Papers.Independent.Extend50.P41.actionTest

For every natural number ddd, unitary complex d×dd\times dd×d matrix UUU, arbitrary function f:Dd→Rf:\mathcal D_d\to\mathbb Rf:Dd​→R, and density matrix σ∈Dd\sigma\in\mathcal D_dσ∈Dd​, where Dd\mathcal D_dDd​ consists of positive semidefinite matrices of trace 111, this defines

f(UσU∗).f(U\sigma U^*).f(UσU∗).

The conjugated matrix is regarded as an element of Dd\mathcal D_dDd​, and U∗U^*U∗ is the conjugate transpose. No measurability or continuity assumption on fff is imposed. The supplied σ\sigmaσ cannot exist when d=0d=0d=0.

QAlgorithms.Papers.Independent.Extend50.P41.blochDensityMatrix

For every real vector x=(x0,x1,x2)x=(x_0,x_1,x_2)x=(x0​,x1​,x2​), the definition returns the complex 2×22\times22×2 matrix

((1+x2)/2(x0−ix1)/2(x0+ix1)/2(1−x2)/2).\begin{pmatrix} (1+x_2)/2 &(x_0-\mathrm i x_1)/2\\ (x_0+\mathrm i x_1)/2 &(1-x_2)/2 \end{pmatrix}.((1+x2​)/2(x0​+ix1​)/2​(x0​−ix1​)/2(1−x2​)/2​).

There is no hypothesis restricting the length of xxx, and the definition does not require the resulting matrix to be positive semidefinite.

QAlgorithms.Papers.Independent.Extend50.P41.blochDirectionalComponent

For any two real vectors x=(x0,x1,x2)x=(x_0,x_1,x_2)x=(x0​,x1​,x2​) and y=(y0,y1,y2)y=(y_0,y_1,y_2)y=(y0​,y1​,y2​), the definition returns

x0y0+x1y1+x2y2y02+y12+y22.\frac{x_0y_0+x_1y_1+x_2y_2}{\sqrt{y_0^2+y_1^2+y_2^2}}.y02​+y12​+y22​​x0​y0​+x1​y1​+x2​y2​​.

There is no assumption that y≠0y\ne0y=0. Division is total, with division by 000 equal to 000, so the value is 000 when y=0y=0y=0.

QAlgorithms.Papers.Independent.Extend50.P41.blochLength

For every real vector x=(x0,x1,x2)x=(x_0,x_1,x_2)x=(x0​,x1​,x2​), the definition returns

x02+x12+x22,\sqrt{x_0^2+x_1^2+x_2^2},x02​+x12​+x22​​,

using the nonnegative real square root; in particular, the zero vector has value 000.

QAlgorithms.Papers.Independent.Extend50.P41.conjugateState

For every natural number ddd, every unitary complex d×dd\times dd×d matrix UUU, and every density matrix ρ\rhoρ, meaning a positive semidefinite complex d×dd\times dd×d matrix with trace 111, this defines the density matrix UρU†U\rho U^\daggerUρU†, where U†U^\daggerU† is the conjugate transpose. When d=0d=0d=0, there is no density matrix ρ\rhoρ satisfying the required trace condition.

QAlgorithms.Papers.Independent.Extend50.P41.covariantOptimal

For every natural number ddd and every pair ρ,σ∈Dd\rho,\sigma\in\mathcal D_dρ,σ∈Dd​, where Dd\mathcal D_dDd​ is the space of complex positive semidefinite d×dd\times dd×d matrices of trace one with its inherited topology and Borel measurable space, this value is the supremum in [0,∞][0,\infty][0,∞] of I(ρ,σ)I(\rho,\sigma)I(ρ,σ) over all functions I:Dd×Dd→[0,∞]I:\mathcal D_d\times\mathcal D_d\to[0,\infty]I:Dd​×Dd​→[0,∞] for which the following scheme exists. For each k∈Nk\in\mathbb Nk∈N there is an operator-valued measurement FkF_kFk​ on Dd\mathcal D_dDd​ acting on coordinates Jk={0,…,d−1}{0,…,k}J_k=\{0,\ldots,d-1\}^{\{0,\ldots,k\}}Jk​={0,…,d−1}{0,…,k}, with value zero on the empty set, identity on the whole space, positive semidefinite values on measurable sets, and countable additivity by convergent matrix series on pairwise disjoint measurable sets; there are probability measures μk,τ\mu_{k,\tau}μk,τ​ for every τ∈Dd\tau\in\mathcal D_dτ∈Dd​ such that, for measurable BBB,

μk,τ(B)=max⁡ ⁣{0,Re⁡tr⁡ ⁣(Fk(B)τ⊗(k+1))},(A⊗(k+1))u,v=∏i=0kAu(i),v(i).\mu_{k,\tau}(B)= \max\!\left\{0,\operatorname{Re}\operatorname{tr}\!\left(F_k(B)\tau^{\otimes(k+1)}\right)\right\}, \qquad \bigl(A^{\otimes(k+1)}\bigr)_{u,v}=\prod_{i=0}^{k}A_{u(i),v(i)}.μk,τ​(B)=max{0,Retr(Fk​(B)τ⊗(k+1))},(A⊗(k+1))u,v​=i=0∏k​Au(i),v(i)​.

For every τ\tauτ, I(τ,⋅)I(\tau,\cdot)I(τ,⋅) is lower semicontinuous, finite somewhere, and has compact sublevel sets at every real level; every closed BBB and open GGG satisfy

lim sup⁡k→∞log⁡μk,τ(B)k+1≤−inf⁡ω∈BI(τ,ω),−inf⁡ω∈GI(τ,ω)≤lim inf⁡k→∞log⁡μk,τ(G)k+1;\limsup_{k\to\infty}\frac{\log\mu_{k,\tau}(B)}{k+1} \le-\inf_{\omega\in B}I(\tau,\omega), \qquad -\inf_{\omega\in G}I(\tau,\omega) \le\liminf_{k\to\infty}\frac{\log\mu_{k,\tau}(G)}{k+1};k→∞limsup​k+1logμk,τ​(B)​≤−ω∈Binf​I(τ,ω),−ω∈Ginf​I(τ,ω)≤k→∞liminf​k+1logμk,τ​(G)​;

and I(τ,ω)=0I(\tau,\omega)=0I(τ,ω)=0 if and only if τ=ω\tau=\omegaτ=ω. For every kkk, every unitary complex d×dd\times dd×d matrix UUU, and every measurable BBB, the measurement also satisfies

Fk({UωU∗:ω∈B})=U⊗(k+1)Fk(B)(U⊗(k+1))∗.F_k\bigl(\{U\omega U^*:\omega\in B\}\bigr) = U^{\otimes(k+1)}F_k(B)\bigl(U^{\otimes(k+1)}\bigr)^*.Fk​({UωU∗:ω∈B})=U⊗(k+1)Fk​(B)(U⊗(k+1))∗.

Here ∗*∗ is conjugate transpose, log⁡0=−∞\log0=-\inftylog0=−∞, empty infima are +∞+\infty+∞, and the bounds are extended real inequalities. The scheme uses k+1≥1k+1\ge1k+1≥1 copies. The supremum is zero if the qualifying family is empty, may be infinite, and is not asserted to be attained. Dimension zero is permitted as a parameter but admits no arguments ρ,σ\rho,\sigmaρ,σ.

QAlgorithms.Papers.Independent.Extend50.P41.diagonalStateMatrix

For every natural number ddd and every nonincreasing, nonnegative real vector x=(x0,…,xd−1)x=(x_0,\ldots,x_{d-1})x=(x0​,…,xd−1​) with ∑ixi=1\sum_i x_i=1∑i​xi​=1, this defines the complex d×dd\times dd×d diagonal matrix with diagonal entries xix_ixi​, viewed as complex numbers, and all off-diagonal entries zero. When d=0d=0d=0, there is no admissible input xxx.

QAlgorithms.Papers.Independent.Extend50.P41.discreteSeedObservable

For a natural number d>0d>0d>0, a natural number kkk, and n=k+1n=k+1n=k+1, consider every Young diagram YYY with nnn cells and at most ddd rows, using the fixed numbering of its cells. Let RY,CYR_Y,C_YRY​,CY​ be its row-preserving and column-preserving permutations, and let Pg(y,x)=1P_g(y,x)=1Pg​(y,x)=1 if y=x∘g−1y=x\circ g^{-1}y=x∘g−1, and 000 otherwise, on ddd-letter words of length nnn. Define SY=range⁡(∑a∈RY,b∈CYsgn⁡(b)Pab)S_Y=\operatorname{range}(\sum_{a\in R_Y,b\in C_Y}\operatorname{sgn}(b)P_{ab})SY​=range(∑a∈RY​,b∈CY​​sgn(b)Pab​), and define HYH_YHY​ as the range of the matrix indexed by permutations with entries ∑a∈RY,b∈CYsgn⁡(b)1{g=hab}\sum_{a\in R_Y,b\in C_Y}\operatorname{sgn}(b)\mathbf1_{\{g=hab\}}∑a∈RY​,b∈CY​​sgn(b)1{g=hab}​. Choose the specified orthonormal bases sY,js_{Y,j}sY,j​ of SYS_YSY​ and hY,ih_{Y,i}hY,i​ of HYH_YHY​, and form a matrix ZZZ, with columns indexed by triples (Y,i,j)(Y,i,j)(Y,i,j), by

Zx,(Y,i,j)=∑ghY,i(g)(PgsY,j)(x).Z_{x,(Y,i,j)}=\sum_g h_{Y,i}(g)(P_gs_{Y,j})(x).Zx,(Y,i,j)​=g∑​hY,i​(g)(Pg​sY,j​)(x).

Set D=f(Z†Z)Z†D=f(Z^\dagger Z)Z^\daggerD=f(Z†Z)Z†, where f(t)=(t)−1f(t)=(\sqrt t)^{-1}f(t)=(t​)−1, with f(0)=0f(0)=0f(0)=0, is applied by continuous functional calculus. For each YYY, let QYQ_YQY​ be an arbitrary complex matrix indexed by the chosen basis of SYS_YSY​, and let BY(QY)B_Y(Q_Y)BY​(QY​) be the matrix on triples whose entry is QY(j,j′)Q_Y(j,j')QY​(j,j′) when both diagram labels equal YYY and the HYH_YHY​-basis labels agree, and is 000 otherwise. For any set BBB of positive semidefinite d×dd\times dd×d matrices of trace 111, the definition returns the matrix on ddd-letter words of length nnn

∑Y∫U(d)1{∃ρ∈B: ρ=Udiag⁡(rowLen⁡Y(0)/n,…,rowLen⁡Y(d−1)/n)U†} U⊗nD†BY(QY)D(U⊗n)† dHd(U).\sum_Y\int_{U(d)} \mathbf1_{\{\exists\rho\in B:\ \rho=U\operatorname{diag}(\operatorname{rowLen}_Y(0)/n,\ldots,\operatorname{rowLen}_Y(d-1)/n)U^\dagger\}} \,U^{\otimes n}D^\dagger B_Y(Q_Y)D(U^{\otimes n})^\dagger\,dH_d(U).Y∑​∫U(d)​1{∃ρ∈B: ρ=Udiag(rowLenY​(0)/n,…,rowLenY​(d−1)/n)U†}​U⊗nD†BY​(QY​)D(U⊗n)†dHd​(U).

Here HdH_dHd​ is normalized Haar measure, and Ux,y⊗n=∏tUxt,ytU^{\otimes n}_{x,y}=\prod_t U_{x_t,y_t}Ux,y⊗n​=∏t​Uxt​,yt​​. No positivity or normalization is imposed on QYQ_YQY​, and no measurability or integrability assumption is imposed on BBB; nonintegrable Bochner integrands have integral 000. The case k=0k=0k=0, hence n=1n=1n=1, is included.

QAlgorithms.Papers.Independent.Extend50.P41.embedBlock

For arbitrary natural numbers d,nd,nd,n, a Young diagram YYY with nnn cells and at most ddd rows, and any complex mY×mYm_Y\times m_YmY​×mY​ matrix QQQ, this defines D∗BY(Q)DD^*B_Y(Q)DD∗BY​(Q)D on the complex Euclidean space HHH of words x:{0,…,n−1}→{0,…,d−1}x:\{0,\ldots,n-1\}\to\{0,\ldots,d-1\}x:{0,…,n−1}→{0,…,d−1}, with all constituent objects specified as follows. For every Young diagram λ\lambdaλ with nnn cells and at most ddd rows, use its supplied cell numbering to form the row-preserving and column-preserving permutation sets Rλ,CλR_\lambda,C_\lambdaRλ​,Cλ​, and put

(Pg)y,x=1{y=x∘g−1},Tλ=∑a∈Rλ∑b∈Cλsgn⁡(b)Pab,Vλ=range⁡Tλ.(P_g)_{y,x}=\mathbf1_{\{y=x\circ g^{-1}\}}, \qquad T_\lambda=\sum_{a\in R_\lambda}\sum_{b\in C_\lambda}\operatorname{sgn}(b)P_{ab}, \qquad V_\lambda=\operatorname{range}T_\lambda.(Pg​)y,x​=1{y=x∘g−1}​,Tλ​=a∈Rλ​∑​b∈Cλ​∑​sgn(b)Pab​,Vλ​=rangeTλ​.

On the complex Euclidean space indexed by permutations of {0,…,n−1}\{0,\ldots,n-1\}{0,…,n−1}, define

(Jλ)g,h=∑a∈Rλ∑b∈Cλsgn⁡(b)1{g=hab},Wλ=range⁡Jλ.(J_\lambda)_{g,h} =\sum_{a\in R_\lambda}\sum_{b\in C_\lambda} \operatorname{sgn}(b)\mathbf1_{\{g=hab\}}, \qquad W_\lambda=\operatorname{range}J_\lambda.(Jλ​)g,h​=a∈Rλ​∑​b∈Cλ​∑​sgn(b)1{g=hab}​,Wλ​=rangeJλ​.

Let sλ=dim⁡CWλs_\lambda=\dim_{\mathbb C}W_\lambdasλ​=dimC​Wλ​, mλ=dim⁡CVλm_\lambda=\dim_{\mathbb C}V_\lambdamλ​=dimC​Vλ​, and let (eλ,i)i<sλ(e_{\lambda,i})_{i<s_\lambda}(eλ,i​)i<sλ​​ and (fλ,j)j<mλ(f_{\lambda,j})_{j<m_\lambda}(fλ,j​)j<mλ​​ be their designated orthonormal bases. Index a direct-sum coordinate space by triples (λ,i,j)(\lambda,i,j)(λ,i,j) with i<sλi<s_\lambdai<sλ​ and j<mλj<m_\lambdaj<mλ​, and define

Sx,(λ,i,j)=∑geλ,i(g) (Pgfλ,j)(x),D=φ(S∗S)S∗,φ(t)=(t)−1,S_{x,(\lambda,i,j)} =\sum_g e_{\lambda,i}(g)\,(P_gf_{\lambda,j})(x), \qquad D=\varphi(S^*S)S^*, \qquad \varphi(t)=(\sqrt t)^{-1},Sx,(λ,i,j)​=g∑​eλ,i​(g)(Pg​fλ,j​)(x),D=φ(S∗S)S∗,φ(t)=(t​)−1,

where φ(S∗S)\varphi(S^*S)φ(S∗S) uses continuous functional calculus and φ(0)=0\varphi(0)=0φ(0)=0. The middle matrix is

BY(Q)(λ,i,j),(μ,i′,j′)={Qj,j′,λ=μ=Y and i=i′,0,otherwise.B_Y(Q)_{(\lambda,i,j),(\mu,i',j')} = \begin{cases} Q_{j,j'},&\lambda=\mu=Y\text{ and }i=i',\\ 0,&\text{otherwise}. \end{cases}BY​(Q)(λ,i,j),(μ,i′,j′)​={Qj,j′​,0,​λ=μ=Y and i=i′,otherwise.​

The matrix QQQ has no positivity or Hermitian hypothesis. Zero-dimensional factors contribute no indices; n=0n=0n=0 is included with one empty word and empty products equal to 111, while d=0,n>0d=0,n>0d=0,n>0 admit no input diagram YYY.

QAlgorithms.Papers.Independent.Extend50.P41.fullEstimatorOperator

For every natural number ddd equipped with the hypothesis d>0d>0d>0, every natural number kkk, and every set BBB of complex positive semidefinite d×dd\times dd×d matrices of trace 111, this defines a complex matrix indexed by words of length n=k+1n=k+1n=k+1 over {0,…,d−1}\{0,\ldots,d-1\}{0,…,d−1} by

Ek(B)=∑Y a Young diagram∣Y∣=n, at most d rows∫U(d)1{∃ρ∈B: ρ=Udiag⁡(rY)U∗} mY D∗BY ⁣(aY(U)aY(U)∗)D  dμ(U),(rY)i=length of row i of Yn,E_k(B)= \sum_{\substack{Y\text{ a Young diagram}\\ |Y|=n,\ \text{at most }d\text{ rows}}} \int_{\mathrm U(d)} \mathbf1_{\{\exists\rho\in B:\ \rho=U\operatorname{diag}(r_Y)U^*\}}\, m_Y\,D^*B_Y\!\left(a_Y(U)a_Y(U)^*\right)D\;d\mu(U), \qquad (r_Y)_i=\frac{\text{length of row }i\text{ of }Y}{n},Ek​(B)=Y a Young diagram∣Y∣=n, at most d rows​∑​∫U(d)​1{∃ρ∈B: ρ=Udiag(rY​)U∗}​mY​D∗BY​(aY​(U)aY​(U)∗)Ddμ(U),(rY​)i​=nlength of row i of Y​,

where μ\muμ is Haar measure on U(d)\mathrm U(d)U(d) normalized to have total mass 111, and the remaining objects are defined as follows. For each diagram λ\lambdaλ in the sum, its supplied cell numbering determines the row-preserving and column-preserving permutation sets Rλ,CλR_\lambda,C_\lambdaRλ​,Cλ​; on the word space put

(Pg)y,x=1{y=x∘g−1},Tλ=∑a∈Rλ∑b∈Cλsgn⁡(b)Pab,Vλ=range⁡Tλ,mλ=dim⁡CVλ.(P_g)_{y,x}=\mathbf1_{\{y=x\circ g^{-1}\}}, \qquad T_\lambda=\sum_{a\in R_\lambda}\sum_{b\in C_\lambda}\operatorname{sgn}(b)P_{ab}, \qquad V_\lambda=\operatorname{range}T_\lambda, \qquad m_\lambda=\dim_{\mathbb C}V_\lambda.(Pg​)y,x​=1{y=x∘g−1}​,Tλ​=a∈Rλ​∑​b∈Cλ​∑​sgn(b)Pab​,Vλ​=rangeTλ​,mλ​=dimC​Vλ​.

On the permutation-indexed Euclidean space put

(Jλ)g,h=∑a∈Rλ∑b∈Cλsgn⁡(b)1{g=hab},Wλ=range⁡Jλ,sλ=dim⁡CWλ.(J_\lambda)_{g,h} =\sum_{a\in R_\lambda}\sum_{b\in C_\lambda} \operatorname{sgn}(b)\mathbf1_{\{g=hab\}}, \qquad W_\lambda=\operatorname{range}J_\lambda, \qquad s_\lambda=\dim_{\mathbb C}W_\lambda.(Jλ​)g,h​=a∈Rλ​∑​b∈Cλ​∑​sgn(b)1{g=hab}​,Wλ​=rangeJλ​,sλ​=dimC​Wλ​.

Choose the designated orthonormal bases (eλ,i)i<sλ(e_{\lambda,i})_{i<s_\lambda}(eλ,i​)i<sλ​​ of WλW_\lambdaWλ​ and (fλ,j)j<mλ(f_{\lambda,j})_{j<m_\lambda}(fλ,j​)j<mλ​​ of VλV_\lambdaVλ​, and define

Sx,(λ,i,j)=∑geλ,i(g)(Pgfλ,j)(x),D=φ(S∗S)S∗,φ(t)=(t)−1,φ(0)=0,S_{x,(\lambda,i,j)} =\sum_g e_{\lambda,i}(g)(P_gf_{\lambda,j})(x), \qquad D=\varphi(S^*S)S^*, \qquad \varphi(t)=(\sqrt t)^{-1},\quad \varphi(0)=0,Sx,(λ,i,j)​=g∑​eλ,i​(g)(Pg​fλ,j​)(x),D=φ(S∗S)S∗,φ(t)=(t​)−1,φ(0)=0,

using continuous functional calculus for φ(S∗S)\varphi(S^*S)φ(S∗S). For a matrix QQQ on the VYV_YVY​ coordinates, BY(Q)B_Y(Q)BY​(Q) has entry Qj,j′Q_{j,j'}Qj,j′​ between indices (Y,i,j)(Y,i,j)(Y,i,j) and (Y,i,j′)(Y,i,j')(Y,i,j′), and has all other entries zero. To define aY(U)a_Y(U)aY​(U), let wYw_YwY​ assign to each numbered cell its zero-based row number, put vY=TY∣wY⟩v_Y=T_Y|w_Y\ranglevY​=TY​∣wY​⟩ and hY=∥vY∥−1vYh_Y=\|v_Y\|^{-1}v_YhY​=∥vY​∥−1vY​, and let

cY,j=⟨fY,j,hY⟩,AY(U)ij=⟨fY,i,ΠY(U⊗nfY,j)⟩,aY(U)=AY(U)cY,c_{Y,j}=\langle f_{Y,j},h_Y\rangle,\qquad A_Y(U)_{ij} =\left\langle f_{Y,i},\Pi_Y(U^{\otimes n}f_{Y,j})\right\rangle, \qquad a_Y(U)=A_Y(U)c_Y,cY,j​=⟨fY,j​,hY​⟩,AY​(U)ij​=⟨fY,i​,ΠY​(U⊗nfY,j​)⟩,aY​(U)=AY​(U)cY​,

where ΠY\Pi_YΠY​ is orthogonal projection onto VYV_YVY​, (U⊗n)y,x=∏q<nUy(q),x(q)(U^{\otimes n})_{y,x}=\prod_{q<n}U_{y(q),x(q)}(U⊗n)y,x​=∏q<n​Uy(q),x(q)​, and the complex inner product is conjugate-linear in its first argument. The matrix aY(U)aY(U)∗a_Y(U)a_Y(U)^*aY​(U)aY​(U)∗ therefore has entries aY(U)iaY(U)j‾a_Y(U)_i\overline{a_Y(U)_j}aY​(U)i​aY​(U)j​​. Inverse norms are defined to be 000 at zero. No measurability assumption is imposed on BBB; the integral is the total Bochner integral, which is defined to be zero for a nonintegrable integrand. The case k=0k=0k=0 uses one copy, since n=k+1n=k+1n=k+1 is always positive.

QAlgorithms.Papers.Independent.Extend50.P41.fullRate

For every natural number ddd and every pair of complex positive semidefinite d×dd\times dd×d matrices ρ,σ\rho,\sigmaρ,σ of trace 111, this defines a number in [0,+∞][0,+\infty][0,+∞] by taking the extended real infimum

inf⁡x0≥⋯≥xd−1≥0, ∑jxj=1U unitary, σ=Udiag⁡(x)U∗[∑j=0d−1xjlog⁡xj+∑j=0d−1L ⁣(xj−xj+1,Re⁡det⁡((U∗ρU)ab)0≤a,b≤j)],xd:=0,\inf_{\substack{x_0\ge\cdots\ge x_{d-1}\ge0,\ \sum_jx_j=1\\ U\text{ unitary},\ \sigma=U\operatorname{diag}(x)U^*}} \left[ \sum_{j=0}^{d-1}x_j\log x_j+ \sum_{j=0}^{d-1} L\!\left(x_j-x_{j+1}, \operatorname{Re}\det\bigl((U^*\rho U)_{ab}\bigr)_{0\le a,b\le j}\right) \right], \qquad x_d:=0,x0​≥⋯≥xd−1​≥0, ∑j​xj​=1U unitary, σ=Udiag(x)U∗​inf​[j=0∑d−1​xj​logxj​+j=0∑d−1​L(xj​−xj+1​,Redet((U∗ρU)ab​)0≤a,b≤j​)],xd​:=0,

and then converting that infimum to a nonnegative extended real number. Here L(w,p)=0L(w,p)=0L(w,p)=0 if w=0w=0w=0, L(w,p)=+∞L(w,p)=+\inftyL(w,p)=+∞ if w≠0w\ne0w=0 and p≤0p\le0p≤0, and L(w,p)=−wlog⁡pL(w,p)=-w\log pL(w,p)=−wlogp otherwise; the real logarithm has value 000 at 000. The conversion sends negative values, including −∞-\infty−∞, to 000, preserves nonnegative finite values, and sends +∞+\infty+∞ to +∞+\infty+∞. Only pairs (x,U)(x,U)(x,U) satisfying the displayed equality for σ\sigmaσ contribute to the infimum; an empty constrained infimum has value +∞+\infty+∞. For d=0d=0d=0, the trace-one hypotheses cannot be satisfied.

QAlgorithms.Papers.Independent.Extend50.P41.highestCoordinates

For arbitrary natural numbers d,nd,nd,n and a Young diagram YYY with nnn cells and at most ddd rows, choose the supplied numbering of its cells, and let RY,CYR_Y,C_YRY​,CY​ be the permutations preserving, respectively, the row and column of every numbered cell. Define matrices on the complex Euclidean space of words x:{0,…,n−1}→{0,…,d−1}x:\{0,\ldots,n-1\}\to\{0,\ldots,d-1\}x:{0,…,n−1}→{0,…,d−1} by

(Pπ)y,x=1{y=x∘π−1},TY=∑a∈RY∑b∈CYsgn⁡(b)Pab,(P_\pi)_{y,x}=\mathbf1_{\{y=x\circ\pi^{-1}\}}, \qquad T_Y=\sum_{a\in R_Y}\sum_{b\in C_Y}\operatorname{sgn}(b)P_{ab},(Pπ​)y,x​=1{y=x∘π−1}​,TY​=a∈RY​∑​b∈CY​∑​sgn(b)Pab​,

and set VY=range⁡TYV_Y=\operatorname{range}T_YVY​=rangeTY​, mY=dim⁡CVYm_Y=\dim_{\mathbb C}V_YmY​=dimC​VY​. Let (ei)0≤i<mY(e_i)_{0\le i<m_Y}(ei​)0≤i<mY​​ be the designated orthonormal basis of VYV_YVY​, and let rYr_YrY​ be the word whose value at a numbered cell is its zero-based row number. With ∣rY⟩|r_Y\rangle∣rY​⟩ denoting the coordinate vector equal to 111 at rYr_YrY​ and 000 elsewhere, put

vY=TY∣rY⟩,hY=∥vY∥−1vY.v_Y=T_Y|r_Y\rangle, \qquad h_Y=\|v_Y\|^{-1}v_Y.vY​=TY​∣rY​⟩,hY​=∥vY​∥−1vY​.

This defines the Euclidean coordinate vector (⟨ei,hY⟩)0≤i<mY(\langle e_i,h_Y\rangle)_{0\le i<m_Y}(⟨ei​,hY​⟩)0≤i<mY​​, using the complex inner product conjugate-linear in its first argument. The inverse of 000 is defined to be 000, so hY=0h_Y=0hY​=0 if vY=0v_Y=0vY​=0; if mY=0m_Y=0mY​=0, the coordinate vector is empty. The definition includes n=0n=0n=0 and its single empty word; d=0,n>0d=0,n>0d=0,n>0 admit no such diagram.

QAlgorithms.Papers.Independent.Extend50.P41.limitMoment

For every natural number ddd, arbitrary function I:Dd×Dd→[0,∞]I:\mathcal D_d\times\mathcal D_d\to[0,\infty]I:Dd​×Dd​→[0,∞], density matrix ρ∈Dd\rho\in\mathcal D_dρ∈Dd​, and arbitrary function f:Dd→Rf:\mathcal D_d\to\mathbb Rf:Dd​→R, where Dd\mathcal D_dDd​ is the set of positive semidefinite complex d×dd\times dd×d matrices of trace 111, this defines the real-valued conversion of

inf⁡σ∈Dd(I(ρ,σ)+f(σ)),\inf_{\sigma\in\mathcal D_d} \bigl(I(\rho,\sigma)+f(\sigma)\bigr),σ∈Dd​inf​(I(ρ,σ)+f(σ)),

with the infimum first taken in the extended real numbers. A finite infimum is returned as its real value; either +∞+\infty+∞ or −∞-\infty−∞ is converted to 000. No continuity, boundedness, finiteness, or attainment assumption is required. The supplied ρ\rhoρ excludes dimension d=0d=0d=0.

QAlgorithms.Papers.Independent.Extend50.P41.limitMomentExtended

For every natural number ddd, arbitrary function I:Dd×Dd→[0,∞]I:\mathcal D_d\times\mathcal D_d\to[0,\infty]I:Dd​×Dd​→[0,∞], density matrix ρ∈Dd\rho\in\mathcal D_dρ∈Dd​, and arbitrary real-valued function f:Dd→Rf:\mathcal D_d\to\mathbb Rf:Dd​→R, where Dd\mathcal D_dDd​ consists of positive semidefinite complex d×dd\times dd×d matrices of trace 111, this defines

inf⁡σ∈Dd(I(ρ,σ)+f(σ))\inf_{\sigma\in\mathcal D_d} \bigl(I(\rho,\sigma)+f(\sigma)\bigr)σ∈Dd​inf​(I(ρ,σ)+f(σ))

as an extended real number, using the natural embeddings of [0,∞][0,\infty][0,∞] and R\mathbb RR into [−∞,+∞][-\infty,+\infty][−∞,+∞]. No regularity or boundedness assumptions on III or fff are imposed. The infimum need not be attained and may be +∞+\infty+∞ or −∞-\infty−∞; an empty infimum is +∞+\infty+∞. The supplied ρ\rhoρ makes the indexing set nonempty and excludes d=0d=0d=0.

QAlgorithms.Papers.Independent.Extend50.P41.logLaplaceMoment

For every natural number ddd, measurement scheme EEE with density-matrix outcomes, natural number kkk, density matrix ρ∈Dd={τ∈Cd×d:τ⪰0,tr⁡τ=1}\rho\in\mathcal D_d=\{\tau\in\mathbb C^{d\times d}:\tau\succeq0,\operatorname{tr}\tau=1\}ρ∈Dd​={τ∈Cd×d:τ⪰0,trτ=1}, and arbitrary function f:Dd→Rf:\mathcal D_d\to\mathbb Rf:Dd​→R, this defines the real number

−1k+1log⁡ ⁣(∫Dde−(k+1)f(σ) dμkρ(σ)).-\frac{1}{k+1} \log\!\left(\int_{\mathcal D_d}e^{-(k+1)f(\sigma)}\,d\mu_k^\rho(\sigma)\right).−k+11​log(∫Dd​​e−(k+1)f(σ)dμkρ​(σ)).

Here Dd\mathcal D_dDd​ has its Borel structure, and the scheme supplies, for every natural jjj, a matrix-valued measurement EjE_jEj​ on words of length j+1j+1j+1 over ddd symbols, and a probability measure μjτ\mu_j^\tauμjτ​ for every density matrix τ\tauτ. Its measurement operators vanish on the empty set, equal the identity on the whole outcome space, are positive semidefinite on measurable sets, and are countably additive through convergent matrix sums on disjoint measurable sequences; their laws satisfy

μjτ(B)=max⁡ ⁣{0,Re⁡tr⁡ ⁣(Ej(B)τ⊗(j+1))}\mu_j^\tau(B)= \max\!\left\{0,\operatorname{Re}\operatorname{tr}\!\left(E_j(B)\tau^{\otimes(j+1)}\right)\right\}μjτ​(B)=max{0,Retr(Ej​(B)τ⊗(j+1))}

for measurable BBB, with tensor-power entries ∏i=0jτyizi\prod_{i=0}^{j}\tau_{y_i z_i}∏i=0j​τyi​zi​​. No measurability, continuity, boundedness, or integrability hypothesis is imposed on fff. The integral is the total real-valued Bochner integral, which is defined to be 000 when its integrand is not integrable, and the real logarithm used here has log⁡0=0\log0=0log0=0. Thus a zero integral gives value 000. The denominator is always positive, including k=0k=0k=0; no ρ\rhoρ exists when d=0d=0d=0.

QAlgorithms.Papers.Independent.Extend50.P41.logMass

For every extended nonnegative real number p∈[0,∞]p\in[0,\infty]p∈[0,∞], this defines an extended real value equal to −∞-\infty−∞ when p=0p=0p=0, equal to +∞+\infty+∞ when p=+∞p=+\inftyp=+∞, and equal to the natural logarithm log⁡p\log plogp when 0<p<+∞0<p<+\infty0<p<+∞.

QAlgorithms.Papers.Independent.Extend50.P41.matrixInEvent

For every natural number ddd, every set BBB of complex positive semidefinite d×dd\times dd×d matrices of trace 111, viewed as matrices equipped with proofs of those properties, and every arbitrary complex d×dd\times dd×d matrix AAA, this defines the proposition that there exists ρ∈B\rho\in Bρ∈B whose underlying matrix equals AAA. No measurability assumption is imposed on BBB. The proposition is false if BBB is empty, and it can hold only if AAA is positive semidefinite with trace 111; when d=0d=0d=0, no such trace-one matrix exists.

QAlgorithms.Papers.Independent.Extend50.P41.maximallyMixedRate

For any natural number ddd and any nonincreasing vector x=(x0,…,xd−1)x=(x_0,\ldots,x_{d-1})x=(x0​,…,xd−1​) of nonnegative real numbers with ∑jxj=1\sum_jx_j=1∑j​xj​=1, the definition returns the extended nonnegative real

max⁡ ⁣{log⁡d+∑j=0d−1xjlog⁡xj, 0}.\max\!\left\{\log d+\sum_{j=0}^{d-1}x_j\log x_j,\ 0\right\}.max{logd+j=0∑d−1​xj​logxj​, 0}.

Here log⁡\loglog is the natural logarithm, with the total real logarithm taking value 000 at 000, so a zero coordinate contributes 000. The displayed quantity is finite. Although d=0d=0d=0 is not explicitly excluded, no input vector satisfies the required sum condition in that dimension.

QAlgorithms.Papers.Independent.Extend50.P41.minorFormula

For every natural number ddd, every complex positive semidefinite d×dd\times dd×d matrix ρ\rhoρ with tr⁡ρ=1\operatorname{tr}\rho=1trρ=1, every unitary complex d×dd\times dd×d matrix UUU, and every real vector xxx satisfying x0≥⋯≥xd−1≥0x_0\ge\cdots\ge x_{d-1}\ge0x0​≥⋯≥xd−1​≥0 and ∑jxj=1\sum_jx_j=1∑j​xj​=1, this defines the extended real number

∑j=0d−1xjlog⁡xj+∑j=0d−1L ⁣(xj−xj+1,Re⁡det⁡((U∗ρU)ab)0≤a,b≤j),xd:=0,\sum_{j=0}^{d-1}x_j\log x_j+ \sum_{j=0}^{d-1}L\!\left(x_j-x_{j+1}, \operatorname{Re}\det\bigl((U^*\rho U)_{ab}\bigr)_{0\le a,b\le j}\right), \qquad x_d:=0,j=0∑d−1​xj​logxj​+j=0∑d−1​L(xj​−xj+1​,Redet((U∗ρU)ab​)0≤a,b≤j​),xd​:=0,

where U∗U^*U∗ is the conjugate transpose and L(w,p)L(w,p)L(w,p) is 000 when w=0w=0w=0, +∞+\infty+∞ when w≠0w\ne0w=0 and p≤0p\le0p≤0, and −wlog⁡p-w\log p−wlogp otherwise. In particular, a nonpositive leading principal determinant contributes 000 for a zero coordinate difference and +∞+\infty+∞ for a nonzero difference. The logarithm is the real natural logarithm, whose defined value at 000 is 000, so a zero coordinate contributes 000 to the first sum. For d=0d=0d=0, no matrices or vectors satisfy the stated trace and sum conditions.

QAlgorithms.Papers.Independent.Extend50.P41.nextCoordinate

For every natural number ddd, every real vector x=(x0,…,xd−1)x=(x_0,\ldots,x_{d-1})x=(x0​,…,xd−1​), and every index 0≤k<d0\le k<d0≤k<d, this defines xk+1x_{k+1}xk+1​ if k+1<dk+1<dk+1<d, and 000 otherwise. Thus the value at the last coordinate is 000, irrespective of the entries of xxx; when d=0d=0d=0, there is no admissible index kkk.

QAlgorithms.Papers.Independent.Extend50.P41.optimalRate

Let d∈Nd\in\mathbb Nd∈N, let Dd\mathcal D_dDd​ denote the complex positive semidefinite d×dd\times dd×d matrices of trace one with their inherited topology and Borel measurable space, let XXX carry a topology and a measurable space, let target⊆Dd×X\mathrm{target}\subseteq\mathcal D_d\times Xtarget⊆Dd​×X be any relation, let regular\mathrm{regular}regular be a Boolean, and fix ρ∈Dd\rho\in\mathcal D_dρ∈Dd​ and x∈Xx\in Xx∈X. The value defined is the supremum in [0,∞][0,\infty][0,∞] of I(ρ,x)I(\rho,x)I(ρ,x) over all functions I:Dd×X→[0,∞]I:\mathcal D_d\times X\to[0,\infty]I:Dd​×X→[0,∞] satisfying the following requirements. There must exist, for every k∈Nk\in\mathbb Nk∈N, an operator-valued measurement FkF_kFk​ on XXX acting on coordinates Jk={0,…,d−1}{0,…,k}J_k=\{0,\ldots,d-1\}^{\{0,\ldots,k\}}Jk​={0,…,d−1}{0,…,k}, with value zero on the empty set, identity on XXX, positive semidefinite values on measurable sets, and countable additivity by convergent matrix series on pairwise disjoint measurable sets, together with probability measures μk,τ\mu_{k,\tau}μk,τ​ for all τ∈Dd\tau\in\mathcal D_dτ∈Dd​ such that, for measurable BBB,

μk,τ(B)=max⁡ ⁣{0,Re⁡tr⁡ ⁣(Fk(B)τ⊗(k+1))},(τ⊗(k+1))u,v=∏i=0kτu(i),v(i).\mu_{k,\tau}(B)= \max\!\left\{0,\operatorname{Re}\operatorname{tr}\!\left(F_k(B)\tau^{\otimes(k+1)}\right)\right\}, \qquad \bigl(\tau^{\otimes(k+1)}\bigr)_{u,v}=\prod_{i=0}^{k}\tau_{u(i),v(i)}.μk,τ​(B)=max{0,Retr(Fk​(B)τ⊗(k+1))},(τ⊗(k+1))u,v​=i=0∏k​τu(i),v(i)​.

For each τ\tauτ, I(τ,⋅)I(\tau,\cdot)I(τ,⋅) must be lower semicontinuous, finite somewhere, and have compact sublevel sets at every real level; every closed BBB and open GGG must satisfy

lim sup⁡k→∞log⁡μk,τ(B)k+1≤−inf⁡y∈BI(τ,y),−inf⁡y∈GI(τ,y)≤lim inf⁡k→∞log⁡μk,τ(G)k+1;\limsup_{k\to\infty}\frac{\log\mu_{k,\tau}(B)}{k+1} \le-\inf_{y\in B}I(\tau,y), \qquad -\inf_{y\in G}I(\tau,y) \le\liminf_{k\to\infty}\frac{\log\mu_{k,\tau}(G)}{k+1};k→∞limsup​k+1logμk,τ​(B)​≤−y∈Binf​I(τ,y),−y∈Ginf​I(τ,y)≤k→∞liminf​k+1logμk,τ​(G)​;

and I(τ,y)=0I(\tau,y)=0I(τ,y)=0 must be equivalent to target(τ,y)\mathrm{target}(\tau,y)target(τ,y) for every τ,y\tau,yτ,y. If regular\mathrm{regular}regular is true, (τ,y)↦I(τ,y)(\tau,y)\mapsto I(\tau,y)(τ,y)↦I(τ,y) must additionally be jointly lower semicontinuous; if it is false, this additional requirement imposes no condition. The limits and bounds use extended real arithmetic with log⁡0=−∞\log0=-\inftylog0=−∞ and empty infimum +∞+\infty+∞, and no compatibility between the topology and measurable space of XXX is assumed. The measurements use k+1≥1k+1\ge1k+1≥1 copies. The supremum is zero if there are no qualifying functions, may be infinite, and is not asserted to be attained. Although d=0d=0d=0 is allowed in the parameter, no argument ρ\rhoρ exists in that dimension.

QAlgorithms.Papers.Independent.Extend50.P41.orbitRate

For every natural number ddd, arbitrary function I:Dd×Dd→[0,∞]I:\mathcal D_d\times\mathcal D_d\to[0,\infty]I:Dd​×Dd​→[0,∞], and density matrices ρ,σ∈Dd\rho,\sigma\in\mathcal D_dρ,σ∈Dd​, where Dd\mathcal D_dDd​ consists of positive semidefinite complex d×dd\times dd×d matrices of trace 111, this defines

inf⁡U∈U(d)I(U∗ρU, U∗σU).\inf_{U\in\mathrm U(d)} I(U^*\rho U,\ U^*\sigma U).U∈U(d)inf​I(U∗ρU, U∗σU).

Both arguments are conjugated by the inverse of the same unitary matrix. No invariance, continuity, measurability, or finiteness assumption on III is imposed. The infimum is taken in [0,∞][0,\infty][0,∞], may equal +∞+\infty+∞, and need not be attained; its indexing set contains the identity. The supplied density matrices exclude d=0d=0d=0.

QAlgorithms.Papers.Independent.Extend50.P41.permutationAverageOperator

For every natural number ddd, measurement scheme EEE with outcomes in the Borel space Dd\mathcal D_dDd​ of positive semidefinite complex d×dd\times dd×d matrices of trace 111, natural number kkk, and arbitrary set B⊆DdB\subseteq\mathcal D_dB⊆Dd​, this defines

1(k+1)!∑π∈Sk+1TπEk(B)Tπ∗,Tπ(y,z)=1{y=z∘π−1},\frac{1}{(k+1)!} \sum_{\pi\in\mathfrak S_{k+1}} T_\pi E_k(B)T_\pi^*, \qquad T_\pi(y,z)=\mathbf1_{\{y=z\circ\pi^{-1}\}},(k+1)!1​π∈Sk+1​∑​Tπ​Ek​(B)Tπ∗​,Tπ​(y,z)=1{y=z∘π−1}​,

a complex matrix indexed by words of length k+1k+1k+1 over ddd symbols. The scheme supplies measurements EjE_jEj​ for every natural jjj, each assigning matrices to all sets, vanishing on the empty set, equaling the identity on the whole space, being positive semidefinite on measurable sets, and being countably additive through convergent matrix sums on disjoint measurable sequences. It also supplies probability laws μjρ\mu_j^\rhoμjρ​ for every density matrix ρ\rhoρ, with

μjρ(A)=max⁡ ⁣{0,Re⁡tr⁡ ⁣(Ej(A)ρ⊗(j+1))}\mu_j^\rho(A)= \max\!\left\{0,\operatorname{Re}\operatorname{tr}\!\left(E_j(A)\rho^{\otimes(j+1)}\right)\right\}μjρ​(A)=max{0,Retr(Ej​(A)ρ⊗(j+1))}

for measurable AAA, where the tensor-power entries are ∏i=0jρyizi\prod_{i=0}^{j}\rho_{y_i z_i}∏i=0j​ρyi​zi​​. Here ∗^*∗ denotes conjugate transpose. No measurability assumption on BBB is required. For k=0k=0k=0 the average has one term and equals E0(B)E_0(B)E0​(B); for d=0d=0d=0 its matrix index set is empty.

QAlgorithms.Papers.Independent.Extend50.P41.principalMinor

For every natural number ddd, every complex d×dd\times dd×d matrix AAA, and every integer index kkk with 0≤k<d0\le k<d0≤k<d, this defines

Re⁡det⁡(Aij)0≤i,j≤k,\operatorname{Re}\det\bigl(A_{ij}\bigr)_{0\le i,j\le k},Redet(Aij​)0≤i,j≤k​,

the real part of the determinant of the leading (k+1)×(k+1)(k+1)\times(k+1)(k+1)×(k+1) submatrix. No Hermitian or positivity assumption is imposed on AAA. When d=0d=0d=0, there is no admissible index kkk.

QAlgorithms.Papers.Independent.Extend50.P41.scaledLog

For every natural number kkk and extended nonnegative real number ppp, this defines 1k+1log⁡p\frac{1}{k+1}\log pk+11​logp in the extended real numbers, using log⁡0=−∞\log 0=-\inftylog0=−∞ and log⁡(+∞)=+∞\log(+\infty)=+\inftylog(+∞)=+∞. Since k+1>0k+1>0k+1>0, its value is −∞-\infty−∞ at p=0p=0p=0, +∞+\infty+∞ at p=+∞p=+\inftyp=+∞, and the ordinary real quantity log⁡p/(k+1)\log p/(k+1)logp/(k+1) for finite positive ppp; at k=0k=0k=0, it equals the unscaled extended logarithm.

QAlgorithms.Papers.Independent.Extend50.P41.schurAction

For arbitrary natural numbers d,nd,nd,n, a Young diagram YYY with nnn cells and at most ddd rows, and a unitary complex d×dd\times dd×d matrix UUU, choose the supplied numbering of the cells of YYY, and let RY,CYR_Y,C_YRY​,CY​ be its row-preserving and column-preserving permutation sets. On the complex Euclidean space of words x:{0,…,n−1}→{0,…,d−1}x:\{0,\ldots,n-1\}\to\{0,\ldots,d-1\}x:{0,…,n−1}→{0,…,d−1} define

(Pπ)y,x=1{y=x∘π−1},TY=∑a∈RY∑b∈CYsgn⁡(b)Pab,VY=range⁡TY.(P_\pi)_{y,x}=\mathbf1_{\{y=x\circ\pi^{-1}\}}, \qquad T_Y=\sum_{a\in R_Y}\sum_{b\in C_Y}\operatorname{sgn}(b)P_{ab}, \qquad V_Y=\operatorname{range}T_Y.(Pπ​)y,x​=1{y=x∘π−1}​,TY​=a∈RY​∑​b∈CY​∑​sgn(b)Pab​,VY​=rangeTY​.

Let mY=dim⁡CVYm_Y=\dim_{\mathbb C}V_YmY​=dimC​VY​, let (ei)0≤i<mY(e_i)_{0\le i<m_Y}(ei​)0≤i<mY​​ be the designated orthonormal basis of VYV_YVY​, and let ΠY\Pi_YΠY​ be orthogonal projection onto VYV_YVY​. This defines the mY×mYm_Y\times m_YmY​×mY​ matrix

AY(U)ij=⟨ei,ΠY(U⊗nej)⟩,(U⊗n)y,x=∏q=0n−1Uy(q),x(q).A_Y(U)_{ij}=\left\langle e_i,\Pi_Y\bigl(U^{\otimes n}e_j\bigr)\right\rangle, \qquad (U^{\otimes n})_{y,x}=\prod_{q=0}^{n-1}U_{y(q),x(q)}.AY​(U)ij​=⟨ei​,ΠY​(U⊗nej​)⟩,(U⊗n)y,x​=q=0∏n−1​Uy(q),x(q)​.

The inner product is conjugate-linear in its first argument. A zero-dimensional VYV_YVY​ gives an empty matrix. The definition includes n=0n=0n=0, with the empty product equal to 111; no diagram is available when d=0,n>0d=0,n>0d=0,n>0.

QAlgorithms.Papers.Independent.Extend50.P41.seedObservable

For natural numbers d,nd,nd,n, let YYY be a Young diagram with nnn cells and at most ddd rows. Fix the cell numbering used in the definition, let RY,CYR_Y,C_YRY​,CY​ be the permutations of its nnn cell labels preserving rows and columns respectively, and let PgP_gPg​ be the matrix on words x:{0,…,n−1}→{0,…,d−1}x:\{0,\ldots,n-1\}\to\{0,\ldots,d-1\}x:{0,…,n−1}→{0,…,d−1} whose (y,x)(y,x)(y,x)-entry is 111 when y=x∘g−1y=x\circ g^{-1}y=x∘g−1, and 000 otherwise. Put SY=range⁡(∑a∈RY,b∈CYsgn⁡(b)Pab)S_Y=\operatorname{range}\bigl(\sum_{a\in R_Y,b\in C_Y}\operatorname{sgn}(b)P_{ab}\bigr)SY​=range(∑a∈RY​,b∈CY​​sgn(b)Pab​), let rY=dim⁡CSYr_Y=\dim_{\mathbb C}S_YrY​=dimC​SY​, and use its specified orthonormal basis e0,…,erY−1e_0,\ldots,e_{r_Y-1}e0​,…,erY​−1​. For a unitary d×dd\times dd×d matrix UUU, define AY(U)ij=⟨ei,proj⁡SY(U⊗nej)⟩A_Y(U)_{ij}=\langle e_i,\operatorname{proj}_{S_Y}(U^{\otimes n}e_j)\rangleAY​(U)ij​=⟨ei​,projSY​​(U⊗nej​)⟩, where (U⊗n)x,y=∏tUxt,yt(U^{\otimes n})_{x,y}=\prod_t U_{x_t,y_t}(U⊗n)x,y​=∏t​Uxt​,yt​​. Let qqq assign an rY×rYr_Y\times r_YrY​×rY​ complex matrix to every set of nonincreasing, nonnegative ddd-tuples summing to 111, with q(∅)=0q(\varnothing)=0q(∅)=0, positive semidefinite values on Borel sets, and countable additivity in the sense of convergent matrix series on disjoint Borel sets; no normalization of its total value is required. For any set BBB of positive semidefinite d×dd\times dd×d complex matrices of trace 111, the definition returns

∫U(d)AY(U) q ⁣({x:∃ρ∈B, ρ=Udiag⁡(x)U†})AY(U)† dHd(U),\int_{U(d)} A_Y(U)\, q\!\left(\left\{x:\exists\rho\in B,\ \rho=U\operatorname{diag}(x)U^\dagger\right\}\right) A_Y(U)^\dagger\,dH_d(U),∫U(d)​AY​(U)q({x:∃ρ∈B, ρ=Udiag(x)U†})AY​(U)†dHd​(U),

where HdH_dHd​ is Haar measure normalized to have total mass 111. There is no measurability assumption on BBB or integrability hypothesis; the integral is the total Bochner integral, which is 000 for a nonintegrable integrand. Zero values of ddd and nnn are allowed whenever such a diagram exists, with empty tensor products interpreted as 111.

QAlgorithms.Papers.Independent.Extend50.P41.spectralCovariantOptimal

For every natural number ddd, density matrix ρ∈Dd={τ∈Cd×d:τ⪰0,tr⁡τ=1}\rho\in\mathcal D_d=\{\tau\in\mathbb C^{d\times d}:\tau\succeq0,\operatorname{tr}\tau=1\}ρ∈Dd​={τ∈Cd×d:τ⪰0,trτ=1}, and ordered probability vector x∈Xd={z∈Rd:z is nonincreasing, zi≥0, ∑izi=1}x\in X_d=\{z\in\mathbb R^d:z\text{ is nonincreasing},\ z_i\ge0,\ \sum_i z_i=1\}x∈Xd​={z∈Rd:z is nonincreasing, zi​≥0, ∑i​zi​=1}, this defines the supremum of I(ρ,x)I(\rho,x)I(ρ,x) over all functions I:Dd×Xd→[0,∞]I:\mathcal D_d\times X_d\to[0,\infty]I:Dd​×Xd​→[0,∞] for which the following measurement scheme exists. For each natural number kkk, the scheme supplies a measurement EkE_kEk​ on (Cd)⊗(k+1)(\mathbb C^d)^{\otimes(k+1)}(Cd)⊗(k+1) with outcomes in the Borel space XdX_dXd​, and, for each τ∈Dd\tau\in\mathcal D_dτ∈Dd​, a probability measure μkτ\mu_k^\tauμkτ​ on XdX_dXd​. Each EkE_kEk​ assigns matrices to all sets, vanishes on the empty set, equals the identity on the whole space, is positive semidefinite on measurable sets, and is countably additive through convergent matrix sums on pairwise disjoint measurable sequences; moreover,

μkτ(B)=max⁡ ⁣{0,Re⁡tr⁡ ⁣(Ek(B)τ⊗(k+1))}\mu_k^\tau(B)= \max\!\left\{0,\operatorname{Re}\operatorname{tr}\!\left(E_k(B)\tau^{\otimes(k+1)}\right)\right\}μkτ​(B)=max{0,Retr(Ek​(B)τ⊗(k+1))}

for every measurable BBB, where the tensor-power entries are ∏i=0kτyizi\prod_{i=0}^{k}\tau_{y_i z_i}∏i=0k​τyi​zi​​. For each τ\tauτ, the function I(τ,⋅)I(\tau,\cdot)I(τ,⋅) must be lower semicontinuous, finite at some point, and have compact sublevel sets {z:I(τ,z)≤c}\{z:I(\tau,z)\le c\}{z:I(τ,z)≤c} for every real ccc. It must satisfy, for every closed F⊆XdF\subseteq X_dF⊆Xd​ and open G⊆XdG\subseteq X_dG⊆Xd​,

lim sup⁡k→∞log⁡μkτ(F)k+1≤−inf⁡z∈FI(τ,z),−inf⁡z∈GI(τ,z)≤lim inf⁡k→∞log⁡μkτ(G)k+1,\limsup_{k\to\infty}\frac{\log\mu_k^\tau(F)}{k+1} \le-\inf_{z\in F}I(\tau,z), \qquad -\inf_{z\in G}I(\tau,z) \le\liminf_{k\to\infty}\frac{\log\mu_k^\tau(G)}{k+1},k→∞limsup​k+1logμkτ​(F)​≤−z∈Finf​I(τ,z),−z∈Ginf​I(τ,z)≤k→∞liminf​k+1logμkτ​(G)​,

as inequalities in the extended real numbers, with log⁡0=−∞\log0=-\inftylog0=−∞, log⁡(+∞)=+∞\log(+\infty)=+\inftylog(+∞)=+∞, and an empty infimum equal to +∞+\infty+∞. Its zeros must satisfy I(τ,z)=0I(\tau,z)=0I(τ,z)=0 if and only if zzz is the nonincreasing eigenvalue vector of τ\tauτ, including multiplicities. Finally, every Ek(B)E_k(B)Ek​(B) must satisfy U⊗(k+1)Ek(B)(U⊗(k+1))∗=Ek(B)U^{\otimes(k+1)}E_k(B)(U^{\otimes(k+1)})^*=E_k(B)U⊗(k+1)Ek​(B)(U⊗(k+1))∗=Ek​(B) for every unitary UUU and measurable BBB. The resulting supremum lies in [0,∞][0,\infty][0,∞], equals 000 if no such rate function exists, and need not be attained. The parameter k=0k=0k=0 corresponds to one copy; the supplied ρ\rhoρ and xxx cannot exist when d=0d=0d=0.

QAlgorithms.Papers.Independent.Extend50.P41.spectralEstimatorOperator

For every natural number d>0d>0d>0, natural number kkk, and arbitrary set BBB of nonincreasing vectors x∈Rdx\in\mathbb R^dx∈Rd with nonnegative coordinates summing to 111, this defines a complex matrix indexed by words {0,…,k}→{0,…,d−1}\{0,\ldots,k\}\to\{0,\ldots,d-1\}{0,…,k}→{0,…,d−1}. Write n=k+1n=k+1n=k+1. The matrix is

∑λ: ∣λ∣=n, at most d rows∃x∈B, ∀i<d, xi=λi/ndim⁡CSλn!∑π∈Sntr⁡(Lπ−1Pλ) Tπ,\sum_{\substack{\lambda:\ |\lambda|=n,\ \text{at most }d\text{ rows}\\ \exists x\in B,\ \forall i<d,\ x_i=\lambda_i/n}} \frac{\dim_{\mathbb C}S_\lambda}{n!} \sum_{\pi\in\mathfrak S_n} \operatorname{tr}(L_{\pi^{-1}}P_\lambda)\,T_\pi,λ: ∣λ∣=n, at most d rows∃x∈B, ∀i<d, xi​=λi​/n​∑​n!dimC​Sλ​​π∈Sn​∑​tr(Lπ−1​Pλ​)Tπ​,

where λ\lambdaλ ranges over Young diagrams, λi\lambda_iλi​ is its iii-th row length, and the remaining objects are defined as follows. Fix the cell numbering eλ:λ→{0,…,n−1}e_\lambda:\lambda\to\{0,\ldots,n-1\}eλ​:λ→{0,…,n−1} selected by the supplied finite-set equivalence; let RλR_\lambdaRλ​ and CλC_\lambdaCλ​ consist respectively of permutations preserving the row and column of each numbered cell. Define a matrix on Sn\mathfrak S_nSn​ by

Aλ(g,h)=∑a∈Rλ∑b∈Cλ1{g=hab}sgn⁡(b).A_\lambda(g,h)= \sum_{a\in R_\lambda}\sum_{b\in C_\lambda} \mathbf1_{\{g=hab\}}\operatorname{sgn}(b).Aλ​(g,h)=a∈Rλ​∑​b∈Cλ​∑​1{g=hab}​sgn(b).

Then Sλ⊆CSnS_\lambda\subseteq\mathbb C^{\mathfrak S_n}Sλ​⊆CSn​ is the range of AλA_\lambdaAλ​, PλP_\lambdaPλ​ is its orthogonal projection, Lπ(g,h)=1{g=πh}L_\pi(g,h)=\mathbf1_{\{g=\pi h\}}Lπ​(g,h)=1{g=πh}​, and Tπ(y,z)=1{y=z∘π−1}T_\pi(y,z)=\mathbf1_{\{y=z\circ\pi^{-1}\}}Tπ​(y,z)=1{y=z∘π−1}​. A diagram contributes zero when the displayed membership condition fails. No measurability assumption is imposed on BBB; B=∅B=\varnothingB=∅ gives the zero matrix, and k=0k=0k=0 uses one copy.

QAlgorithms.Papers.Independent.Extend50.P41.spectralPreimage

For every natural number ddd and every set BBB of nonincreasing vectors x∈Rdx\in\mathbb R^dx∈Rd with nonnegative coordinates summing to 111, this defines the set

{ρ∈Cd×d:ρ⪰0, tr⁡ρ=1, ∃x∈B, λi↓(ρ)=xi for every i<d},\left\{\rho\in\mathbb C^{d\times d}: \rho\succeq0,\ \operatorname{tr}\rho=1,\ \exists x\in B,\ \lambda_i^\downarrow(\rho)=x_i\text{ for every }i<d \right\},{ρ∈Cd×d:ρ⪰0, trρ=1, ∃x∈B, λi↓​(ρ)=xi​ for every i<d},

where λ↓(ρ)\lambda^\downarrow(\rho)λ↓(ρ) lists the eigenvalues of the Hermitian matrix ρ\rhoρ in nonincreasing order, including multiplicities. No measurability assumption on BBB is required. The set is empty when BBB is empty; when d=0d=0d=0, there are no trace-one density matrices or ordered probability vectors.

QAlgorithms.Papers.Independent.Extend50.P41.spectralRate

For every natural number ddd, every complex positive semidefinite d×dd\times dd×d matrix ρ\rhoρ of trace 111, and every real vector xxx with x0≥⋯≥xd−1≥0x_0\ge\cdots\ge x_{d-1}\ge0x0​≥⋯≥xd−1​≥0 and ∑jxj=1\sum_jx_j=1∑j​xj​=1, let λ0≥⋯≥λd−1\lambda_0\ge\cdots\ge\lambda_{d-1}λ0​≥⋯≥λd−1​ be the eigenvalues of ρ\rhoρ, listed with multiplicity in decreasing order. This defines

[∑j=0d−1xjlog⁡xj+∑j=0d−1L(xj,λj)][0,+∞],\left[ \sum_{j=0}^{d-1}x_j\log x_j+ \sum_{j=0}^{d-1}L(x_j,\lambda_j) \right]_{[0,+\infty]},[j=0∑d−1​xj​logxj​+j=0∑d−1​L(xj​,λj​)][0,+∞]​,

where L(w,p)L(w,p)L(w,p) is 000 for w=0w=0w=0, +∞+\infty+∞ for w≠0w\ne0w=0 and p≤0p\le0p≤0, and −wlog⁡p-w\log p−wlogp otherwise. The bracket denotes conversion from extended real numbers to nonnegative extended real numbers: negative values and −∞-\infty−∞ become 000, while nonnegative values and +∞+\infty+∞ are preserved. Thus xj=0x_j=0xj​=0 contributes 000 even if λj=0\lambda_j=0λj​=0, whereas xj>0x_j>0xj​>0 and λj=0\lambda_j=0λj​=0 contribute +∞+\infty+∞. The real logarithm has value 000 at 000. When d=0d=0d=0, neither trace-one matrices nor vectors with coordinate sum 111 exist.

QAlgorithms.Papers.Independent.Extend50.P41.spectrumBorel

For every natural number ddd, this records that the measurable structure on the set of nonincreasing, nonnegative real ddd-vectors with coordinate sum 111 is exactly the Borel σ\sigmaσ-algebra of its inherited topology. This includes the empty set arising when d=0d=0d=0.

QAlgorithms.Papers.Independent.Extend50.P41.spectrumMeasurable

For every natural number ddd, the set of nonincreasing, nonnegative real ddd-vectors whose coordinates sum to 111 is equipped with its Borel σ\sigmaσ-algebra, generated by the open sets of its inherited topology as a subset of Rd\mathbb R^dRd. For d=0d=0d=0, this is the measurable structure on the empty set.

QAlgorithms.Papers.Independent.Extend50.P41.spectrumVector

For every natural number ddd and every positive semidefinite complex d×dd\times dd×d matrix ρ\rhoρ with trace 111, this defines a real ddd-vector whose iii-th coordinate is the iii-th eigenvalue in the Hermitian eigenvalue list of ρ\rhoρ, ordered nonincreasingly and counted with multiplicity. Indices run from 000 to d−1d-1d−1; the index conversion in the definition identifies the cardinality of this index set with ddd. For d=0d=0d=0, no such ρ\rhoρ exists.

QAlgorithms.Papers.Independent.Extend50.P41.unitaryAverageOperator

For every natural number ddd, measurement scheme EEE with outcomes in the Borel space Dd\mathcal D_dDd​ of positive semidefinite complex d×dd\times dd×d matrices of trace 111, natural number kkk, and arbitrary set B⊆DdB\subseteq\mathcal D_dB⊆Dd​, this defines the matrix-valued integral

∫U(d)U⊗(k+1)Ek ⁣({σ∈Dd:UσU∗∈B})(U⊗(k+1))∗ dHd(U),\int_{\mathrm U(d)} U^{\otimes(k+1)} E_k\!\left(\{\sigma\in\mathcal D_d:U\sigma U^*\in B\}\right) \bigl(U^{\otimes(k+1)}\bigr)^* \,dH_d(U),∫U(d)​U⊗(k+1)Ek​({σ∈Dd​:UσU∗∈B})(U⊗(k+1))∗dHd​(U),

where HdH_dHd​ is Haar measure normalized to give the whole unitary group mass 111, tensor-power entries are ∏i=0kUyizi\prod_{i=0}^{k}U_{y_i z_i}∏i=0k​Uyi​zi​​, and ∗^*∗ denotes conjugate transpose. The resulting matrix is indexed by words of length k+1k+1k+1 over ddd symbols. The scheme supplies, at every natural index jjj, operators on all outcome sets that vanish on the empty set, equal the identity on the whole space, are positive semidefinite on measurable sets, and are countably additive through convergent sums on disjoint measurable sequences; it also supplies probability laws μjρ\mu_j^\rhoμjρ​ satisfying

μjρ(A)=max⁡ ⁣{0,Re⁡tr⁡ ⁣(Ej(A)ρ⊗(j+1))}\mu_j^\rho(A)= \max\!\left\{0,\operatorname{Re}\operatorname{tr}\!\left(E_j(A)\rho^{\otimes(j+1)}\right)\right\}μjρ​(A)=max{0,Retr(Ej​(A)ρ⊗(j+1))}

for every density matrix ρ\rhoρ and measurable AAA, with (ρ⊗(j+1))y,z=∏i=0jρyizi(\rho^{\otimes(j+1)})_{y,z}=\prod_{i=0}^{j}\rho_{y_i z_i}(ρ⊗(j+1))y,z​=∏i=0j​ρyi​zi​​. There is no measurability assumption on BBB, and no integrability hypothesis is required to form this definition: a nonintegrable matrix-valued integrand has integral 000. The value k=0k=0k=0 uses one tensor factor; for d=0d=0d=0, the matrix index set is empty.

QAlgorithms.Papers.Independent.Extend50.P41.weightedNegLog

For arbitrary real numbers www and ppp, this defines an extended real number by

L(w,p)={0,w=0,+∞,w≠0 and p≤0,−wlog⁡p,w≠0 and p>0.L(w,p)= \begin{cases} 0,&w=0,\\ +\infty,&w\ne0\text{ and }p\le0,\\ -w\log p,&w\ne0\text{ and }p>0. \end{cases}L(w,p)=⎩⎨⎧​0,+∞,−wlogp,​w=0,w=0 and p≤0,w=0 and p>0.​

The zero-weight branch applies even when p≤0p\le0p≤0. There is no nonnegativity assumption on www, so the finite value can be negative.

QAlgorithms.Papers.Independent.Extend50.P41.youngDimensionLaw

For a natural number d>0d>0d>0 and any natural number kkk, put n=k+1n=k+1n=k+1. The definition gives a measure on the Borel space of nonincreasing, nonnegative ddd-tuples summing to 111 by summing over all Young diagrams YYY with nnn cells and at most ddd rows. To specify its weights, use the fixed cell numbering, let RY,CYR_Y,C_YRY​,CY​ be the row-preserving and column-preserving permutations, and let Pg(y,x)=1{y=x∘g−1}P_g(y,x)=\mathbf1_{\{y=x\circ g^{-1}\}}Pg​(y,x)=1{y=x∘g−1}​ on ddd-letter words of length nnn. Let SYS_YSY​ be the range of ∑a∈RY,b∈CYsgn⁡(b)Pab\sum_{a\in R_Y,b\in C_Y}\operatorname{sgn}(b)P_{ab}∑a∈RY​,b∈CY​​sgn(b)Pab​, and let HYH_YHY​ be the range of the matrix indexed by permutations with entries ∑a∈RY,b∈CYsgn⁡(b)1{g=hab}\sum_{a\in R_Y,b\in C_Y}\operatorname{sgn}(b)\mathbf1_{\{g=hab\}}∑a∈RY​,b∈CY​​sgn(b)1{g=hab}​. Set rY(i)=rowLen⁡Y(i)/nr_Y(i)=\operatorname{rowLen}_Y(i)/nrY​(i)=rowLenY​(i)/n for 0≤i<d0\le i<d0≤i<d. The contribution of YYY is

max⁡ ⁣{dim⁡CSY dim⁡CHYdn,0}{δrY,rY is nonincreasing, nonnegative, and ∑irY(i)=1,0,otherwise.\max\!\left\{\frac{\dim_{\mathbb C}S_Y\,\dim_{\mathbb C}H_Y}{d^n},0\right\} \begin{cases} \delta_{r_Y},&r_Y\text{ is nonincreasing, nonnegative, and }\sum_i r_Y(i)=1,\\ 0,&\text{otherwise}. \end{cases}max{dndimC​SY​dimC​HY​​,0}{δrY​​,0,​rY​ is nonincreasing, nonnegative, and ∑i​rY​(i)=1,otherwise.​

The scalar is regarded as an extended nonnegative real, δrY\delta_{r_Y}δrY​​ is a Dirac measure, and the sum is a finite sum of measures. The definition itself makes no additional assertion that the resulting measure has total mass 111; k=0k=0k=0 is allowed, while both denominators are nonzero by d>0d>0d>0 and n=k+1n=k+1n=k+1.

Human review
  • Endorsed by Shuze Chen · Oct 29, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Gohan · Oct 29, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me