Definitions for Quantum state estimation and large deviations
DefinitionQAlgorithms_Papers_Independent_Extend50_P41The 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 relationtarget rho xis 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.
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
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
QAlgorithms.Papers.Independent.Extend50.P41.AdmissibleRate
Let , let be the space of complex positive semidefinite matrices of trace one with its inherited topology and Borel measurable space, and let carry an arbitrary topology and measurable space. For a relation and a function , this predicate asserts the existence of a scheme with the following properties. For each there is an operator-valued measurement on , acting on the coordinate set , 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 there are probability measures satisfying, for every measurable ,
For every , is lower semicontinuous, finite somewhere, and has compact sublevel sets at every real level; for every closed and open ,
and if and only if for every . The bounds are extended real inequalities with and empty infimum ; no compatibility of topology and measurability is assumed, and the bounds apply to all closed and open sets. Only positive copy numbers occur. Dimension zero is included, with all conditions quantified over density matrices then vacuous.
QAlgorithms.Papers.Independent.Extend50.P41.Consistent
For any natural number , let consist, for every natural number , of an operator-valued measurement on with outcomes in the Borel space of positive semidefinite trace- matrices, together with probability laws for every . Each measurement assigns matrices to sets of outcomes, assigns 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
for every measurable , where . The predicate requires that, for every and every continuous real-valued function on ,
The integral is the total Bochner integral, and no separate boundedness or integrability hypothesis on is included. For , there are no input density matrices, so this consistency condition is vacuous.
QAlgorithms.Papers.Independent.Extend50.P41.CopyIndex
For every pair of natural numbers , this defines the index set of all functions from to , equivalently all ordered -tuples of -valued indices. Thus gives one-coordinate tuples; when , the index set is empty for every .
QAlgorithms.Papers.Independent.Extend50.P41.CovariantAdmissible
For every natural number and every function , where is the space of complex positive semidefinite matrices of trace one with its inherited topology and Borel measurable space, this predicate asserts the existence of a scheme as follows. For each there is a set-indexed matrix assignment on , acting on coordinates , 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 there are probability measures satisfying, for measurable ,
For each , is lower semicontinuous, finite somewhere, and has compact sublevel sets at every real level; for every closed and open ,
and if and only if . Additionally, for every , every unitary , and every measurable ,
All logarithmic bounds are in the extended reals, with and empty infimum , and denotes conjugate transpose. Copy numbers are always . Dimension zero is allowed, and conditions quantified over density matrices are then vacuous.
QAlgorithms.Papers.Independent.Extend50.P41.CovariantAt
For natural numbers , let be the Borel space of complex positive semidefinite matrices of trace one, put , and let be a set-indexed matrix assignment on acting on , 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 matrix and every measurable ,
Here denotes conjugate transpose, and the set on the left is the image of under conjugation. The number of copies is , including one copy when . Dimension zero is permitted, with empty density-matrix and coordinate spaces.
QAlgorithms.Papers.Independent.Extend50.P41.FiniteOperatorMeasure
For any type equipped with a finite enumeration and decidable equality, and any type equipped with a measurable-space structure, this structure consists of a function assigning a complex matrix to every subset , together with the requirements that , that is positive semidefinite whenever is measurable, and that for every sequence of measurable sets with whenever ,
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 to be the identity or requires to be finite. Empty and empty are permitted.
QAlgorithms.Papers.Independent.Extend50.P41.FullTarget
For every natural number and every pair of complex positive semidefinite matrices of trace one, this predicate means exactly , 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 .
QAlgorithms.Papers.Independent.Extend50.P41.GoodRate
For every topological space and function , this property means that is lower semicontinuous, that there exists at least one with , and that for every real number , the set is compact, with the inequality interpreted in the extended real numbers. Negative give empty sublevel sets, and the existence requirement makes this property impossible when is empty.
QAlgorithms.Papers.Independent.Extend50.P41.HasLDP
For a type equipped with a topology and a measurable space, a sequence of measures on , and a function , this predicate means that every is a probability measure; is lower semicontinuous, is finite at at least one point, and has compact sublevel sets for every real ; and the following bounds hold, with limits taken as :
These inequalities are in the extended real numbers: the logarithm of zero is , the logarithm of infinite mass is , and the infimum over an empty set is . The index includes , and the scaling denominator is always . 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 and every function , where consists of complex positive semidefinite matrices of trace one, this predicate means that for every unitary complex matrix and every ,
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 is empty.
QAlgorithms.Papers.Independent.Extend50.P41.JointLSC
For every natural number , every topological space , and every function , where consists of complex positive semidefinite matrices of trace one with its inherited matrix topology, this predicate means that the function is lower semicontinuous on the product space . No measurable-space structure on 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 and real vector , this property means that whenever , that for every index , and that . When , the empty sum is , so no vector satisfies this property.
QAlgorithms.Papers.Independent.Extend50.P41.OrderedSpectrum
For every natural number , this defines the type of real vectors whose coordinates are nonincreasing, nonnegative, and sum to . This type is empty when .
QAlgorithms.Papers.Independent.Extend50.P41.PermutationInvariantAt
For natural numbers , let be the Borel space of complex positive semidefinite matrices of trace one, and put . Let assign to each subset a complex matrix indexed by , with , , 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 of and every measurable ,
where is conjugate transpose. Thus the coordinate count is , including one coordinate when , in which case the only permutation is the identity and the equality imposes no additional restriction. Dimension zero is also included; then and are empty.
QAlgorithms.Papers.Independent.Extend50.P41.PureDensityState
For any natural number and any positive semidefinite complex matrix of trace , this predicate means that there exists a vector with Euclidean norm such that
The witness is not required to be unique. Dimension is syntactically allowed, but there is no trace- matrix in that dimension.
QAlgorithms.Papers.Independent.Extend50.P41.PureTestProperties
For a natural number , an arbitrary function from pairs of positive semidefinite trace- complex matrices to , two such matrices , arbitrary vectors , and vectors indexed by -letter words of length for every natural number , this predicate is the conjunction of the following requirements: every has Euclidean norm and is fixed by every position-permutation matrix ; and, writing ,
The first inequality is in the extended real numbers, with embedded there and . Neither nor is assumed normalized, and no equation relates them to or ; no continuity or rate-function property is required of . The quantification includes , which uses one tensor factor.
QAlgorithms.Papers.Independent.Extend50.P41.Scheme
For every natural number and every type equipped with a -algebra, a scheme consists of the following data and conditions: for each natural number , an operator-valued set function on subsets of , taking values in complex matrices indexed by -tuples from , with , , positive semidefinite for every measurable , and, for every sequence of pairwise disjoint measurable sets , a convergent matrix series satisfying ; and, for every and every density matrix , meaning a positive semidefinite complex matrix of trace , a probability measure on satisfying, for every measurable , , viewed as an extended nonnegative real number, where . The index therefore uses one copy of . The parameter may be zero; in that case the matrix index sets and the type of density inputs are empty, so the requirements quantified over are vacuous.
QAlgorithms.Papers.Independent.Extend50.P41.SchemeLDP
Let , let be the space of complex positive semidefinite matrices of trace one, with its inherited topology and Borel measurable space, and let have a topology and a measurable space, without an assumed compatibility between them. A supplied scheme consists, for every , of an operator-valued measurement on acting on coordinates , together with probability measures for every : , , is positive semidefinite for measurable , and is countably additive on pairwise disjoint measurable sets, with matrix sums interpreted as convergent series; moreover, for every measurable ,
For any relation and function , the predicate means that, for every , the function is lower semicontinuous, finite somewhere, and has compact sublevel sets at every real level; for every closed and open ,
and, for every and , if and only if . The bounds use extended real arithmetic, with and the empty infimum equal to , and do not require the closed or open sets to be measurable. The number of copies is always . The dimension is permitted, in which case is empty and the conditions quantified over are vacuous.
QAlgorithms.Papers.Independent.Extend50.P41.SchurCoordinateIndex
For arbitrary natural numbers and a Young diagram with exactly cells and at most rows, this abbreviates the finite index set , where is defined as follows. Choose the supplied bijection from the cells of to , let consist of permutations preserving the row of each numbered cell, and let consist of permutations preserving its column. On the complex Euclidean space with coordinates indexed by words , put
If , the coordinate index set is empty. The parameters permit , when the word index set contains the single empty word; a diagram with and cannot satisfy the diagram conditions.
QAlgorithms.Papers.Independent.Extend50.P41.SpectralCovariantAt
For natural numbers , let be the space of nonincreasing, nonnegative vectors in summing to , equipped with its Borel measurable structure, and let . Given an operator-valued measurement assigning a matrix on to every subset , with , , positive semidefinite values on measurable sets, and countable additivity in the sense that converges to for every pairwise disjoint measurable sequence, this predicate requires
for every unitary matrix and every measurable . Here the tensor-power matrix has entries , and denotes conjugate transpose. The value means one tensor factor. Dimension is included; in that case both and the matrix index set are empty.
QAlgorithms.Papers.Independent.Extend50.P41.SpectralTarget
For every natural number , every complex positive semidefinite matrix of trace one, and every vector satisfying and , this predicate means that equals the list of eigenvalues of 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 and a complex vector indexed by functions , this predicate requires for every permutation of the positions, where
No normalization or nonzero condition is imposed on . When , the only permutation is the identity; when , the indexing set is empty and the only vector is the zero vector.
QAlgorithms.Papers.Independent.Extend50.P41.actionTest
For every natural number , unitary complex matrix , arbitrary function , and density matrix , where consists of positive semidefinite matrices of trace , this defines
The conjugated matrix is regarded as an element of , and is the conjugate transpose. No measurability or continuity assumption on is imposed. The supplied cannot exist when .
QAlgorithms.Papers.Independent.Extend50.P41.blochDensityMatrix
For every real vector , the definition returns the complex matrix
There is no hypothesis restricting the length of , and the definition does not require the resulting matrix to be positive semidefinite.
QAlgorithms.Papers.Independent.Extend50.P41.blochDirectionalComponent
For any two real vectors and , the definition returns
There is no assumption that . Division is total, with division by equal to , so the value is when .
QAlgorithms.Papers.Independent.Extend50.P41.blochLength
For every real vector , the definition returns
using the nonnegative real square root; in particular, the zero vector has value .
QAlgorithms.Papers.Independent.Extend50.P41.conjugateState
For every natural number , every unitary complex matrix , and every density matrix , meaning a positive semidefinite complex matrix with trace , this defines the density matrix , where is the conjugate transpose. When , there is no density matrix satisfying the required trace condition.
QAlgorithms.Papers.Independent.Extend50.P41.covariantOptimal
For every natural number and every pair , where is the space of complex positive semidefinite matrices of trace one with its inherited topology and Borel measurable space, this value is the supremum in of over all functions for which the following scheme exists. For each there is an operator-valued measurement on acting on coordinates , 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 for every such that, for measurable ,
For every , is lower semicontinuous, finite somewhere, and has compact sublevel sets at every real level; every closed and open satisfy
and if and only if . For every , every unitary complex matrix , and every measurable , the measurement also satisfies
Here is conjugate transpose, , empty infima are , and the bounds are extended real inequalities. The scheme uses 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 .
QAlgorithms.Papers.Independent.Extend50.P41.diagonalStateMatrix
For every natural number and every nonincreasing, nonnegative real vector with , this defines the complex diagonal matrix with diagonal entries , viewed as complex numbers, and all off-diagonal entries zero. When , there is no admissible input .
QAlgorithms.Papers.Independent.Extend50.P41.discreteSeedObservable
For a natural number , a natural number , and , consider every Young diagram with cells and at most rows, using the fixed numbering of its cells. Let be its row-preserving and column-preserving permutations, and let if , and otherwise, on -letter words of length . Define , and define as the range of the matrix indexed by permutations with entries . Choose the specified orthonormal bases of and of , and form a matrix , with columns indexed by triples , by
Set , where , with , is applied by continuous functional calculus. For each , let be an arbitrary complex matrix indexed by the chosen basis of , and let be the matrix on triples whose entry is when both diagram labels equal and the -basis labels agree, and is otherwise. For any set of positive semidefinite matrices of trace , the definition returns the matrix on -letter words of length
Here is normalized Haar measure, and . No positivity or normalization is imposed on , and no measurability or integrability assumption is imposed on ; nonintegrable Bochner integrands have integral . The case , hence , is included.
QAlgorithms.Papers.Independent.Extend50.P41.embedBlock
For arbitrary natural numbers , a Young diagram with cells and at most rows, and any complex matrix , this defines on the complex Euclidean space of words , with all constituent objects specified as follows. For every Young diagram with cells and at most rows, use its supplied cell numbering to form the row-preserving and column-preserving permutation sets , and put
On the complex Euclidean space indexed by permutations of , define
Let , , and let and be their designated orthonormal bases. Index a direct-sum coordinate space by triples with and , and define
where uses continuous functional calculus and . The middle matrix is
The matrix has no positivity or Hermitian hypothesis. Zero-dimensional factors contribute no indices; is included with one empty word and empty products equal to , while admit no input diagram .
QAlgorithms.Papers.Independent.Extend50.P41.fullEstimatorOperator
For every natural number equipped with the hypothesis , every natural number , and every set of complex positive semidefinite matrices of trace , this defines a complex matrix indexed by words of length over by
where is Haar measure on normalized to have total mass , and the remaining objects are defined as follows. For each diagram in the sum, its supplied cell numbering determines the row-preserving and column-preserving permutation sets ; on the word space put
On the permutation-indexed Euclidean space put
Choose the designated orthonormal bases of and of , and define
using continuous functional calculus for . For a matrix on the coordinates, has entry between indices and , and has all other entries zero. To define , let assign to each numbered cell its zero-based row number, put and , and let
where is orthogonal projection onto , , and the complex inner product is conjugate-linear in its first argument. The matrix therefore has entries . Inverse norms are defined to be at zero. No measurability assumption is imposed on ; the integral is the total Bochner integral, which is defined to be zero for a nonintegrable integrand. The case uses one copy, since is always positive.
QAlgorithms.Papers.Independent.Extend50.P41.fullRate
For every natural number and every pair of complex positive semidefinite matrices of trace , this defines a number in by taking the extended real infimum
and then converting that infimum to a nonnegative extended real number. Here if , if and , and otherwise; the real logarithm has value at . The conversion sends negative values, including , to , preserves nonnegative finite values, and sends to . Only pairs satisfying the displayed equality for contribute to the infimum; an empty constrained infimum has value . For , the trace-one hypotheses cannot be satisfied.
QAlgorithms.Papers.Independent.Extend50.P41.highestCoordinates
For arbitrary natural numbers and a Young diagram with cells and at most rows, choose the supplied numbering of its cells, and let be the permutations preserving, respectively, the row and column of every numbered cell. Define matrices on the complex Euclidean space of words by
and set , . Let be the designated orthonormal basis of , and let be the word whose value at a numbered cell is its zero-based row number. With denoting the coordinate vector equal to at and elsewhere, put
This defines the Euclidean coordinate vector , using the complex inner product conjugate-linear in its first argument. The inverse of is defined to be , so if ; if , the coordinate vector is empty. The definition includes and its single empty word; admit no such diagram.
QAlgorithms.Papers.Independent.Extend50.P41.limitMoment
For every natural number , arbitrary function , density matrix , and arbitrary function , where is the set of positive semidefinite complex matrices of trace , this defines the real-valued conversion of
with the infimum first taken in the extended real numbers. A finite infimum is returned as its real value; either or is converted to . No continuity, boundedness, finiteness, or attainment assumption is required. The supplied excludes dimension .
QAlgorithms.Papers.Independent.Extend50.P41.limitMomentExtended
For every natural number , arbitrary function , density matrix , and arbitrary real-valued function , where consists of positive semidefinite complex matrices of trace , this defines
as an extended real number, using the natural embeddings of and into . No regularity or boundedness assumptions on or are imposed. The infimum need not be attained and may be or ; an empty infimum is . The supplied makes the indexing set nonempty and excludes .
QAlgorithms.Papers.Independent.Extend50.P41.logLaplaceMoment
For every natural number , measurement scheme with density-matrix outcomes, natural number , density matrix , and arbitrary function , this defines the real number
Here has its Borel structure, and the scheme supplies, for every natural , a matrix-valued measurement on words of length over symbols, and a probability measure for every density matrix . 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
for measurable , with tensor-power entries . No measurability, continuity, boundedness, or integrability hypothesis is imposed on . The integral is the total real-valued Bochner integral, which is defined to be when its integrand is not integrable, and the real logarithm used here has . Thus a zero integral gives value . The denominator is always positive, including ; no exists when .
QAlgorithms.Papers.Independent.Extend50.P41.logMass
For every extended nonnegative real number , this defines an extended real value equal to when , equal to when , and equal to the natural logarithm when .
QAlgorithms.Papers.Independent.Extend50.P41.matrixInEvent
For every natural number , every set of complex positive semidefinite matrices of trace , viewed as matrices equipped with proofs of those properties, and every arbitrary complex matrix , this defines the proposition that there exists whose underlying matrix equals . No measurability assumption is imposed on . The proposition is false if is empty, and it can hold only if is positive semidefinite with trace ; when , no such trace-one matrix exists.
QAlgorithms.Papers.Independent.Extend50.P41.maximallyMixedRate
For any natural number and any nonincreasing vector of nonnegative real numbers with , the definition returns the extended nonnegative real
Here is the natural logarithm, with the total real logarithm taking value at , so a zero coordinate contributes . The displayed quantity is finite. Although 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 , every complex positive semidefinite matrix with , every unitary complex matrix , and every real vector satisfying and , this defines the extended real number
where is the conjugate transpose and is when , when and , and otherwise. In particular, a nonpositive leading principal determinant contributes for a zero coordinate difference and for a nonzero difference. The logarithm is the real natural logarithm, whose defined value at is , so a zero coordinate contributes to the first sum. For , no matrices or vectors satisfy the stated trace and sum conditions.
QAlgorithms.Papers.Independent.Extend50.P41.nextCoordinate
For every natural number , every real vector , and every index , this defines if , and otherwise. Thus the value at the last coordinate is , irrespective of the entries of ; when , there is no admissible index .
QAlgorithms.Papers.Independent.Extend50.P41.optimalRate
Let , let denote the complex positive semidefinite matrices of trace one with their inherited topology and Borel measurable space, let carry a topology and a measurable space, let be any relation, let be a Boolean, and fix and . The value defined is the supremum in of over all functions satisfying the following requirements. There must exist, for every , an operator-valued measurement on acting on coordinates , with value zero on the empty set, identity on , positive semidefinite values on measurable sets, and countable additivity by convergent matrix series on pairwise disjoint measurable sets, together with probability measures for all such that, for measurable ,
For each , must be lower semicontinuous, finite somewhere, and have compact sublevel sets at every real level; every closed and open must satisfy
and must be equivalent to for every . If is true, 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 and empty infimum , and no compatibility between the topology and measurable space of is assumed. The measurements use copies. The supremum is zero if there are no qualifying functions, may be infinite, and is not asserted to be attained. Although is allowed in the parameter, no argument exists in that dimension.
QAlgorithms.Papers.Independent.Extend50.P41.orbitRate
For every natural number , arbitrary function , and density matrices , where consists of positive semidefinite complex matrices of trace , this defines
Both arguments are conjugated by the inverse of the same unitary matrix. No invariance, continuity, measurability, or finiteness assumption on is imposed. The infimum is taken in , may equal , and need not be attained; its indexing set contains the identity. The supplied density matrices exclude .
QAlgorithms.Papers.Independent.Extend50.P41.permutationAverageOperator
For every natural number , measurement scheme with outcomes in the Borel space of positive semidefinite complex matrices of trace , natural number , and arbitrary set , this defines
a complex matrix indexed by words of length over symbols. The scheme supplies measurements for every natural , 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 for every density matrix , with
for measurable , where the tensor-power entries are . Here denotes conjugate transpose. No measurability assumption on is required. For the average has one term and equals ; for its matrix index set is empty.
QAlgorithms.Papers.Independent.Extend50.P41.principalMinor
For every natural number , every complex matrix , and every integer index with , this defines
the real part of the determinant of the leading submatrix. No Hermitian or positivity assumption is imposed on . When , there is no admissible index .
QAlgorithms.Papers.Independent.Extend50.P41.scaledLog
For every natural number and extended nonnegative real number , this defines in the extended real numbers, using and . Since , its value is at , at , and the ordinary real quantity for finite positive ; at , it equals the unscaled extended logarithm.
QAlgorithms.Papers.Independent.Extend50.P41.schurAction
For arbitrary natural numbers , a Young diagram with cells and at most rows, and a unitary complex matrix , choose the supplied numbering of the cells of , and let be its row-preserving and column-preserving permutation sets. On the complex Euclidean space of words define
Let , let be the designated orthonormal basis of , and let be orthogonal projection onto . This defines the matrix
The inner product is conjugate-linear in its first argument. A zero-dimensional gives an empty matrix. The definition includes , with the empty product equal to ; no diagram is available when .
QAlgorithms.Papers.Independent.Extend50.P41.seedObservable
For natural numbers , let be a Young diagram with cells and at most rows. Fix the cell numbering used in the definition, let be the permutations of its cell labels preserving rows and columns respectively, and let be the matrix on words whose -entry is when , and otherwise. Put , let , and use its specified orthonormal basis . For a unitary matrix , define , where . Let assign an complex matrix to every set of nonincreasing, nonnegative -tuples summing to , with , 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 of positive semidefinite complex matrices of trace , the definition returns
where is Haar measure normalized to have total mass . There is no measurability assumption on or integrability hypothesis; the integral is the total Bochner integral, which is for a nonintegrable integrand. Zero values of and are allowed whenever such a diagram exists, with empty tensor products interpreted as .
QAlgorithms.Papers.Independent.Extend50.P41.spectralCovariantOptimal
For every natural number , density matrix , and ordered probability vector , this defines the supremum of over all functions for which the following measurement scheme exists. For each natural number , the scheme supplies a measurement on with outcomes in the Borel space , and, for each , a probability measure on . Each 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,
for every measurable , where the tensor-power entries are . For each , the function must be lower semicontinuous, finite at some point, and have compact sublevel sets for every real . It must satisfy, for every closed and open ,
as inequalities in the extended real numbers, with , , and an empty infimum equal to . Its zeros must satisfy if and only if is the nonincreasing eigenvalue vector of , including multiplicities. Finally, every must satisfy for every unitary and measurable . The resulting supremum lies in , equals if no such rate function exists, and need not be attained. The parameter corresponds to one copy; the supplied and cannot exist when .
QAlgorithms.Papers.Independent.Extend50.P41.spectralEstimatorOperator
For every natural number , natural number , and arbitrary set of nonincreasing vectors with nonnegative coordinates summing to , this defines a complex matrix indexed by words . Write . The matrix is
where ranges over Young diagrams, is its -th row length, and the remaining objects are defined as follows. Fix the cell numbering selected by the supplied finite-set equivalence; let and consist respectively of permutations preserving the row and column of each numbered cell. Define a matrix on by
Then is the range of , is its orthogonal projection, , and . A diagram contributes zero when the displayed membership condition fails. No measurability assumption is imposed on ; gives the zero matrix, and uses one copy.
QAlgorithms.Papers.Independent.Extend50.P41.spectralPreimage
For every natural number and every set of nonincreasing vectors with nonnegative coordinates summing to , this defines the set
where lists the eigenvalues of the Hermitian matrix in nonincreasing order, including multiplicities. No measurability assumption on is required. The set is empty when is empty; when , there are no trace-one density matrices or ordered probability vectors.
QAlgorithms.Papers.Independent.Extend50.P41.spectralRate
For every natural number , every complex positive semidefinite matrix of trace , and every real vector with and , let be the eigenvalues of , listed with multiplicity in decreasing order. This defines
where is for , for and , and otherwise. The bracket denotes conversion from extended real numbers to nonnegative extended real numbers: negative values and become , while nonnegative values and are preserved. Thus contributes even if , whereas and contribute . The real logarithm has value at . When , neither trace-one matrices nor vectors with coordinate sum exist.
QAlgorithms.Papers.Independent.Extend50.P41.spectrumBorel
For every natural number , this records that the measurable structure on the set of nonincreasing, nonnegative real -vectors with coordinate sum is exactly the Borel -algebra of its inherited topology. This includes the empty set arising when .
QAlgorithms.Papers.Independent.Extend50.P41.spectrumMeasurable
For every natural number , the set of nonincreasing, nonnegative real -vectors whose coordinates sum to is equipped with its Borel -algebra, generated by the open sets of its inherited topology as a subset of . For , this is the measurable structure on the empty set.
QAlgorithms.Papers.Independent.Extend50.P41.spectrumVector
For every natural number and every positive semidefinite complex matrix with trace , this defines a real -vector whose -th coordinate is the -th eigenvalue in the Hermitian eigenvalue list of , ordered nonincreasingly and counted with multiplicity. Indices run from to ; the index conversion in the definition identifies the cardinality of this index set with . For , no such exists.
QAlgorithms.Papers.Independent.Extend50.P41.unitaryAverageOperator
For every natural number , measurement scheme with outcomes in the Borel space of positive semidefinite complex matrices of trace , natural number , and arbitrary set , this defines the matrix-valued integral
where is Haar measure normalized to give the whole unitary group mass , tensor-power entries are , and denotes conjugate transpose. The resulting matrix is indexed by words of length over symbols. The scheme supplies, at every natural index , 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 satisfying
for every density matrix and measurable , with . There is no measurability assumption on , and no integrability hypothesis is required to form this definition: a nonintegrable matrix-valued integrand has integral . The value uses one tensor factor; for , the matrix index set is empty.
QAlgorithms.Papers.Independent.Extend50.P41.weightedNegLog
For arbitrary real numbers and , this defines an extended real number by
The zero-weight branch applies even when . There is no nonnegativity assumption on , so the finite value can be negative.
QAlgorithms.Papers.Independent.Extend50.P41.youngDimensionLaw
For a natural number and any natural number , put . The definition gives a measure on the Borel space of nonincreasing, nonnegative -tuples summing to by summing over all Young diagrams with cells and at most rows. To specify its weights, use the fixed cell numbering, let be the row-preserving and column-preserving permutations, and let on -letter words of length . Let be the range of , and let be the range of the matrix indexed by permutations with entries . Set for . The contribution of is
The scalar is regarded as an extended nonnegative real, 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 ; is allowed, while both denominators are nonzero by and .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.