Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Definitions for Squeezing the limit: Quantum benchmarks for the teleportation and storage of squeezed states

Definition
QAlgorithms_Papers_Independent_Advance50_P32

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

prove2quantum

The objects the formalized statements of Squeezing the limit: Quantum benchmarks for the teleportation and storage of squeezed states (arXiv:0808.2260) are stated in. Each was checked against the paper by a blind read-back and a moderator.

  • FockOperatorArray: Section 2, p.3: full coefficient arrays, with separate operator-domain predicates.
  • NumberLabel: Section 2, p.3: the complete n-mode number basis, without a photon cutoff.
  • QuadraturePoint: Section 2, p.3: real (q,p) coordinates for each mode.
  • BoundedKernel: Section 2, p.3: actual bounded operators, pinned by every number-basis entry.
  • fockUnitaryConjugation: Section 2, p.3: bounded-unitary conjugation on complete coordinates.
  • oscillatorWeylEntries: Section 2, p.3: W_xi=exp(i(qP-pX))=D(-(q+ip)/sqrt(2)); exact Fock entries.
  • oscillatorNumberConjugation: Section 4.1, p.5: U_theta=exp(i theta n_hat).
  • squeezedAmplitude: Section 4.1, p.6: the specified squeezed seed, covariance diag(s,1/s), s>0.
  • squeezedSeed: Section 4.1, pp.5–6: actual pure density coefficients, not a covariance witness.
  • squeezedOrbit: Section 4.1, p.5: W_xi U_theta rho_s U_theta* W_xi*.
  • priorOrbit: Section 5.1, p.10: the prior ensemble rotates AFTER displacing the seed.
  • heterodyneCoherentState: Section 4.1, p.7, (18): coherent state prepared at heterodyne outcome xi.
  • heterodyne: Section 4.1, p.7, (18): complex-linear heterodyne map, measure d^2 xi/(2pi). The trace stays complex on nonpositive inputs.
  • additiveNoise: Section 4.2, pp.7–9: covariance noise eta I, displacement variance eta/2. The zero-noise map is explicitly the identity.
  • benchmarkChannel: Sections 3–4, pp.4–6: false selects all EB channels; true selects all channels remaining completely positive after LINEAR matrix transposition. Its trace preservation is automatic and is retained in the channel predicate.
  • worstOverlap: Sections 3–4, pp.4–6: worst case over every displacement and allowed phase.
  • flatBenchmark: Sections 3–4, pp.4–6: choose the channel before the unknown input. No normalized flat Lebesgue probability law is introduced.
  • fixedPhaseBenchmark: Section 4.1, p.7: known phase is fixed before optimizing the strategy.
  • PhaseCovariant: Appendix A, p.17: covariance on EVERY complex trace-class input.
  • WeylMultiplier: Appendix A, p.17: T*(W_xi)=f(xi)W_xi by normal trace duality on ALL trace class.
  • ClassicalCharacteristic: Appendix A, p.17: symplectic Fourier characteristic of any probability law, with the sign in W_eta* W_xi W_eta. No Gaussian restriction.
  • ReversibleMultiplier: Appendix A, p.18, corrected using (15), p.6: quantum characteristic at sqrt(2)xi.
  • InputMarginal: Theorem 4, p.11: full input marginal, including off-diagonal tests. For positive bounded operators this basis formulation is equivalent to all-vector tests.
  • inputFirstEntries: Theorem 4, pp.11,18: input-first coefficients of the accepted OUTPUT-FIRST completed Hilbert tensor operator. Swapping the two ket coordinates is exactly the tensor flip, with no complex conjugation or matrix transposition.
  • NormalizedSeparableCJ: Theorem 4 and Appendix B, pp.11,18: REUSE the accepted normalized weak-operator separable CJ predicate after the tensor flip. Its positivity, all-vector input marginal, and weak approximation by finite positive resolutions are retained. This coordinate transport neither imposes finite rank nor a finite Kraus family.
  • NormalizedPPT: Section 5.2, p.11: bounded positive PPT objects with full normalized input marginal. Partial-transpose positivity is tested on its algebraic finite-support form.
  • cjOutput: Theorem 4, (24), pp.11,18: normal reconstruction on arbitrary trace-class A. Each fixed output entry pairs A with a bounded input block of O. This is the partial-transposed CJ convention: no extra transpose of A appears in (24).
  • normalCJPair: Theorem 4, (24), pp.11,18: the normal trace-dual product pairing. It is NOT the trace of the possibly non-trace-class raw tensor product. Every use below supplies trace class of cjOutput O A.
  • CJCorresponds: Theorem 4, pp.11,18: full trace-class correspondence and ordinary finite-rank tests. Trace-class output makes the B-functional normal and forbids a default-zero trace.
  • DisplacementDensity: Section 5.1, pp.9–10: a genuine Lebesgue probability density; no isotropy is assumed.
  • RotationCovariantNoise: Section 5.1, p.10: genuine rotationally covariant noise, independent of the input.
  • averageScore: Section 5.1, p.10, (23): average overlap under density q and uniform common phase.
  • averageBenchmark: Section 5.1, p.10: optimize over all entanglement-breaking channels.
  • ensembleOperator: Section 5.2, p.11, (26): trace-class ensemble operator, with INPUT FIRST. The same phase rotates both factors. Theorem hypotheses ensure integrability.
  • unrotatedEnsemble: Section 5.2, p.12, (27): ensemble before the common rotation integral.
  • separableOptimum: Section 5.2, p.11, first line of (25): exact normalized separable optimum.
  • pptOptimum: Section 5.2, p.11, second line of (25): infinite PPT relaxation, not EB equality.
  • totalNumber: Section 5.2, p.12: total photon number in the two tensor factors.
  • numberBlock: Section 5.2, p.12, (27): Q_c E Q_c, total number EXACTLY c.
  • triangularCut: Section 5.2, p.12: P_c E P_c, total number at most c (triangular cutoff).
  • RectangularLabel: Section 5.2, p.12: supp R_c has dimension (c+1)^2, including c=0.
  • liftRectangular: Section 5.2, p.12: embed the rectangular cutoff into the complete two-mode basis.
  • FinitePPTFeasible: Theorem 5, p.12, (30): positivity, PPT, and SUBnormalized input marginal.
  • finiteObjective: Theorem 5, p.12: finite objective Tr(O P_c E P_c) on supp R_c.
  • finitePPTOptimum: Theorem 5, p.12: finite SDP optimum, with marginal <= I.
  • SymmetricFinitePPTOptimum: Section 5.2, p.13: lossless total-number symmetry imposed on the finite SDP.
  • retainedEnsembleProbability: Section 5.2, pp.12–13: exact retained probability Tr(P_c E P_c).
  • certifiedBound: Section 5.2, pp.12–13, (30),(31): certified bound includes the omitted probability.
  • gaussianPrior: Section 5.2, p.11: normalized Gaussian displacement density, alpha>0. Alpha=0 is not a probability density and never denotes the flat ensemble.
  • measureScore: Section 5.3, p.15: average under an actual displacement probability law, allowing a point mass at zero rather than treating a delta as a Lebesgue density.
  • measureBenchmark: Section 5.3, p.15: EB optimum for the measure-law ensemble, with identity noise.
  • vacuumReplacement: Section 5.3, p.15: discard the input and prepare the known vacuum. The complex trace makes this a channel on the full complex trace-class domain.
Definition code
import Mathlib
import Definitions.Def_QAlgorithms_Papers_Independent_Dependency50_P33
import Definitions.Def_QAlgorithms_Papers_Independent_Dependency50_P39
import Definitions.Def_QAlgorithms_Papers_Independent_Frontier18_P11
import Definitions.Def_QAlgorithms_Papers_Independent_Claimed50_P35
import Definitions.Def_QAlgorithms_Papers_Independent_Dependency50_P32
import Definitions.Def_QAlgorithms_Papers_Independent_Next46_P13
import Definitions.Def_QAlgorithms_Papers_Independent_Next46_P32

/-!
Owari et al., arXiv:0808.2260v1. Complete Fock coordinates, full complex trace-class
channels, all EB competitors including continuous measurements. Tensor order is
INPUT FIRST, as in (24). Theorem 3 and two remarks are deferred. Lemma 1 is exact
accepted-library reuse with no duplicate theorem. Compilation is pending handoff.
-/

noncomputable section

namespace QAlgorithms.Papers.Independent.Advance50.P32

open MeasureTheory Filter
open scoped BigOperators ENNReal Topology TensorProduct
open QAlgorithms.RealRegisters (Hilbert)
open QAlgorithms.Papers.Independent.Dependency50.P33
  (IsTraceClass IsDensity State IsTraceClassChannel BreaksTraceClassEntanglement
   productCoeff traceSize rotationMeasure)
open QAlgorithms.Papers.Independent.Dependency50.P39 (displacementMatrix)
open QAlgorithms.Papers.Independent.Claimed50.P35 (tracePair)
open QAlgorithms.Papers.Independent.Dependency50.P32 (partialTranspose)
open QAlgorithms.Papers.Independent.Next46.P13 (coordinateBasis)
open QAlgorithms.Papers.Independent.Next46.P32 (PositiveKernel vacuum realFockTracePair)

attribute [local instance] Classical.propDecidable
attribute [local instance] Classical.decEq

/-- Section 2, p.3: full coefficient arrays, with separate operator-domain predicates. -/
abbrev FockOperatorArray (I : Type) := Matrix I I ℂ

/-- Section 2, p.3: the complete n-mode number basis, without a photon cutoff. -/
abbrev NumberLabel (n : ℕ) := Fin n → ℕ

/-- Section 2, p.3: real (q,p) coordinates for each mode. -/
abbrev QuadraturePoint (n : ℕ) := Fin n → ℝ × ℝ

/-- Section 2, p.3: actual bounded operators, pinned by every number-basis entry. -/
def BoundedKernel {I : Type} (K : FockOperatorArray I) : Prop :=
  ∃ A : Hilbert I →L[ℂ] Hilbert I, ∀ i j, A (lp.single 2 j 1) i = K i j

/-- Section 2, p.3: bounded-unitary conjugation on complete coordinates. -/
def fockUnitaryConjugation {I : Type} (U X : FockOperatorArray I) : FockOperatorArray I :=
  fun i j => ∑' a, ∑' b, U i a * X a b * star (U j b)

/-- Section 2, p.3: W_xi=exp(i(qP-pX))=D(-(q+ip)/sqrt(2)); exact Fock entries. -/
def oscillatorWeylEntries (n : ℕ) (xi : QuadraturePoint n) : FockOperatorArray (NumberLabel n) :=
  fun i j => ∏ k, displacementMatrix
    (-(((xi k).1 : ℂ) + Complex.I * ((xi k).2 : ℂ)) / (Real.sqrt 2 : ℂ)) (i k) (j k)

/-- Section 4.1, p.5: U_theta=exp(i theta n_hat). -/
def oscillatorNumberConjugation {n : ℕ} (theta : ℝ) (X : FockOperatorArray (NumberLabel n)) : FockOperatorArray (NumberLabel n) :=
  fun i j => Complex.exp (Complex.I * (theta : ℂ) *
    (((∑ k, i k : ℕ) : ℂ) - ((∑ k, j k : ℕ) : ℂ))) * X i j

/-- Section 4.1, p.6: the specified squeezed seed, covariance diag(s,1/s), s>0. -/
def squeezedAmplitude (s : ℝ) (k : ℕ) : ℝ :=
  if k % 2 = 0 then
    Real.sqrt (2 * Real.sqrt s / (1 + s)) *
      Real.sqrt (Nat.factorial (2 * (k / 2)) : ℝ) / (Nat.factorial (k / 2) : ℝ) *
      ((s - 1) / (2 * s + 2)) ^ (k / 2)
  else 0

/-- Section 4.1, pp.5–6: actual pure density coefficients, not a covariance witness. -/
def squeezedSeed (s : ℝ) : FockOperatorArray (NumberLabel 1) :=
  fun i j => (squeezedAmplitude s (i 0) : ℂ) * (squeezedAmplitude s (j 0) : ℂ)

/-- Section 4.1, p.5: W_xi U_theta rho_s U_theta* W_xi*. -/
def squeezedOrbit (s : ℝ) (xi : ℝ × ℝ) (theta : ℝ) : FockOperatorArray (NumberLabel 1) :=
  fockUnitaryConjugation (oscillatorWeylEntries 1 (fun _ => xi)) (oscillatorNumberConjugation theta (squeezedSeed s))

/-- Section 5.1, p.10: the prior ensemble rotates AFTER displacing the seed. -/
def priorOrbit (s : ℝ) (xi : ℝ × ℝ) (theta : ℝ) : FockOperatorArray (NumberLabel 1) :=
  oscillatorNumberConjugation theta (fockUnitaryConjugation (oscillatorWeylEntries 1 (fun _ => xi)) (squeezedSeed s))

/-- Section 4.1, p.7, (18): coherent state prepared at heterodyne outcome xi. -/
def heterodyneCoherentState (xi : ℝ × ℝ) : FockOperatorArray (NumberLabel 1) :=
  fockUnitaryConjugation (oscillatorWeylEntries 1 (fun _ => xi)) (vacuum 1)

/-- Section 4.1, p.7, (18): complex-linear heterodyne map, measure d^2 xi/(2pi).
The trace stays complex on nonpositive inputs. -/
def heterodyne (X : FockOperatorArray (NumberLabel 1)) : FockOperatorArray (NumberLabel 1) :=
  fun i j => (1 / (2 * Real.pi) : ℂ) *
    ∫ xi : ℝ × ℝ, tracePair X (heterodyneCoherentState xi) * heterodyneCoherentState xi i j

/-- Section 4.2, pp.7–9: covariance noise eta I, displacement variance eta/2.
The zero-noise map is explicitly the identity. -/
def additiveNoise (eta : ℝ) (X : FockOperatorArray (NumberLabel 1)) : FockOperatorArray (NumberLabel 1) :=
  if eta = 0 then X else fun i j => ∫ xi : ℝ × ℝ,
    ((Real.exp (-(xi.1 ^ 2 + xi.2 ^ 2) / eta) / (Real.pi * eta) : ℝ) : ℂ) *
      fockUnitaryConjugation (oscillatorWeylEntries 1 (fun _ => xi)) X i j

/-- Sections 3–4, pp.4–6: false selects all EB channels; true selects all channels
remaining completely positive after LINEAR matrix transposition. Its trace
preservation is automatic and is retained in the channel predicate. -/
def benchmarkChannel (reversible : Bool)
    (T : FockOperatorArray (NumberLabel 1) → FockOperatorArray (NumberLabel 1)) : Prop :=
  IsTraceClassChannel T ∧
    if reversible then IsTraceClassChannel (fun X => T X.transpose)
    else BreaksTraceClassEntanglement T

/-- Sections 3–4, pp.4–6: worst case over every displacement and allowed phase. -/
def worstOverlap (s eta : ℝ) (T : FockOperatorArray (NumberLabel 1) → FockOperatorArray (NumberLabel 1)) : ℝ :=
  sInf {r : ℝ | ∃ (xi : ℝ × ℝ) (theta : ℝ), theta ∈ Set.Icc 0 (2 * Real.pi) ∧
    r = realFockTracePair (T (additiveNoise eta (squeezedOrbit s xi theta))) (squeezedOrbit s xi theta)}

/-- Sections 3–4, pp.4–6: choose the channel before the unknown input.
No normalized flat Lebesgue probability law is introduced. -/
def flatBenchmark (reversible : Bool) (s eta : ℝ) : ℝ :=
  sSup {r : ℝ | ∃ T, benchmarkChannel reversible T ∧ r = worstOverlap s eta T}

/-- Section 4.1, p.7: known phase is fixed before optimizing the strategy. -/
def fixedPhaseBenchmark (reversible : Bool) (s theta : ℝ) : ℝ :=
  sSup {r : ℝ | ∃ T, benchmarkChannel reversible T ∧
    r = sInf {v : ℝ | ∃ xi : ℝ × ℝ,
      v = realFockTracePair (T (squeezedOrbit s xi theta)) (squeezedOrbit s xi theta)}}

/-- Appendix A, p.17: covariance on EVERY complex trace-class input. -/
def PhaseCovariant {n : ℕ}
    (T : FockOperatorArray (NumberLabel n) → FockOperatorArray (NumberLabel n)) : Prop :=
  ∀ xi X, IsTraceClass X →
    T (fockUnitaryConjugation (oscillatorWeylEntries n xi) X) = fockUnitaryConjugation (oscillatorWeylEntries n xi) (T X)

/-- Appendix A, p.17: T*(W_xi)=f(xi)W_xi by normal trace duality on ALL trace class. -/
def WeylMultiplier {n : ℕ}
    (T : FockOperatorArray (NumberLabel n) → FockOperatorArray (NumberLabel n)) (f : QuadraturePoint n → ℂ) : Prop :=
  ∀ xi X, IsTraceClass X →
    tracePair (T X) (oscillatorWeylEntries n xi) = f xi * tracePair X (oscillatorWeylEntries n xi)

/-- Appendix A, p.17: symplectic Fourier characteristic of any probability law,
with the sign in W_eta* W_xi W_eta. No Gaussian restriction. -/
def ClassicalCharacteristic {n : ℕ} (f : QuadraturePoint n → ℂ) : Prop :=
  ∃ mu : Measure (QuadraturePoint n), IsProbabilityMeasure mu ∧
    ∀ xi, f xi = ∫ eta, Complex.exp (-Complex.I *
      ((∑ k, ((xi k).1 * (eta k).2 - (xi k).2 * (eta k).1) : ℝ) : ℂ)) ∂mu

/-- Appendix A, p.18, corrected using (15), p.6: quantum characteristic at sqrt(2)xi. -/
def ReversibleMultiplier {n : ℕ}
    (T : FockOperatorArray (NumberLabel n) → FockOperatorArray (NumberLabel n)) : Prop :=
  ∃ tau : State (NumberLabel n), WeylMultiplier T
    (fun xi => tracePair tau.coefficients (oscillatorWeylEntries n (fun k =>
      (Real.sqrt 2 * (xi k).1, Real.sqrt 2 * (xi k).2))))

example (X : FockOperatorArray (NumberLabel 1)) : additiveNoise 0 X = X := by
  simp [additiveNoise]

example : squeezedAmplitude 1 0 = 1 := by
  norm_num [squeezedAmplitude]

example : squeezedAmplitude 1 2 = 0 := by
  norm_num [squeezedAmplitude]

example (i j : NumberLabel 0) : vacuum 0 i j = 1 := by
  have hi : i = 0 := Subsingleton.elim _ _
  have hj : j = 0 := Subsingleton.elim _ _
  simp [vacuum, hi, hj]

/-- Theorem 4, p.11: full input marginal, including off-diagonal tests.
For positive bounded operators this basis formulation is equivalent to all-vector tests. -/
def InputMarginal {I : Type} (O : FockOperatorArray (I × I)) : Prop :=
  ∀ i j, HasSum (fun k => O (i, k) (j, k)) (if i = j then 1 else 0)

/-- Theorem 4, pp.11,18: input-first coefficients of the accepted OUTPUT-FIRST
completed Hilbert tensor operator. Swapping the two ket coordinates is exactly
the tensor flip, with no complex conjugation or matrix transposition. -/
def inputFirstEntries {I : Type}
    (O : QAlgorithms.Papers.Independent.Frontier18.P11.JointHilbert (Hilbert I) (Hilbert I) →L[ℂ]
      QAlgorithms.Papers.Independent.Frontier18.P11.JointHilbert (Hilbert I) (Hilbert I)) :
    FockOperatorArray (I × I) :=
  fun i j => inner ℂ
    (↑((coordinateBasis I i.2) ⊗ₜ[ℂ] (coordinateBasis I i.1)) :
      QAlgorithms.Papers.Independent.Frontier18.P11.JointHilbert (Hilbert I) (Hilbert I))
    (O (↑((coordinateBasis I j.2) ⊗ₜ[ℂ] (coordinateBasis I j.1)) :
      QAlgorithms.Papers.Independent.Frontier18.P11.JointHilbert (Hilbert I) (Hilbert I)))

/-- Theorem 4 and Appendix B, pp.11,18: REUSE the accepted normalized weak-operator
separable CJ predicate after the tensor flip. Its positivity, all-vector input
marginal, and weak approximation by finite positive resolutions are retained.
This coordinate transport neither imposes finite rank nor a finite Kraus family. -/
def NormalizedSeparableCJ {I : Type} (K : FockOperatorArray (I × I)) : Prop :=
  ∃ O : QAlgorithms.Papers.Independent.Frontier18.P11.JointHilbert (Hilbert I) (Hilbert I) →L[ℂ]
      QAlgorithms.Papers.Independent.Frontier18.P11.JointHilbert (Hilbert I) (Hilbert I),
    QAlgorithms.Papers.Independent.Frontier18.P11.separableCJ (coordinateBasis I) O ∧
      inputFirstEntries O = K

/-- Section 5.2, p.11: bounded positive PPT objects with full normalized input marginal.
Partial-transpose positivity is tested on its algebraic finite-support form. -/
def NormalizedPPT {I : Type} (O : FockOperatorArray (I × I)) : Prop :=
  BoundedKernel O ∧ PositiveKernel O ∧ PositiveKernel (partialTranspose O) ∧ InputMarginal O

/-- Theorem 4, (24), pp.11,18: normal reconstruction on arbitrary trace-class A.
Each fixed output entry pairs A with a bounded input block of O. This is the
partial-transposed CJ convention: no extra transpose of A appears in (24). -/
def cjOutput {I : Type} (O : FockOperatorArray (I × I)) (A : FockOperatorArray I) : FockOperatorArray I :=
  fun k l => ∑' i, ∑' j, A i j * O (j, k) (i, l)

/-- Theorem 4, (24), pp.11,18: the normal trace-dual product pairing.
It is NOT the trace of the possibly non-trace-class raw tensor product.
Every use below supplies trace class of cjOutput O A. -/
def normalCJPair {I : Type} (O : FockOperatorArray (I × I)) (A B : FockOperatorArray I) : ℂ :=
  tracePair (cjOutput O A) B

/-- Theorem 4, pp.11,18: full trace-class correspondence and ordinary finite-rank tests.
Trace-class output makes the B-functional normal and forbids a default-zero trace. -/
def CJCorresponds {I : Type} (T : FockOperatorArray I → FockOperatorArray I) (O : FockOperatorArray (I × I)) : Prop :=
  (∀ A, IsTraceClass A → IsTraceClass (cjOutput O A) ∧ T A = cjOutput O A ∧
    ∀ B, BoundedKernel B → tracePair (T A) B = normalCJPair O A B) ∧
  (∀ i j k l, O (i, k) (j, l) = T (Matrix.single j i 1) k l)

/-- Section 5.1, pp.9–10: a genuine Lebesgue probability density; no isotropy is assumed. -/
def DisplacementDensity (q : ℝ × ℝ → ℝ) : Prop :=
  Measurable q ∧ (∀ xi, 0 ≤ q xi) ∧ Integrable q ∧ (∫ xi, q xi) = 1

/-- Section 5.1, p.10: genuine rotationally covariant noise, independent of the input. -/
def RotationCovariantNoise
    (N : FockOperatorArray (NumberLabel 1) → FockOperatorArray (NumberLabel 1)) : Prop :=
  IsTraceClassChannel N ∧ ∀ theta X, IsTraceClass X →
    N (oscillatorNumberConjugation theta X) = oscillatorNumberConjugation theta (N X)

/-- Section 5.1, p.10, (23): average overlap under density q and uniform common phase. -/
def averageScore (s : ℝ) (q : ℝ × ℝ → ℝ)
    (N T : FockOperatorArray (NumberLabel 1) → FockOperatorArray (NumberLabel 1)) : ℝ :=
  ∫ theta, (∫ xi : ℝ × ℝ, q xi *
    realFockTracePair (T (N (priorOrbit s xi theta))) (priorOrbit s xi theta)) ∂rotationMeasure

/-- Section 5.1, p.10: optimize over all entanglement-breaking channels. -/
def averageBenchmark (s : ℝ) (q : ℝ × ℝ → ℝ)
    (N : FockOperatorArray (NumberLabel 1) → FockOperatorArray (NumberLabel 1)) : ℝ :=
  sSup {r : ℝ | ∃ T, benchmarkChannel false T ∧ r = averageScore s q N T}

/-- Section 5.2, p.11, (26): trace-class ensemble operator, with INPUT FIRST.
The same phase rotates both factors. Theorem hypotheses ensure integrability. -/
def ensembleOperator (s : ℝ) (q : ℝ × ℝ → ℝ)
    (N : FockOperatorArray (NumberLabel 1) → FockOperatorArray (NumberLabel 1)) :
    FockOperatorArray (NumberLabel 1 × NumberLabel 1) :=
  fun i j => ∫ theta, (∫ xi : ℝ × ℝ, (q xi : ℂ) *
    productCoeff (N (priorOrbit s xi theta)) (priorOrbit s xi theta) i j) ∂rotationMeasure

/-- Section 5.2, p.12, (27): ensemble before the common rotation integral. -/
def unrotatedEnsemble (s : ℝ) (q : ℝ × ℝ → ℝ)
    (N : FockOperatorArray (NumberLabel 1) → FockOperatorArray (NumberLabel 1)) :
    FockOperatorArray (NumberLabel 1 × NumberLabel 1) :=
  fun i j => ∫ xi : ℝ × ℝ, (q xi : ℂ) *
    productCoeff (N (priorOrbit s xi 0)) (priorOrbit s xi 0) i j

/-- Section 5.2, p.11, first line of (25): exact normalized separable optimum. -/
def separableOptimum (E : FockOperatorArray (NumberLabel 1 × NumberLabel 1)) : ℝ :=
  sSup {r : ℝ | ∃ O, NormalizedSeparableCJ O ∧ r = realFockTracePair E O}

/-- Section 5.2, p.11, second line of (25): infinite PPT relaxation, not EB equality. -/
def pptOptimum (E : FockOperatorArray (NumberLabel 1 × NumberLabel 1)) : ℝ :=
  sSup {r : ℝ | ∃ O, NormalizedPPT O ∧ r = realFockTracePair E O}

/-- Section 5.2, p.12: total photon number in the two tensor factors. -/
def totalNumber (i : NumberLabel 1 × NumberLabel 1) : ℕ := i.1 0 + i.2 0

/-- Section 5.2, p.12, (27): Q_c E Q_c, total number EXACTLY c. -/
def numberBlock (c : ℕ) (E : FockOperatorArray (NumberLabel 1 × NumberLabel 1)) :
    FockOperatorArray (NumberLabel 1 × NumberLabel 1) :=
  fun i j => if totalNumber i = c ∧ totalNumber j = c then E i j else 0

/-- Section 5.2, p.12: P_c E P_c, total number at most c (triangular cutoff). -/
def triangularCut (c : ℕ) (E : FockOperatorArray (NumberLabel 1 × NumberLabel 1)) :
    FockOperatorArray (NumberLabel 1 × NumberLabel 1) :=
  fun i j => if totalNumber i ≤ c ∧ totalNumber j ≤ c then E i j else 0

/-- Section 5.2, p.12: supp R_c has dimension (c+1)^2, including c=0. -/
abbrev RectangularLabel (c : ℕ) := Fin (c + 1) × Fin (c + 1)

/-- Section 5.2, p.12: embed the rectangular cutoff into the complete two-mode basis. -/
def liftRectangular {c : ℕ} (i : RectangularLabel c) : NumberLabel 1 × NumberLabel 1 :=
  (fun _ => i.1.val, fun _ => i.2.val)

/-- Theorem 5, p.12, (30): positivity, PPT, and SUBnormalized input marginal. -/
def FinitePPTFeasible (c : ℕ) (O : FockOperatorArray (RectangularLabel c)) : Prop :=
  PositiveKernel O ∧ PositiveKernel (partialTranspose O) ∧
    PositiveKernel (fun i j : Fin (c + 1) => (if i = j then 1 else 0) -
      ∑ k : Fin (c + 1), O (i, k) (j, k))

/-- Theorem 5, p.12: finite objective Tr(O P_c E P_c) on supp R_c. -/
def finiteObjective (c : ℕ) (E : FockOperatorArray (NumberLabel 1 × NumberLabel 1))
    (O : FockOperatorArray (RectangularLabel c)) : ℝ :=
  (∑ i, ∑ j, O i j * triangularCut c E (liftRectangular j) (liftRectangular i)).re

/-- Theorem 5, p.12: finite SDP optimum, with marginal <= I. -/
def finitePPTOptimum (c : ℕ) (E : FockOperatorArray (NumberLabel 1 × NumberLabel 1)) : ℝ :=
  sSup {r : ℝ | ∃ O, FinitePPTFeasible c O ∧ r = finiteObjective c E O}

/-- Section 5.2, p.13: lossless total-number symmetry imposed on the finite SDP. -/
def SymmetricFinitePPTOptimum (c : ℕ) (E : FockOperatorArray (NumberLabel 1 × NumberLabel 1)) : ℝ :=
  sSup {r : ℝ | ∃ O, FinitePPTFeasible c O ∧
    (∀ i j : RectangularLabel c, i.1.val + i.2.val ≠ j.1.val + j.2.val → O i j = 0) ∧
    r = finiteObjective c E O}

/-- Section 5.2, pp.12–13: exact retained probability Tr(P_c E P_c). -/
def retainedEnsembleProbability (c : ℕ) (E : FockOperatorArray (NumberLabel 1 × NumberLabel 1)) : ℝ :=
  (∑ i : RectangularLabel c,
    triangularCut c E (liftRectangular i) (liftRectangular i)).re

/-- Section 5.2, pp.12–13, (30),(31): certified bound includes the omitted probability. -/
def certifiedBound (c : ℕ) (E : FockOperatorArray (NumberLabel 1 × NumberLabel 1)) : ℝ :=
  finitePPTOptimum c E + 1 - retainedEnsembleProbability c E

/-- Section 5.2, p.11: normalized Gaussian displacement density, alpha>0.
Alpha=0 is not a probability density and never denotes the flat ensemble. -/
def gaussianPrior (alpha : ℝ) (xi : ℝ × ℝ) : ℝ :=
  alpha / Real.pi * Real.exp (-alpha * (xi.1 ^ 2 + xi.2 ^ 2))

example {I : Type} (O : FockOperatorArray (I × I)) : partialTranspose (partialTranspose O) = O := by
  rfl

example : Fintype.card (RectangularLabel 0) = 1 := by
  simp [RectangularLabel]

example (i : RectangularLabel 0) : totalNumber (liftRectangular i) = 0 := by
  have hi : i.1.val = 0 := by omega
  have hj : i.2.val = 0 := by omega
  simp [totalNumber, liftRectangular, hi, hj]

/-- Section 5.3, p.15: average under an actual displacement probability law,
allowing a point mass at zero rather than treating a delta as a Lebesgue density. -/
def measureScore (s : ℝ) (mu : Measure (ℝ × ℝ))
    (T : FockOperatorArray (NumberLabel 1) → FockOperatorArray (NumberLabel 1)) : ℝ :=
  ∫ theta, (∫ xi, realFockTracePair (T (priorOrbit s xi theta))
    (priorOrbit s xi theta) ∂mu) ∂rotationMeasure

/-- Section 5.3, p.15: EB optimum for the measure-law ensemble, with identity noise. -/
def measureBenchmark (s : ℝ) (mu : Measure (ℝ × ℝ)) : ℝ :=
  sSup {r : ℝ | ∃ T, benchmarkChannel false T ∧ r = measureScore s mu T}

/-- Section 5.3, p.15: discard the input and prepare the known vacuum.
The complex trace makes this a channel on the full complex trace-class domain. -/
def vacuumReplacement (X : FockOperatorArray (NumberLabel 1)) : FockOperatorArray (NumberLabel 1) :=
  (∑' i, X i i) • vacuum 1

end QAlgorithms.Papers.Independent.Advance50.P32
Source
Squeezing the limit: Quantum benchmarks for the teleportation and storage of squeezed states, arXiv:0808.2260v1, https://arxiv.org/abs/0808.2260v1
Read-back

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

QAlgorithms.Papers.Independent.Advance50.P32.BoundedKernel

For any type III and any complex array K=(Kij)i,j∈IK=(K_{ij})_{i,j\in I}K=(Kij​)i,j∈I​, this condition means that there exists a bounded complex-linear operator A:ℓ2(I;C)→ℓ2(I;C)A:\ell^2(I;\mathbb C)\to\ell^2(I;\mathbb C)A:ℓ2(I;C)→ℓ2(I;C) such that (Aej)i=Kij(Ae_j)_i=K_{ij}(Aej​)i​=Kij​ for every i,j∈Ii,j\in Ii,j∈I, where eje_jej​ is the function equal to 111 at jjj and 000 elsewhere. No countability or nonemptiness assumption is imposed on III; if III is empty, the entrywise condition is vacuous and the zero operator supplies the required witness.

QAlgorithms.Papers.Independent.Advance50.P32.CJCorresponds

For any type III, any function TTT from complex III-indexed matrices to complex III-indexed matrices, and any complex matrix OOO indexed by I×II\times II×I, put

(CO(A))kl=∑i∑jAijO(j,k),(i,l).(C_O(A))_{kl}=\sum_i\sum_j A_{ij}O_{(j,k),(i,l)}.(CO​(A))kl​=i∑​j∑​Aij​O(j,k),(i,l)​.

Call an III-indexed matrix AAA nuclear if there exist sequences ur,vr∈ℓ2(I;C)u_r,v_r\in\ell^2(I;\mathbb C)ur​,vr​∈ℓ2(I;C) with ∑r∥ur∥∥vr∥<∞\sum_r\|u_r\|\|v_r\|<\infty∑r​∥ur​∥∥vr​∥<∞ and Aij=∑rur(i)vr(j)‾A_{ij}=\sum_r u_r(i)\overline{v_r(j)}Aij​=∑r​ur​(i)vr​(j)​ for all i,ji,ji,j. The predicate asserts that, for every nuclear AAA, the matrix CO(A)C_O(A)CO​(A) is nuclear, T(A)=CO(A)T(A)=C_O(A)T(A)=CO​(A), and, for every matrix BBB admitting a bounded complex-linear operator RRR on ℓ2(I;C)\ell^2(I;\mathbb C)ℓ2(I;C) with (Rej)i=Bij(Re_j)_i=B_{ij}(Rej​)i​=Bij​ for all i,ji,ji,j,

∑k∑lT(A)klBlk=∑k∑l(∑i∑jAijO(j,k),(i,l))Blk.\sum_k\sum_l T(A)_{kl}B_{lk} =\sum_k\sum_l\left(\sum_i\sum_j A_{ij}O_{(j,k),(i,l)}\right)B_{lk}.k∑​l∑​T(A)kl​Blk​=k∑​l∑​(i∑​j∑​Aij​O(j,k),(i,l)​)Blk​.

It also requires, independently, that for every i,j,k,l∈Ii,j,k,l\in Ii,j,k,l∈I,

O(i,k),(j,l)=T(Eji)kl,O_{(i,k),(j,l)}=T(E_{ji})_{kl},O(i,k),(j,l)​=T(Eji​)kl​,

where EjiE_{ji}Eji​ has its sole nonzero entry 111 in row jjj, column iii. All displayed infinite sums use the total summation convention. No countability or nonemptiness assumption is made, and the predicate itself does not require TTT to satisfy channel conditions.

QAlgorithms.Papers.Independent.Advance50.P32.ClassicalCharacteristic

For every natural number nnn, including n=0n=0n=0, and every function f:(R2)n→Cf:(\mathbb R^2)^n\to\mathbb Cf:(R2)n→C, this predicate means that there exists a probability measure μ\muμ on the Borel measurable space (R2)n(\mathbb R^2)^n(R2)n such that, for every ξ=(ξk,1,ξk,2)k<n\xi=(\xi_{k,1},\xi_{k,2})_{k<n}ξ=(ξk,1​,ξk,2​)k<n​,

f(ξ)=∫(R2)nexp⁡ ⁣(−i∑k<n(ξk,1ηk,2−ξk,2ηk,1)) dμ(η).f(\xi)=\int_{(\mathbb R^2)^n} \exp\!\left(-i\sum_{k<n} (\xi_{k,1}\eta_{k,2}-\xi_{k,2}\eta_{k,1})\right)\,d\mu(\eta).f(ξ)=∫(R2)n​exp(−ik<n∑​(ξk,1​ηk,2​−ξk,2​ηk,1​))dμ(η).

The measure is required to have total mass 111; it need not have a density with respect to Lebesgue measure. For n=0n=0n=0, the phase space is a singleton, the sum in the exponent is empty, and the condition says that fff has value 111 on that singleton.

QAlgorithms.Papers.Independent.Advance50.P32.DisplacementDensity

For a function q:R2→Rq:\mathbb R^2\to\mathbb Rq:R2→R, this predicate means that qqq is measurable, is nonnegative at every point, is integrable with respect to planar Lebesgue measure, and satisfies

∫R2q(ξ) dξ=1.\int_{\mathbb R^2}q(\xi)\,d\xi=1.∫R2​q(ξ)dξ=1.

Nonnegativity is required everywhere, rather than only almost everywhere.

QAlgorithms.Papers.Independent.Advance50.P32.FinitePPTFeasible

For a natural number ccc, let Lc={0,…,c}2L_c=\{0,\ldots,c\}^2Lc​={0,…,c}2, and let OOO be any complex matrix indexed by LcL_cLc​. This predicate requires all three matrices OOO, OΓO^\GammaOΓ, and RRR to be positive semidefinite, where

O(a,b),(a′,b′)Γ=O(a,b′),(a′,b),Ra,a′=δa,a′−∑k=0cO(a,k),(a′,k).O^\Gamma_{(a,b),(a',b')}=O_{(a,b'),(a',b)}, \qquad R_{a,a'}=\delta_{a,a'}-\sum_{k=0}^{c}O_{(a,k),(a',k)}.O(a,b),(a′,b′)Γ​=O(a,b′),(a′,b)​,Ra,a′​=δa,a′​−k=0∑c​O(a,k),(a′,k)​.

Here the positivity condition literally means that, for every finite subset SSS of the relevant index set and every complex-valued function zzz on that index set, ∑i,j∈Szi‾Mijzj\sum_{i,j\in S}\overline{z_i}M_{ij}z_j∑i,j∈S​zi​​Mij​zj​ has zero imaginary part and nonnegative real part. The parameter c=0c=0c=0 is included; then OOO has one entry, and the conditions require that entry to be real and lie in [0,1][0,1][0,1].

QAlgorithms.Papers.Independent.Advance50.P32.FockOperatorArray

For any type III, this denotes the type of all complex arrays X=(Xij)i,j∈IX=(X_{ij})_{i,j\in I}X=(Xij​)i,j∈I​, equivalently all functions I×I→CI\times I\to\mathbb CI×I→C. There are no finiteness, boundedness, summability, positivity, or normalization requirements. The index type III may be empty.

QAlgorithms.Papers.Independent.Advance50.P32.InputMarginal

For any type III, with no countability or nonemptiness assumption, and any complex matrix OOO indexed by I×II\times II×I, this predicate means that for every i,j∈Ii,j\in Ii,j∈I the family (O(i,k),(j,k))k∈I\bigl(O_{(i,k),(j,k)}\bigr)_{k\in I}(O(i,k),(j,k)​)k∈I​ has sum δij\delta_{ij}δij​, where δij=1\delta_{ij}=1δij​=1 when i=ji=ji=j and 000 otherwise. Having this sum means that the net of sums over finite subsets of III converges to that value. If III is empty, the predicate holds vacuously.

QAlgorithms.Papers.Independent.Advance50.P32.NormalizedPPT

For any type III and any complex matrix OOO indexed by I×II\times II×I, this predicate is the conjunction of four requirements: there exists a bounded complex-linear operator AAA on ℓ2(I×I;C)\ell^2(I\times I;\mathbb C)ℓ2(I×I;C) whose coordinate entries satisfy (Aeq)p=Opq(Ae_q)_p=O_{pq}(Aeq​)p​=Opq​ for all p,q∈I×Ip,q\in I\times Ip,q∈I×I; for every finite F⊆I×IF\subseteq I\times IF⊆I×I and every z:I×I→Cz:I\times I\to\mathbb Cz:I×I→C, the number ∑p,q∈Fzp‾Opqzq\sum_{p,q\in F}\overline{z_p}O_{pq}z_q∑p,q∈F​zp​​Opq​zq​ is real and nonnegative; the same finite-quadratic-form condition holds for the matrix

O(i,k),(j,l)Γ=O(i,l),(j,k);O^\Gamma_{(i,k),(j,l)}=O_{(i,l),(j,k)};O(i,k),(j,l)Γ​=O(i,l),(j,k)​;

and, for every i,j∈Ii,j\in Ii,j∈I, the family (O(i,k),(j,k))k∈I\bigl(O_{(i,k),(j,k)}\bigr)_{k\in I}(O(i,k),(j,k)​)k∈I​ has sum δij\delta_{ij}δij​, meaning convergence of the net of finite-subset sums. Here eqe_qeq​ is the coordinate vector and δij\delta_{ij}δij​ is 111 for equal indices and 000 otherwise. No countability or nonemptiness assumption is imposed; for empty III, all entrywise conditions are vacuous and the bounded-operator witness can be the zero operator.

QAlgorithms.Papers.Independent.Advance50.P32.NormalizedSeparableCJ

For any type III and any complex matrix KKK indexed by I×II\times II×I, let H=ℓ2(I;C)H=\ell^2(I;\mathbb C)H=ℓ2(I;C), let (ei)i∈I(e_i)_{i\in I}(ei​)i∈I​ be its coordinate basis, and let G=H⊗CH^G=\widehat{H\otimes_{\mathbb C}H}G=H⊗C​H​. This predicate means that there exists a bounded complex-linear operator O:G→GO:G\to GO:G→G with

K(i1,i2),(j1,j2)=⟨ei2⊗ei1,O(ej2⊗ej1)⟩K_{(i_1,i_2),(j_1,j_2)} =\langle e_{i_2}\otimes e_{i_1},O(e_{j_2}\otimes e_{j_1})\rangleK(i1​,i2​),(j1​,j2​)​=⟨ei2​​⊗ei1​​,O(ej2​​⊗ej1​​)⟩

for every pair of indices, such that ⟨x,Ox⟩\langle x,Ox\rangle⟨x,Ox⟩ is real and nonnegative for every x∈Gx\in Gx∈G, and, for every a,a′∈Ha,a'\in Ha,a′∈H, the family

(⟨ek⊗a,O(ek⊗a′)⟩)k∈Ihas sum ⟨a,a′⟩.\bigl(\langle e_k\otimes a,O(e_k\otimes a')\rangle\bigr)_{k\in I} \quad\text{has sum }\langle a,a'\rangle.(⟨ek​⊗a,O(ek​⊗a′)⟩)k∈I​has sum ⟨a,a′⟩.

In addition, for every finite set T⊆G×G\mathcal T\subseteq G\times GT⊆G×G and every real ε>0\varepsilon>0ε>0, there exists a bounded complex-linear operator F:G→GF:G\to GF:G→G such that ∣⟨x,Fy⟩−⟨x,Oy⟩∣<ε|\langle x,Fy\rangle-\langle x,Oy\rangle|<\varepsilon∣⟨x,Fy⟩−⟨x,Oy⟩∣<ε for every (x,y)∈T(x,y)\in\mathcal T(x,y)∈T, and FFF has the following finite representation: there are m∈Nm\in\mathbb Nm∈N and bounded complex-linear operators ρr,Mr:H→H\rho_r,M_r:H\to Hρr​,Mr​:H→H, indexed by 0≤r<m0\le r<m0≤r<m, for which every ρr\rho_rρr​ and MrM_rMr​ has real nonnegative quadratic forms, the real family (Re⁡⟨ei,ρrei⟩)i∈I\bigl(\operatorname{Re}\langle e_i,\rho_r e_i\rangle\bigr)_{i\in I}(Re⟨ei​,ρr​ei​⟩)i∈I​ has sum 111 for each rrr, ∑r<mMr=idH\sum_{r<m}M_r=\mathrm{id}_H∑r<m​Mr​=idH​, and

⟨b⊗a,F(b′⊗a′)⟩=∑r<m⟨b,ρrb′⟩⟨a,Mra′⟩for every b,b′,a,a′∈H.\langle b\otimes a,F(b'\otimes a')\rangle =\sum_{r<m}\langle b,\rho_r b'\rangle\langle a,M_r a'\rangle \quad\text{for every }b,b',a,a'\in H.⟨b⊗a,F(b′⊗a′)⟩=r<m∑​⟨b,ρr​b′⟩⟨a,Mr​a′⟩for every b,b′,a,a′∈H.

All tensor vectors are interpreted in GGG, and all assertions that a family has a sum mean convergence of its finite-subset sums. Neither countability nor nonemptiness of III is assumed. The case m=0m=0m=0 is permitted and requires idH=0\mathrm{id}_H=0idH​=0; in particular, empty III is included.

QAlgorithms.Papers.Independent.Advance50.P32.NumberLabel

For every natural number nnn, this denotes the set of functions {0,…,n−1}→N\{0,\ldots,n-1\}\to\mathbb N{0,…,n−1}→N, or length-nnn tuples of natural numbers. When n=0n=0n=0, there is exactly one such tuple, the empty tuple.

QAlgorithms.Papers.Independent.Advance50.P32.PhaseCovariant

For every natural number nnn, including n=0n=0n=0, and every arbitrary map TTT on complex matrices indexed by Ln=N{0,…,n−1}L_n=\mathbb N^{\{0,\ldots,n-1\}}Ln​=N{0,…,n−1}, this predicate means that, for every ξ=(ξk,1,ξk,2)k<n∈(R2)n\xi=(\xi_{k,1},\xi_{k,2})_{k<n}\in(\mathbb R^2)^nξ=(ξk,1​,ξk,2​)k<n​∈(R2)n and every nuclear matrix XXX on LnL_nLn​,

T(CWξ(X))=CWξ(T(X)),CU(X)ij=∑a∑bUiaXabUjb‾.T(C_{W_\xi}(X))=C_{W_\xi}(T(X)), \qquad C_U(X)_{ij}=\sum_a\sum_b U_{ia}X_{ab}\overline{U_{jb}}.T(CWξ​​(X))=CWξ​​(T(X)),CU​(X)ij​=a∑​b∑​Uia​Xab​Ujb​​.

Here nuclear means that Xij=∑rur(i)vr(j)‾X_{ij}=\sum_r u_r(i)\overline{v_r(j)}Xij​=∑r​ur​(i)vr​(j)​ for sequences ur,vr∈ℓ2(Ln;C)u_r,v_r\in\ell^2(L_n;\mathbb C)ur​,vr​∈ℓ2(Ln​;C) with summable ∥ur∥∥vr∥\|u_r\|\|v_r\|∥ur​∥∥vr​∥, and

Wξ(i,j)=∏k<nD ⁣(−ξk,1+iξk,22)ikjk,D(z)uv=e−∣z∣2/2u! v!∑r=0min⁡(u,v)zu−r(−z‾)v−rr!(u−r)!(v−r)!.W_\xi(i,j)=\prod_{k<n}D\!\left(-\frac{\xi_{k,1}+i\xi_{k,2}}{\sqrt2}\right)_{i_kj_k}, \qquad D(z)_{uv}=e^{-|z|^2/2}\sqrt{u!\,v!} \sum_{r=0}^{\min(u,v)} \frac{z^{u-r}(-\overline z)^{v-r}}{r!(u-r)!(v-r)!}.Wξ​(i,j)=k<n∏​D(−2​ξk,1​+iξk,2​​)ik​jk​​,D(z)uv​=e−∣z∣2/2u!v!​r=0∑min(u,v)​r!(u−r)!(v−r)!zu−r(−z)v−r​.

No linearity, positivity, or channel hypothesis on TTT is part of this predicate. Infinite sums have value 000 when nonsummable. For n=0n=0n=0, both label and phase spaces are singletons and the empty product defining WξW_\xiWξ​ is 111.

QAlgorithms.Papers.Independent.Advance50.P32.QuadraturePoint

For every natural number nnn, this denotes the set of functions {0,…,n−1}→R×R\{0,\ldots,n-1\}\to\mathbb R\times\mathbb R{0,…,n−1}→R×R, or length-nnn tuples of ordered pairs of real numbers. When n=0n=0n=0, this set consists of the single empty tuple.

QAlgorithms.Papers.Independent.Advance50.P32.RectangularLabel

For every natural number ccc, this is the type of ordered pairs (a,b)(a,b)(a,b) of natural numbers satisfying 0≤a<c+10\le a<c+10≤a<c+1 and 0≤b<c+10\le b<c+10≤b<c+1, equivalently

{0,…,c}×{0,…,c}.\{0,\ldots,c\}\times\{0,\ldots,c\}.{0,…,c}×{0,…,c}.

It has (c+1)2(c+1)^2(c+1)2 elements; when c=0c=0c=0, it consists solely of (0,0)(0,0)(0,0).

QAlgorithms.Papers.Independent.Advance50.P32.ReversibleMultiplier

For every natural number nnn, including 000, and any map TTT on complex matrices indexed by Ln=N{0,…,n−1}L_n=\mathbb N^{\{0,\ldots,n-1\}}Ln​=N{0,…,n−1}, this predicate means that there exists a density matrix τ\tauτ on LnL_nLn​ such that, for every ξ∈(R2)n\xi\in(\mathbb R^2)^nξ∈(R2)n and every nuclear matrix XXX,

∑i∑j(TX)ijWξ(j,i)=(∑a∑bτabW2 ξ(b,a))(∑i∑jXijWξ(j,i)).\sum_i\sum_j(TX)_{ij}W_\xi(j,i) =\left(\sum_a\sum_b\tau_{ab}W_{\sqrt2\,\xi}(b,a)\right) \left(\sum_i\sum_jX_{ij}W_\xi(j,i)\right).i∑​j∑​(TX)ij​Wξ​(j,i)=(a∑​b∑​τab​W2​ξ​(b,a))(i∑​j∑​Xij​Wξ​(j,i)).

Here 2 ξ\sqrt2\,\xi2​ξ scales both real coordinates in every mode, and

Wξ(i,j)=∏k<nD ⁣(−ξk,1+iξk,22)ikjk,D(z)uv=e−∣z∣2/2u! v!∑r=0min⁡(u,v)zu−r(−z‾)v−rr!(u−r)!(v−r)!.W_\xi(i,j)=\prod_{k<n}D\!\left(-\frac{\xi_{k,1}+i\xi_{k,2}}{\sqrt2}\right)_{i_kj_k}, \qquad D(z)_{uv}=e^{-|z|^2/2}\sqrt{u!\,v!} \sum_{r=0}^{\min(u,v)} \frac{z^{u-r}(-\overline z)^{v-r}}{r!(u-r)!(v-r)!}.Wξ​(i,j)=k<n∏​D(−2​ξk,1​+iξk,2​​)ik​jk​​,D(z)uv​=e−∣z∣2/2u!v!​r=0∑min(u,v)​r!(u−r)!(v−r)!zu−r(−z)v−r​.

A nuclear matrix ZZZ admits an expansion Zij=∑rur(i)vr(j)‾Z_{ij}=\sum_r u_r(i)\overline{v_r(j)}Zij​=∑r​ur​(i)vr​(j)​ with ur,vr∈ℓ2(Ln;C)u_r,v_r\in\ell^2(L_n;\mathbb C)ur​,vr​∈ℓ2(Ln​;C) and summable ∥ur∥∥vr∥\|u_r\|\|v_r\|∥ur​∥∥vr​∥. The density requirement on τ\tauτ means that it is nuclear, every finite quadratic form ∑i,j∈Fzi‾τijzj\sum_{i,j\in F}\overline{z_i}\tau_{ij}z_j∑i,j∈F​zi​​τij​zj​ is real and nonnegative, its real diagonal is summable, and ∑iRe⁡τii=1\sum_i\operatorname{Re}\tau_{ii}=1∑i​Reτii​=1. No channel assumption on TTT is included. Infinite sums use the total convention. For n=0n=0n=0, the index spaces are singletons and the products defining WξW_\xiWξ​ are 111.

QAlgorithms.Papers.Independent.Advance50.P32.RotationCovariantNoise

Let HL=ℓ2(L;C)H_L=\ell^2(L;\mathbb C)HL​=ℓ2(L;C) for any label set LLL, and identify the singleton-indexed number labels {0}→N\{0\}\to\mathbb N{0}→N with N\mathbb NN. A matrix XXX on LLL is called trace class here when there are sequences ur,vr∈HLu_r,v_r\in H_Lur​,vr​∈HL​ such that ∑r∥ur∥∥vr∥\sum_r\|u_r\|\|v_r\|∑r​∥ur​∥∥vr​∥ is summable and Xij=∑rur(i)vr(j)‾X_{ij}=\sum_r u_r(i)\overline{v_r(j)}Xij​=∑r​ur​(i)vr​(j)​ for every i,ji,ji,j. A density matrix here is such a trace-class matrix whose finite quadratic forms ∑i,j∈Fzi‾Xijzj\sum_{i,j\in F}\overline{z_i}X_{ij}z_j∑i,j∈F​zi​​Xij​zj​ are real and nonnegative for every finite F⊆LF\subseteq LF⊆L and every z:L→Cz:L\to\mathbb Cz:L→C, and whose real diagonal entries form a summable family with sum 111. For an arbitrary map NNN from complex matrices on the number labels to matrices on the same labels, this predicate requires that NNN preserve trace-class matrices, satisfy N(X+Y)=N(X)+N(Y)N(X+Y)=N(X)+N(Y)N(X+Y)=N(X)+N(Y) for trace-class X,YX,YX,Y, and satisfy N(cX)=cN(X)N(cX)=cN(X)N(cX)=cN(X) for every c∈Cc\in\mathbb Cc∈C and trace-class XXX. It also requires that, for every n∈Nn\in\mathbb Nn∈N and every density matrix RRR on N×{0,…,n−1}\mathbb N\times\{0,\ldots,n-1\}N×{0,…,n−1}, the matrix

N~(R)(a,r),(b,t)=N ⁣((R(i,r),(j,t))i,j∈N)ab\widetilde N(R)_{(a,r),(b,t)} =N\!\left((R_{(i,r),(j,t)})_{i,j\in\mathbb N}\right)_{ab}N(R)(a,r),(b,t)​=N((R(i,r),(j,t)​)i,j∈N​)ab​

be a density matrix. This includes n=0n=0n=0, when there is no density matrix on the empty label set and that requirement is vacuous. Finally, for every real θ\thetaθ and every trace-class XXX, it requires

N(RθX)=Rθ(N(X)),(RθX)ij=e iθ(i−j)Xij.N(R_\theta X)=R_\theta(N(X)), \qquad (R_\theta X)_{ij}=e^{\,\mathrm i\theta(i-j)}X_{ij}.N(Rθ​X)=Rθ​(N(X)),(Rθ​X)ij​=eiθ(i−j)Xij​.

The linearity and rotation identities are required only on trace-class inputs.

QAlgorithms.Papers.Independent.Advance50.P32.SymmetricFinitePPTOptimum

For every natural number ccc and every complex matrix EEE indexed by pairs of one-coordinate natural-number strings, identify those strings with natural numbers and set Lc={0,…,c}2L_c=\{0,\ldots,c\}^2Lc​={0,…,c}2. This function is

sup⁡ORe⁡∑i=(a,b)∈Lca+b≤c∑j=(a′,b′)∈Lca′+b′≤cOijEji,\sup_O\operatorname{Re} \sum_{\substack{i=(a,b)\in L_c\\a+b\le c}} \sum_{\substack{j=(a',b')\in L_c\\a'+b'\le c}} O_{ij}E_{ji},Osup​Rei=(a,b)∈Lc​a+b≤c​∑​j=(a′,b′)∈Lc​a′+b′≤c​∑​Oij​Eji​,

where OOO, its partial transpose O(a,b),(a′,b′)Γ=O(a,b′),(a′,b)O^\Gamma_{(a,b),(a',b')}=O_{(a,b'),(a',b)}O(a,b),(a′,b′)Γ​=O(a,b′),(a′,b)​, and the residual matrix (δa,a′−∑k=0cO(a,k),(a′,k))a,a′\bigl(\delta_{a,a'}-\sum_{k=0}^{c}O_{(a,k),(a',k)}\bigr)_{a,a'}(δa,a′​−∑k=0c​O(a,k),(a′,k)​)a,a′​ must all be positive semidefinite, and additionally

a+b≠a′+b′ ⟹ O(a,b),(a′,b′)=0.a+b\ne a'+b'\ \Longrightarrow\ O_{(a,b),(a',b')}=0.a+b=a′+b′ ⟹ O(a,b),(a′,b′)​=0.

Positivity means that every finite quadratic form is real and nonnegative. The additional condition applies to every row and column in the entire square LcL_cLc​, including indices outside the triangle a+b≤ca+b\le ca+b≤c. There are no hypotheses on EEE, no maximizing matrix is asserted, and c=0c=0c=0 is included.

QAlgorithms.Papers.Independent.Advance50.P32.WeylMultiplier

For every natural number nnn, an arbitrary map TTT on complex matrices indexed by Ln=N{0,…,n−1}L_n=\mathbb N^{\{0,\ldots,n-1\}}Ln​=N{0,…,n−1}, and an arbitrary function f:(R2)n→Cf:(\mathbb R^2)^n\to\mathbb Cf:(R2)n→C, this predicate requires, for every ξ∈(R2)n\xi\in(\mathbb R^2)^nξ∈(R2)n and every nuclear matrix XXX,

∑i∑j(TX)ijWξ(j,i)=f(ξ)∑i∑jXijWξ(j,i).\sum_i\sum_j(TX)_{ij}W_\xi(j,i) =f(\xi)\sum_i\sum_jX_{ij}W_\xi(j,i).i∑​j∑​(TX)ij​Wξ​(j,i)=f(ξ)i∑​j∑​Xij​Wξ​(j,i).

A matrix is nuclear here when Xij=∑rur(i)vr(j)‾X_{ij}=\sum_r u_r(i)\overline{v_r(j)}Xij​=∑r​ur​(i)vr​(j)​ for ℓ2(Ln;C)\ell^2(L_n;\mathbb C)ℓ2(Ln​;C) vectors with summable products ∥ur∥∥vr∥\|u_r\|\|v_r\|∥ur​∥∥vr​∥. The entries in the pairing are

Wξ(i,j)=∏k<nD ⁣(−ξk,1+iξk,22)ikjk,D(z)uv=e−∣z∣2/2u! v!∑r=0min⁡(u,v)zu−r(−z‾)v−rr!(u−r)!(v−r)!.W_\xi(i,j)=\prod_{k<n}D\!\left(-\frac{\xi_{k,1}+i\xi_{k,2}}{\sqrt2}\right)_{i_kj_k}, \qquad D(z)_{uv}=e^{-|z|^2/2}\sqrt{u!\,v!} \sum_{r=0}^{\min(u,v)} \frac{z^{u-r}(-\overline z)^{v-r}}{r!(u-r)!(v-r)!}.Wξ​(i,j)=k<n∏​D(−2​ξk,1​+iξk,2​​)ik​jk​​,D(z)uv​=e−∣z∣2/2u!v!​r=0∑min(u,v)​r!(u−r)!(v−r)!zu−r(−z)v−r​.

All infinite sums use the total convention, giving 000 for nonsummable families. The predicate imposes no channel or linearity assumption on TTT and no regularity assumption on fff. The value n=0n=0n=0 is included: its spaces are singletons and WξW_\xiWξ​ has its sole entry equal to the empty product 111.

QAlgorithms.Papers.Independent.Advance50.P32.additiveNoise

Identify one-mode number labels with N\mathbb NN. For every real η\etaη and every complex matrix X=(Xmn)m,n≥0X=(X_{mn})_{m,n\ge0}X=(Xmn​)m,n≥0​, this defines Nη(X)=X\mathcal N_\eta(X)=XNη​(X)=X when η=0\eta=0η=0, and otherwise defines

Nη(X)mn=∫R2e−(x2+y2)/ηπη(∑a=0∞∑b=0∞D(z)maXabD(z)nb‾) dx dy,z=−x+iy2,\mathcal N_\eta(X)_{mn} =\int_{\mathbb R^2}\frac{e^{-(x^2+y^2)/\eta}}{\pi\eta} \left(\sum_{a=0}^{\infty}\sum_{b=0}^{\infty} D(z)_{ma}X_{ab}\overline{D(z)_{nb}}\right)\,dx\,dy, \qquad z=-\frac{x+iy}{\sqrt2},Nη​(X)mn​=∫R2​πηe−(x2+y2)/η​(a=0∑∞​b=0∑∞​D(z)ma​Xab​D(z)nb​​)dxdy,z=−2​x+iy​,

where the displacement entries are

D(z)uv=e−∣z∣2/2u! v!∑r=0min⁡(u,v)zu−r(−z‾)v−rr! (u−r)! (v−r)!.D(z)_{uv}=e^{-|z|^2/2}\sqrt{u!\,v!} \sum_{r=0}^{\min(u,v)} \frac{z^{u-r}(-\overline z)^{v-r}}{r!\,(u-r)!\,(v-r)!}.D(z)uv​=e−∣z∣2/2u!v!​r=0∑min(u,v)​r!(u−r)!(v−r)!zu−r(−z)v−r​.

There is no hypothesis that η\etaη is nonnegative or that XXX is a density matrix. In particular, negative η\etaη is included in the integral branch. Infinite sums and integrals use their total conventions: a nonsummable family has sum 000, and a nonintegrable complex integrand has integral 000. The η=0\eta=0η=0 branch returns XXX directly.

QAlgorithms.Papers.Independent.Advance50.P32.averageBenchmark

For arbitrary s∈Rs\in\mathbb Rs∈R, q:R2→Rq:\mathbb R^2\to\mathbb Rq:R2→R, and a map NNN on complex matrices indexed by singleton-indexed number labels, identify those labels with N\mathbb NN. For every label set LLL, write HL=ℓ2(L;C)H_L=\ell^2(L;\mathbb C)HL​=ℓ2(L;C), call XXX trace class when it has an expansion Xij=∑rur(i)vr(j)‾X_{ij}=\sum_r u_r(i)\overline{v_r(j)}Xij​=∑r​ur​(i)vr​(j)​ with ur,vr∈HLu_r,v_r\in H_Lur​,vr​∈HL​ and ∑r∥ur∥∥vr∥\sum_r\|u_r\|\|v_r\|∑r​∥ur​∥∥vr​∥ summable, and define

τ(X)=inf⁡(u,v)ofReal⁡ ⁣(∑r∥ur∥∥vr∥)∈[0,∞],\tau(X)=\inf_{(u,v)} \operatorname{ofReal}\!\left(\sum_r\|u_r\|\|v_r\|\right)\in[0,\infty],τ(X)=(u,v)inf​ofReal(r∑​∥ur​∥∥vr​∥)∈[0,∞],

where the infimum runs over all such expansions and is +∞+\infty+∞ if none exists, and ofReal⁡(x)=max⁡(x,0)\operatorname{ofReal}(x)=\max(x,0)ofReal(x)=max(x,0), regarded as an extended nonnegative real. Call XXX a density matrix when it is trace class, all its finite quadratic forms are real and nonnegative, and ∑iRe⁡Xii\sum_i\operatorname{Re}X_{ii}∑i​ReXii​ is summable with sum 111. The real number defined here is the supremum of the scores

∫R∫R2q(ξ)Re⁡∑i∑j[T(N(Ps,ξ,θ))]ijPs,ξ,θ(j,i) dξ dμrot(θ)\int_{\mathbb R}\int_{\mathbb R^2} q(\xi)\operatorname{Re}\sum_i\sum_j [T(N(P_{s,\xi,\theta}))]_{ij} P_{s,\xi,\theta}(j,i)\,d\xi\,d\mu_{\rm rot}(\theta)∫R​∫R2​q(ξ)Rei∑​j∑​[T(N(Ps,ξ,θ​))]ij​Ps,ξ,θ​(j,i)dξdμrot​(θ)

over all maps TTT satisfying the following requirements: TTT preserves trace-class matrices and is additive and complex homogeneous on them; for every n∈Nn\in\mathbb Nn∈N, its blockwise extension T~A(X)(a,r),(b,t)=T((X(i,r),(j,t))ij)ab\widetilde T_A(X)_{(a,r),(b,t)}=T((X_{(i,r),(j,t)})_{ij})_{ab}TA​(X)(a,r),(b,t)​=T((X(i,r),(j,t)​)ij​)ab​, with A={0,…,n−1}A=\{0,\ldots,n-1\}A={0,…,n−1}, sends every density matrix to a density matrix; and, for every countable label set AAA and every density matrix XXX on N×A\mathbb N\times AN×A, the output T~A(X)\widetilde T_A(X)TA​(X) has this approximation property: for every ε>0\varepsilon>0ε>0, there is a finite convex combination YYY of product matrices R⊗SR\otimes SR⊗S, with R,SR,SR,S density matrices on N,A\mathbb N,AN,A respectively and (R⊗S)(i,a),(j,b)=RijSab(R\otimes S)_{(i,a),(j,b)}=R_{ij}S_{ab}(R⊗S)(i,a),(j,b)​=Rij​Sab​, such that τ(T~A(X)−Y)<ofReal⁡(ε)\tau(\widetilde T_A(X)-Y)<\operatorname{ofReal}(\varepsilon)τ(TA​(X)−Y)<ofReal(ε). Empty ancillary label sets are included, but have no density matrices. In the score, μrot=(2π)−1Lebesgue ⁣↾[0,2π)\mu_{\rm rot}=(2\pi)^{-1}\mathrm{Lebesgue}\!\restriction_{[0,2\pi)}μrot​=(2π)−1Lebesgue↾[0,2π)​, and

Ps,ξ,θ(m,n)=e iθ(m−n)∑a∑b(Wξ)maaa(s)ab(s)(Wξ)nb‾,W(x,y)=D(−(x+iy)/2),P_{s,\xi,\theta}(m,n)=e^{\,\mathrm i\theta(m-n)} \sum_a\sum_b(W_\xi)_{ma}a_a(s)a_b(s)\overline{(W_\xi)_{nb}}, \quad W_{(x,y)}=D(-(x+\mathrm i y)/\sqrt2),Ps,ξ,θ​(m,n)=eiθ(m−n)a∑​b∑​(Wξ​)ma​aa​(s)ab​(s)(Wξ​)nb​​,W(x,y)​=D(−(x+iy)/2​),

where

a2r(s)=2s1+s(2r)!r!(s−12s+2)r,a2r+1(s)=0,D(z)mn=e−∣z∣2/2m!n!∑r=0min⁡(m,n)zm−r(−z‾)n−rr!(m−r)!(n−r)!.a_{2r}(s)=\sqrt{\frac{2\sqrt s}{1+s}}\frac{\sqrt{(2r)!}}{r!} \left(\frac{s-1}{2s+2}\right)^r,\quad a_{2r+1}(s)=0, \quad D(z)_{mn}=e^{-|z|^2/2}\sqrt{m!n!} \sum_{r=0}^{\min(m,n)} \frac{z^{m-r}(-\overline z)^{n-r}}{r!(m-r)!(n-r)!}.a2r​(s)=1+s2s​​​r!(2r)!​​(2s+2s−1​)r,a2r+1​(s)=0,D(z)mn​=e−∣z∣2/2m!n!​r=0∑min(m,n)​r!(m−r)!(n−r)!zm−r(−z)n−r​.

No density assumption on qqq, positivity assumption on sss, or channel assumption on NNN is required. The supremum is a real supremum, with value 000 if the score set is empty or unbounded above. The sums and integrals are total, with nonsummable complex series and nonintegrable real or complex functions assigned sum or integral 000; square roots and division use their total conventions, including division by zero equal to zero.

QAlgorithms.Papers.Independent.Advance50.P32.averageScore

For arbitrary s∈Rs\in\mathbb Rs∈R, q:R2→Rq:\mathbb R^2\to\mathbb Rq:R2→R, and maps N,TN,TN,T from complex matrices on singleton-indexed number labels to matrices on those labels, identify those labels with N\mathbb NN. Define real coefficients

ak(s)={2s1+s (2r)!r!(s−12s+2)r,k=2r,0,k odd,a_k(s)= \begin{cases} \displaystyle \sqrt{\frac{2\sqrt s}{1+s}}\, \frac{\sqrt{(2r)!}}{r!} \left(\frac{s-1}{2s+2}\right)^r,&k=2r,\\ 0,&k\text{ odd}, \end{cases}ak​(s)=⎩⎨⎧​1+s2s​​​r!(2r)!​​(2s+2s−1​)r,0,​k=2r,k odd,​

and, for z∈Cz\in\mathbb Cz∈C, define

D(z)mn=e−∣z∣2/2m! n!∑r=0min⁡(m,n)zm−r(−z‾)n−rr!(m−r)!(n−r)!.D(z)_{mn} =e^{-|z|^2/2}\sqrt{m!\,n!} \sum_{r=0}^{\min(m,n)} \frac{z^{m-r}(-\overline z)^{n-r}} {r!(m-r)!(n-r)!}.D(z)mn​=e−∣z∣2/2m!n!​r=0∑min(m,n)​r!(m−r)!(n−r)!zm−r(−z)n−r​.

For ξ=(x,y)\xi=(x,y)ξ=(x,y), put Wξ=D(−(x+iy)/2)W_\xi=D(-(x+\mathrm i y)/\sqrt2)Wξ​=D(−(x+iy)/2​) and define

Ps,ξ,θ(m,n)=e iθ(m−n)∑a=0∞∑b=0∞(Wξ)ma aa(s)ab(s) (Wξ)nb‾,B(X,Y)=Re⁡∑i=0∞∑j=0∞XijYji.P_{s,\xi,\theta}(m,n) =e^{\,\mathrm i\theta(m-n)} \sum_{a=0}^{\infty}\sum_{b=0}^{\infty} (W_\xi)_{ma}\,a_a(s)a_b(s)\, \overline{(W_\xi)_{nb}}, \qquad B(X,Y)=\operatorname{Re}\sum_{i=0}^{\infty}\sum_{j=0}^{\infty}X_{ij}Y_{ji}.Ps,ξ,θ​(m,n)=eiθ(m−n)a=0∑∞​b=0∑∞​(Wξ​)ma​aa​(s)ab​(s)(Wξ​)nb​​,B(X,Y)=Rei=0∑∞​j=0∑∞​Xij​Yji​.

Then the declared real number is

∫R[∫R2q(ξ) B ⁣(T(N(Ps,ξ,θ)),Ps,ξ,θ) dξ]dμrot(θ),μrot=12π Lebesgue ⁣↾[0,2π).\int_{\mathbb R}\left[ \int_{\mathbb R^2} q(\xi)\, B\!\left(T(N(P_{s,\xi,\theta})),P_{s,\xi,\theta}\right)\,d\xi \right]d\mu_{\rm rot}(\theta), \qquad \mu_{\rm rot}=\frac1{2\pi}\,\mathrm{Lebesgue}\!\restriction_{[0,2\pi)}.∫R​[∫R2​q(ξ)B(T(N(Ps,ξ,θ​)),Ps,ξ,θ​)dξ]dμrot​(θ),μrot​=2π1​Lebesgue↾[0,2π)​.

No positivity restriction on sss, density assumption on qqq, channel assumption on N,TN,TN,T, or summability or integrability hypothesis is imposed. These are total sums and integrals: a nonsummable complex series has total sum 000, and a nonintegrable real or complex function has total integral 000. Real square roots and division also retain their total-function conventions, including s=0\sqrt s=0s​=0 for s<0s<0s<0 and division by zero equal to zero; in particular the coefficients above vanish when s=0s=0s=0.

QAlgorithms.Papers.Independent.Advance50.P32.benchmarkChannel

For a Boolean bbb and an arbitrary map TTT from complex matrices on the one-mode number labels N\mathbb NN to such matrices, this predicate requires that TTT be a channel in the following specific sense. For any label set AAA, call a matrix XXX nuclear when there are sequences ur,vr∈ℓ2(A;C)u_r,v_r\in\ell^2(A;\mathbb C)ur​,vr​∈ℓ2(A;C) such that ∑r∥ur∥∥vr∥\sum_r\|u_r\|\|v_r\|∑r​∥ur​∥∥vr​∥ is summable and Xij=∑rur(i)vr(j)‾X_{ij}=\sum_r u_r(i)\overline{v_r(j)}Xij​=∑r​ur​(i)vr​(j)​ for all i,ji,ji,j; call it a density when it is nuclear, every finite quadratic form ∑i,j∈Fzi‾Xijzj\sum_{i,j\in F}\overline{z_i}X_{ij}z_j∑i,j∈F​zi​​Xij​zj​ is real and nonnegative, its real diagonal entries are summable, and ∑iRe⁡Xii=1\sum_i\operatorname{Re}X_{ii}=1∑i​ReXii​=1. A channel preserves nuclear matrices, is additive on pairs of nuclear inputs and homogeneous under every complex scalar on nuclear inputs, and, for every natural rrr, its block action

(T^AX)(i,a),(j,c)=[T ⁣((X(k,a),(ℓ,c))k,ℓ)]ij(\widehat T_A X)_{(i,a),(j,c)} =\left[T\!\left((X_{(k,a),(\ell,c)})_{k,\ell}\right)\right]_{ij}(TA​X)(i,a),(j,c)​=[T((X(k,a),(ℓ,c)​)k,ℓ​)]ij​

maps every density on N×A\mathbb N\times AN×A to a density when A={0,…,r−1}A=\{0,\ldots,r-1\}A={0,…,r−1}. If bbb is true, the predicate additionally requires X↦T(XT)X\mapsto T(X^{\mathsf T})X↦T(XT) to be a channel by these same conditions. If bbb is false, it instead requires, for every countable label set AAA and every density XXX on N×A\mathbb N\times AN×A, that T^AX\widehat T_A XTA​X have the following approximation property: for every ϵ>0\epsilon>0ϵ>0, there is a finite convex combination Y=∑jwj(ρj⊗σj)Y=\sum_j w_j(\rho_j\otimes\sigma_j)Y=∑j​wj​(ρj​⊗σj​) of product densities, with wj≥0w_j\ge0wj​≥0, ∑jwj=1\sum_jw_j=1∑j​wj​=1, and (ρj⊗σj)(i,a),(k,c)=(ρj)ik(σj)ac(\rho_j\otimes\sigma_j)_{(i,a),(k,c)}=(\rho_j)_{ik}(\sigma_j)_{ac}(ρj​⊗σj​)(i,a),(k,c)​=(ρj​)ik​(σj​)ac​, such that τ(T^AX−Y)<ϵ\tau(\widehat T_A X-Y)<\epsilonτ(TA​X−Y)<ϵ. Here τ(Z)\tau(Z)τ(Z) is the infimum, over all nuclear expansions of ZZZ, of ∑r∥ur∥∥vr∥\sum_r\|u_r\|\|v_r\|∑r​∥ur​∥∥vr​∥, viewed in [0,∞][0,\infty][0,∞], and is ∞\infty∞ when no expansion exists. The finite ancillary test includes r=0r=0r=0, where there are no densities, and the countable ancillary condition likewise includes the empty set.

QAlgorithms.Papers.Independent.Advance50.P32.certifiedBound

For every natural number ccc and every complex matrix EEE indexed by pairs of one-coordinate natural-number strings, identify those strings with natural numbers. The function is

sup⁡O∈FcRe⁡∑i=(a,b),j=(a′,b′)∈{0,…,c}2a+b≤c, a′+b′≤cOijEji  +  1−Re⁡∑a+b≤cE(a,b),(a,b),\sup_{O\in\mathcal F_c} \operatorname{Re} \sum_{\substack{i=(a,b),\,j=(a',b')\in\{0,\ldots,c\}^2\\ a+b\le c,\ a'+b'\le c}} O_{ij}E_{ji} \;+\;1- \operatorname{Re}\sum_{a+b\le c}E_{(a,b),(a,b)},O∈Fc​sup​Rei=(a,b),j=(a′,b′)∈{0,…,c}2a+b≤c, a′+b′≤c​∑​Oij​Eji​+1−Rea+b≤c∑​E(a,b),(a,b)​,

where Fc\mathcal F_cFc​ consists of the matrices OOO for which OOO, O(a,b),(a′,b′)Γ=O(a,b′),(a′,b)O^\Gamma_{(a,b),(a',b')}=O_{(a,b'),(a',b)}O(a,b),(a′,b′)Γ​=O(a,b′),(a′,b)​, and (δa,a′−∑k=0cO(a,k),(a′,k))a,a′\bigl(\delta_{a,a'}-\sum_{k=0}^{c}O_{(a,k),(a',k)}\bigr)_{a,a'}(δa,a′​−∑k=0c​O(a,k),(a′,k)​)a,a′​ are positive semidefinite. Positivity means that every finite quadratic form is real and nonnegative. This defines a real number for arbitrary EEE, including at c=0c=0c=0; the definition itself asserts no inequality involving that number.

QAlgorithms.Papers.Independent.Advance50.P32.cjOutput

For any type III, any complex matrix OOO indexed by I×II\times II×I, and any complex matrix AAA indexed by III, this definition returns the matrix indexed by III with entries

(CO(A))kl=∑i∈I(∑j∈IAijO(j,k),(i,l))(k,l∈I).(C_O(A))_{kl}=\sum_{i\in I}\left(\sum_{j\in I}A_{ij}O_{(j,k),(i,l)}\right) \qquad(k,l\in I).(CO​(A))kl​=i∈I∑​​j∈I∑​Aij​O(j,k),(i,l)​​(k,l∈I).

The order of the two nested sums and the reversed placement of i,ji,ji,j in OOO are part of the definition. These are total infinite sums: a nonsummable inner or outer complex family has sum zero. No summability, boundedness, positivity, countability, or nonemptiness hypotheses are imposed.

QAlgorithms.Papers.Independent.Advance50.P32.ensembleOperator

For arbitrary s∈Rs\in\mathbb Rs∈R, q:R2→Rq:\mathbb R^2\to\mathbb Rq:R2→R, and a map NNN on complex matrices indexed by singleton-indexed number labels, identify each such label with its value in N\mathbb NN. Define

a2r(s)=2s1+s(2r)!r!(s−12s+2)r,a2r+1(s)=0,a_{2r}(s)=\sqrt{\frac{2\sqrt s}{1+s}}\frac{\sqrt{(2r)!}}{r!} \left(\frac{s-1}{2s+2}\right)^r,\qquad a_{2r+1}(s)=0,a2r​(s)=1+s2s​​​r!(2r)!​​(2s+2s−1​)r,a2r+1​(s)=0, D(z)mn=e−∣z∣2/2m!n!∑r=0min⁡(m,n)zm−r(−z‾)n−rr!(m−r)!(n−r)!,W(x,y)=D(−(x+iy)/2),D(z)_{mn}=e^{-|z|^2/2}\sqrt{m!n!} \sum_{r=0}^{\min(m,n)} \frac{z^{m-r}(-\overline z)^{n-r}}{r!(m-r)!(n-r)!}, \qquad W_{(x,y)}=D(-(x+\mathrm i y)/\sqrt2),D(z)mn​=e−∣z∣2/2m!n!​r=0∑min(m,n)​r!(m−r)!(n−r)!zm−r(−z)n−r​,W(x,y)​=D(−(x+iy)/2​),

and

Ps,ξ,θ(m,n)=e iθ(m−n)∑a∑b(Wξ)maaa(s)ab(s)(Wξ)nb‾.P_{s,\xi,\theta}(m,n)=e^{\,\mathrm i\theta(m-n)} \sum_a\sum_b(W_\xi)_{ma}a_a(s)a_b(s)\overline{(W_\xi)_{nb}}.Ps,ξ,θ​(m,n)=eiθ(m−n)a∑​b∑​(Wξ​)ma​aa​(s)ab​(s)(Wξ​)nb​​.

The declared matrix, indexed by pairs of number labels, has entries

E(m,r),(n,t)=∫R[∫R2q(ξ) [N(Ps,ξ,θ)]mnPs,ξ,θ(r,t) dξ]dμrot(θ),μrot=12πLebesgue ⁣↾[0,2π).E_{(m,r),(n,t)} =\int_{\mathbb R} \left[\int_{\mathbb R^2} q(\xi)\,[N(P_{s,\xi,\theta})]_{mn} P_{s,\xi,\theta}(r,t)\,d\xi\right]d\mu_{\rm rot}(\theta), \qquad \mu_{\rm rot}=\frac1{2\pi}\mathrm{Lebesgue}\!\restriction_{[0,2\pi)}.E(m,r),(n,t)​=∫R​[∫R2​q(ξ)[N(Ps,ξ,θ​)]mn​Ps,ξ,θ​(r,t)dξ]dμrot​(θ),μrot​=2π1​Lebesgue↾[0,2π)​.

The real weight q(ξ)q(\xi)q(ξ) is embedded in C\mathbb CC, and both integrals are complex-valued. There are no positivity, normalization, channel, summability, or integrability assumptions. Nonsummable complex series and nonintegrable complex functions receive total sum or integral 000; square roots and division are total, including division by zero equal to zero. The parameter s=0s=0s=0 is included and makes all the coefficients ak(s)a_k(s)ak​(s) zero.

QAlgorithms.Papers.Independent.Advance50.P32.finiteObjective

For every natural number ccc, every complex matrix EEE indexed by pairs of one-coordinate natural-number strings, and every complex matrix OOO indexed by Lc={0,…,c}2L_c=\{0,\ldots,c\}^2Lc​={0,…,c}2, identify a one-coordinate string with its sole natural-number value. The function is the real number

Re⁡∑0≤a,b≤ca+b≤c∑0≤a′,b′≤ca′+b′≤cO(a,b),(a′,b′) E(a′,b′),(a,b).\operatorname{Re} \sum_{\substack{0\le a,b\le c\\a+b\le c}} \sum_{\substack{0\le a',b'\le c\\a'+b'\le c}} O_{(a,b),(a',b')}\,E_{(a',b'),(a,b)}.Re0≤a,b≤ca+b≤c​∑​0≤a′,b′≤ca′+b′≤c​∑​O(a,b),(a′,b′)​E(a′,b′),(a,b)​.

The restrictions on the two total numbers arise because the triangular cut sets an entry of EEE to zero unless both its row and column total numbers are at most ccc. Neither matrix is assumed positive, normalized, or feasible. For c=0c=0c=0, the value is Re⁡(O(0,0),(0,0)E(0,0),(0,0))\operatorname{Re}(O_{(0,0),(0,0)}E_{(0,0),(0,0)})Re(O(0,0),(0,0)​E(0,0),(0,0)​).

QAlgorithms.Papers.Independent.Advance50.P32.finitePPTOptimum

For every natural number ccc and every complex matrix EEE indexed by pairs of one-coordinate natural-number strings, identify those strings with natural numbers and put Lc={0,…,c}2L_c=\{0,\ldots,c\}^2Lc​={0,…,c}2. This function is the real supremum

sup⁡ORe⁡∑i=(a,b)∈Lca+b≤c∑j=(a′,b′)∈Lca′+b′≤cOijEji,\sup_O\operatorname{Re} \sum_{\substack{i=(a,b)\in L_c\\a+b\le c}} \sum_{\substack{j=(a',b')\in L_c\\a'+b'\le c}} O_{ij}E_{ji},Osup​Rei=(a,b)∈Lc​a+b≤c​∑​j=(a′,b′)∈Lc​a′+b′≤c​∑​Oij​Eji​,

where the matrices OOO range over those for which OOO, the matrix O(a,b),(a′,b′)Γ=O(a,b′),(a′,b)O^\Gamma_{(a,b),(a',b')}=O_{(a,b'),(a',b)}O(a,b),(a′,b′)Γ​=O(a,b′),(a′,b)​, and the matrix

(δa,a′−∑k=0cO(a,k),(a′,k))a,a′=0c\left(\delta_{a,a'}-\sum_{k=0}^{c}O_{(a,k),(a',k)}\right)_{a,a'=0}^{c}(δa,a′​−k=0∑c​O(a,k),(a′,k)​)a,a′=0c​

are positive semidefinite. Each positivity condition means that every finite quadratic form has zero imaginary part and nonnegative real part. No condition is imposed on EEE, and the definition itself does not assert that a maximizing matrix exists. The cutoff c=0c=0c=0 is allowed.

QAlgorithms.Papers.Independent.Advance50.P32.fixedPhaseBenchmark

For a Boolean bbb and arbitrary real s,θs,\thetas,θ, this defines

sup⁡T∈Cb  inf⁡ξ∈R2Re⁡∑i∑j[T(Qs,ξ,θ)]ijQs,ξ,θ(j,i),\sup_{T\in\mathcal C_b}\; \inf_{\xi\in\mathbb R^2} \operatorname{Re}\sum_i\sum_j[T(Q_{s,\xi,\theta})]_{ij}Q_{s,\xi,\theta}(j,i),T∈Cb​sup​ξ∈R2inf​Rei∑​j∑​[T(Qs,ξ,θ​)]ij​Qs,ξ,θ​(j,i),

where number labels are identified with N\mathbb NN and

Qs,ξ,θ(i,j)=∑a∑bD(zξ)iaeiθ(a−b)as(a)as(b)D(zξ)jb‾,zξ=−ξ1+iξ22,Q_{s,\xi,\theta}(i,j)=\sum_a\sum_b D(z_\xi)_{ia}e^{i\theta(a-b)}a_s(a)a_s(b)\overline{D(z_\xi)_{jb}}, \quad z_\xi=-\frac{\xi_1+i\xi_2}{\sqrt2},Qs,ξ,θ​(i,j)=a∑​b∑​D(zξ​)ia​eiθ(a−b)as​(a)as​(b)D(zξ​)jb​​,zξ​=−2​ξ1​+iξ2​​, as(2r)=2s1+s(2r)!r!(s−12s+2)r,as(2r+1)=0,D(z)uv=e−∣z∣2/2u! v!∑r=0min⁡(u,v)zu−r(−z‾)v−rr!(u−r)!(v−r)!.a_s(2r)=\sqrt{\frac{2\sqrt s}{1+s}}\frac{\sqrt{(2r)!}}{r!} \left(\frac{s-1}{2s+2}\right)^r,\quad a_s(2r+1)=0,\qquad D(z)_{uv}=e^{-|z|^2/2}\sqrt{u!\,v!} \sum_{r=0}^{\min(u,v)} \frac{z^{u-r}(-\overline z)^{v-r}}{r!(u-r)!(v-r)!}.as​(2r)=1+s2s​​​r!(2r)!​​(2s+2s−1​)r,as​(2r+1)=0,D(z)uv​=e−∣z∣2/2u!v!​r=0∑min(u,v)​r!(u−r)!(v−r)!zu−r(−z)v−r​.

The admissible maps Cb\mathcal C_bCb​ are specified as follows. A matrix on a label set AAA is nuclear if it has coefficients Xij=∑rur(i)vr(j)‾X_{ij}=\sum_r u_r(i)\overline{v_r(j)}Xij​=∑r​ur​(i)vr​(j)​ for ℓ2(A;C)\ell^2(A;\mathbb C)ℓ2(A;C) vectors with summable ∥ur∥∥vr∥\|u_r\|\|v_r\|∥ur​∥∥vr​∥; τ(X)\tau(X)τ(X) is the infimum of these sums in [0,∞][0,\infty][0,∞], with value ∞\infty∞ if no expansion exists. A density is nuclear, has real nonnegative finite quadratic forms, and has summable real diagonal totaling 111. A channel preserves nuclear matrices, is additive and complex homogeneous on nuclear inputs, and its block action (T^AX)(i,a),(j,c)=[T((X(k,a),(ℓ,c))k,ℓ)]ij(\widehat T_A X)_{(i,a),(j,c)}=[T((X_{(k,a),(\ell,c)})_{k,\ell})]_{ij}(TA​X)(i,a),(j,c)​=[T((X(k,a),(ℓ,c)​)k,ℓ​)]ij​ preserves densities for every finite ancillary set AAA. A map TTT belongs to Cb\mathcal C_bCb​ when it is such a channel and additionally either bbb is true and T∘(⋅)TT\circ(\cdot)^{\mathsf T}T∘(⋅)T is such a channel, or bbb is false and, for every countable AAA and every density XXX on N×A\mathbb N\times AN×A, every ϵ>0\epsilon>0ϵ>0 admits a finite convex combination YYY of product densities with τ(T^AX−Y)<ϵ\tau(\widehat T_A X-Y)<\epsilonτ(TA​X−Y)<ϵ. Product densities have entries ρijσac\rho_{ij}\sigma_{ac}ρij​σac​. Empty ancillary sets are included and have no densities. The fixed θ\thetaθ is unrestricted, and sss need not be positive; all square roots, divisions, and infinite sums use their total conventions. The real supremum is 000 for an empty or unbounded-above set, and the real infimum is 000 for an unbounded-below set.

QAlgorithms.Papers.Independent.Advance50.P32.flatBenchmark

For a Boolean bbb and arbitrary real s,ηs,\etas,η, this defines the real supremum

sup⁡T∈Cb  inf⁡ξ∈R2,  0≤θ≤2πRe⁡∑i∑j[T(Nη(Qs,ξ,θ))]ijQs,ξ,θ(j,i).\sup_{T\in\mathcal C_b}\; \inf_{\xi\in\mathbb R^2,\;0\le\theta\le2\pi} \operatorname{Re}\sum_i\sum_j [T(\mathcal N_\eta(Q_{s,\xi,\theta}))]_{ij}Q_{s,\xi,\theta}(j,i).T∈Cb​sup​ξ∈R2,0≤θ≤2πinf​Rei∑​j∑​[T(Nη​(Qs,ξ,θ​))]ij​Qs,ξ,θ​(j,i).

Here all matrices use number labels N\mathbb NN; Qs,ξ,θ=CD(zξ)(Rs,θ)Q_{s,\xi,\theta}=C_{D(z_\xi)}(R_{s,\theta})Qs,ξ,θ​=CD(zξ​)​(Rs,θ​), where

CU(X)ij=∑a∑bUiaXabUjb‾,Rs,θ(a,b)=eiθ(a−b)as(a)as(b),zξ=−ξ1+iξ22,C_U(X)_{ij}=\sum_a\sum_b U_{ia}X_{ab}\overline{U_{jb}},\quad R_{s,\theta}(a,b)=e^{i\theta(a-b)}a_s(a)a_s(b),\quad z_\xi=-\frac{\xi_1+i\xi_2}{\sqrt2},CU​(X)ij​=a∑​b∑​Uia​Xab​Ujb​​,Rs,θ​(a,b)=eiθ(a−b)as​(a)as​(b),zξ​=−2​ξ1​+iξ2​​, as(2r)=2s1+s(2r)!r!(s−12s+2)r,as(2r+1)=0,D(z)uv=e−∣z∣2/2u! v!∑r=0min⁡(u,v)zu−r(−z‾)v−rr!(u−r)!(v−r)!.a_s(2r)=\sqrt{\frac{2\sqrt s}{1+s}}\frac{\sqrt{(2r)!}}{r!} \left(\frac{s-1}{2s+2}\right)^r,\quad a_s(2r+1)=0,\qquad D(z)_{uv}=e^{-|z|^2/2}\sqrt{u!\,v!} \sum_{r=0}^{\min(u,v)} \frac{z^{u-r}(-\overline z)^{v-r}}{r!(u-r)!(v-r)!}.as​(2r)=1+s2s​​​r!(2r)!​​(2s+2s−1​)r,as​(2r+1)=0,D(z)uv​=e−∣z∣2/2u!v!​r=0∑min(u,v)​r!(u−r)!(v−r)!zu−r(−z)v−r​.

The noise map is N0(X)=X\mathcal N_0(X)=XN0​(X)=X and Nη(X)ij=∫R2e−∣ξ∣2/ηCD(zξ)(X)ij/(πη) dξ\mathcal N_\eta(X)_{ij}=\int_{\mathbb R^2}e^{-|\xi|^2/\eta}C_{D(z_\xi)}(X)_{ij}/(\pi\eta)\,d\xiNη​(X)ij​=∫R2​e−∣ξ∣2/ηCD(zξ​)​(X)ij​/(πη)dξ for η≠0\eta\ne0η=0. To specify Cb\mathcal C_bCb​, on any label set call XXX nuclear if Xij=∑rur(i)vr(j)‾X_{ij}=\sum_r u_r(i)\overline{v_r(j)}Xij​=∑r​ur​(i)vr​(j)​ for ℓ2\ell^2ℓ2 vectors with summable ∥ur∥∥vr∥\|u_r\|\|v_r\|∥ur​∥∥vr​∥, and let τ(X)\tau(X)τ(X) be the extended nonnegative infimum of these sums, with empty infimum ∞\infty∞. A density is nuclear, has real nonnegative finite quadratic forms, and has summable real diagonal with sum 111. A channel preserves nuclear matrices, is additive and complex homogeneous on nuclear inputs, and its block action (T^AX)(i,a),(j,c)=[T((X(k,a),(ℓ,c))k,ℓ)]ij(\widehat T_A X)_{(i,a),(j,c)}=[T((X_{(k,a),(\ell,c)})_{k,\ell})]_{ij}(TA​X)(i,a),(j,c)​=[T((X(k,a),(ℓ,c)​)k,ℓ​)]ij​ preserves densities for every finite ancillary set AAA, including the empty set, whose density condition is vacuous. The class Cb\mathcal C_bCb​ consists of these channels TTT for which, when bbb is true, T∘(⋅)TT\circ(\cdot)^{\mathsf T}T∘(⋅)T is also a channel, and, when bbb is false, for every countable AAA and every density XXX on N×A\mathbb N\times AN×A, T^AX\widehat T_A XTA​X can, for each ϵ>0\epsilon>0ϵ>0, be approximated within τ\tauτ-distance strictly less than ϵ\epsilonϵ by a finite convex combination of product densities (ρ⊗σ)(i,a),(j,c)=ρijσac(\rho\otimes\sigma)_{(i,a),(j,c)}=\rho_{ij}\sigma_{ac}(ρ⊗σ)(i,a),(j,c)​=ρij​σac​. There are no restrictions on s,ηs,\etas,η; square roots and division use the total real conventions, and sums and integrals have value 000 when nonsummable or nonintegrable. The outer real supremum is 000 for an empty or unbounded-above set, and an inner real infimum is 000 for an unbounded-below set.

QAlgorithms.Papers.Independent.Advance50.P32.fockUnitaryConjugation

For any type III and any two complex arrays U,XU,XU,X indexed by I×II\times II×I, this defines another such array by

(CU(X))ij=∑a∈I(∑b∈IUiaXabUjb‾).\bigl(\mathcal C_U(X)\bigr)_{ij} =\sum_{a\in I}\left(\sum_{b\in I}U_{ia}X_{ab}\overline{U_{jb}}\right).(CU​(X))ij​=a∈I∑​(b∈I∑​Uia​Xab​Ujb​​).

Neither unitarity nor boundedness of UUU, nor any summability condition, is required. These are nested total infinite sums: a nonsummable inner series has value 000, and the outer sum likewise has value 000 if its resulting family is nonsummable.

QAlgorithms.Papers.Independent.Advance50.P32.gaussianPrior

For every real α\alphaα and every point ξ=(x,y)∈R2\xi=(x,y)\in\mathbb R^2ξ=(x,y)∈R2, this function is

qα(x,y)=απexp⁡ ⁣(−α(x2+y2)).q_\alpha(x,y)=\frac{\alpha}{\pi}\exp\!\bigl(-\alpha(x^2+y^2)\bigr).qα​(x,y)=πα​exp(−α(x2+y2)).

There is no positivity hypothesis on α\alphaα in this declaration. In particular, α=0\alpha=0α=0 gives the identically zero function, and α<0\alpha<0α<0 gives a strictly negative function everywhere; the definition alone does not assert that the function is a probability density.

QAlgorithms.Papers.Independent.Advance50.P32.heterodyne

Identify the one-mode number labels {0}→N\{0\}\to\mathbb N{0}→N with N\mathbb NN. For every complex matrix X=(Xmn)m,n≥0X=(X_{mn})_{m,n\ge0}X=(Xmn​)m,n≥0​, with no positivity, normalization, or summability assumption, this defines the matrix H(X)\mathcal H(X)H(X) entrywise by

H(X)mn=12π∫R2(∑a=0∞∑b=0∞XabQξ(b,a))Qξ(m,n) dξ,Qξ(m,n)=e−∣zξ∣2zξmzξ‾ nm! n!,zξ=−ξ1+iξ22.\mathcal H(X)_{mn}=\frac1{2\pi}\int_{\mathbb R^2} \left(\sum_{a=0}^{\infty}\sum_{b=0}^{\infty}X_{ab}Q_\xi(b,a)\right)Q_\xi(m,n)\,d\xi, \qquad Q_\xi(m,n)=e^{-|z_\xi|^2}\frac{z_\xi^m\overline{z_\xi}^{\,n}}{\sqrt{m!\,n!}}, \quad z_\xi=-\frac{\xi_1+i\xi_2}{\sqrt2}.H(X)mn​=2π1​∫R2​(a=0∑∞​b=0∑∞​Xab​Qξ​(b,a))Qξ​(m,n)dξ,Qξ​(m,n)=e−∣zξ​∣2m!n!​zξm​zξ​​n​,zξ​=−2​ξ1​+iξ2​​.

Here QξQ_\xiQξ​ is the matrix obtained by conjugating the vacuum matrix, whose only nonzero entry is its (0,0)(0,0)(0,0) entry 111, by the supplied displacement entries. The integral is with respect to Lebesgue measure on R2\mathbb R^2R2. Each infinite sum uses the total sum convention, giving 000 when its family is not summable, and each complex integral gives 000 when its integrand is not integrable; integrability and summability are not asserted by this definition.

QAlgorithms.Papers.Independent.Advance50.P32.heterodyneCoherentState

For every real pair ξ=(x,y)\xi=(x,y)ξ=(x,y), this defines a complex array on functions {0}→N\{0\}\to\mathbb N{0}→N, identified with occupation numbers m,r∈Nm,r\in\mathbb Nm,r∈N, by applying the nested-sum conjugation to the array whose only nonzero entry is its (0,0)(0,0)(0,0) entry 111. Explicitly, with z=−(x+iy)/2z=-(x+\mathrm i y)/\sqrt2z=−(x+iy)/2​, its entries are

Hξ(m,r)=(e−∣z∣2/2zmm!)(e−∣z∣2/2zrr!)‾=e−∣z∣2zmz‾ rm!r!.H_\xi(m,r) =\left(e^{-|z|^2/2}\frac{z^m}{\sqrt{m!}}\right) \overline{\left(e^{-|z|^2/2}\frac{z^r}{\sqrt{r!}}\right)} =e^{-|z|^2}\frac{z^m\overline z^{\,r}}{\sqrt{m!}\sqrt{r!}}.Hξ​(m,r)=(e−∣z∣2/2m!​zm​)(e−∣z∣2/2r!​zr​)​=e−∣z∣2m!​r!​zmzr​.

This is a definition of the array; it does not separately assert boundedness, positivity, or normalization. Zeroth powers equal 111, so at ξ=(0,0)\xi=(0,0)ξ=(0,0) the sole nonzero entry is again the (0,0)(0,0)(0,0) entry 111.

QAlgorithms.Papers.Independent.Advance50.P32.inputFirstEntries

For any type III, let H=ℓ2(I;C)H=\ell^2(I;\mathbb C)H=ℓ2(I;C), let eie_iei​ be its coordinate vector with value 111 at iii and 000 elsewhere, and let H⊗CH^\widehat{H\otimes_{\mathbb C}H}H⊗C​H​ be the completion of the complex tensor product. Given any bounded complex-linear operator OOO on this completed tensor product, the definition returns the complex matrix KKK indexed by I×II\times II×I whose entries are

K(i1,i2),(j1,j2)=⟨ei2⊗ei1,O(ej2⊗ej1)⟩,K_{(i_1,i_2),(j_1,j_2)} =\left\langle e_{i_2}\otimes e_{i_1}, O(e_{j_2}\otimes e_{j_1})\right\rangle,K(i1​,i2​),(j1​,j2​)​=⟨ei2​​⊗ei1​​,O(ej2​​⊗ej1​​)⟩,

with tensor vectors mapped into the completion and the complex inner product conjugate-linear in its first argument. Thus the second component of each matrix index supplies the first tensor factor. No countability or nonemptiness assumption is imposed on III; for empty III, the resulting matrix has no entries.

QAlgorithms.Papers.Independent.Advance50.P32.liftRectangular

For every natural number ccc, including c=0c=0c=0, and every pair i=(a,b)i=(a,b)i=(a,b) with 0≤a,b≤c0\le a,b\le c0≤a,b≤c, this function returns the pair of one-coordinate natural-number strings whose sole coordinates are aaa and bbb, respectively. Thus, identifying a function from the singleton set {0}\{0\}{0} to N\mathbb NN with its value at 000, the function sends (a,b)(a,b)(a,b) to (a,b)(a,b)(a,b); its codomain consists of pairs of such functions, rather than pairs of bounded indices.

QAlgorithms.Papers.Independent.Advance50.P32.measureBenchmark

For every real sss and every measure μ\muμ on R2\mathbb R^2R2, this definition assigns

Benchmark⁡(s,μ)=sup⁡T{12π∫[0,2π)(∫R2Re⁡∑m∑nT(Ps,ξ,θ)mn(Ps,ξ,θ)nm dμ(ξ))dθ},\operatorname{Benchmark}(s,\mu) =\sup_T\left\{ \frac1{2\pi}\int_{[0,2\pi)} \left(\int_{\mathbb R^2} \operatorname{Re}\sum_m\sum_n T(P_{s,\xi,\theta})_{mn}(P_{s,\xi,\theta})_{nm} \,d\mu(\xi)\right)d\theta\right\},Benchmark(s,μ)=Tsup​{2π1​∫[0,2π)​(∫R2​Rem∑​n∑​T(Ps,ξ,θ​)mn​(Ps,ξ,θ​)nm​dμ(ξ))dθ},

with TTT ranging over precisely the maps described below. One-mode number labels are identified with N\mathbb NN. The matrices in the score are

(Ps,ξ,θ)mn=eiθ(m−n)∑a∑b(Wξ)maas(a)as(b)(Wξ)nb‾,as(2r)=2s1+s(2r)!r!(s−12s+2)r,as(2r+1)=0,(P_{s,\xi,\theta})_{mn} =e^{i\theta(m-n)} \sum_a\sum_b(W_\xi)_{ma}a_s(a)a_s(b)\overline{(W_\xi)_{nb}}, \quad a_s(2r)= \sqrt{\frac{2\sqrt s}{1+s}}\frac{\sqrt{(2r)!}}{r!} \left(\frac{s-1}{2s+2}\right)^r, \quad a_s(2r+1)=0,(Ps,ξ,θ​)mn​=eiθ(m−n)a∑​b∑​(Wξ​)ma​as​(a)as​(b)(Wξ​)nb​​,as​(2r)=1+s2s​​​r!(2r)!​​(2s+2s−1​)r,as​(2r+1)=0,

where W(x,y)=D(−(x+iy)/2)W_{(x,y)}=D(-(x+iy)/\sqrt2)W(x,y)​=D(−(x+iy)/2​) and

D(z)mn=e−∣z∣2/2m! n!∑j=0min⁡(m,n)zm−j(−z‾)n−jj!(m−j)!(n−j)!.D(z)_{mn} =e^{-|z|^2/2}\sqrt{m!\,n!} \sum_{j=0}^{\min(m,n)} \frac{z^{m-j}(-\overline z)^{n-j}} {j!(m-j)!(n-j)!}.D(z)mn​=e−∣z∣2/2m!n!​j=0∑min(m,n)​j!(m−j)!(n−j)!zm−j(−z)n−j​.

For any label set LLL, a nuclear matrix is one admitting an expansion Xij=∑rur(i)vr(j)‾X_{ij}=\sum_r u_r(i)\overline{v_r(j)}Xij​=∑r​ur​(i)vr​(j)​ with ur,vr∈ℓ2(L;C)u_r,v_r\in\ell^2(L;\mathbb C)ur​,vr​∈ℓ2(L;C) and ∑r∥ur∥∥vr∥<∞\sum_r\|u_r\|\|v_r\|<\infty∑r​∥ur​∥∥vr​∥<∞; write νL(X)\nu_L(X)νL​(X) for the infimum of these sums, with value +∞+\infty+∞ if there is no expansion. A density matrix is a nuclear matrix whose finite quadratic forms are real and nonnegative and whose real diagonal entries are summable with sum one. Each admissible TTT must preserve nuclear matrices and be additive and complex homogeneous on them. For every r∈Nr\in\mathbb Nr∈N, its blockwise extension

(ATX)(i,a),(j,b)=T((X(k,a),(ℓ,b))k,ℓ)ij(\mathcal A_TX)_{(i,a),(j,b)} =T\bigl((X_{(k,a),(\ell,b)})_{k,\ell}\bigr)_{ij}(AT​X)(i,a),(j,b)​=T((X(k,a),(ℓ,b)​)k,ℓ​)ij​

must send density matrices on N×Fin⁡(r)\mathbb N\times\operatorname{Fin}(r)N×Fin(r) to density matrices. In addition, for every countable type AAA and every density matrix XXX on N×A\mathbb N\times AN×A, the matrix ATX\mathcal A_TXAT​X must satisfy: for every real ε>0\varepsilon>0ε>0, there is a finite convex combination YYY of product matrices ρ⊗σ\rho\otimes\sigmaρ⊗σ, where ρ\rhoρ and σ\sigmaσ are density matrices on N\mathbb NN and AAA, respectively, such that νN×A(ATX−Y)<ε\nu_{\mathbb N\times A}(\mathcal A_TX-Y)<\varepsilonνN×A​(AT​X−Y)<ε. Empty ancilla types are included, with no density matrices to test. No positivity restriction on sss, probability assumption on μ\muμ, integrability assumption, or attainment assertion is part of the definition. The real supremum operation returns zero for an empty set or a set unbounded above; the sums and integrals also use their total definitions.

QAlgorithms.Papers.Independent.Advance50.P32.measureScore

For any real sss, any measure μ\muμ on R2\mathbb R^2R2, and any map TTT from complex matrices indexed by one-mode number labels to matrices with the same indices, this definition assigns the real number

Score⁡(s,μ,T)=12π∫[0,2π)(∫R2Re⁡(∑m∑nT(Ps,ξ,θ)mn(Ps,ξ,θ)nm)dμ(ξ))dθ.\operatorname{Score}(s,\mu,T) =\frac1{2\pi}\int_{[0,2\pi)} \left(\int_{\mathbb R^2} \operatorname{Re}\left( \sum_m\sum_n T(P_{s,\xi,\theta})_{mn} (P_{s,\xi,\theta})_{nm} \right)d\mu(\xi)\right)d\theta.Score(s,μ,T)=2π1​∫[0,2π)​(∫R2​Re(m∑​n∑​T(Ps,ξ,θ​)mn​(Ps,ξ,θ​)nm​)dμ(ξ))dθ.

One-mode number labels are functions Fin⁡(1)→N\operatorname{Fin}(1)\to\mathbb NFin(1)→N, identified here with N\mathbb NN. The matrix inside this expression is obtained by first conjugating a specified seed by a displacement matrix and then rotating its entries:

(Ps,ξ,θ)mn=eiθ(m−n)∑a∑b(Wξ)maas(a)as(b)(Wξ)nb‾,(P_{s,\xi,\theta})_{mn} =e^{i\theta(m-n)} \sum_a\sum_b (W_\xi)_{ma}a_s(a)a_s(b) \overline{(W_\xi)_{nb}},(Ps,ξ,θ​)mn​=eiθ(m−n)a∑​b∑​(Wξ​)ma​as​(a)as​(b)(Wξ​)nb​​,

where

as(2r)=2s1+s (2r)!r!(s−12s+2)r,as(2r+1)=0,a_s(2r)= \sqrt{\frac{2\sqrt s}{1+s}}\, \frac{\sqrt{(2r)!}}{r!} \left(\frac{s-1}{2s+2}\right)^r, \qquad a_s(2r+1)=0,as​(2r)=1+s2s​​​r!(2r)!​​(2s+2s−1​)r,as​(2r+1)=0,

and, for ξ=(x,y)\xi=(x,y)ξ=(x,y), Wξ=D(−(x+iy)/2)W_\xi=D(-(x+iy)/\sqrt2)Wξ​=D(−(x+iy)/2​), with

D(z)mn=e−∣z∣2/2m! n!∑j=0min⁡(m,n)zm−j(−z‾)n−jj!(m−j)!(n−j)!.D(z)_{mn} =e^{-|z|^2/2}\sqrt{m!\,n!} \sum_{j=0}^{\min(m,n)} \frac{z^{m-j}(-\overline z)^{n-j}} {j!(m-j)!(n-j)!}.D(z)mn​=e−∣z∣2/2m!n!​j=0∑min(m,n)​j!(m−j)!(n−j)!zm−j(−z)n−j​.

There is no assumption that s>0s>0s>0, that μ\muμ is finite or a probability measure, that TTT is linear or a channel, or that the displayed functions are integrable. Real square roots of negative arguments and division by zero have value zero; a nonsummable complex series has total sum zero, and a nonintegrable real integrand has total integral zero.

QAlgorithms.Papers.Independent.Advance50.P32.normalCJPair

For any type III, any complex matrix OOO indexed by I×II\times II×I, and any complex matrices A,BA,BA,B indexed by III, this definition is the complex number

∑k∈I∑l∈I(∑i∈I∑j∈IAijO(j,k),(i,l))Blk.\sum_{k\in I}\sum_{l\in I} \left(\sum_{i\in I}\sum_{j\in I}A_{ij}O_{(j,k),(i,l)}\right)B_{lk}.k∈I∑​l∈I∑​​i∈I∑​j∈I∑​Aij​O(j,k),(i,l)​​Blk​.

Each sum is nested in exactly the displayed order and uses the total complex summation operation, which returns zero for a nonsummable family. The definition imposes no convergence, boundedness, positivity, countability, or nonemptiness assumptions; if III is empty, its value is zero.

QAlgorithms.Papers.Independent.Advance50.P32.numberBlock

For any c∈Nc\in\mathbb Nc∈N, including c=0c=0c=0, and any complex matrix EEE whose row and column labels are pairs of functions {0}→N\{0\}\to\mathbb N{0}→N, this definition returns the matrix

(Ec)ij={Eij,i1(0)+i2(0)=c and j1(0)+j2(0)=c,0,otherwise.(E_c)_{ij}= \begin{cases} E_{ij},& i_1(0)+i_2(0)=c\ \text{and}\ j_1(0)+j_2(0)=c,\\ 0,&\text{otherwise}. \end{cases}(Ec​)ij​={Eij​,0,​i1​(0)+i2​(0)=c and j1​(0)+j2​(0)=c,otherwise.​

Thus both the row occupation sum and the column occupation sum must equal ccc; no condition on EEE is assumed.

QAlgorithms.Papers.Independent.Advance50.P32.oscillatorNumberConjugation

For every natural number nnn, every real number θ\thetaθ, and every complex array XXX indexed by occupation tuples i,j∈Nni,j\in\mathbb N^ni,j∈Nn, this defines the array

Rθ(X)(i,j)=exp⁡ ⁣(iθ[∑k=0n−1ik−∑k=0n−1jk])X(i,j).R_\theta(X)(i,j) =\exp\!\left(\mathrm i\theta \left[\sum_{k=0}^{n-1}i_k-\sum_{k=0}^{n-1}j_k\right]\right)X(i,j).Rθ​(X)(i,j)=exp(iθ[k=0∑n−1​ik​−k=0∑n−1​jk​])X(i,j).

The two occupation totals are first formed as natural numbers and then subtracted in C\mathbb CC, so this difference is not truncated natural-number subtraction. There are no boundedness or state assumptions on XXX. When n=0n=0n=0, both totals are zero and the array is unchanged.

QAlgorithms.Papers.Independent.Advance50.P32.oscillatorWeylEntries

For every natural number nnn and every tuple ξ=((xk,yk))k=0n−1\xi=((x_k,y_k))_{k=0}^{n-1}ξ=((xk​,yk​))k=0n−1​ of real pairs, this defines a complex array indexed by occupation tuples i,j∈Nni,j\in\mathbb N^ni,j∈Nn, with entries

Wξ(i,j)=∏k=0n−1Dik,jk(zk),zk=−xk+iyk2,W_\xi(i,j)=\prod_{k=0}^{n-1}D_{i_k,j_k}(z_k), \qquad z_k=-\frac{x_k+\mathrm i y_k}{\sqrt2},Wξ​(i,j)=k=0∏n−1​Dik​,jk​​(zk​),zk​=−2​xk​+iyk​​,

where the individual factors are explicitly

Dm,r(z)=e−∣z∣2/2m! r!∑h=0min⁡(m,r)zm−h(−z‾)r−hh! (m−h)! (r−h)!(m,r∈N).D_{m,r}(z) =e^{-|z|^2/2}\sqrt{m!\,r!} \sum_{h=0}^{\min(m,r)} \frac{z^{m-h}(-\overline z)^{r-h}} {h!\,(m-h)!\,(r-h)!} \qquad(m,r\in\mathbb N).Dm,r​(z)=e−∣z∣2/2m!r!​h=0∑min(m,r)​h!(m−h)!(r−h)!zm−h(−z)r−h​(m,r∈N).

The finite sum includes h=0h=0h=0, and zeroth powers are 111, including when their base is zero. For n=0n=0n=0, both occupation tuples are the unique empty tuple and the empty product gives the sole matrix entry 111.

QAlgorithms.Papers.Independent.Advance50.P32.pptOptimum

For any complex matrix EEE indexed by pairs of singleton-indexed number labels, identify those labels with N\mathbb NN. The definition is

sup⁡ORe⁡∑i∈N2∑j∈N2EijOji,\sup_O\operatorname{Re}\sum_{i\in\mathbb N^2}\sum_{j\in\mathbb N^2}E_{ij}O_{ji},Osup​Rei∈N2∑​j∈N2∑​Eij​Oji​,

where OOO ranges over matrices on N2\mathbb N^2N2 satisfying all of the following conditions: there exists a bounded complex-linear operator A:ℓ2(N2;C)→ℓ2(N2;C)A:\ell^2(\mathbb N^2;\mathbb C)\to\ell^2(\mathbb N^2;\mathbb C)A:ℓ2(N2;C)→ℓ2(N2;C) such that (Aej)i=Oij(Ae_j)_i=O_{ij}(Aej​)i​=Oij​ for all coordinate basis vectors eje_jej​; both OOO and the matrix

O(a,b),(c,d)Γ=O(a,d),(c,b)O^\Gamma_{(a,b),(c,d)}=O_{(a,d),(c,b)}O(a,b),(c,d)Γ​=O(a,d),(c,b)​

have real nonnegative finite quadratic forms, meaning that for either matrix KKK, every finite F⊆N2F\subseteq\mathbb N^2F⊆N2, and every z:N2→Cz:\mathbb N^2\to\mathbb Cz:N2→C, the number ∑i,j∈Fzi‾Kijzj\sum_{i,j\in F}\overline{z_i}K_{ij}z_j∑i,j∈F​zi​​Kij​zj​ is real and nonnegative; and, for every a,c∈Na,c\in\mathbb Na,c∈N, the family k↦O(a,k),(c,k)k\mapsto O_{(a,k),(c,k)}k↦O(a,k),(c,k)​ has convergent sum δac\delta_{ac}δac​. No positivity, density, or summability assumption is imposed on EEE. The objective uses nested total complex sums, with value 000 for a nonsummable series, and the real supremum is 000 if the defining set is empty or unbounded above.

QAlgorithms.Papers.Independent.Advance50.P32.priorOrbit

For every s,θ∈Rs,\theta\in\mathbb Rs,θ∈R and every real pair ξ=(x,y)\xi=(x,y)ξ=(x,y), this defines a complex array on the one-coordinate occupation labels, identified with N\mathbb NN, by

Ps,ξ,θ(m,r)=eiθ(m−r)∑a∈N(∑b∈NDm,a(z) as(a)as(b) Dr,b(z)‾),z=−x+iy2,P_{s,\xi,\theta}(m,r) =e^{\mathrm i\theta(m-r)} \sum_{a\in\mathbb N}\left(\sum_{b\in\mathbb N} D_{m,a}(z)\,a_s(a)a_s(b)\,\overline{D_{r,b}(z)}\right), \qquad z=-\frac{x+\mathrm i y}{\sqrt2},Ps,ξ,θ​(m,r)=eiθ(m−r)a∈N∑​(b∈N∑​Dm,a​(z)as​(a)as​(b)Dr,b​(z)​),z=−2​x+iy​,

where

Du,v(z)=e−∣z∣2/2u! v!∑h=0min⁡(u,v)zu−h(−z‾)v−hh! (u−h)! (v−h)!,as(2h)=2s1+s (2h)!h!(s−12s+2)h,as(2h+1)=0.D_{u,v}(z)=e^{-|z|^2/2}\sqrt{u!\,v!} \sum_{h=0}^{\min(u,v)} \frac{z^{u-h}(-\overline z)^{v-h}}{h!\,(u-h)!\,(v-h)!}, \qquad a_s(2h)=\sqrt{\frac{2\sqrt s}{1+s}}\, \frac{\sqrt{(2h)!}}{h!} \left(\frac{s-1}{2s+2}\right)^h, \quad a_s(2h+1)=0.Du,v​(z)=e−∣z∣2/2u!v!​h=0∑min(u,v)​h!(u−h)!(v−h)!zu−h(−z)v−h​,as​(2h)=1+s2s​​​h!(2h)!​​(2s+2s−1​)h,as​(2h+1)=0.

Here the phase factor multiplies the entries after the nested sums are formed, and m−rm-rm−r is an ordinary integer difference interpreted in the complex exponential. No positivity restriction on sss, state condition, normalization, or summability hypothesis is imposed. Square roots of negative reals and divisions by zero have value 000, zeroth powers have value 111, and a nonsummable infinite-sum family has sum 000.

QAlgorithms.Papers.Independent.Advance50.P32.retainedEnsembleProbability

For every natural number ccc and every complex matrix EEE indexed by pairs of one-coordinate natural-number strings, identify each such string with its value at 000. The function is

Re⁡∑a,b∈Na+b≤cE(a,b),(a,b).\operatorname{Re}\sum_{\substack{a,b\in\mathbb N\\a+b\le c}} E_{(a,b),(a,b)}.Rea,b∈Na+b≤c​∑​E(a,b),(a,b)​.

Equivalently, it sums the diagonal of the triangular cut over {0,…,c}2\{0,\ldots,c\}^2{0,…,c}2. No positivity, density, or normalization assumption is made on EEE, so the definition alone imposes no probability bounds on this real number. The case c=0c=0c=0 gives Re⁡E(0,0),(0,0)\operatorname{Re}E_{(0,0),(0,0)}ReE(0,0),(0,0)​.

QAlgorithms.Papers.Independent.Advance50.P32.separableOptimum

For any complex matrix EEE indexed by pairs of singleton-indexed number labels, identify those labels with N\mathbb NN, let H=ℓ2(N;C)H=\ell^2(\mathbb N;\mathbb C)H=ℓ2(N;C) with coordinate basis eke_kek​, and let H\mathcal HH be the completion of the algebraic tensor product H⊗CHH\otimes_{\mathbb C}HH⊗C​H, ordered as output factor followed by input factor. This definition is the real supremum

sup⁡ORe⁡∑i∈N2∑j∈N2EijOji,\sup_O\operatorname{Re}\sum_{i\in\mathbb N^2}\sum_{j\in\mathbb N^2}E_{ij}O_{ji},Osup​Rei∈N2∑​j∈N2∑​Eij​Oji​,

where admissible matrices OOO are exactly those for which there exists a bounded complex-linear operator O:H→H\mathcal O:\mathcal H\to\mathcal HO:H→H with

O(a,b),(c,d)=⟨eb⊗ea,O(ed⊗ec)⟩.O_{(a,b),(c,d)} =\langle e_b\otimes e_a,\mathcal O(e_d\otimes e_c)\rangle.O(a,b),(c,d)​=⟨eb​⊗ea​,O(ed​⊗ec​)⟩.

The operator O\mathcal OO must be positive in the explicit sense that ⟨x,Ox⟩\langle x,\mathcal O x\rangle⟨x,Ox⟩ is real and nonnegative for every x∈Hx\in\mathcal Hx∈H, and must satisfy, for every a,a′∈Ha,a'\in Ha,a′∈H, the convergent-sum identity

∑k⟨ek⊗a,O(ek⊗a′)⟩=⟨a,a′⟩.\sum_k\langle e_k\otimes a,\mathcal O(e_k\otimes a')\rangle=\langle a,a'\rangle.k∑​⟨ek​⊗a,O(ek​⊗a′)⟩=⟨a,a′⟩.

It must also satisfy this finite-test approximation condition: for every finite set of pairs (x,y)∈H×H(x,y)\in\mathcal H\times\mathcal H(x,y)∈H×H and every ε>0\varepsilon>0ε>0, there exists a bounded complex-linear operator F:H→HF:\mathcal H\to\mathcal HF:H→H such that

∣⟨x,Fy⟩−⟨x,Oy⟩∣<ε|\langle x,Fy\rangle-\langle x,\mathcal O y\rangle|<\varepsilon∣⟨x,Fy⟩−⟨x,Oy⟩∣<ε

for every selected pair, and there exist n∈Nn\in\mathbb Nn∈N and bounded operators Ri,Mi:H→HR_i,M_i:H\to HRi​,Mi​:H→H, 0≤i<n0\le i<n0≤i<n, for which every Ri,MiR_i,M_iRi​,Mi​ has real nonnegative quadratic forms, ∑kRe⁡⟨ek,Riek⟩\sum_k\operatorname{Re}\langle e_k,R_i e_k\rangle∑k​Re⟨ek​,Ri​ek​⟩ converges to 111, ∑i<nMi=IH\sum_{i<n}M_i=I_H∑i<n​Mi​=IH​, and

⟨b⊗a,F(b′⊗a′)⟩=∑i<n⟨b,Rib′⟩⟨a,Mia′⟩\langle b\otimes a,F(b'\otimes a')\rangle =\sum_{i<n}\langle b,R_i b'\rangle\langle a,M_i a'\rangle⟨b⊗a,F(b′⊗a′)⟩=i<n∑​⟨b,Ri​b′⟩⟨a,Mi​a′⟩

for all a,a′,b,b′∈Ha,a',b,b'\in Ha,a′,b,b′∈H. The finite decomposition allows n=0n=0n=0 syntactically, although its identity-sum requirement cannot then hold on this HHH. No positivity, normalization, or summability assumption is imposed on EEE. The objective uses nested total complex sums, assigned 000 when nonsummable; the real supremum is 000 if its defining set is empty or unbounded above.

QAlgorithms.Papers.Independent.Advance50.P32.squeezedAmplitude

For every real number sss and every natural number kkk, this defines a real number as(k)a_s(k)as​(k) by

as(2r)=2s1+s (2r)!r!(s−12s+2)r,as(2r+1)=0(r∈N).a_s(2r) =\sqrt{\frac{2\sqrt s}{1+s}}\, \frac{\sqrt{(2r)!}}{r!} \left(\frac{s-1}{2s+2}\right)^r, \qquad a_s(2r+1)=0 \quad(r\in\mathbb N).as​(2r)=1+s2s​​​r!(2r)!​​(2s+2s−1​)r,as​(2r+1)=0(r∈N).

There is no assumption that sss is positive. Real square roots of negative numbers are taken to be 000, division by zero has value 000, and zeroth powers have value 111, including 000^000; thus the definition also applies at s=0s=0s=0 and s=−1s=-1s=−1.

QAlgorithms.Papers.Independent.Advance50.P32.squeezedOrbit

For every s,θ∈Rs,\theta\in\mathbb Rs,θ∈R and every real pair ξ=(x,y)\xi=(x,y)ξ=(x,y), this defines a complex array on the one-coordinate occupation labels, identified with N\mathbb NN, by

Os,ξ,θ(m,r)=∑a∈N(∑b∈NDm,a(z) eiθ(a−b)as(a)as(b) Dr,b(z)‾),z=−x+iy2,O_{s,\xi,\theta}(m,r) =\sum_{a\in\mathbb N}\left(\sum_{b\in\mathbb N} D_{m,a}(z)\,e^{\mathrm i\theta(a-b)} a_s(a)a_s(b)\,\overline{D_{r,b}(z)}\right), \qquad z=-\frac{x+\mathrm i y}{\sqrt2},Os,ξ,θ​(m,r)=a∈N∑​(b∈N∑​Dm,a​(z)eiθ(a−b)as​(a)as​(b)Dr,b​(z)​),z=−2​x+iy​,

where

Du,v(z)=e−∣z∣2/2u! v!∑h=0min⁡(u,v)zu−h(−z‾)v−hh! (u−h)! (v−h)!,as(2h)=2s1+s (2h)!h!(s−12s+2)h,as(2h+1)=0.D_{u,v}(z)=e^{-|z|^2/2}\sqrt{u!\,v!} \sum_{h=0}^{\min(u,v)} \frac{z^{u-h}(-\overline z)^{v-h}}{h!\,(u-h)!\,(v-h)!}, \qquad a_s(2h)=\sqrt{\frac{2\sqrt s}{1+s}}\, \frac{\sqrt{(2h)!}}{h!} \left(\frac{s-1}{2s+2}\right)^h, \quad a_s(2h+1)=0.Du,v​(z)=e−∣z∣2/2u!v!​h=0∑min(u,v)​h!(u−h)!(v−h)!zu−h(−z)v−h​,as​(2h)=1+s2s​​​h!(2h)!​​(2s+2s−1​)h,as​(2h+1)=0.

Thus the phase factor acts on the seed entries before the nested sums involving DDD. All parameters are unrestricted; no state, normalization, or summability condition is asserted. Square roots of negative reals and divisions by zero have value 000, zeroth powers have value 111, and each infinite sum has value 000 if its family is nonsummable.

QAlgorithms.Papers.Independent.Advance50.P32.squeezedSeed

For every real number sss, this defines a complex array indexed by functions i,j:{0}→Ni,j:\{0\}\to\mathbb Ni,j:{0}→N, identified with their values m=i(0)m=i(0)m=i(0) and r=j(0)r=j(0)r=j(0), whose entries are

Ss(m,r)=as(m)as(r),S_s(m,r)=a_s(m)a_s(r),Ss​(m,r)=as​(m)as​(r),

where

as(2h)=2s1+s (2h)!h!(s−12s+2)h,as(2h+1)=0(h∈N).a_s(2h)= \sqrt{\frac{2\sqrt s}{1+s}}\, \frac{\sqrt{(2h)!}}{h!} \left(\frac{s-1}{2s+2}\right)^h, \qquad a_s(2h+1)=0 \quad(h\in\mathbb N).as​(2h)=1+s2s​​​h!(2h)!​​(2s+2s−1​)h,as​(2h+1)=0(h∈N).

The real amplitudes are regarded as complex numbers and multiplied directly. No positivity restriction on sss, normalization, or boundedness condition is included. Square roots of negative reals and divisions by zero have value 000, and zeroth powers have value 111.

QAlgorithms.Papers.Independent.Advance50.P32.totalNumber

For a pair i=(i1,i2)i=(i_1,i_2)i=(i1​,i2​), where each ir:{0}→Ni_r:\{0\}\to\mathbb Nir​:{0}→N is a singleton-indexed number label, this definition returns the natural number

i1(0)+i2(0).i_1(0)+i_2(0).i1​(0)+i2​(0).

Both occupations may be zero, so the total number may be zero.

QAlgorithms.Papers.Independent.Advance50.P32.triangularCut

For any c∈Nc\in\mathbb Nc∈N, including c=0c=0c=0, and any complex matrix EEE whose row and column labels are pairs of functions {0}→N\{0\}\to\mathbb N{0}→N, this definition returns

(E≤c)ij={Eij,i1(0)+i2(0)≤c and j1(0)+j2(0)≤c,0,otherwise.(E_{\le c})_{ij}= \begin{cases} E_{ij},& i_1(0)+i_2(0)\le c\ \text{and}\ j_1(0)+j_2(0)\le c,\\ 0,&\text{otherwise}. \end{cases}(E≤c​)ij​={Eij​,0,​i1​(0)+i2​(0)≤c and j1​(0)+j2​(0)≤c,otherwise.​

The two occupation sums need not equal each other. No positivity, boundedness, or normalization assumption on EEE is required.

QAlgorithms.Papers.Independent.Advance50.P32.unrotatedEnsemble

For arbitrary s∈Rs\in\mathbb Rs∈R, q:R2→Rq:\mathbb R^2\to\mathbb Rq:R2→R, and a map NNN on complex matrices indexed by singleton-indexed number labels, identify those labels with N\mathbb NN. Put

a2r(s)=2s1+s(2r)!r!(s−12s+2)r,a2r+1(s)=0,a_{2r}(s)=\sqrt{\frac{2\sqrt s}{1+s}}\frac{\sqrt{(2r)!}}{r!} \left(\frac{s-1}{2s+2}\right)^r,\qquad a_{2r+1}(s)=0,a2r​(s)=1+s2s​​​r!(2r)!​​(2s+2s−1​)r,a2r+1​(s)=0, D(z)mn=e−∣z∣2/2m!n!∑r=0min⁡(m,n)zm−r(−z‾)n−rr!(m−r)!(n−r)!,W(x,y)=D(−(x+iy)/2),D(z)_{mn}=e^{-|z|^2/2}\sqrt{m!n!} \sum_{r=0}^{\min(m,n)} \frac{z^{m-r}(-\overline z)^{n-r}}{r!(m-r)!(n-r)!}, \qquad W_{(x,y)}=D(-(x+\mathrm i y)/\sqrt2),D(z)mn​=e−∣z∣2/2m!n!​r=0∑min(m,n)​r!(m−r)!(n−r)!zm−r(−z)n−r​,W(x,y)​=D(−(x+iy)/2​),

and

Ps,ξ(m,n)=∑a∑b(Wξ)maaa(s)ab(s)(Wξ)nb‾.P_{s,\xi}(m,n)=\sum_a\sum_b (W_\xi)_{ma}a_a(s)a_b(s)\overline{(W_\xi)_{nb}}.Ps,ξ​(m,n)=a∑​b∑​(Wξ​)ma​aa​(s)ab​(s)(Wξ​)nb​​.

The declared matrix, indexed by pairs of number labels, is defined entrywise by the planar Lebesgue integral

E(m,r),(n,t)=∫R2q(ξ) [N(Ps,ξ)]mn Ps,ξ(r,t) dξ.E_{(m,r),(n,t)} =\int_{\mathbb R^2} q(\xi)\,[N(P_{s,\xi})]_{mn}\,P_{s,\xi}(r,t)\,d\xi.E(m,r),(n,t)​=∫R2​q(ξ)[N(Ps,ξ​)]mn​Ps,ξ​(r,t)dξ.

Here q(ξ)q(\xi)q(ξ) is embedded in C\mathbb CC. No restriction on sss, density assumption on qqq, channel assumption on NNN, or summability or integrability hypothesis is imposed. The sums and integral are total, so nonsummable complex series and nonintegrable complex functions yield 000; square roots and division likewise use their total conventions, including division by zero equal to zero. In particular s=0s=0s=0 is permitted and makes every ak(s)a_k(s)ak​(s) zero.

QAlgorithms.Papers.Independent.Advance50.P32.vacuumReplacement

For every complex matrix XXX indexed by one-mode number labels, which are functions Fin⁡(1)→N\operatorname{Fin}(1)\to\mathbb NFin(1)→N and can be identified with N\mathbb NN, this definition gives

vacuumReplacement⁡(X)mn={∑i=0∞Xii,m=n=0,0,otherwise.\operatorname{vacuumReplacement}(X)_{mn} =\begin{cases} \displaystyle\sum_{i=0}^{\infty}X_{ii},&m=n=0,\\ 0,&\text{otherwise}. \end{cases}vacuumReplacement(X)mn​=⎩⎨⎧​i=0∑∞​Xii​,0,​m=n=0,otherwise.​

Thus it multiplies the matrix having its sole nonzero entry V00=1V_{00}=1V00​=1 by the complex total sum of the diagonal entries of XXX. No positivity, normalization, boundedness, or summability assumption is imposed on XXX; if its complex diagonal series is not summable, that total sum is zero.

QAlgorithms.Papers.Independent.Advance50.P32.worstOverlap

For arbitrary real s,ηs,\etas,η and any map TTT on complex matrices indexed by N\mathbb NN, this defines

inf⁡ξ∈R2,  0≤θ≤2πRe⁡∑i=0∞∑j=0∞[T(Nη(Qs,ξ,θ))]ij(Qs,ξ,θ)ji.\inf_{\xi\in\mathbb R^2,\;0\le\theta\le2\pi} \operatorname{Re}\sum_{i=0}^{\infty}\sum_{j=0}^{\infty} \left[T\bigl(\mathcal N_\eta(Q_{s,\xi,\theta})\bigr)\right]_{ij} (Q_{s,\xi,\theta})_{ji}.ξ∈R2,0≤θ≤2πinf​Rei=0∑∞​j=0∑∞​[T(Nη​(Qs,ξ,θ​))]ij​(Qs,ξ,θ​)ji​.

The matrices appearing here are defined explicitly by

Qs,ξ,θ(i,j)=∑a∑bD(zξ)iaeiθ(a−b)as(a)as(b)D(zξ)jb‾,zξ=−ξ1+iξ22,Q_{s,\xi,\theta}(i,j)=\sum_a\sum_b D(z_\xi)_{ia}e^{i\theta(a-b)}a_s(a)a_s(b)\overline{D(z_\xi)_{jb}}, \quad z_\xi=-\frac{\xi_1+i\xi_2}{\sqrt2},Qs,ξ,θ​(i,j)=a∑​b∑​D(zξ​)ia​eiθ(a−b)as​(a)as​(b)D(zξ​)jb​​,zξ​=−2​ξ1​+iξ2​​, as(2r)=2s1+s (2r)!r!(s−12s+2)r,as(2r+1)=0,a_s(2r)=\sqrt{\frac{2\sqrt s}{1+s}}\, \frac{\sqrt{(2r)!}}{r!}\left(\frac{s-1}{2s+2}\right)^r, \qquad a_s(2r+1)=0,as​(2r)=1+s2s​​​r!(2r)!​​(2s+2s−1​)r,as​(2r+1)=0,

with

D(z)uv=e−∣z∣2/2u! v!∑r=0min⁡(u,v)zu−r(−z‾)v−rr! (u−r)! (v−r)!.D(z)_{uv}=e^{-|z|^2/2}\sqrt{u!\,v!} \sum_{r=0}^{\min(u,v)} \frac{z^{u-r}(-\overline z)^{v-r}}{r!\,(u-r)!\,(v-r)!}.D(z)uv​=e−∣z∣2/2u!v!​r=0∑min(u,v)​r!(u−r)!(v−r)!zu−r(−z)v−r​.

The noise map is N0(Y)=Y\mathcal N_0(Y)=YN0​(Y)=Y and, for η≠0\eta\ne0η=0,

Nη(Y)ij=∫R2e−(x2+y2)/ηπη∑a∑bD(z)iaYabD(z)jb‾ dx dy,z=−x+iy2.\mathcal N_\eta(Y)_{ij} =\int_{\mathbb R^2}\frac{e^{-(x^2+y^2)/\eta}}{\pi\eta} \sum_a\sum_b D(z)_{ia}Y_{ab}\overline{D(z)_{jb}}\,dx\,dy, \qquad z=-\frac{x+iy}{\sqrt2}.Nη​(Y)ij​=∫R2​πηe−(x2+y2)/η​a∑​b∑​D(z)ia​Yab​D(z)jb​​dxdy,z=−2​x+iy​.

No channel assumption on TTT or sign assumption on s,ηs,\etas,η is imposed. Real square roots of negative arguments and division by zero take the value 000; consequently the seed, and hence Qs,ξ,θQ_{s,\xi,\theta}Qs,ξ,θ​, is zero when s≤0s\le0s≤0. Infinite sums and complex integrals use the total value 000 when nonsummable or nonintegrable, respectively. The real infimum is 000 if the displayed set of scores is unbounded below.

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