Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Definitions for Security of coherent state quantum cryptography in the presence of Gaussian noise

Definition
QAlgorithms_Papers_Independent_Intake100_P53

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

prove2quantum

The objects the formalized statements of Security of coherent state quantum cryptography in the presence of Gaussian noise (arXiv:quant-ph/0608015) are stated in. Each was checked against the paper by a blind read-back and a moderator.

  • CoherentHeterodyneParameters: PDF pp.2--3: finite modulation, channel transmittivity, and excess noise.
  • priorDensity: PDF p.2, (2): planar modulation density.
  • circularGaussian: PDF pp.2--3: circular Gaussian measure with real-coordinate variance v.
  • modulation: PDF p.2, (2): actual modulation probability measure.
  • heterodyneDensity: PDF p.3, (5): heterodyne density relative to planar Lebesgue measure.
  • receivedState: PDF p.3: actual displaced thermal operator; accepted thermal a=1+delta has mean photon number (a-1)/2=delta/2. Realization is a theorem conclusion.
  • modulationOutcomeLaw: PDF p.3, (5): joint modulation/outcome law, with independent Gaussian heterodyne noise of coordinate variance (2+delta)/4.
  • rawBit: PDF p.2: false=0, true=1; the null real axis is assigned bit zero.
  • announcement: PDF p.2: both components (absolute real part, imaginary part) are public.
  • signedAmplitude: PDF p.4: the labelled preimages of an announcement on its half-plane.
  • announcementLaw: PDF pp.4--5: induced public law; neither imaginary coordinate is discarded.
  • signAnnouncementDensity: PDF p.4: joint sign/announcement density from the four preimages.
  • announcementDensity: PDF p.4: announcement density obtained by marginalizing the signs.
  • signKernel: PDF p.4: density disintegration, not singleton-event conditioning.
  • bitError: PDF p.4: actual bit-error probability before evaluating (12).
  • aliceAnnouncementDensity: PDF p.4, (6): Alice's announcement density on the half-plane.
  • bobAnnouncementDensity: PDF p.4, (9): Bob's conditional announcement density.
  • aliceMagnitudeDensity: PDF p.5, (17): the half-normal absolute-real prior.
  • bobMagnitudeDensity: PDF p.4, (16): the folded-normal absolute-real conditional density.
  • channelMutualInformation: PDF p.4, (14): mutual information in bits computed from the finite sign kernel, including its actual row and column marginals.
  • announcedMutualInformation: PDF pp.4--5: averaged conditional SIGN mutual information, not analog MI.
  • oscillatorVectorOfCoefficients: PDF pp.3,6: realize coefficients in the complete l2 register. Every physical use concludes realization and unit norm; zero fallback is not silently used to manufacture a state.
  • GaussianAttack: PDF pp.1--3: one pure isometry, fixed independently of the signal, repeated iid in the collective scenario. Eve keeps its entire supported environment. The receiver kernel is verified for every coherent input by complete tomography. Countable environment coordinates entail no energy cutoff: inaccessible unused ancillary directions may be removed. The source's incomplete finite-sample tomography step is not asserted as a theorem.
  • branchCoefficient: PDF pp.3,6: coherent-bra projection onto Bob. Omitting 1/sqrt(pi) makes the branch norm squared equal to pi times the heterodyne density.
  • eveBranch: PDF pp.3,6: physical unnormalized Eve branch.
  • eveVector: PDF pp.3,5: conditional pure vector; positive density justifies normalization.
  • eveSupport: PDF p.3: closed support of the full labelled conditional ensemble.
  • supportedVector: PDF p.3: physical vector in its supported space.
  • physicalDyad: PDF p.5: the actual four conditional pure projectors.
  • physicalMixture: PDF p.5, (18): Eve's state from the actual sign disintegration.
  • physicalDR: PDF p.5, (21): actual state conditioned on Alice's bit.
  • physicalRR: PDF p.5, (21): actual state conditioned on Bob's bit.
  • splitterCoefficient: PDF p.6, (28): bounded number-basis beam-splitter action. For c=sqrt(eta),s=sqrt(1-eta), b† maps to c b†+s e† and e† to -s b†+c e†. Only conserved-photon-number coefficients k≤m+n are used below.
  • clonerCoefficient: PDF p.6, (27)--(28): three-mode coefficients in order B,E1,E2. The minus sign is the source's S=exp[-xi e1†e2†+conj(xi)e2e1], xi=r exp(i gamma). All number subtraction is guarded by the conserved total photon number.
  • clonerVector: PDF p.6, (27): constructed vector on three complete oscillator spaces.
  • BinaryProductModel: PDF pp.6--8, (36)--(41): independent product algebra, p=|c0|²,q=|c+|². Nonnegative square-root representatives fix irrelevant basis phases. The lower bounds mean the source's real overlaps are nonnegative; no physical A,B is asserted.
  • factorVector: PDF p.7, (36)--(39): binary factor with either sign.
  • productDyad: PDF pp.6--7: tensor dyads in the fixed factor order (Alice,Bob).
  • productMixture: PDF p.5, (18): explicitly constructed product-model mixture.
  • productDR: PDF pp.7--8, (45): direct conditional state, constructed from dyads.
  • productRR: PDF p.8, (50): reverse conditional state in the same factor order. Constructing the dyads corrects (51)'s repeated |c+|² lower diagonal entry.
  • productHolevoDR: PDF p.5, (24): direct Holevo quantity with both conditional entropies.
  • productHolevoRR: PDF p.5, (25): reverse Holevo quantity with both conditional entropies.
  • blockRoot: PDF p.7, (43): roots of a two-dimensional block; plus root first.
  • mixtureSpectrum: PDF p.7, (43): all four eigenvalues with multiplicity.
  • conditionalSpectrum: PDF p.8, (48),(52): the two conditional eigenvalue candidates.
Definition code
import Mathlib
import Definitions.Def_QAlgorithms_Defs_Ensemble
import Definitions.Def_QAlgorithms_Papers_Independent_Dependency50_P39

/-!
Heid--Luetkenhaus, arXiv:quant-ph/0608015v4. Physical oscillator conditioning
and binary-product algebra are separate. No definition identifies the disputed
printed (35) with physical overlaps. Operational extraction is deferred;
a numerical integral is not defined to be an achievable secret-key rate.
-/

noncomputable section

namespace QAlgorithms.Papers.Independent.Intake100.P53

open MeasureTheory
open QAlgorithms.Papers.Independent.Dependency50.P39
open scoped ComplexConjugate Matrix

attribute [local instance] Classical.propDecidable

/-- PDF pp.2--3: finite modulation, channel transmittivity, and excess noise. -/
structure CoherentHeterodyneParameters where
  kappa : ℝ
  eta : ℝ
  delta : ℝ
  kappa_pos : 0 < kappa
  eta_pos : 0 < eta
  eta_le_one : eta ≤ 1
  delta_nonneg : 0 ≤ delta

/-- PDF p.2, (2): planar modulation density. -/
def priorDensity (P : CoherentHeterodyneParameters) (alpha : ℂ) : ℝ :=
  Real.exp (-Complex.normSq alpha / (2 * P.kappa)) / (2 * Real.pi * P.kappa)

/-- PDF pp.2--3: circular Gaussian measure with real-coordinate variance v. -/
def circularGaussian (v : NNReal) : Measure ℂ :=
  Measure.map (fun z : ℝ × ℝ => (z.1 : ℂ) + Complex.I * (z.2 : ℂ))
    ((ProbabilityTheory.gaussianReal 0 v).prod (ProbabilityTheory.gaussianReal 0 v))

/-- PDF p.2, (2): actual modulation probability measure. -/
def modulation (P : CoherentHeterodyneParameters) : Measure ℂ :=
  circularGaussian ⟨P.kappa, P.kappa_pos.le⟩

/-- PDF p.3, (5): heterodyne density relative to planar Lebesgue measure. -/
def heterodyneDensity (P : CoherentHeterodyneParameters) (alpha beta : ℂ) : ℝ :=
  2 / (Real.pi * (2 + P.delta)) *
    Real.exp (-2 * Complex.normSq (beta - (Real.sqrt P.eta : ℂ) * alpha) / (2 + P.delta))

/-- PDF p.3: actual displaced thermal operator; accepted thermal a=1+delta
has mean photon number (a-1)/2=delta/2. Realization is a theorem conclusion. -/
def receivedState (P : CoherentHeterodyneParameters) (alpha : ℂ) : FockOperator :=
  let D := displacement ((Real.sqrt P.eta : ℂ) * alpha)
  (D.comp (thermalDensity (1 + P.delta))).comp (ContinuousLinearMap.adjoint D)

/-- PDF p.3, (5): joint modulation/outcome law, with independent Gaussian
heterodyne noise of coordinate variance (2+delta)/4. -/
def modulationOutcomeLaw (P : CoherentHeterodyneParameters) : Measure (ℂ × ℂ) :=
  Measure.map (fun z : ℂ × ℂ => (z.1, (Real.sqrt P.eta : ℂ) * z.1 + z.2))
    ((modulation P).prod (circularGaussian
      ⟨(2 + P.delta) / 4, by linarith [P.delta_nonneg]⟩))

/-- PDF p.2: false=0, true=1; the null real axis is assigned bit zero. -/
def rawBit (alpha : ℂ) : Bool := decide (alpha.re < 0)

/-- PDF p.2: both components (absolute real part, imaginary part) are public. -/
def announcement (alpha : ℂ) : ℝ × ℝ := (|alpha.re|, alpha.im)

/-- PDF p.4: the labelled preimages of an announcement on its half-plane. -/
def signedAmplitude (a : ℝ × ℝ) (i : Bool) : ℂ :=
  ((if i then -a.1 else a.1) : ℝ) + Complex.I * (a.2 : ℂ)

/-- PDF pp.4--5: induced public law; neither imaginary coordinate is discarded. -/
def announcementLaw (P : CoherentHeterodyneParameters) : Measure ((ℝ × ℝ) × (ℝ × ℝ)) :=
  Measure.map (fun z : ℂ × ℂ => (announcement z.1, announcement z.2)) (modulationOutcomeLaw P)

/-- PDF p.4: joint sign/announcement density from the four preimages. -/
def signAnnouncementDensity (P : CoherentHeterodyneParameters) (a b : ℝ × ℝ) (i j : Bool) : ℝ :=
  priorDensity P (signedAmplitude a i) *
    heterodyneDensity P (signedAmplitude a i) (signedAmplitude b j)

/-- PDF p.4: announcement density obtained by marginalizing the signs. -/
def announcementDensity (P : CoherentHeterodyneParameters) (a b : ℝ × ℝ) : ℝ :=
  ∑ i : Bool, ∑ j : Bool, signAnnouncementDensity P a b i j

/-- PDF p.4: density disintegration, not singleton-event conditioning. -/
def signKernel (P : CoherentHeterodyneParameters) (a b : ℝ × ℝ) (i j : Bool) : ℝ :=
  signAnnouncementDensity P a b i j / announcementDensity P a b

/-- PDF p.4: actual bit-error probability before evaluating (12). -/
def bitError (P : CoherentHeterodyneParameters) (a b : ℝ × ℝ) : ℝ :=
  ∑ i : Bool, signKernel P a b i (!i)

/-- PDF p.4, (6): Alice's announcement density on the half-plane. -/
def aliceAnnouncementDensity (P : CoherentHeterodyneParameters) (a : ℝ × ℝ) : ℝ :=
  ∑ i : Bool, priorDensity P (signedAmplitude a i)

/-- PDF p.4, (9): Bob's conditional announcement density. -/
def bobAnnouncementDensity (P : CoherentHeterodyneParameters) (a b : ℝ × ℝ) : ℝ :=
  announcementDensity P a b / aliceAnnouncementDensity P a

/-- PDF p.5, (17): the half-normal absolute-real prior. -/
def aliceMagnitudeDensity (P : CoherentHeterodyneParameters) (u : ℝ) : ℝ :=
  Real.sqrt (2 / (Real.pi * P.kappa)) * Real.exp (-u ^ 2 / (2 * P.kappa))

/-- PDF p.4, (16): the folded-normal absolute-real conditional density. -/
def bobMagnitudeDensity (P : CoherentHeterodyneParameters) (u w : ℝ) : ℝ :=
  Real.sqrt (2 / (Real.pi * (2 + P.delta))) *
    (Real.exp (-2 * (w + Real.sqrt P.eta * u) ^ 2 / (2 + P.delta)) +
      Real.exp (-2 * (w - Real.sqrt P.eta * u) ^ 2 / (2 + P.delta)))

/-- PDF p.4, (14): mutual information in bits computed from the finite sign
kernel, including its actual row and column marginals. -/
def channelMutualInformation (P : CoherentHeterodyneParameters) (a b : ℝ × ℝ) : ℝ :=
  ∑ i : Bool, ∑ j : Bool,
    signKernel P a b i j * Real.logb 2
      (signKernel P a b i j /
        ((∑ k : Bool, signKernel P a b i k) * (∑ k : Bool, signKernel P a b k j)))

/-- PDF pp.4--5: averaged conditional SIGN mutual information, not analog MI. -/
def announcedMutualInformation (P : CoherentHeterodyneParameters) : ℝ :=
  ∫ z, channelMutualInformation P z.1 z.2 ∂announcementLaw P

/-- PDF pp.3,6: realize coefficients in the complete l2 register.
Every physical use concludes realization and unit norm; zero fallback is not
silently used to manufacture a state. -/
def oscillatorVectorOfCoefficients {I : Type} (c : I → ℂ) : QAlgorithms.RealRegisters.Hilbert I :=
  if h : ∃ v : QAlgorithms.RealRegisters.Hilbert I, ∀ i, v i = c i then
    Classical.choose h else 0

/-- PDF pp.1--3: one pure isometry, fixed independently of the signal, repeated
iid in the collective scenario. Eve keeps its entire supported environment.
The receiver kernel is verified for every coherent input by complete tomography.
Countable environment coordinates entail no energy cutoff: inaccessible unused
ancillary directions may be removed. The source's incomplete finite-sample
tomography step is not asserted as a theorem. -/
structure GaussianAttack (P : CoherentHeterodyneParameters) where
  interaction : Fock →ₗᵢ[ℂ] QAlgorithms.RealRegisters.Hilbert (ℕ × ℕ)
  receiver : ∀ (alpha : ℂ) (m n : ℕ),
    (∑' k : ℕ, interaction (coherentKet alpha) (m, k) *
      conj (interaction (coherentKet alpha) (n, k))) =
      receivedState P alpha (fockKet n) m

/-- PDF pp.3,6: coherent-bra projection onto Bob. Omitting 1/sqrt(pi)
makes the branch norm squared equal to pi times the heterodyne density. -/
def branchCoefficient {P : CoherentHeterodyneParameters} (V : GaussianAttack P)
    (alpha beta : ℂ) (k : ℕ) : ℂ :=
  ∑' n : ℕ, conj (coherentKet beta n) * V.interaction (coherentKet alpha) (n, k)

/-- PDF pp.3,6: physical unnormalized Eve branch. -/
def eveBranch {P : CoherentHeterodyneParameters} (V : GaussianAttack P) (alpha beta : ℂ) : Fock :=
  oscillatorVectorOfCoefficients (branchCoefficient V alpha beta)

/-- PDF pp.3,5: conditional pure vector; positive density justifies normalization. -/
def eveVector {P : CoherentHeterodyneParameters} (V : GaussianAttack P) (alpha beta : ℂ) : Fock :=
  (‖eveBranch V alpha beta‖⁻¹ : ℂ) • eveBranch V alpha beta

/-- PDF p.3: closed support of the full labelled conditional ensemble. -/
def eveSupport {P : CoherentHeterodyneParameters} (V : GaussianAttack P) : Submodule ℂ Fock :=
  (Submodule.span ℂ (Set.range (fun z : ℂ × ℂ => eveVector V z.1 z.2))).topologicalClosure

/-- PDF p.3: physical vector in its supported space. -/
def supportedVector {P : CoherentHeterodyneParameters} (V : GaussianAttack P) (alpha beta : ℂ) : eveSupport V :=
  ⟨eveVector V alpha beta,
    Submodule.le_topologicalClosure _ (Submodule.subset_span ⟨(alpha, beta), rfl⟩)⟩

/-- PDF p.5: the actual four conditional pure projectors. -/
def physicalDyad {P : CoherentHeterodyneParameters} (V : GaussianAttack P)
    (a b : ℝ × ℝ) (i j : Bool) : FockOperator :=
  let v := eveVector V (signedAmplitude a i) (signedAmplitude b j)
  InnerProductSpace.rankOne ℂ v v

/-- PDF p.5, (18): Eve's state from the actual sign disintegration. -/
def physicalMixture {P : CoherentHeterodyneParameters} (V : GaussianAttack P) (a b : ℝ × ℝ) : FockOperator :=
  ∑ i : Bool, ∑ j : Bool, (signKernel P a b i j : ℂ) • physicalDyad V a b i j

/-- PDF p.5, (21): actual state conditioned on Alice's bit. -/
def physicalDR {P : CoherentHeterodyneParameters} (V : GaussianAttack P)
    (a b : ℝ × ℝ) (i : Bool) : FockOperator :=
  ((∑ j : Bool, signKernel P a b i j)⁻¹ : ℂ) •
    ∑ j : Bool, (signKernel P a b i j : ℂ) • physicalDyad V a b i j

/-- PDF p.5, (21): actual state conditioned on Bob's bit. -/
def physicalRR {P : CoherentHeterodyneParameters} (V : GaussianAttack P)
    (a b : ℝ × ℝ) (j : Bool) : FockOperator :=
  ((∑ i : Bool, signKernel P a b i j)⁻¹ : ℂ) •
    ∑ i : Bool, (signKernel P a b i j : ℂ) • physicalDyad V a b i j

/-- PDF p.6, (28): bounded number-basis beam-splitter action.
For c=sqrt(eta),s=sqrt(1-eta), b† maps to c b†+s e† and e† to -s b†+c e†.
Only conserved-photon-number coefficients k≤m+n are used below. -/
def splitterCoefficient (eta : ℝ) (m n k : ℕ) : ℂ :=
  if k ≤ m + n then
    (Real.sqrt ((Nat.factorial k : ℝ) * (Nat.factorial (m + n - k) : ℝ) /
      ((Nat.factorial m : ℝ) * (Nat.factorial n : ℝ))) : ℂ) *
    ∑ j ∈ Finset.range (m + 1),
      if j ≤ k ∧ k - j ≤ n then
        (Nat.choose m j : ℂ) * (Nat.choose n (k - j) : ℂ) *
          (Real.sqrt eta : ℂ) ^ j * (Real.sqrt (1 - eta) : ℂ) ^ (m - j) *
          (-(Real.sqrt (1 - eta) : ℂ)) ^ (k - j) * (Real.sqrt eta : ℂ) ^ (n - (k - j))
      else 0
  else 0

/-- PDF p.6, (27)--(28): three-mode coefficients in order B,E1,E2.
The minus sign is the source's S=exp[-xi e1†e2†+conj(xi)e2e1], xi=r exp(i gamma).
All number subtraction is guarded by the conserved total photon number. -/
def clonerCoefficient (eta r gamma : ℝ) (alpha : ℂ) (z : ℕ × (ℕ × ℕ)) : ℂ :=
  let k := z.1
  let l := z.2.1
  let n := z.2.2
  if n ≤ k + l then
    coherentCoefficient alpha (k + l - n) *
      (-Complex.exp (Complex.I * (gamma : ℂ)) * (Real.tanh r : ℂ)) ^ n /
        (Real.cosh r : ℂ) * splitterCoefficient eta (k + l - n) n k
  else 0

/-- PDF p.6, (27): constructed vector on three complete oscillator spaces. -/
def clonerVector (eta r gamma : ℝ) (alpha : ℂ) :
    QAlgorithms.RealRegisters.Hilbert (ℕ × (ℕ × ℕ)) :=
  oscillatorVectorOfCoefficients (clonerCoefficient eta r gamma alpha)

/-- PDF pp.6--8, (36)--(41): independent product algebra, p=|c0|²,q=|c+|².
Nonnegative square-root representatives fix irrelevant basis phases. The lower
bounds mean the source's real overlaps are nonnegative; no physical A,B is asserted. -/
structure BinaryProductModel where
  p : ℝ
  q : ℝ
  e : ℝ
  p_lower : 1 / 2 ≤ p
  p_upper : p ≤ 1
  q_lower : 1 / 2 ≤ q
  q_upper : q ≤ 1
  e_lower : 0 ≤ e
  e_upper : e ≤ 1 / 2

/-- PDF p.7, (36)--(39): binary factor with either sign. -/
def factorVector (p : ℝ) (i : Bool) : EuclideanSpace ℂ Bool :=
  WithLp.toLp 2 fun k => if k then
    (if i then -(Real.sqrt (1 - p) : ℂ) else (Real.sqrt (1 - p) : ℂ))
  else (Real.sqrt p : ℂ)

/-- PDF pp.6--7: tensor dyads in the fixed factor order (Alice,Bob). -/
def productDyad (M : BinaryProductModel) (i j : Bool) : Matrix (Bool × Bool) (Bool × Bool) ℂ :=
  Matrix.kronecker (QAlgorithms.pureDensity (factorVector M.p i))
    (QAlgorithms.pureDensity (factorVector M.q j))

/-- PDF p.5, (18): explicitly constructed product-model mixture. -/
def productMixture (M : BinaryProductModel) : Matrix (Bool × Bool) (Bool × Bool) ℂ :=
  ((1 / 2 : ℝ) : ℂ) •
    (((1 - M.e : ℝ) : ℂ) • (productDyad M false false + productDyad M true true) +
      (M.e : ℂ) • (productDyad M false true + productDyad M true false))

/-- PDF pp.7--8, (45): direct conditional state, constructed from dyads. -/
def productDR (M : BinaryProductModel) (i : Bool) : Matrix (Bool × Bool) (Bool × Bool) ℂ :=
  ((1 - M.e : ℝ) : ℂ) • productDyad M i i + (M.e : ℂ) • productDyad M i (!i)

/-- PDF p.8, (50): reverse conditional state in the same factor order.
Constructing the dyads corrects (51)'s repeated |c+|² lower diagonal entry. -/
def productRR (M : BinaryProductModel) (j : Bool) : Matrix (Bool × Bool) (Bool × Bool) ℂ :=
  ((1 - M.e : ℝ) : ℂ) • productDyad M j j + (M.e : ℂ) • productDyad M (!j) j

/-- PDF p.5, (24): direct Holevo quantity with both conditional entropies. -/
def productHolevoDR (M : BinaryProductModel) : ℝ :=
  QAlgorithms.vnEntropy (productMixture M) -
    (QAlgorithms.vnEntropy (productDR M false) + QAlgorithms.vnEntropy (productDR M true)) / 2

/-- PDF p.5, (25): reverse Holevo quantity with both conditional entropies. -/
def productHolevoRR (M : BinaryProductModel) : ℝ :=
  QAlgorithms.vnEntropy (productMixture M) -
    (QAlgorithms.vnEntropy (productRR M false) + QAlgorithms.vnEntropy (productRR M true)) / 2

/-- PDF p.7, (43): roots of a two-dimensional block; plus root first. -/
def blockRoot (s d : ℝ) (k : Fin 2) : ℝ :=
  (s + (if k = 0 then 1 else -1) * Real.sqrt (s ^ 2 - d)) / 2

/-- PDF p.7, (43): all four eigenvalues with multiplicity. -/
def mixtureSpectrum (M : BinaryProductModel) : Fin 4 → ℝ :=
  let s := M.p * (1 - M.q) + (1 - M.p) * M.q
  let t := M.p * M.q + (1 - M.p) * (1 - M.q)
  let d := 16 * M.e * (1 - M.e) * M.p * (1 - M.p) * M.q * (1 - M.q)
  ![blockRoot s d 0, blockRoot s d 1, blockRoot t d 0, blockRoot t d 1]

/-- PDF p.8, (48),(52): the two conditional eigenvalue candidates. -/
def conditionalSpectrum (p e : ℝ) (k : Fin 2) : ℝ :=
  blockRoot 1 (16 * e * (1 - e) * p * (1 - p)) k

/-- Definition sanity: the heterodyne density at its center, PDF p.3, (5). -/

example (P : CoherentHeterodyneParameters) (alpha : ℂ) :
    heterodyneDensity P alpha ((Real.sqrt P.eta : ℂ) * alpha) = 2 / (Real.pi * (2 + P.delta)) := by
  simp [heterodyneDensity]

example (P : CoherentHeterodyneParameters) : priorDensity P 0 = 1 / (2 * Real.pi * P.kappa) := by
  simp [priorDensity]

example : oscillatorVectorOfCoefficients (fun _ : ℕ => (0 : ℂ)) = (0 : Fock) := by
  have h : ∃ v : Fock, ∀ n, v n = 0 := ⟨0, by simp⟩
  unfold oscillatorVectorOfCoefficients
  rw [dif_pos h]
  ext n
  exact Classical.choose_spec h n

example : rawBit (0 : ℂ) = false := by simp [rawBit]

example : announcement (0 : ℂ) = (0, 0) := by simp [announcement]

example (y : ℝ) : signedAmplitude (0, y) true = signedAmplitude (0, y) false := by
  simp [signedAmplitude]

example (P : CoherentHeterodyneParameters) : 0 < 2 + P.delta := by linarith [P.delta_nonneg]

example (P : CoherentHeterodyneParameters) (V : GaussianAttack P) (alpha beta : ℂ) :
    (supportedVector V alpha beta : Fock) = eveVector V alpha beta := rfl

example : splitterCoefficient (1 : ℝ) 0 0 0 = 1 := by simp [splitterCoefficient]

example (eta gamma : ℝ) : clonerCoefficient eta 0 gamma 0 (0, (0, 0)) = 1 := by
  simp [clonerCoefficient, coherentCoefficient, splitterCoefficient]

example : factorVector 1 false false = 1 := by simp [factorVector]

example : Nonempty CoherentHeterodyneParameters :=
  ⟨⟨1, 1, 0, by norm_num, by norm_num, by norm_num, by norm_num⟩⟩

example : Nonempty BinaryProductModel :=
  ⟨⟨1, 1, 0, by norm_num, by norm_num, by norm_num, by norm_num, by norm_num, by norm_num⟩⟩

example (p e : ℝ) : conditionalSpectrum p e 0 =
    (1 + Real.sqrt (1 - 16 * e * (1 - e) * p * (1 - p))) / 2 := by
  simp [conditionalSpectrum, blockRoot]

example (M : BinaryProductModel) : productDR M false =
    ((1 - M.e : ℝ) : ℂ) • productDyad M false false +
      (M.e : ℂ) • productDyad M false true := rfl

end QAlgorithms.Papers.Independent.Intake100.P53
Source
Security of coherent state quantum cryptography in the presence of Gaussian noise, arXiv:quant-ph/0608015v4, https://arxiv.org/abs/quant-ph/0608015v4
Read-back

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

QAlgorithms.Papers.Independent.Intake100.P53.BinaryProductModel

A value of this structure consists of three real numbers p,q,ep,q,ep,q,e, together with proofs of

12≤p≤1,12≤q≤1,0≤e≤12.\frac12\le p\le1,\qquad \frac12\le q\le1,\qquad 0\le e\le\frac12.21​≤p≤1,21​≤q≤1,0≤e≤21​.

Every endpoint is permitted; the structure imposes no further conditions or relations among the three numbers.

QAlgorithms.Papers.Independent.Intake100.P53.CoherentHeterodyneParameters

A parameter record consists of three real numbers κ,η,δ\kappa,\eta,\deltaκ,η,δ, together with proofs that κ>0\kappa>0κ>0, η>0\eta>0η>0, η≤1\eta\le 1η≤1, and δ≥0\delta\ge 0δ≥0. Thus η=1\eta=1η=1 and δ=0\delta=0δ=0 are allowed, while κ=0\kappa=0κ=0 and η=0\eta=0η=0 are excluded.

QAlgorithms.Papers.Independent.Intake100.P53.GaussianAttack

For parameters P=(κ,η,δ)P=(\kappa,\eta,\delta)P=(κ,η,δ) with κ>0\kappa>0κ>0, 0<η≤10<\eta\le10<η≤1, and δ≥0\delta\ge0δ≥0, this structure consists of a complex-linear norm-preserving map V:ℓ2(N;C)→ℓ2(N×N;C)V:\ell^2(\mathbb N;\mathbb C)\to\ell^2(\mathbb N\times\mathbb N;\mathbb C)V:ℓ2(N;C)→ℓ2(N×N;C), together with the following equality for every α∈C\alpha\in\mathbb Cα∈C and every m,n∈Nm,n\in\mathbb Nm,n∈N, including zero:

∑k=0∞(Vcα)(m,k) (Vcα)(n,k)‾=(Dη α Tδ Dη α∗en)m.\sum_{k=0}^{\infty} (Vc_\alpha)_{(m,k)}\, \overline{(Vc_\alpha)_{(n,k)}} = (D_{\sqrt\eta\,\alpha}\,T_\delta\,D_{\sqrt\eta\,\alpha}^{*}e_n)_m.k=0∑∞​(Vcα​)(m,k)​(Vcα​)(n,k)​​=(Dη​α​Tδ​Dη​α∗​en​)m​.

Here ene_nen​ is the sequence equal to 111 at nnn and 000 elsewhere, and cαc_\alphacα​ is a chosen square-summable vector with coordinates

(cα)r=e−∣α∣2/2αrr!(c_\alpha)_r= e^{-|\alpha|^2/2}\frac{\alpha^r}{\sqrt{r!}}(cα​)r​=e−∣α∣2/2r!​αr​

if such a vector exists, and is zero otherwise. The operator TδT_\deltaTδ​ is a chosen continuous complex-linear operator whose matrix entries are 22+δ(δ2+δ)n\frac{2}{2+\delta}(\frac{\delta}{2+\delta})^n2+δ2​(2+δδ​)n when m=nm=nm=n and zero otherwise, if such an operator exists, and is zero otherwise. Similarly, DzD_zDz​ is a chosen continuous complex-linear operator with entries

(Dzen)m=e−∣z∣2/2m! n!∑r=0min⁡(m,n)zm−r(−z‾)n−rr! (m−r)! (n−r)!(D_ze_n)_m= 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)!}(Dz​en​)m​=e−∣z∣2/2m!n!​r=0∑min(m,n)​r!(m−r)!(n−r)!zm−r(−z)n−r​

if an operator with those entries exists, and is zero otherwise; the star denotes the Hilbert-space adjoint. The infinite sum in the required equality is the total infinite sum, which is zero if its summands are not summable.

QAlgorithms.Papers.Independent.Intake100.P53.aliceAnnouncementDensity

For parameters P=(κ,η,δ)P=(\kappa,\eta,\delta)P=(κ,η,δ) with κ>0\kappa>0κ>0, 0<η≤10<\eta\le10<η≤1, and δ≥0\delta\ge0δ≥0, and every a=(a1,a2)∈R2a=(a_1,a_2)\in\mathbb R^2a=(a1​,a2​)∈R2, the definition assigns

∑i∈{false,true}exp⁡ ⁣(−∣(if i then −a1 else a1)+ia2∣2/(2κ))2πκ.\sum_{i\in\{\mathrm{false},\mathrm{true}\}} \frac{\exp\!\left(-|(\text{if }i\text{ then }-a_1\text{ else }a_1)+\mathrm i a_2|^2/(2\kappa)\right)} {2\pi\kappa}.i∈{false,true}∑​2πκexp(−∣(if i then −a1​ else a1​)+ia2​∣2/(2κ))​.

The parameters η,δ\eta,\deltaη,δ do not occur in this expression. The first coordinate a1a_1a1​ may be negative or zero; at zero, the two identical summands are both included.

QAlgorithms.Papers.Independent.Intake100.P53.aliceMagnitudeDensity

For parameters P=(κ,η,δ)P=(\kappa,\eta,\delta)P=(κ,η,δ) with κ>0\kappa>0κ>0, 0<η≤10<\eta\le10<η≤1, and δ≥0\delta\ge0δ≥0, and every real uuu, the definition assigns

2πκ exp⁡ ⁣(−u22κ).\sqrt{\frac{2}{\pi\kappa}}\, \exp\!\left(-\frac{u^2}{2\kappa}\right).πκ2​​exp(−2κu2​).

This formula applies also to negative uuu and to u=0u=0u=0; it contains no restriction to a nonnegative domain. The parameters η,δ\eta,\deltaη,δ do not occur in the expression.

QAlgorithms.Papers.Independent.Intake100.P53.announcedMutualInformation

For parameters P=(κ,η,δ)P=(\kappa,\eta,\delta)P=(κ,η,δ) with κ>0\kappa>0κ>0, 0<η≤10<\eta\le10<η≤1, and δ≥0\delta\ge0δ≥0, let A=X+iYA=X+\mathrm iYA=X+iY, where X,YX,YX,Y are independent real Gaussian variables of mean zero and variance κ\kappaκ; independently let Z=U+iVZ=U+\mathrm iVZ=U+iV, where U,VU,VU,V are independent real Gaussian variables of mean zero and variance (2+δ)/4(2+\delta)/4(2+δ)/4. Put B=η A+ZB=\sqrt\eta\,A+ZB=η​A+Z, and let ν\nuν be the distribution of ((∣Re⁡A∣,Im⁡A),(∣Re⁡B∣,Im⁡B))((|\operatorname{Re}A|,\operatorname{Im}A),(|\operatorname{Re}B|,\operatorname{Im}B))((∣ReA∣,ImA),(∣ReB∣,ImB)). For a,b∈R2a,b\in\mathbb R^2a,b∈R2, write zi(a)=(if i then −a1 else a1)+ia2z_i(a)=(\text{if }i\text{ then }-a_1\text{ else }a_1)+\mathrm i a_2zi​(a)=(if i then −a1​ else a1​)+ia2​, define

Wij(a,b)=exp⁡(−∣zi(a)∣2/(2κ))2πκ 2π(2+δ)exp⁡ ⁣(−2∣zj(b)−η zi(a)∣22+δ),qij(a,b)=Wij(a,b)∑r,sWrs(a,b).W_{ij}(a,b)= \frac{\exp(-|z_i(a)|^2/(2\kappa))}{2\pi\kappa}\, \frac{2}{\pi(2+\delta)} \exp\!\left(-\frac{2|z_j(b)-\sqrt\eta\,z_i(a)|^2}{2+\delta}\right), \qquad q_{ij}(a,b)=\frac{W_{ij}(a,b)}{\sum_{r,s}W_{rs}(a,b)}.Wij​(a,b)=2πκexp(−∣zi​(a)∣2/(2κ))​π(2+δ)2​exp(−2+δ2∣zj​(b)−η​zi​(a)∣2​),qij​(a,b)=∑r,s​Wrs​(a,b)Wij​(a,b)​.

The definition assigns

∫∑i,jqij(a,b)log⁡2 ⁣(qij(a,b)(∑rqir(a,b))(∑rqrj(a,b))) dν(a,b),\int \sum_{i,j}q_{ij}(a,b)\log_2\!\left( \frac{q_{ij}(a,b)} {(\sum_r q_{ir}(a,b))(\sum_r q_{rj}(a,b))} \right)\,d\nu(a,b),∫i,j∑​qij​(a,b)log2​((∑r​qir​(a,b))(∑r​qrj​(a,b))qij​(a,b)​)dν(a,b),

with all sum indices Boolean. No integrability hypothesis is part of this definition; the integral uses the total convention that a nonintegrable integrand has integral zero.

QAlgorithms.Papers.Independent.Intake100.P53.announcement

For every complex number α\alphaα, this defines the ordered pair of real numbers

(∣Re⁡α∣,Im⁡α).\bigl(|\operatorname{Re}\alpha|,\operatorname{Im}\alpha\bigr).(∣Reα∣,Imα).

The first coordinate is the absolute value of the real part, including 000 when the real part vanishes; the imaginary part is retained unchanged.

QAlgorithms.Papers.Independent.Intake100.P53.announcementDensity

For parameters P=(κ,η,δ)P=(\kappa,\eta,\delta)P=(κ,η,δ) with κ>0\kappa>0κ>0, 0<η≤10<\eta\le10<η≤1, and δ≥0\delta\ge0δ≥0, and arbitrary a,b∈R2a,b\in\mathbb R^2a,b∈R2, define zi(a)=(if i is true then −a1 else a1)+ia2z_i(a)=(\text{if }i\text{ is true then }-a_1\text{ else }a_1)+\mathrm i a_2zi​(a)=(if i is true then −a1​ else a1​)+ia2​ for each Boolean iii, and likewise zj(b)z_j(b)zj​(b). The definition assigns the real number

∑i∈{false,true}∑j∈{false,true}exp⁡ ⁣(−∣zi(a)∣2/(2κ))2πκ 2π(2+δ)exp⁡ ⁣(−2∣zj(b)−η zi(a)∣22+δ).\sum_{i\in\{\mathrm{false},\mathrm{true}\}} \sum_{j\in\{\mathrm{false},\mathrm{true}\}} \frac{\exp\!\left(-|z_i(a)|^2/(2\kappa)\right)}{2\pi\kappa}\, \frac{2}{\pi(2+\delta)} \exp\!\left(-\frac{2|z_j(b)-\sqrt\eta\,z_i(a)|^2}{2+\delta}\right).i∈{false,true}∑​j∈{false,true}∑​2πκexp(−∣zi​(a)∣2/(2κ))​π(2+δ)2​exp(−2+δ2∣zj​(b)−η​zi​(a)∣2​).

There is no restriction that a1a_1a1​ or b1b_1b1​ be nonnegative; all four Boolean pairs are counted, including when a zero first coordinate makes some signed amplitudes coincide.

QAlgorithms.Papers.Independent.Intake100.P53.announcementLaw

For any parameter record PPP, with κ>0\kappa>0κ>0, 0<η≤10<\eta\le 10<η≤1, and δ≥0\delta\ge 0δ≥0, this defines a measure on (R2)×(R2)(\mathbb R^2)\times(\mathbb R^2)(R2)×(R2) as the law of

((∣Re⁡A∣,Im⁡A),(∣Re⁡B∣,Im⁡B)),B=η A+Z.\left( \bigl(|\operatorname{Re}A|,\operatorname{Im}A\bigr), \bigl(|\operatorname{Re}B|,\operatorname{Im}B\bigr) \right), \qquad B=\sqrt{\eta}\,A+Z.((∣ReA∣,ImA),(∣ReB∣,ImB)),B=η​A+Z.

Here A=X+iYA=X+\mathrm iYA=X+iY and Z=U+iVZ=U+\mathrm iVZ=U+iV, where the four real variables are independent Gaussian variables with mean 000, X,YX,YX,Y each have variance κ\kappaκ, and U,VU,VU,V each have variance (2+δ)/4(2+\delta)/4(2+δ)/4. The measure is obtained by pushing the law of (A,B)(A,B)(A,B) forward under the displayed absolute-real-part and imaginary-part map.

QAlgorithms.Papers.Independent.Intake100.P53.bitError

For parameters P=(κ,η,δ)P=(\kappa,\eta,\delta)P=(κ,η,δ) with κ>0\kappa>0κ>0, 0<η≤10<\eta\le10<η≤1, and δ≥0\delta\ge0δ≥0, and arbitrary a,b∈R2a,b\in\mathbb R^2a,b∈R2, define zr(c)=(if r is true then −c1 else c1)+ic2z_r(c)=(\text{if }r\text{ is true then }-c_1\text{ else }c_1)+\mathrm i c_2zr​(c)=(if r is true then −c1​ else c1​)+ic2​ and

Wrs=exp⁡ ⁣(−∣zr(a)∣2/(2κ))2πκ 2π(2+δ)exp⁡ ⁣(−2∣zs(b)−η zr(a)∣22+δ).W_{rs}= \frac{\exp\!\left(-|z_r(a)|^2/(2\kappa)\right)}{2\pi\kappa}\, \frac{2}{\pi(2+\delta)} \exp\!\left(-\frac{2|z_s(b)-\sqrt\eta\,z_r(a)|^2}{2+\delta}\right).Wrs​=2πκexp(−∣zr​(a)∣2/(2κ))​π(2+δ)2​exp(−2+δ2∣zs​(b)−η​zr​(a)∣2​).

The definition assigns the sum of the two normalized weights with opposite Boolean indices,

Wfalse,true∑r,sWrs+Wtrue,false∑r,sWrs,\frac{W_{\mathrm{false},\mathrm{true}}}{\sum_{r,s}W_{rs}} + \frac{W_{\mathrm{true},\mathrm{false}}}{\sum_{r,s}W_{rs}},∑r,s​Wrs​Wfalse,true​​+∑r,s​Wrs​Wtrue,false​​,

where both denominator sums range over all four Boolean pairs and are positive. No nonnegativity restriction is imposed on a1,b1a_1,b_1a1​,b1​.

QAlgorithms.Papers.Independent.Intake100.P53.blockRoot

For every pair of real numbers s,ds,ds,d, without any sign or discriminant assumptions, and every index k∈{0,1}k\in\{0,1\}k∈{0,1}, this definition gives

blockRoot⁡(s,d,k)={s+s2−d2,k=0,s−s2−d2,k=1.\operatorname{blockRoot}(s,d,k)= \begin{cases} \dfrac{s+\sqrt{s^2-d}}2,&k=0,\\[4pt] \dfrac{s-\sqrt{s^2-d}}2,&k=1. \end{cases}blockRoot(s,d,k)=⎩⎨⎧​2s+s2−d​​,2s−s2−d​​,​k=0,k=1.​

Here the real square root is defined to be zero on negative inputs, so if s2−d<0s^2-d<0s2−d<0, both indexed values equal s/2s/2s/2.

QAlgorithms.Papers.Independent.Intake100.P53.bobAnnouncementDensity

For parameters P=(κ,η,δ)P=(\kappa,\eta,\delta)P=(κ,η,δ) with κ>0\kappa>0κ>0, 0<η≤10<\eta\le10<η≤1, and δ≥0\delta\ge0δ≥0, and arbitrary a,b∈R2a,b\in\mathbb R^2a,b∈R2, let zr(c)=(if r is true then −c1 else c1)+ic2z_r(c)=(\text{if }r\text{ is true then }-c_1\text{ else }c_1)+\mathrm i c_2zr​(c)=(if r is true then −c1​ else c1​)+ic2​. The definition assigns the real ratio

∑i,j∈{false,true}exp⁡(−∣zi(a)∣2/(2κ))2πκ 2π(2+δ)exp⁡ ⁣(−2∣zj(b)−η zi(a)∣22+δ)∑i∈{false,true}exp⁡(−∣zi(a)∣2/(2κ))2πκ.\frac{ \displaystyle\sum_{i,j\in\{\mathrm{false},\mathrm{true}\}} \frac{\exp(-|z_i(a)|^2/(2\kappa))}{2\pi\kappa}\, \frac{2}{\pi(2+\delta)} \exp\!\left(-\frac{2|z_j(b)-\sqrt\eta\,z_i(a)|^2}{2+\delta}\right) }{ \displaystyle\sum_{i\in\{\mathrm{false},\mathrm{true}\}} \frac{\exp(-|z_i(a)|^2/(2\kappa))}{2\pi\kappa} }.i∈{false,true}∑​2πκexp(−∣zi​(a)∣2/(2κ))​i,j∈{false,true}∑​2πκexp(−∣zi​(a)∣2/(2κ))​π(2+δ)2​exp(−2+δ2∣zj​(b)−η​zi​(a)∣2​)​.

The denominator is positive. There is no restriction on the signs of the coordinates, and coinciding signed amplitudes remain separate summands.

QAlgorithms.Papers.Independent.Intake100.P53.bobMagnitudeDensity

For parameters P=(κ,η,δ)P=(\kappa,\eta,\delta)P=(κ,η,δ) with κ>0\kappa>0κ>0, 0<η≤10<\eta\le10<η≤1, and δ≥0\delta\ge0δ≥0, and every pair of real numbers u,wu,wu,w, the definition assigns

2π(2+δ)[exp⁡ ⁣(−2(w+η u)22+δ)+exp⁡ ⁣(−2(w−η u)22+δ)].\sqrt{\frac{2}{\pi(2+\delta)}}\left[ \exp\!\left(-\frac{2(w+\sqrt\eta\,u)^2}{2+\delta}\right) + \exp\!\left(-\frac{2(w-\sqrt\eta\,u)^2}{2+\delta}\right) \right].π(2+δ)2​​[exp(−2+δ2(w+η​u)2​)+exp(−2+δ2(w−η​u)2​)].

Neither uuu nor www is required to be nonnegative, and both summands are retained when they coincide, including at u=0u=0u=0 or w=0w=0w=0. The parameter κ\kappaκ does not occur in the expression.

QAlgorithms.Papers.Independent.Intake100.P53.branchCoefficient

For parameters P=(κ,η,δ)P=(\kappa,\eta,\delta)P=(κ,η,δ) with κ>0\kappa>0κ>0, 0<η≤10<\eta\le10<η≤1, and δ≥0\delta\ge0δ≥0, an attack VVV, arbitrary α,β∈C\alpha,\beta\in\mathbb Cα,β∈C, and k∈Nk\in\mathbb Nk∈N, including k=0k=0k=0, the definition assigns

∑n=0∞(cβ)n‾ (Vcα)(n,k).\sum_{n=0}^{\infty}\overline{(c_\beta)_n}\,(Vc_\alpha)_{(n,k)}.n=0∑∞​(cβ​)n​​(Vcα​)(n,k)​.

Here cγ∈ℓ2(N;C)c_\gamma\in\ell^2(\mathbb N;\mathbb C)cγ​∈ℓ2(N;C) is a chosen vector with coordinates e−∣γ∣2/2γr/r!e^{-|\gamma|^2/2}\gamma^r/\sqrt{r!}e−∣γ∣2/2γr/r!​ for every rrr, if such a vector exists, and is zero otherwise. The attack supplies a complex-linear norm-preserving map V:ℓ2(N;C)→ℓ2(N×N;C)V:\ell^2(\mathbb N;\mathbb C)\to\ell^2(\mathbb N\times\mathbb N;\mathbb C)V:ℓ2(N;C)→ℓ2(N×N;C) satisfying, for every γ∈C\gamma\in\mathbb Cγ∈C and m,n∈Nm,n\in\mathbb Nm,n∈N,

∑r=0∞(Vcγ)(m,r)(Vcγ)(n,r)‾=(Dη γTδDη γ∗en)m.\sum_{r=0}^{\infty}(Vc_\gamma)_{(m,r)} \overline{(Vc_\gamma)_{(n,r)}} =(D_{\sqrt\eta\,\gamma}T_\delta D_{\sqrt\eta\,\gamma}^{*}e_n)_m.r=0∑∞​(Vcγ​)(m,r)​(Vcγ​)(n,r)​​=(Dη​γ​Tδ​Dη​γ∗​en​)m​.

In this condition ene_nen​ is the standard coordinate vector, TδT_\deltaTδ​ is a chosen continuous operator with diagonal entries 22+δ(δ2+δ)n\frac{2}{2+\delta}(\frac{\delta}{2+\delta})^n2+δ2​(2+δδ​)n and zero off-diagonal entries, and DzD_zDz​ is a chosen continuous operator with entries

(Dzen)m=e−∣z∣2/2m! n!∑r=0min⁡(m,n)zm−r(−z‾)n−rr! (m−r)! (n−r)!;(D_ze_n)_m= 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)!};(Dz​en​)m​=e−∣z∣2/2m!n!​r=0∑min(m,n)​r!(m−r)!(n−r)!zm−r(−z)n−r​;

each chosen operator is defined to be zero if no continuous operator with its specified entries exists, and the star denotes the adjoint. Both infinite sums use the total convention of returning zero for nonsummable families.

QAlgorithms.Papers.Independent.Intake100.P53.channelMutualInformation

For parameters P=(κ,η,δ)P=(\kappa,\eta,\delta)P=(κ,η,δ) with κ>0\kappa>0κ>0, 0<η≤10<\eta\le10<η≤1, and δ≥0\delta\ge0δ≥0, and arbitrary a,b∈R2a,b\in\mathbb R^2a,b∈R2, define zr(c)=(if r is true then −c1 else c1)+ic2z_r(c)=(\text{if }r\text{ is true then }-c_1\text{ else }c_1)+\mathrm i c_2zr​(c)=(if r is true then −c1​ else c1​)+ic2​, and, for Boolean i,ji,ji,j, set

Wij=exp⁡(−∣zi(a)∣2/(2κ))2πκ 2π(2+δ)exp⁡ ⁣(−2∣zj(b)−η zi(a)∣22+δ),qij=Wij∑r,sWrs.W_{ij}= \frac{\exp(-|z_i(a)|^2/(2\kappa))}{2\pi\kappa}\, \frac{2}{\pi(2+\delta)} \exp\!\left(-\frac{2|z_j(b)-\sqrt\eta\,z_i(a)|^2}{2+\delta}\right), \qquad q_{ij}=\frac{W_{ij}}{\sum_{r,s}W_{rs}}.Wij​=2πκexp(−∣zi​(a)∣2/(2κ))​π(2+δ)2​exp(−2+δ2∣zj​(b)−η​zi​(a)∣2​),qij​=∑r,s​Wrs​Wij​​.

The definition assigns

∑i,j∈{false,true}qijlog⁡2 ⁣(qij(∑rqir)(∑rqrj)),\sum_{i,j\in\{\mathrm{false},\mathrm{true}\}} q_{ij}\log_2\!\left( \frac{q_{ij}}{(\sum_r q_{ir})(\sum_r q_{rj})} \right),i,j∈{false,true}∑​qij​log2​((∑r​qir​)(∑r​qrj​)qij​​),

where every index in every sum ranges over the two Booleans. All weights and displayed denominators are positive under the parameter constraints. The first coordinates of a,ba,ba,b are unrestricted, and Boolean labels are still counted separately when their signed amplitudes coincide.

QAlgorithms.Papers.Independent.Intake100.P53.circularGaussian

For every nonnegative real number vvv, this defines a measure on C\mathbb CC by taking the product of two real Gaussian measures, each with mean 000 and variance vvv, and pushing that product measure forward under (x,y)↦x+iy(x,y)\mapsto x+\mathrm i y(x,y)↦x+iy. Equivalently, it is the law of X+iYX+\mathrm iYX+iY for independent real Gaussian variables X,YX,YX,Y with those parameters. The case v=0v=0v=0 is included and gives the point mass at 000.

QAlgorithms.Papers.Independent.Intake100.P53.clonerCoefficient

For arbitrary real numbers η,r,γ\eta,r,\gammaη,r,γ, arbitrary α∈C\alpha\in\mathbb Cα∈C, and z=(k,(l,n))∈N×(N×N)z=(k,(l,n))\in\mathbb N\times(\mathbb N\times\mathbb N)z=(k,(l,n))∈N×(N×N), this defines

Cη,r,γ,α(k,l,n)={e−∣α∣2/2αk+l−n(k+l−n)! (−eiγtanh⁡r)ncosh⁡r Sη(k+l−n,n;k),n≤k+l,0,n>k+l,C_{\eta,r,\gamma,\alpha}(k,l,n)= \begin{cases} \displaystyle e^{-|\alpha|^2/2} \frac{\alpha^{k+l-n}}{\sqrt{(k+l-n)!}}\, \frac{(-e^{\mathrm i\gamma}\tanh r)^n}{\cosh r}\, S_\eta(k+l-n,n;k), &n\le k+l,\\[6pt] 0,&n>k+l, \end{cases}Cη,r,γ,α​(k,l,n)=⎩⎨⎧​e−∣α∣2/2(k+l−n)!​αk+l−n​coshr(−eiγtanhr)n​Sη​(k+l−n,n;k),0,​n≤k+l,n>k+l,​

where, for natural numbers a,b,ca,b,ca,b,c,

Sη(a,b;c)={c!(a+b−c)!a!b!∑0≤j≤aj≤cc−j≤b(aj)(bc−j)(η)j(1−η)a−j(−1−η)c−j(η)b−(c−j),c≤a+b,0,c>a+b.S_\eta(a,b;c)= \begin{cases} \displaystyle \sqrt{\frac{c!(a+b-c)!}{a!b!}} \sum_{\substack{0\le j\le a\\j\le c\\c-j\le b}} \binom aj\binom b{c-j} (\sqrt\eta)^j (\sqrt{1-\eta})^{a-j} (-\sqrt{1-\eta})^{c-j} (\sqrt\eta)^{b-(c-j)}, &c\le a+b,\\[6pt] 0,&c>a+b. \end{cases}Sη​(a,b;c)=⎩⎨⎧​a!b!c!(a+b−c)!​​0≤j≤aj≤cc−j≤b​∑​(ja​)(c−jb​)(η​)j(1−η​)a−j(−1−η​)c−j(η​)b−(c−j),0,​c≤a+b,c>a+b.​

Real factors are embedded in C\mathbb CC. No positivity or interval restrictions are imposed on η,r,γ\eta,r,\gammaη,r,γ; real square root is zero for negative inputs. Zero indices and zero exponents are included, with 00=10^0=100=1. Natural-number subtraction truncates at zero, although the guards ensure nonnegative differences in contributing terms.

QAlgorithms.Papers.Independent.Intake100.P53.clonerVector

For arbitrary η,r,γ∈R\eta,r,\gamma\in\mathbb Rη,r,γ∈R and α∈C\alpha\in\mathbb Cα∈C, this defines a vector in ℓ2(N×(N×N);C)\ell^2(\mathbb N\times(\mathbb N\times\mathbb N);\mathbb C)ℓ2(N×(N×N);C) by choosing a vector with coordinates

C(k,l,n)={e−∣α∣2/2αk+l−n(k+l−n)! (−eiγtanh⁡r)ncosh⁡r Sη(k+l−n,n;k),n≤k+l,0,n>k+l,C(k,l,n)= \begin{cases} \displaystyle e^{-|\alpha|^2/2} \frac{\alpha^{k+l-n}}{\sqrt{(k+l-n)!}}\, \frac{(-e^{\mathrm i\gamma}\tanh r)^n}{\cosh r}\, S_\eta(k+l-n,n;k), &n\le k+l,\\[6pt] 0,&n>k+l, \end{cases}C(k,l,n)=⎩⎨⎧​e−∣α∣2/2(k+l−n)!​αk+l−n​coshr(−eiγtanhr)n​Sη​(k+l−n,n;k),0,​n≤k+l,n>k+l,​

if such a square-summable vector exists, and choosing the zero vector otherwise. Here

Sη(a,b;c)={c!(a+b−c)!a!b!∑0≤j≤aj≤cc−j≤b(aj)(bc−j)(η)j(1−η)a−j(−1−η)c−j(η)b−(c−j),c≤a+b,0,c>a+b.S_\eta(a,b;c)= \begin{cases} \displaystyle \sqrt{\frac{c!(a+b-c)!}{a!b!}} \sum_{\substack{0\le j\le a\\j\le c\\c-j\le b}} \binom aj\binom b{c-j} (\sqrt\eta)^j (\sqrt{1-\eta})^{a-j} (-\sqrt{1-\eta})^{c-j} (\sqrt\eta)^{b-(c-j)}, &c\le a+b,\\[6pt] 0,&c>a+b. \end{cases}Sη​(a,b;c)=⎩⎨⎧​a!b!c!(a+b−c)!​​0≤j≤aj≤cc−j≤b​∑​(ja​)(c−jb​)(η​)j(1−η​)a−j(−1−η​)c−j(η​)b−(c−j),0,​c≤a+b,c>a+b.​

All indices are natural numbers, real factors are embedded in C\mathbb CC, real square root is zero on negative inputs, and zero powers have value 111, including 000^000. This definition itself makes no existence or normalization assertion about the prescribed coordinates.

QAlgorithms.Papers.Independent.Intake100.P53.conditionalSpectrum

For arbitrary real numbers p,ep,ep,e, with no interval restrictions, and each index k∈{0,1}k\in\{0,1\}k∈{0,1}, this definition gives

conditionalSpectrum⁡(p,e,k)={1+1−16e(1−e)p(1−p)2,k=0,1−1−16e(1−e)p(1−p)2,k=1.\operatorname{conditionalSpectrum}(p,e,k)= \begin{cases} \dfrac{1+\sqrt{1-16e(1-e)p(1-p)}}2,&k=0,\\[4pt] \dfrac{1-\sqrt{1-16e(1-e)p(1-p)}}2,&k=1. \end{cases}conditionalSpectrum(p,e,k)=⎩⎨⎧​21+1−16e(1−e)p(1−p)​​,21−1−16e(1−e)p(1−p)​​,​k=0,k=1.​

The real square root is zero when its argument is negative, so both values are 1/21/21/2 in that case.

QAlgorithms.Papers.Independent.Intake100.P53.eveBranch

For parameters P=(κ,η,δ)P=(\kappa,\eta,\delta)P=(κ,η,δ) with κ>0\kappa>0κ>0, 0<η≤10<\eta\le10<η≤1, and δ≥0\delta\ge0δ≥0, let F=ℓ2(N;C)\mathcal F=\ell^2(\mathbb N;\mathbb C)F=ℓ2(N;C), with standard basis ene_nen​. Write cαc_\alphacα​ for the vector with coordinates e−∣α∣2/2αn/n!e^{-|\alpha|^2/2}\alpha^n/\sqrt{n!}e−∣α∣2/2αn/n!​ if such a vector belongs to F\mathcal FF, and for zero otherwise. A Gaussian attack VVV is a complex-linear isometry F→ℓ2(N2;C)\mathcal F\to\ell^2(\mathbb N^2;\mathbb C)F→ℓ2(N2;C) satisfying, for every α∈C\alpha\in\mathbb Cα∈C and m,n∈Nm,n\in\mathbb Nm,n∈N,

∑r=0∞(Vcα)m,r(Vcα)n,r‾=(Dη αTδDη α∗)mn.\sum_{r=0}^{\infty}(Vc_\alpha)_{m,r}\overline{(Vc_\alpha)_{n,r}} =(D_{\sqrt\eta\,\alpha}T_\delta D_{\sqrt\eta\,\alpha}^{*})_{mn}.r=0∑∞​(Vcα​)m,r​(Vcα​)n,r​​=(Dη​α​Tδ​Dη​α∗​)mn​.

Here TδT_\deltaTδ​ and DzD_zDz​ are bounded operators with respective prescribed entries

(Tδ)mn=1m=n22+δ(δ2+δ)n,(Dz)mn=e−∣z∣2/2m!n!∑r=0min⁡(m,n)zm−r(−z‾)n−rr!(m−r)!(n−r)!;(T_\delta)_{mn}=\mathbf1_{m=n}\frac{2}{2+\delta} \left(\frac{\delta}{2+\delta}\right)^n,\qquad (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)!};(Tδ​)mn​=1m=n​2+δ2​(2+δδ​)n,(Dz​)mn​=e−∣z∣2/2m!n!​r=0∑min(m,n)​r!(m−r)!(n−r)!zm−r(−z)n−r​;

each operator is chosen if its prescribed matrix is realized by a bounded operator, and is zero otherwise. For every α,β∈C\alpha,\beta\in\mathbb Cα,β∈C, the declaration defines the branch vector BV(α,β)B_V(\alpha,\beta)BV​(α,β) to be the vector in F\mathcal FF with coordinates

BV(α,β)k=∑n=0∞(cβ)n‾(Vcα)n,k,B_V(\alpha,\beta)_k =\sum_{n=0}^{\infty}\overline{(c_\beta)_n}(Vc_\alpha)_{n,k},BV​(α,β)k​=n=0∑∞​(cβ​)n​​(Vcα​)n,k​,

if a vector with all these coordinates exists, and zero otherwise. Each infinite scalar sum is the unconditional sum, assigned zero if its summands are not summable; no nonzero or normalization condition is imposed on the resulting branch vector.

QAlgorithms.Papers.Independent.Intake100.P53.eveSupport

For P=(κ,η,δ)P=(\kappa,\eta,\delta)P=(κ,η,δ) with κ>0\kappa>0κ>0, 0<η≤10<\eta\le10<η≤1, and δ≥0\delta\ge0δ≥0, let F=ℓ2(N;C)\mathcal F=\ell^2(\mathbb N;\mathbb C)F=ℓ2(N;C), and let cαc_\alphacα​ be the vector with coordinates e−∣α∣2/2αn/n!e^{-|\alpha|^2/2}\alpha^n/\sqrt{n!}e−∣α∣2/2αn/n!​, with zero used if no such ℓ2\ell^2ℓ2 vector exists. A Gaussian attack V:F→ℓ2(N2;C)V:\mathcal F\to\ell^2(\mathbb N^2;\mathbb C)V:F→ℓ2(N2;C) is a complex-linear isometry satisfying

∑r=0∞(Vcα)m,r(Vcα)n,r‾=(Dη αTδDη α∗)mn\sum_{r=0}^{\infty}(Vc_\alpha)_{m,r}\overline{(Vc_\alpha)_{n,r}} =(D_{\sqrt\eta\,\alpha}T_\delta D_{\sqrt\eta\,\alpha}^{*})_{mn}r=0∑∞​(Vcα​)m,r​(Vcα​)n,r​​=(Dη​α​Tδ​Dη​α∗​)mn​

for all α,m,n\alpha,m,nα,m,n. The operators on the right are chosen bounded realizations of

(Tδ)mn=1m=n22+δ(δ2+δ)n,(Dz)mn=e−∣z∣2/2m!n!∑r=0min⁡(m,n)zm−r(−z‾)n−rr!(m−r)!(n−r)!,(T_\delta)_{mn}=\mathbf1_{m=n}\frac{2}{2+\delta} \left(\frac{\delta}{2+\delta}\right)^n,\qquad (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)!},(Tδ​)mn​=1m=n​2+δ2​(2+δδ​)n,(Dz​)mn​=e−∣z∣2/2m!n!​r=0∑min(m,n)​r!(m−r)!(n−r)!zm−r(−z)n−r​,

and are zero if the corresponding realization does not exist. Define BV(α,β)B_V(\alpha,\beta)BV​(α,β) by coordinates ∑n=0∞(cβ)n‾(Vcα)n,k\sum_{n=0}^{\infty}\overline{(c_\beta)_n}(Vc_\alpha)_{n,k}∑n=0∞​(cβ​)n​​(Vcα​)n,k​, using zero for a nonsummable scalar series and using the zero vector if these coordinates have no ℓ2\ell^2ℓ2 realization, and put vV(α,β)=∥BV(α,β)∥−1BV(α,β)v_V(\alpha,\beta)=\|B_V(\alpha,\beta)\|^{-1}B_V(\alpha,\beta)vV​(α,β)=∥BV​(α,β)∥−1BV​(α,β), with 0−1=00^{-1}=00−1=0. The declaration defines the complex subspace

EV=span⁡C{vV(α,β):α,β∈C}‾,E_V=\overline{\operatorname{span}_{\mathbb C} \{v_V(\alpha,\beta):\alpha,\beta\in\mathbb C\}},EV​=spanC​{vV​(α,β):α,β∈C}​,

where the closure is in the norm topology of F\mathcal FF. The span consists of finite complex linear combinations, and zero branch vectors are included without exception.

QAlgorithms.Papers.Independent.Intake100.P53.eveVector

For parameters P=(κ,η,δ)P=(\kappa,\eta,\delta)P=(κ,η,δ) satisfying κ>0\kappa>0κ>0, 0<η≤10<\eta\le10<η≤1, and δ≥0\delta\ge0δ≥0, put F=ℓ2(N;C)\mathcal F=\ell^2(\mathbb N;\mathbb C)F=ℓ2(N;C). Let cαc_\alphacα​ have coordinates e−∣α∣2/2αn/n!e^{-|\alpha|^2/2}\alpha^n/\sqrt{n!}e−∣α∣2/2αn/n!​ when such a vector exists in F\mathcal FF, and be zero otherwise. The argument VVV is a complex-linear isometry into ℓ2(N2;C)\ell^2(\mathbb N^2;\mathbb C)ℓ2(N2;C) satisfying

∑r=0∞(Vcα)m,r(Vcα)n,r‾=(Dη αTδDη α∗)mn(α∈C, m,n∈N),\sum_{r=0}^{\infty}(Vc_\alpha)_{m,r}\overline{(Vc_\alpha)_{n,r}} =(D_{\sqrt\eta\,\alpha}T_\delta D_{\sqrt\eta\,\alpha}^{*})_{mn} \quad(\alpha\in\mathbb C,\ m,n\in\mathbb N),r=0∑∞​(Vcα​)m,r​(Vcα​)n,r​​=(Dη​α​Tδ​Dη​α∗​)mn​(α∈C, m,n∈N),

where TδT_\deltaTδ​ and DzD_zDz​ are the bounded operators prescribed by

(Tδ)mn=1m=n22+δ(δ2+δ)n,(Dz)mn=e−∣z∣2/2m!n!∑r=0min⁡(m,n)zm−r(−z‾)n−rr!(m−r)!(n−r)!,(T_\delta)_{mn}=\mathbf1_{m=n}\frac{2}{2+\delta} \left(\frac{\delta}{2+\delta}\right)^n,\qquad (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)!},(Tδ​)mn​=1m=n​2+δ2​(2+δδ​)n,(Dz​)mn​=e−∣z∣2/2m!n!​r=0∑min(m,n)​r!(m−r)!(n−r)!zm−r(−z)n−r​,

with zero substituted whenever no bounded realization exists. For arbitrary α,β∈C\alpha,\beta\in\mathbb Cα,β∈C, let BV(α,β)B_V(\alpha,\beta)BV​(α,β) be the vector with coordinates ∑n=0∞(cβ)n‾(Vcα)n,k\sum_{n=0}^{\infty}\overline{(c_\beta)_n}(Vc_\alpha)_{n,k}∑n=0∞​(cβ​)n​​(Vcα​)n,k​, or zero if these coordinates have no ℓ2\ell^2ℓ2 realization; nonsummable scalar series are assigned sum zero. The declaration defines

vV(α,β)=1∥BV(α,β)∥ BV(α,β).v_V(\alpha,\beta)=\frac{1}{\|B_V(\alpha,\beta)\|}\,B_V(\alpha,\beta).vV​(α,β)=∥BV​(α,β)∥1​BV​(α,β).

The inverse of zero is zero, so this vector is zero when the branch is zero; otherwise it has norm one.

QAlgorithms.Papers.Independent.Intake100.P53.factorVector

For every real number ppp, with no interval restriction, and every Boolean iii, this defines the vector fpi∈C{false,true}f_p^i\in\mathbb C^{\{\mathrm{false},\mathrm{true}\}}fpi​∈C{false,true} with the Euclidean norm and coordinates

fpi(false)=p,fpi(true)={−1−p,i=true,1−p,i=false.f_p^i(\mathrm{false})=\sqrt p,\qquad f_p^i(\mathrm{true})= \begin{cases} -\sqrt{1-p},&i=\mathrm{true},\\ \sqrt{1-p},&i=\mathrm{false}. \end{cases}fpi​(false)=p​,fpi​(true)={−1−p​,1−p​,​i=true,i=false.​

The square roots are real and then embedded in C\mathbb CC; a square root of a negative real is defined as zero. Thus the definition includes p<0p<0p<0, p>1p>1p>1, and the endpoints p=0,1p=0,1p=0,1, without asserting that the resulting vector has norm one for arbitrary ppp.

QAlgorithms.Papers.Independent.Intake100.P53.heterodyneDensity

For any parameter record PPP, with κ>0\kappa>0κ>0, 0<η≤10<\eta\le 10<η≤1, and δ≥0\delta\ge 0δ≥0, and any complex numbers α,β\alpha,\betaα,β, this defines the real number

2π(2+δ)exp⁡ ⁣(−2∣β−η α∣22+δ).\frac{2}{\pi(2+\delta)} \exp\!\left(-\frac{2|\beta-\sqrt{\eta}\,\alpha|^2}{2+\delta}\right).π(2+δ)2​exp(−2+δ2∣β−η​α∣2​).

Here η\sqrt{\eta}η​ is the nonnegative real square root, regarded as a complex scalar, and the squared modulus is the sum of the squares of the real and imaginary parts. The boundary cases η=1\eta=1η=1 and δ=0\delta=0δ=0 are included.

QAlgorithms.Papers.Independent.Intake100.P53.mixtureSpectrum

For a model MMM with real parameters p,q,ep,q,ep,q,e satisfying 12≤p≤1\tfrac12\le p\le121​≤p≤1, 12≤q≤1\tfrac12\le q\le121​≤q≤1, and 0≤e≤120\le e\le\tfrac120≤e≤21​, including all endpoints, put

s=p(1−q)+(1−p)q,t=pq+(1−p)(1−q),d=16e(1−e)p(1−p)q(1−q).s=p(1-q)+(1-p)q,\qquad t=pq+(1-p)(1-q),\qquad d=16e(1-e)p(1-p)q(1-q).s=p(1−q)+(1−p)q,t=pq+(1−p)(1−q),d=16e(1−e)p(1−p)q(1−q).

This definition assigns to the indices 0,1,2,30,1,2,30,1,2,3, respectively, the four real numbers

s+s2−d2,s−s2−d2,t+t2−d2,t−t2−d2.\frac{s+\sqrt{s^2-d}}2,\quad \frac{s-\sqrt{s^2-d}}2,\quad \frac{t+\sqrt{t^2-d}}2,\quad \frac{t-\sqrt{t^2-d}}2.2s+s2−d​​,2s−s2−d​​,2t+t2−d​​,2t−t2−d​​.

The square roots are real square roots, whose value on a negative input is zero; the definition does not require the four values to be distinct.

QAlgorithms.Papers.Independent.Intake100.P53.modulation

For any parameter record PPP, with κ>0\kappa>0κ>0, 0<η≤10<\eta\le 10<η≤1, and δ≥0\delta\ge 0δ≥0, this defines a measure on C\mathbb CC as the pushforward under (x,y)↦x+iy(x,y)\mapsto x+\mathrm i y(x,y)↦x+iy of the product of two real Gaussian measures, each having mean 000 and variance κ\kappaκ. Thus it is the law of X+iYX+\mathrm iYX+iY for independent X,Y∼N(0,κ)X,Y\sim N(0,\kappa)X,Y∼N(0,κ).

QAlgorithms.Papers.Independent.Intake100.P53.modulationOutcomeLaw

For any parameter record PPP, with κ>0\kappa>0κ>0, 0<η≤10<\eta\le 10<η≤1, and δ≥0\delta\ge 0δ≥0, this defines a measure on C×C\mathbb C\times\mathbb CC×C as the law of

(A,η A+Z),A=X+iY,Z=U+iV,(A,\sqrt{\eta}\,A+Z), \qquad A=X+\mathrm iY,\quad Z=U+\mathrm iV,(A,η​A+Z),A=X+iY,Z=U+iV,

where X,Y,U,VX,Y,U,VX,Y,U,V are independent real Gaussian variables with mean 000, X,YX,YX,Y each have variance κ\kappaκ, and U,VU,VU,V each have variance (2+δ)/4(2+\delta)/4(2+δ)/4. More precisely, it pushes the product of the laws of AAA and ZZZ forward under (a,z)↦(a,η a+z)(a,z)\mapsto(a,\sqrt{\eta}\,a+z)(a,z)↦(a,η​a+z). The cases η=1\eta=1η=1 and δ=0\delta=0δ=0 are included.

QAlgorithms.Papers.Independent.Intake100.P53.oscillatorVectorOfCoefficients

For every type III, with no finiteness or countability assumption, and every coefficient function c:I→Cc:I\to\mathbb Cc:I→C, this definition returns an element of ℓ2(I;C)\ell^2(I;\mathbb C)ℓ2(I;C), the space of square-summable complex families indexed by III. If there exists v∈ℓ2(I;C)v\in\ell^2(I;\mathbb C)v∈ℓ2(I;C) satisfying vi=civ_i=c_ivi​=ci​ for every i∈Ii\in Ii∈I, it returns a classically chosen such vector; otherwise it returns the zero vector. No normalization is required. For an empty index type, the coordinate condition is vacuous and the resulting vector is the unique zero vector.

QAlgorithms.Papers.Independent.Intake100.P53.physicalDR

For parameters P=(κ,η,δ)P=(\kappa,\eta,\delta)P=(κ,η,δ) satisfying κ>0\kappa>0κ>0, 0<η≤10<\eta\le10<η≤1, and δ≥0\delta\ge0δ≥0, let F=ℓ2(N;C)\mathcal F=\ell^2(\mathbb N;\mathbb C)F=ℓ2(N;C), and let cαc_\alphacα​ have coordinates e−∣α∣2/2αn/n!e^{-|\alpha|^2/2}\alpha^n/\sqrt{n!}e−∣α∣2/2αn/n!​, or be zero if no such vector exists. A Gaussian attack VVV is a complex-linear isometry F→ℓ2(N2;C)\mathcal F\to\ell^2(\mathbb N^2;\mathbb C)F→ℓ2(N2;C) satisfying

∑r=0∞(Vcα)m,r(Vcα)n,r‾=(Dη αTδDη α∗)mn\sum_{r=0}^{\infty}(Vc_\alpha)_{m,r}\overline{(Vc_\alpha)_{n,r}} =(D_{\sqrt\eta\,\alpha}T_\delta D_{\sqrt\eta\,\alpha}^{*})_{mn}r=0∑∞​(Vcα​)m,r​(Vcα​)n,r​​=(Dη​α​Tδ​Dη​α∗​)mn​

for every α,m,n\alpha,m,nα,m,n, where Tδ,DzT_\delta,D_zTδ​,Dz​ are bounded realizations, or zero if unrealizable, of

(Tδ)mn=1m=n22+δ(δ2+δ)n,(Dz)mn=e−∣z∣2/2m!n!∑r=0min⁡(m,n)zm−r(−z‾)n−rr!(m−r)!(n−r)!.(T_\delta)_{mn}=\mathbf1_{m=n}\frac{2}{2+\delta} \left(\frac{\delta}{2+\delta}\right)^n,\qquad (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)!}.(Tδ​)mn​=1m=n​2+δ2​(2+δδ​)n,(Dz​)mn​=e−∣z∣2/2m!n!​r=0∑min(m,n)​r!(m−r)!(n−r)!zm−r(−z)n−r​.

For arbitrary a,b∈R2a,b\in\mathbb R^2a,b∈R2, set si(a)=(−1)ia1+ia2s_i(a)=(-1)^i a_1+\mathrm i a_2si​(a)=(−1)ia1​+ia2​, with Boolean labels identified with 0,10,10,1, and define

g(α)=e−∣α∣2/(2κ)2πκ,h(α,β)=2e−2∣β−η α∣2/(2+δ)π(2+δ),wij=g(si(a))h(si(a),sj(b))∑r,s∈{0,1}g(sr(a))h(sr(a),ss(b)).g(\alpha)=\frac{e^{-|\alpha|^2/(2\kappa)}}{2\pi\kappa},\quad h(\alpha,\beta)=\frac{2e^{-2|\beta-\sqrt\eta\,\alpha|^2/(2+\delta)}}{\pi(2+\delta)},\quad w_{ij}=\frac{g(s_i(a))h(s_i(a),s_j(b))} {\sum_{r,s\in\{0,1\}}g(s_r(a))h(s_r(a),s_s(b))}.g(α)=2πκe−∣α∣2/(2κ)​,h(α,β)=π(2+δ)2e−2∣β−η​α∣2/(2+δ)​,wij​=∑r,s∈{0,1}​g(sr​(a))h(sr​(a),ss​(b))g(si​(a))h(si​(a),sj​(b))​.

Let BV(α,β)B_V(\alpha,\beta)BV​(α,β) be the ℓ2\ell^2ℓ2 vector with coordinates ∑n=0∞(cβ)n‾(Vcα)n,k\sum_{n=0}^{\infty}\overline{(c_\beta)_n}(Vc_\alpha)_{n,k}∑n=0∞​(cβ​)n​​(Vcα​)n,k​, or zero if no such vector exists, with nonsummable scalar sums assigned zero; put vij=∥BV(si(a),sj(b))∥−1BV(si(a),sj(b))v_{ij}=\|B_V(s_i(a),s_j(b))\|^{-1}B_V(s_i(a),s_j(b))vij​=∥BV​(si​(a),sj​(b))∥−1BV​(si​(a),sj​(b)). For each fixed Boolean iii, the declaration defines

x⟼(∑j∈{0,1}wij)−1∑j∈{0,1}wij⟨vij,x⟩vij.x\longmapsto \left(\sum_{j\in\{0,1\}}w_{ij}\right)^{-1} \sum_{j\in\{0,1\}}w_{ij}\langle v_{ij},x\rangle v_{ij}.x⟼​j∈{0,1}∑​wij​​−1j∈{0,1}∑​wij​⟨vij​,x⟩vij​.

Every inverse uses 0−1=00^{-1}=00−1=0, so zero branches give zero dyads and a zero row sum would give the zero operator. There are no sign restrictions on a1,b1a_1,b_1a1​,b1​.

QAlgorithms.Papers.Independent.Intake100.P53.physicalDyad

Let P=(κ,η,δ)P=(\kappa,\eta,\delta)P=(κ,η,δ) satisfy κ>0\kappa>0κ>0, 0<η≤10<\eta\le10<η≤1, and δ≥0\delta\ge0δ≥0, and put F=ℓ2(N;C)\mathcal F=\ell^2(\mathbb N;\mathbb C)F=ℓ2(N;C). Write cαc_\alphacα​ for the vector with coordinates e−∣α∣2/2αn/n!e^{-|\alpha|^2/2}\alpha^n/\sqrt{n!}e−∣α∣2/2αn/n!​, or zero if no such ℓ2\ell^2ℓ2 vector exists. The argument V:F→ℓ2(N2;C)V:\mathcal F\to\ell^2(\mathbb N^2;\mathbb C)V:F→ℓ2(N2;C) is a complex-linear isometry satisfying

∑r=0∞(Vcα)m,r(Vcα)n,r‾=(Dη αTδDη α∗)mn\sum_{r=0}^{\infty}(Vc_\alpha)_{m,r}\overline{(Vc_\alpha)_{n,r}} =(D_{\sqrt\eta\,\alpha}T_\delta D_{\sqrt\eta\,\alpha}^{*})_{mn}r=0∑∞​(Vcα​)m,r​(Vcα​)n,r​​=(Dη​α​Tδ​Dη​α∗​)mn​

for every α,m,n\alpha,m,nα,m,n, where Tδ,DzT_\delta,D_zTδ​,Dz​ are chosen bounded realizations of

(Tδ)mn=1m=n22+δ(δ2+δ)n,(Dz)mn=e−∣z∣2/2m!n!∑r=0min⁡(m,n)zm−r(−z‾)n−rr!(m−r)!(n−r)!,(T_\delta)_{mn}=\mathbf1_{m=n}\frac{2}{2+\delta} \left(\frac{\delta}{2+\delta}\right)^n,\qquad (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)!},(Tδ​)mn​=1m=n​2+δ2​(2+δδ​)n,(Dz​)mn​=e−∣z∣2/2m!n!​r=0∑min(m,n)​r!(m−r)!(n−r)!zm−r(−z)n−r​,

with zero used if a realization does not exist. Define BV(α,β)B_V(\alpha,\beta)BV​(α,β) by coordinates ∑n=0∞(cβ)n‾(Vcα)n,k\sum_{n=0}^{\infty}\overline{(c_\beta)_n}(Vc_\alpha)_{n,k}∑n=0∞​(cβ​)n​​(Vcα​)n,k​, with nonsummable scalar sums assigned zero and with the zero vector used if these coordinates have no ℓ2\ell^2ℓ2 realization; put vV(α,β)=∥BV(α,β)∥−1BV(α,β)v_V(\alpha,\beta)=\|B_V(\alpha,\beta)\|^{-1}B_V(\alpha,\beta)vV​(α,β)=∥BV​(α,β)∥−1BV​(α,β), using 0−1=00^{-1}=00−1=0. For arbitrary a=(a1,a2),b=(b1,b2)∈R2a=(a_1,a_2),b=(b_1,b_2)\in\mathbb R^2a=(a1​,a2​),b=(b1​,b2​)∈R2 and Boolean labels i,ji,ji,j, define si(a)=(−1)ia1+ia2s_i(a)=(-1)^i a_1+\mathrm i a_2si​(a)=(−1)ia1​+ia2​, identifying false with 000 and true with 111. The declaration defines the bounded operator

Qijx=⟨vij,x⟩vij,vij=vV(si(a),sj(b)).Q_{ij}x=\langle v_{ij},x\rangle v_{ij}, \qquad v_{ij}=v_V(s_i(a),s_j(b)).Qij​x=⟨vij​,x⟩vij​,vij​=vV​(si​(a),sj​(b)).

No sign restrictions are imposed on a1,b1a_1,b_1a1​,b1​. If the relevant branch is zero, Qij=0Q_{ij}=0Qij​=0; otherwise QijQ_{ij}Qij​ is the orthogonal projection onto the line generated by vijv_{ij}vij​.

QAlgorithms.Papers.Independent.Intake100.P53.physicalMixture

For P=(κ,η,δ)P=(\kappa,\eta,\delta)P=(κ,η,δ) with κ>0\kappa>0κ>0, 0<η≤10<\eta\le10<η≤1, and δ≥0\delta\ge0δ≥0, let F=ℓ2(N;C)\mathcal F=\ell^2(\mathbb N;\mathbb C)F=ℓ2(N;C), and let cαc_\alphacα​ have coordinates e−∣α∣2/2αn/n!e^{-|\alpha|^2/2}\alpha^n/\sqrt{n!}e−∣α∣2/2αn/n!​, with zero used if no such vector exists. The argument VVV is a complex-linear isometry into ℓ2(N2;C)\ell^2(\mathbb N^2;\mathbb C)ℓ2(N2;C) satisfying

∑r=0∞(Vcα)m,r(Vcα)n,r‾=(Dη αTδDη α∗)mnfor all α,m,n.\sum_{r=0}^{\infty}(Vc_\alpha)_{m,r}\overline{(Vc_\alpha)_{n,r}} =(D_{\sqrt\eta\,\alpha}T_\delta D_{\sqrt\eta\,\alpha}^{*})_{mn} \quad\text{for all }\alpha,m,n.r=0∑∞​(Vcα​)m,r​(Vcα​)n,r​​=(Dη​α​Tδ​Dη​α∗​)mn​for all α,m,n.

Here Tδ,DzT_\delta,D_zTδ​,Dz​ are bounded realizations, or zero if none exist, of

(Tδ)mn=1m=n22+δ(δ2+δ)n,(Dz)mn=e−∣z∣2/2m!n!∑r=0min⁡(m,n)zm−r(−z‾)n−rr!(m−r)!(n−r)!.(T_\delta)_{mn}=\mathbf1_{m=n}\frac{2}{2+\delta} \left(\frac{\delta}{2+\delta}\right)^n,\qquad (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)!}.(Tδ​)mn​=1m=n​2+δ2​(2+δδ​)n,(Dz​)mn​=e−∣z∣2/2m!n!​r=0∑min(m,n)​r!(m−r)!(n−r)!zm−r(−z)n−r​.

For arbitrary a,b∈R2a,b\in\mathbb R^2a,b∈R2, identify Boolean labels with 0,10,10,1, set si(a)=(−1)ia1+ia2s_i(a)=(-1)^i a_1+\mathrm i a_2si​(a)=(−1)ia1​+ia2​, and define

g(α)=e−∣α∣2/(2κ)2πκ,h(α,β)=2π(2+δ)e−2∣β−η α∣2/(2+δ),wij=g(si(a))h(si(a),sj(b))∑r,s∈{0,1}g(sr(a))h(sr(a),ss(b)).g(\alpha)=\frac{e^{-|\alpha|^2/(2\kappa)}}{2\pi\kappa},\qquad h(\alpha,\beta)=\frac{2}{\pi(2+\delta)} e^{-2|\beta-\sqrt\eta\,\alpha|^2/(2+\delta)},\qquad w_{ij}=\frac{g(s_i(a))h(s_i(a),s_j(b))} {\sum_{r,s\in\{0,1\}}g(s_r(a))h(s_r(a),s_s(b))}.g(α)=2πκe−∣α∣2/(2κ)​,h(α,β)=π(2+δ)2​e−2∣β−η​α∣2/(2+δ),wij​=∑r,s∈{0,1}​g(sr​(a))h(sr​(a),ss​(b))g(si​(a))h(si​(a),sj​(b))​.

Let BV(α,β)B_V(\alpha,\beta)BV​(α,β) have coordinates ∑n=0∞(cβ)n‾(Vcα)n,k\sum_{n=0}^{\infty}\overline{(c_\beta)_n}(Vc_\alpha)_{n,k}∑n=0∞​(cβ​)n​​(Vcα​)n,k​, with nonsummable scalar sums assigned zero and the whole vector set to zero if these coordinates have no ℓ2\ell^2ℓ2 realization; put vij=∥BV(si(a),sj(b))∥−1BV(si(a),sj(b))v_{ij}=\|B_V(s_i(a),s_j(b))\|^{-1}B_V(s_i(a),s_j(b))vij​=∥BV​(si​(a),sj​(b))∥−1BV​(si​(a),sj​(b)), using 0−1=00^{-1}=00−1=0. The declaration defines the bounded operator

x⟼∑i,j∈{0,1}wij⟨vij,x⟩vij.x\longmapsto\sum_{i,j\in\{0,1\}}w_{ij}\langle v_{ij},x\rangle v_{ij}.x⟼i,j∈{0,1}∑​wij​⟨vij​,x⟩vij​.

The inputs a1,b1a_1,b_1a1​,b1​ may be negative or zero, and a zero branch contributes the zero operator.

QAlgorithms.Papers.Independent.Intake100.P53.physicalRR

Let P=(κ,η,δ)P=(\kappa,\eta,\delta)P=(κ,η,δ) satisfy κ>0\kappa>0κ>0, 0<η≤10<\eta\le10<η≤1, and δ≥0\delta\ge0δ≥0, and write F=ℓ2(N;C)\mathcal F=\ell^2(\mathbb N;\mathbb C)F=ℓ2(N;C). Let cαc_\alphacα​ have coordinates e−∣α∣2/2αn/n!e^{-|\alpha|^2/2}\alpha^n/\sqrt{n!}e−∣α∣2/2αn/n!​, or be zero if no such ℓ2\ell^2ℓ2 vector exists. The argument V:F→ℓ2(N2;C)V:\mathcal F\to\ell^2(\mathbb N^2;\mathbb C)V:F→ℓ2(N2;C) is a complex-linear isometry with

∑r=0∞(Vcα)m,r(Vcα)n,r‾=(Dη αTδDη α∗)mnfor all α,m,n,\sum_{r=0}^{\infty}(Vc_\alpha)_{m,r}\overline{(Vc_\alpha)_{n,r}} =(D_{\sqrt\eta\,\alpha}T_\delta D_{\sqrt\eta\,\alpha}^{*})_{mn} \quad\text{for all }\alpha,m,n,r=0∑∞​(Vcα​)m,r​(Vcα​)n,r​​=(Dη​α​Tδ​Dη​α∗​)mn​for all α,m,n,

where Tδ,DzT_\delta,D_zTδ​,Dz​ are chosen bounded realizations, or zero if none exist, of

(Tδ)mn=1m=n22+δ(δ2+δ)n,(Dz)mn=e−∣z∣2/2m!n!∑r=0min⁡(m,n)zm−r(−z‾)n−rr!(m−r)!(n−r)!.(T_\delta)_{mn}=\mathbf1_{m=n}\frac{2}{2+\delta} \left(\frac{\delta}{2+\delta}\right)^n,\qquad (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)!}.(Tδ​)mn​=1m=n​2+δ2​(2+δδ​)n,(Dz​)mn​=e−∣z∣2/2m!n!​r=0∑min(m,n)​r!(m−r)!(n−r)!zm−r(−z)n−r​.

For arbitrary a,b∈R2a,b\in\mathbb R^2a,b∈R2, set si(a)=(−1)ia1+ia2s_i(a)=(-1)^i a_1+\mathrm i a_2si​(a)=(−1)ia1​+ia2​, identifying Boolean labels with 0,10,10,1, and define

g(α)=e−∣α∣2/(2κ)2πκ,h(α,β)=2e−2∣β−η α∣2/(2+δ)π(2+δ),wij=g(si(a))h(si(a),sj(b))∑r,s∈{0,1}g(sr(a))h(sr(a),ss(b)).g(\alpha)=\frac{e^{-|\alpha|^2/(2\kappa)}}{2\pi\kappa},\quad h(\alpha,\beta)=\frac{2e^{-2|\beta-\sqrt\eta\,\alpha|^2/(2+\delta)}}{\pi(2+\delta)},\quad w_{ij}=\frac{g(s_i(a))h(s_i(a),s_j(b))} {\sum_{r,s\in\{0,1\}}g(s_r(a))h(s_r(a),s_s(b))}.g(α)=2πκe−∣α∣2/(2κ)​,h(α,β)=π(2+δ)2e−2∣β−η​α∣2/(2+δ)​,wij​=∑r,s∈{0,1}​g(sr​(a))h(sr​(a),ss​(b))g(si​(a))h(si​(a),sj​(b))​.

Let BV(α,β)B_V(\alpha,\beta)BV​(α,β) have coordinates ∑n=0∞(cβ)n‾(Vcα)n,k\sum_{n=0}^{\infty}\overline{(c_\beta)_n}(Vc_\alpha)_{n,k}∑n=0∞​(cβ​)n​​(Vcα​)n,k​, using zero for nonsummable scalar sums and using the zero vector if the coordinates have no ℓ2\ell^2ℓ2 realization; put vij=∥BV(si(a),sj(b))∥−1BV(si(a),sj(b))v_{ij}=\|B_V(s_i(a),s_j(b))\|^{-1}B_V(s_i(a),s_j(b))vij​=∥BV​(si​(a),sj​(b))∥−1BV​(si​(a),sj​(b)). For each fixed Boolean jjj, the declaration defines

x⟼(∑i∈{0,1}wij)−1∑i∈{0,1}wij⟨vij,x⟩vij.x\longmapsto \left(\sum_{i\in\{0,1\}}w_{ij}\right)^{-1} \sum_{i\in\{0,1\}}w_{ij}\langle v_{ij},x\rangle v_{ij}.x⟼​i∈{0,1}∑​wij​​−1i∈{0,1}∑​wij​⟨vij​,x⟩vij​.

Inverses satisfy 0−1=00^{-1}=00−1=0; thus zero branches give zero dyads, and a zero column sum would give the zero operator. The coordinates a1,b1a_1,b_1a1​,b1​ are unrestricted real numbers.

QAlgorithms.Papers.Independent.Intake100.P53.priorDensity

For any parameter record PPP, whose real components satisfy κ>0\kappa>0κ>0, 0<η≤10<\eta\le 10<η≤1, and δ≥0\delta\ge 0δ≥0, and any complex number α\alphaα, this defines the real number

exp⁡ ⁣(−∣α∣22κ)2πκ,\frac{\exp\!\left(-\frac{|\alpha|^2}{2\kappa}\right)}{2\pi\kappa},2πκexp(−2κ∣α∣2​)​,

where ∣α∣2=(Re⁡α)2+(Im⁡α)2|\alpha|^2=(\operatorname{Re}\alpha)^2+(\operatorname{Im}\alpha)^2∣α∣2=(Reα)2+(Imα)2. The value depends only on κ\kappaκ and α\alphaα.

QAlgorithms.Papers.Independent.Intake100.P53.productDR

For every model M=(p,q,e)M=(p,q,e)M=(p,q,e) with 12≤p,q≤1\tfrac12\le p,q\le121​≤p,q≤1 and 0≤e≤120\le e\le\tfrac120≤e≤21​, and every Boolean iii, this defines the complex matrix

Ai=(1−e)Dii+eDi,1−i.A_i=(1-e)D_{ii}+eD_{i,1-i}.Ai​=(1−e)Dii​+eDi,1−i​.

Here false and true are identified with 000 and 111, so 1−i1-i1−i denotes Boolean negation; ftb(0)=tf_t^b(0)=\sqrt tftb​(0)=t​, ftb(1)=(−1)b1−tf_t^b(1)=(-1)^b\sqrt{1-t}ftb​(1)=(−1)b1−t​; and the matrices on Boolean pairs are given explicitly by

(Duv)(a,b),(c,d)=fpu(a) fpu(c)‾ fqv(b) fqv(d)‾(a,b,c,d,u,v∈{0,1}).(D_{uv})_{(a,b),(c,d)} =f_p^u(a)\,\overline{f_p^u(c)}\, f_q^v(b)\,\overline{f_q^v(d)} \qquad(a,b,c,d,u,v\in\{0,1\}).(Duv​)(a,b),(c,d)​=fpu​(a)fpu​(c)​fqv​(b)fqv​(d)​(a,b,c,d,u,v∈{0,1}).

The real weights are embedded in C\mathbb CC, and all endpoints allowed by the model’s inequalities are included.

QAlgorithms.Papers.Independent.Intake100.P53.productDyad

For every model M=(p,q,e)M=(p,q,e)M=(p,q,e) with 12≤p,q≤1\tfrac12\le p,q\le121​≤p,q≤1 and 0≤e≤120\le e\le\tfrac120≤e≤21​, and every pair of Booleans i,ji,ji,j, this defines a complex matrix DijD_{ij}Dij​ whose rows and columns are indexed by pairs of Booleans. Write false as 000 and true as 111, and define ftb(0)=tf_t^b(0)=\sqrt tftb​(0)=t​ and ftb(1)=(−1)b1−tf_t^b(1)=(-1)^b\sqrt{1-t}ftb​(1)=(−1)b1−t​. Then

(Dij)(a,b),(c,d)=fpi(a) fpi(c)‾ fqj(b) fqj(d)‾(a,b,c,d∈{0,1}).(D_{ij})_{(a,b),(c,d)} =f_p^i(a)\,\overline{f_p^i(c)}\, f_q^j(b)\,\overline{f_q^j(d)} \qquad(a,b,c,d\in\{0,1\}).(Dij​)(a,b),(c,d)​=fpi​(a)fpi​(c)​fqj​(b)fqj​(d)​(a,b,c,d∈{0,1}).

Equivalently, it is the Kronecker product of the matrices with entries fpi(a)fpi(c)‾f_p^i(a)\overline{f_p^i(c)}fpi​(a)fpi​(c)​ and fqj(b)fqj(d)‾f_q^j(b)\overline{f_q^j(d)}fqj​(b)fqj​(d)​. The parameter eee is part of the model but does not occur in this matrix; all permitted endpoints of p,q,ep,q,ep,q,e are included.

QAlgorithms.Papers.Independent.Intake100.P53.productHolevoDR

For every model M=(p,q,e)M=(p,q,e)M=(p,q,e) satisfying 12≤p,q≤1\tfrac12\le p,q\le121​≤p,q≤1 and 0≤e≤120\le e\le\tfrac120≤e≤21​, this defines the real number

H(ρM)−H(A0)+H(A1)2,H(\rho_M)-\frac{H(A_0)+H(A_1)}2,H(ρM​)−2H(A0​)+H(A1​)​,

where false and true are denoted by 000 and 111, fti(0)=tf_t^i(0)=\sqrt tfti​(0)=t​, fti(1)=(−1)i1−tf_t^i(1)=(-1)^i\sqrt{1-t}fti​(1)=(−1)i1−t​, and

(Dij)(a,b),(c,d)=fpi(a) fpi(c)‾ fqj(b) fqj(d)‾,ρM=12((1−e)(D00+D11)+e(D01+D10)),Ai=(1−e)Dii+eDi,1−i(i=0,1).\begin{aligned} (D_{ij})_{(a,b),(c,d)} &=f_p^i(a)\,\overline{f_p^i(c)}\, f_q^j(b)\,\overline{f_q^j(d)},\\ \rho_M&=\tfrac12\bigl((1-e)(D_{00}+D_{11}) +e(D_{01}+D_{10})\bigr),\\ A_i&=(1-e)D_{ii}+eD_{i,1-i}\qquad(i=0,1). \end{aligned}(Dij​)(a,b),(c,d)​ρM​Ai​​=fpi​(a)fpi​(c)​fqj​(b)fqj​(d)​,=21​((1−e)(D00​+D11​)+e(D01​+D10​)),=(1−e)Dii​+eDi,1−i​(i=0,1).​

All these matrices have rows and columns indexed by Boolean pairs. The function HHH used here is defined by

H(X)=−Re⁡tr⁡(cfc⁡(x↦xlog⁡2x,  X)),H(X)=-\operatorname{Re}\operatorname{tr} \bigl(\operatorname{cfc}(x\mapsto x\log_2x,\;X)\bigr),H(X)=−Retr(cfc(x↦xlog2​x,X)),

where cfc⁡\operatorname{cfc}cfc is the continuous functional calculus, and the real logarithm is totalized with log⁡20=0\log_2 0=0log2​0=0, so the scalar function has value zero at zero. The definition includes every permitted endpoint, including cases with zero eigenvalues.

QAlgorithms.Papers.Independent.Intake100.P53.productHolevoRR

For a model MMM with real parameters p,q,ep,q,ep,q,e satisfying 12≤p≤1\tfrac12\le p\le121​≤p≤1, 12≤q≤1\tfrac12\le q\le121​≤q≤1, and 0≤e≤120\le e\le\tfrac120≤e≤21​, including all endpoints, define the complex vectors vri=(r,(−1)i1−r)v_r^i=(\sqrt r,(-1)^i\sqrt{1-r})vri​=(r​,(−1)i1−r​), where Boolean indices are identified with 0=false0=\mathrm{false}0=false and 1=true1=\mathrm{true}1=true. Put Dij=(vpi(vpi)∗)⊗(vqj(vqj)∗)D_{ij}=(v_p^i(v_p^i)^*)\otimes(v_q^j(v_q^j)^*)Dij​=(vpi​(vpi​)∗)⊗(vqj​(vqj​)∗), a matrix indexed by pairs of Booleans, and set

ρ=12((1−e)(D00+D11)+e(D01+D10)),Rj=(1−e)Djj+eD1−j,j.\rho=\frac12\bigl((1-e)(D_{00}+D_{11})+e(D_{01}+D_{10})\bigr), \qquad R_j=(1-e)D_{jj}+eD_{1-j,j}.ρ=21​((1−e)(D00​+D11​)+e(D01​+D10​)),Rj​=(1−e)Djj​+eD1−j,j​.

For a complex matrix AAA, write S(A)=−Re⁡tr⁡(f(A))S(A)=-\operatorname{Re}\operatorname{tr}(f(A))S(A)=−Retr(f(A)), where f(x)=xlog⁡2xf(x)=x\log_2xf(x)=xlog2​x and f(A)f(A)f(A) is defined by continuous functional calculus. The real number defined by this declaration is

S(ρ)−S(R0)+S(R1)2.S(\rho)-\frac{S(R_0)+S(R_1)}2.S(ρ)−2S(R0​)+S(R1​)​.

QAlgorithms.Papers.Independent.Intake100.P53.productMixture

For every model M=(p,q,e)M=(p,q,e)M=(p,q,e) satisfying 12≤p,q≤1\tfrac12\le p,q\le121​≤p,q≤1 and 0≤e≤120\le e\le\tfrac120≤e≤21​, this defines the complex matrix on Boolean pairs

ρM=12((1−e)(D00+D11)+e(D01+D10)),\rho_M=\frac12\bigl((1-e)(D_{00}+D_{11}) +e(D_{01}+D_{10})\bigr),ρM​=21​((1−e)(D00​+D11​)+e(D01​+D10​)),

where false and true are denoted by 000 and 111, fti(0)=tf_t^i(0)=\sqrt tfti​(0)=t​, fti(1)=(−1)i1−tf_t^i(1)=(-1)^i\sqrt{1-t}fti​(1)=(−1)i1−t​, and

(Dij)(a,b),(c,d)=fpi(a) fpi(c)‾ fqj(b) fqj(d)‾(a,b,c,d∈{0,1}).(D_{ij})_{(a,b),(c,d)} =f_p^i(a)\,\overline{f_p^i(c)}\, f_q^j(b)\,\overline{f_q^j(d)} \qquad(a,b,c,d\in\{0,1\}).(Dij​)(a,b),(c,d)​=fpi​(a)fpi​(c)​fqj​(b)fqj​(d)​(a,b,c,d∈{0,1}).

All real coefficients are embedded in C\mathbb CC. The definition includes e=0e=0e=0, e=12e=\tfrac12e=21​, and ppp or qqq equal to 12\tfrac1221​ or 111.

QAlgorithms.Papers.Independent.Intake100.P53.productRR

For every model M=(p,q,e)M=(p,q,e)M=(p,q,e) with 12≤p,q≤1\tfrac12\le p,q\le121​≤p,q≤1 and 0≤e≤120\le e\le\tfrac120≤e≤21​, and every Boolean jjj, this defines the complex matrix

Bj=(1−e)Djj+eD1−j,j.B_j=(1-e)D_{jj}+eD_{1-j,j}.Bj​=(1−e)Djj​+eD1−j,j​.

Here false and true are identified with 000 and 111, so 1−j1-j1−j denotes Boolean negation; ftb(0)=tf_t^b(0)=\sqrt tftb​(0)=t​, ftb(1)=(−1)b1−tf_t^b(1)=(-1)^b\sqrt{1-t}ftb​(1)=(−1)b1−t​; and

(Duv)(a,b),(c,d)=fpu(a) fpu(c)‾ fqv(b) fqv(d)‾(a,b,c,d,u,v∈{0,1}).(D_{uv})_{(a,b),(c,d)} =f_p^u(a)\,\overline{f_p^u(c)}\, f_q^v(b)\,\overline{f_q^v(d)} \qquad(a,b,c,d,u,v\in\{0,1\}).(Duv​)(a,b),(c,d)​=fpu​(a)fpu​(c)​fqv​(b)fqv​(d)​(a,b,c,d,u,v∈{0,1}).

The matrices are indexed by Boolean pairs, the real weights are embedded in C\mathbb CC, and all permitted endpoint values of the model parameters are included.

QAlgorithms.Papers.Independent.Intake100.P53.rawBit

For every complex number α\alphaα, this defines a Boolean value that is true exactly when Re⁡α<0\operatorname{Re}\alpha<0Reα<0, and false otherwise. In particular, every α\alphaα with Re⁡α=0\operatorname{Re}\alpha=0Reα=0 gives false.

QAlgorithms.Papers.Independent.Intake100.P53.receivedState

For any parameter record PPP, with κ>0\kappa>0κ>0, 0<η≤10<\eta\le 10<η≤1, and δ≥0\delta\ge 0δ≥0, and any α∈C\alpha\in\mathbb Cα∈C, this defines a bounded complex-linear operator DTD∗DTD^*DTD∗ on the Hilbert space ℓ2(N;C)\ell^2(\mathbb N;\mathbb C)ℓ2(N;C), where D∗D^*D∗ is the Hilbert-space adjoint of DDD. To specify the operators, let ene_nen​ be the sequence equal to 111 at nnn and 000 elsewhere, and put ζ=η α\zeta=\sqrt{\eta}\,\alphaζ=η​α. If there exists a bounded complex-linear operator whose coordinates (Den)m(De_n)_m(Den​)m​, for every m,n∈Nm,n\in\mathbb Nm,n∈N, equal

e−∣ζ∣2/2m! n!∑j=0min⁡(m,n)ζm−j(−ζ‾)n−jj! (m−j)! (n−j)!,e^{-|\zeta|^2/2}\sqrt{m!\,n!} \sum_{j=0}^{\min(m,n)} \frac{\zeta^{m-j}(-\overline{\zeta})^{n-j}} {j!\,(m-j)!\,(n-j)!},e−∣ζ∣2/2m!n!​j=0∑min(m,n)​j!(m−j)!(n−j)!ζm−j(−ζ​)n−j​,

then DDD is an operator selected from those satisfying these equalities; if none exists, DDD is the zero operator. Likewise, if there exists a bounded complex-linear operator whose coordinates (Ten)m(Te_n)_m(Ten​)m​ equal

{22+δ(δ2+δ)n,m=n,0,m≠n,\begin{cases} \displaystyle \frac{2}{2+\delta} \left(\frac{\delta}{2+\delta}\right)^n,&m=n,\\ 0,&m\ne n, \end{cases}⎩⎨⎧​2+δ2​(2+δδ​)n,0,​m=n,m=n,​

then TTT is an operator selected from those satisfying these equalities; otherwise TTT is the zero operator. All natural indices, including 000, are covered, and powers use the convention 00=10^0=100=1. The definition itself supplies no additional realization or density-operator hypothesis.

QAlgorithms.Papers.Independent.Intake100.P53.signAnnouncementDensity

For any parameter record PPP, with κ>0\kappa>0κ>0, 0<η≤10<\eta\le 10<η≤1, and δ≥0\delta\ge 0δ≥0, any real pairs a=(u,v)a=(u,v)a=(u,v) and b=(w,t)b=(w,t)b=(w,t), and any Booleans i,ji,ji,j, put αi=u+iv\alpha_i=u+\mathrm i vαi​=u+iv if iii is false and αi=−u+iv\alpha_i=-u+\mathrm i vαi​=−u+iv if iii is true, and put βj=w+it\beta_j=w+\mathrm i tβj​=w+it if jjj is false and βj=−w+it\beta_j=-w+\mathrm i tβj​=−w+it if jjj is true. This defines the real number

exp⁡ ⁣(−∣αi∣22κ)2πκ⋅2π(2+δ)exp⁡ ⁣(−2∣βj−η αi∣22+δ).\frac{\exp\!\left(-\frac{|\alpha_i|^2}{2\kappa}\right)}{2\pi\kappa} \cdot \frac{2}{\pi(2+\delta)} \exp\!\left(-\frac{2|\beta_j-\sqrt{\eta}\,\alpha_i|^2}{2+\delta}\right).2πκexp(−2κ∣αi​∣2​)​⋅π(2+δ)2​exp(−2+δ2∣βj​−η​αi​∣2​).

All four real coordinates are unrestricted, so uuu and www may be negative or zero; when either is zero, its corresponding Boolean sign choices give the same complex amplitude.

QAlgorithms.Papers.Independent.Intake100.P53.signKernel

For parameters P=(κ,η,δ)P=(\kappa,\eta,\delta)P=(κ,η,δ) with κ>0\kappa>0κ>0, 0<η≤10<\eta\le10<η≤1, and δ≥0\delta\ge0δ≥0, arbitrary a,b∈R2a,b\in\mathbb R^2a,b∈R2, and Booleans i,ji,ji,j, put zr(c)=(if r is true then −c1 else c1)+ic2z_r(c)=(\text{if }r\text{ is true then }-c_1\text{ else }c_1)+\mathrm i c_2zr​(c)=(if r is true then −c1​ else c1​)+ic2​ and

Wrs=exp⁡ ⁣(−∣zr(a)∣2/(2κ))2πκ 2π(2+δ)exp⁡ ⁣(−2∣zs(b)−η zr(a)∣22+δ).W_{rs}= \frac{\exp\!\left(-|z_r(a)|^2/(2\kappa)\right)}{2\pi\kappa}\, \frac{2}{\pi(2+\delta)} \exp\!\left(-\frac{2|z_s(b)-\sqrt\eta\,z_r(a)|^2}{2+\delta}\right).Wrs​=2πκexp(−∣zr​(a)∣2/(2κ))​π(2+δ)2​exp(−2+δ2∣zs​(b)−η​zr​(a)∣2​).

The definition assigns Wij/∑r,s∈{false,true}WrsW_{ij}/\sum_{r,s\in\{\mathrm{false},\mathrm{true}\}}W_{rs}Wij​/∑r,s∈{false,true}​Wrs​. The denominator is positive for these parameters. The coordinates of a,ba,ba,b are unrestricted, and the sum includes every Boolean pair even when signed amplitudes coincide.

QAlgorithms.Papers.Independent.Intake100.P53.signedAmplitude

For every real pair a=(u,v)∈R2a=(u,v)\in\mathbb R^2a=(u,v)∈R2 and every Boolean iii, this defines the complex number

{u+iv,i=false,−u+iv,i=true.\begin{cases} u+\mathrm i v,&i=\mathrm{false},\\ -u+\mathrm i v,&i=\mathrm{true}. \end{cases}{u+iv,−u+iv,​i=false,i=true.​

There is no nonnegativity assumption on uuu and no restriction on vvv. When u=0u=0u=0, the two Boolean choices give the same complex number.

QAlgorithms.Papers.Independent.Intake100.P53.splitterCoefficient

For every real η\etaη and natural numbers m,n,km,n,km,n,k, this defines the complex number

Sη(m,n;k)={k!(m+n−k)!m!n!∑0≤j≤mj≤kk−j≤n(mj)(nk−j)(η)j(1−η)m−j(−1−η)k−j(η)n−(k−j),k≤m+n,0,k>m+n.S_\eta(m,n;k)= \begin{cases} \displaystyle \sqrt{\frac{k!(m+n-k)!}{m!n!}} \sum_{\substack{0\le j\le m\\j\le k\\k-j\le n}} \binom mj\binom n{k-j} (\sqrt\eta)^j (\sqrt{1-\eta})^{m-j} (-\sqrt{1-\eta})^{k-j} (\sqrt\eta)^{n-(k-j)}, &k\le m+n,\\[6pt] 0,&k>m+n. \end{cases}Sη​(m,n;k)=⎩⎨⎧​m!n!k!(m+n−k)!​​0≤j≤mj≤kk−j≤n​∑​(jm​)(k−jn​)(η​)j(1−η​)m−j(−1−η​)k−j(η​)n−(k−j),0,​k≤m+n,k>m+n.​

The real quantities in this formula are regarded as complex numbers. The sum ranges over integer jjj, and an empty sum is zero. There is no restriction 0≤η≤10\le\eta\le10≤η≤1: real square root is zero on negative inputs. All indices may be zero, exponent zero gives 111, including 00=10^0=100=1, and the displayed guards ensure that the natural-number subtractions in contributing terms do not truncate.

QAlgorithms.Papers.Independent.Intake100.P53.supportedVector

For parameters P=(κ,η,δ)P=(\kappa,\eta,\delta)P=(κ,η,δ) with κ>0\kappa>0κ>0, 0<η≤10<\eta\le10<η≤1, and δ≥0\delta\ge0δ≥0, let F=ℓ2(N;C)\mathcal F=\ell^2(\mathbb N;\mathbb C)F=ℓ2(N;C). Set (cα)n=e−∣α∣2/2αn/n!(c_\alpha)_n=e^{-|\alpha|^2/2}\alpha^n/\sqrt{n!}(cα​)n​=e−∣α∣2/2αn/n!​ if this specifies an ℓ2\ell^2ℓ2 vector, and cα=0c_\alpha=0cα​=0 otherwise. The argument VVV is a complex-linear isometry F→ℓ2(N2;C)\mathcal F\to\ell^2(\mathbb N^2;\mathbb C)F→ℓ2(N2;C) satisfying, for all α,m,n\alpha,m,nα,m,n,

∑r=0∞(Vcα)m,r(Vcα)n,r‾=(Dη αTδDη α∗)mn,\sum_{r=0}^{\infty}(Vc_\alpha)_{m,r}\overline{(Vc_\alpha)_{n,r}} =(D_{\sqrt\eta\,\alpha}T_\delta D_{\sqrt\eta\,\alpha}^{*})_{mn},r=0∑∞​(Vcα​)m,r​(Vcα​)n,r​​=(Dη​α​Tδ​Dη​α∗​)mn​,

where the bounded operators Tδ,DzT_\delta,D_zTδ​,Dz​ have prescribed matrices

(Tδ)mn=1m=n22+δ(δ2+δ)n,(Dz)mn=e−∣z∣2/2m!n!∑r=0min⁡(m,n)zm−r(−z‾)n−rr!(m−r)!(n−r)!,(T_\delta)_{mn}=\mathbf1_{m=n}\frac{2}{2+\delta} \left(\frac{\delta}{2+\delta}\right)^n,\qquad (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)!},(Tδ​)mn​=1m=n​2+δ2​(2+δδ​)n,(Dz​)mn​=e−∣z∣2/2m!n!​r=0∑min(m,n)​r!(m−r)!(n−r)!zm−r(−z)n−r​,

and each is replaced by zero if no bounded realization exists. Let BV(α,β)B_V(\alpha,\beta)BV​(α,β) be the ℓ2\ell^2ℓ2 vector with coordinates ∑n=0∞(cβ)n‾(Vcα)n,k\sum_{n=0}^{\infty}\overline{(c_\beta)_n}(Vc_\alpha)_{n,k}∑n=0∞​(cβ​)n​​(Vcα​)n,k​, or zero if no such vector exists, with nonsummable scalar sums assigned zero; let vV(α,β)=∥BV(α,β)∥−1BV(α,β)v_V(\alpha,\beta)=\|B_V(\alpha,\beta)\|^{-1}B_V(\alpha,\beta)vV​(α,β)=∥BV​(α,β)∥−1BV​(α,β), using 0−1=00^{-1}=00−1=0. For every complex α,β\alpha,\betaα,β, this declaration returns vV(α,β)v_V(\alpha,\beta)vV​(α,β) regarded as an element of

EV=span⁡C{vV(γ,ζ):γ,ζ∈C}‾.E_V=\overline{\operatorname{span}_{\mathbb C} \{v_V(\gamma,\zeta):\gamma,\zeta\in\mathbb C\}}.EV​=spanC​{vV​(γ,ζ):γ,ζ∈C}​.

Its underlying vector is unchanged; membership follows because this vector is itself one of the generators of the span. A zero branch gives the zero element of EVE_VEV​.

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

    Confirmed by the moderator at approval.

  • Endorsed by Gohan · Oct 30, 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