Definitions for Discriminating quantum-optical beam-splitter channels with number-diagonal signal states: Applications to quantum reading and target detection
DefinitionQAlgorithms_Papers_Independent_Intakethird100_P54The objects the formalized statements of Discriminating quantum-optical beam-splitter channels with number-diagonal signal states: Applications to quantum reading and target detection (arXiv:1105.4063) are stated in. Each was checked against the paper by a blind read-back and a moderator.
opticalKernel: Fock coefficients of an operator; validity is supplied by its construction.fockVector: A full Fock vector from coefficients. Off l² only, the total extension is zero. The stated construction clauses rule this branch out for every physical input.Splitter: A single-mode vacuum-environment splitter, PDF p.1, (1).Splitter.r: Nonnegative field reflection magnitude.Splitter.t: Nonnegative field transmission magnitude.Splitter.field: Complex returned field coefficient, PDF p.1.Channels: Two candidate splitters; the prior is built into the error definition.ValidSplitters: The paper's ordering and distinctness assumptions, PDF pp.1–2.Reading: Section IV's common phase removed by the same known unitary.splitterOverlap: The common real overlap coefficient of (17),(49).photons: Total signal photon number, with no idler energy charged, PDF p.4, (18).lossAmplitude: Vacuum-environment binomial amplitude (12). The phase multiplies the entire input occupation, not just the returned photon count. The guard precedes subtraction.sectorCoefficients: Loss-sector coefficients (11),(25); idlers are retained without change.lossSector: The unnormalized retained state in a loss sector, PDF p.4, (25).returned: Actual returned density after tracing inaccessible independent vacuum modes, PDF pp.1,3–5, (2),(11),(32). Every series is over full Fock labels.signalLaw: Reduced signal number law, PDF p.4, before (17).totalLaw: Total signal photon law (18), distinct from the multimode occupation law.HasSignalEnergy: Finite mean SIGNAL energy, PDF pp.6–7. Summability rules out totalized tsum.IsNDS: Source definition of NDS: the signal marginal is number diagonal, PDF p.4. For pure probes this is equivalent to orthogonal occupied idler Schmidt vectors.purificationMarginal: Reduced density of a normalized countable-ancilla purification.PurifiesOpticalKernel: Purification as actual norm-one amplitudes, not an assumed fidelity value.squaredOpticalFidelity: Squared Uhlmann fidelity (4),(19), as the supremum over all purifications. For physical densities here this set is nonempty and bounded in [0,1]; the countable ancilla suffices because the optical Hilbert spaces are separable.Resolution: A spectral resolution of a normalized positive trace-class density. Only positive-weight vectors are required to be orthonormal. The kernel equality is part of a spectral representation, not an assumption on any source theorem.IsOpticalEffect: A binary measurement effect is a bounded complex-linear positive contraction. E is the decision-zero effect; 1-E is the decision-one effect, PDF pp.3,5.opticalBayesRisk: Binary Bayesian error for actual spectral states and an effect; arbitrary joint signal-idler effects are admitted, including non-projective measurements.bayesError: Operational minimum Bayesian error. For normalized physical densities and priors this is a nonempty infimum of numbers in [0,1]; spectral representations do not constrain the allowed receiver. Equal priors are used except in (42).opticalError: Equal-prior minimum average error, PDF p.3, (5).supportWeightPower: Support spectral power: the zero eigenspace contributes zero even at t=0. This implements the support-projection convention on PDF p.6.chernoffAt: Tr(rho^s sigma^(1-s)), defined independently from NDS formulas (45). For densities and 0<=s<=1 every spectral representation gives the same absolutely convergent nonnegative double series, in [0,1]. Hence this supremum is nonempty and bounded; it does not optimize the probe or the receiver.opticalChernoff: Chernoff coefficient WITHOUT prior factor, including both support endpoints (9).outputFidelity: Pure-input output fidelity, for the actual channels.outputError: Pure-input operational output error.outputChernoffAt: Pure-input Chernoff-type coefficient.outputChernoff: Pure-input optimized Chernoff coefficient.purificationOverlapTerm: Complex overlap series in the TOTAL photon law, PDF p.4, (17).purificationOverlap: Squared overlap (17); the absolute value encloses the WHOLE complex sum.lowerError: Fidelity-based LOWER error envelope (6),(20),(53).lossProbability: Loss-sector probability (27) directly from its actual vector.lossOverlap: Loss-sector overlap (30); the first argument is conjugated.lossOverlapTerm: Explicit complex binomial summand (31), with componentwise loss guard.lossBlock: The at-most-two-dimensional block H_k of (33)–(35).lossBlockDifference: Weighted block difference; equal priors use weights 1,1 for rho0-rho1.BlockReceiver: A complete block spectral receiver, (40)–(42). E is the zero decision. It is projective, preserves every loss block, and decides the positive/negative spectra correctly. Zero eigenvectors may be assigned either decision.sectorRisk: Risk of a concrete effect, directly on unnormalized output loss vectors.ndsChernoffTerm: Term of (45), explicitly omitting either zero-probability sector.opticalPureKernel: Rank-one full-Fock density.fock: A Fock signal with no retained idlers; the empty idler occupation has one value.productOpticalProbe: Independent product probes with arbitrary finite idler count J_m per signal, PDF p.6, (46)–(47). The idler register is grouped, without tracing any factors.opticalCopies: Independent copies of a joint multimode probe, with all signals grouped.coherentOpticalProbe: Product coherent probe; arbitrary classical idler amplitudes are retained.coherentEnergy: Total signal energy of a product coherent state.tmsvCoefficients: Multimode EPR coefficients (73), with N the per-pair SIGNAL energy. Natural powers preserve the vacuum convention 0^0=1.tmsvProbe: Product of M identical EPR pairs, with no photon cutoff.countLaw: Product law of observed RETURNED counts, PDF p.8, (62) with j=N-k.totalCountLaw: Binomial law of the total returned photon count.countingError: Equal-prior overlap of the total count distributions, not an assumed quantum optimum.CountsAs: Photon counting followed by d(j), where true means decision one. E is the zero-decision effect and acts trivially on every retained idler.countThreshold: Interior logarithmic threshold (65); endpoint rules are separate theorems.fockCoefficient: One-photon classical Chernoff coefficient, PDF p.8, (66).fockOptimizer: Explicit optimizer (67); theorem hypotheses restrict it to strict interior channels.numberExponent: Per-photon number-state exponent, with natural logarithm, (66).coherentExponent: Per-photon coherent exponent (68).exponentGain: Exponent gain (69); no claim that it is large in every regime.eprAlpha: Parameters (78)–(81); beta is used only when R1<1.eprBeta: Parameter beta in (79).eprC: Parameter C in (80).eprD: Parameter D in (81).eprDerivativeSign: Equivalent logarithmic case test (84)–(85): no exponent/product ambiguity.eprOptimizer: Optimizer (85)–(86). N=0 and ideal memory are handled outside this definition.classicalReturned: Classical positive-P probes include arbitrary probability measures and Dirac masses. Signal and idler amplitudes may be classically correlated, (3), pp.2,8.vacuumEfficiency: An additional uniform independent vacuum attenuator, PDF p.12, IV.E.2.efficiencyScaled: A uniform receiver efficiency multiplies energy reflectance. Eta=0 is allowed and makes the two effective returned channels identical.attenuate: Vacuum attenuator on a full joint operator kernel, retaining every idler.weightedTraceNorm: Dual trace norm of a weighted Hermitian difference, used in (42). The supremum ranges over ALL bounded self-adjoint contractions. Spectral resolutions merely evaluate traces of the actual two states.kernelProduct: Composition of full Fock operator kernels on the physical trace-class arguments.targetLower: Target-detection universal envelope (59), with fixed real signal energy N.targetCoherent: Coherent target-detection error envelope (60).
import Mathlib
import Definitions.Def_QAlgorithms_Defs_RealLabelRegisters
import Definitions.Def_QAlgorithms_Papers_Independent_Claimed50_P47
import Definitions.Def_QAlgorithms_Papers_Independent_Dependency50_P39
/-!
Statements from R. Nair, arXiv:1105.4063v3. PDF pages are cited throughout.
The optical space is full l² of occupation strings, with retained idlers first.
The accepted Hilbert, occupation labels and coherent coefficients are imported.
The remaining optical definitions below have complete bodies; their domains differ
from accepted declarations sharing their former short names. Only source results use sorry.
Fidelity is squared; Q excludes the equal-prior factor 1/2. Spectral zero powers
are support projections. Compilation is delegated to the batch handoff.
-/
noncomputable section
open scoped BigOperators ComplexConjugate
open MeasureTheory Filter
namespace QAlgorithms.Papers.Independent.Intakethird100.P54
open QAlgorithms.RealRegisters (Hilbert)
open QAlgorithms.Papers.Independent.Claimed50.P47 (Occupation)
open QAlgorithms.Papers.Independent.Dependency50.P39 (coherentCoefficient)
attribute [local instance] Classical.propDecidable
attribute [local instance] Classical.decEq
/-- Fock coefficients of an operator; validity is supplied by its construction. -/
abbrev opticalKernel (X : Type) := X → X → ℂ
/-- A full Fock vector from coefficients. Off l² only, the total extension is zero.
The stated construction clauses rule this branch out for every physical input. -/
def fockVector {X : Type} (a : X → ℂ) : Hilbert X :=
if h : Memℓp a 2 then ⟨a, h⟩ else 0
/-- A single-mode vacuum-environment splitter, PDF p.1, (1). -/
structure Splitter where
reflectance : ℝ
phase : ℝ
nonnegative : 0 ≤ reflectance
atMostOne : reflectance ≤ 1
/-- Nonnegative field reflection magnitude. -/
def Splitter.r (a : Splitter) : ℝ := Real.sqrt a.reflectance
/-- Nonnegative field transmission magnitude. -/
def Splitter.t (a : Splitter) : ℝ := Real.sqrt (1 - a.reflectance)
/-- Complex returned field coefficient, PDF p.1. -/
def Splitter.field (a : Splitter) : ℂ :=
(a.r : ℂ) * Complex.exp (Complex.I * (a.phase : ℂ))
/-- Two candidate splitters; the prior is built into the error definition. -/
abbrev Channels := Bool → Splitter
/-- The paper's ordering and distinctness assumptions, PDF pp.1–2. -/
def ValidSplitters (c : Channels) : Prop :=
(c false).reflectance ≤ (c true).reflectance ∧
(c false).field ≠ (c true).field
/-- Section IV's common phase removed by the same known unitary. -/
def Reading (c : Channels) : Prop :=
(c false).phase = 0 ∧ (c true).phase = 0
/-- The common real overlap coefficient of (17),(49). -/
def splitterOverlap (c : Channels) : ℝ :=
(c false).r * (c true).r + (c false).t * (c true).t
/-- Total signal photon number, with no idler energy charged, PDF p.4, (18). -/
def photons {M : ℕ} (n : Occupation (Fin M)) : ℕ := ∑ m, n m
/-- Vacuum-environment binomial amplitude (12). The phase multiplies the entire
input occupation, not just the returned photon count. The guard precedes subtraction. -/
def lossAmplitude {M : ℕ} (a : Splitter) (n k : Occupation (Fin M)) : ℂ :=
if ∀ m, k m ≤ n m then
∏ m, (Real.sqrt (Nat.choose (n m) (k m) : ℝ) : ℂ) *
Complex.exp (Complex.I * (n m : ℂ) * (a.phase : ℂ)) *
(a.r : ℂ) ^ (n m - k m) * (a.t : ℂ) ^ k m
else 0
/-- Loss-sector coefficients (11),(25); idlers are retained without change. -/
def sectorCoefficients {I : Type} {M : ℕ}
(a : Splitter) (psi : Hilbert (I × Occupation (Fin M)))
(k : Occupation (Fin M)) (x : I × Occupation (Fin M)) : ℂ :=
psi (x.1, x.2 + k) * lossAmplitude a (x.2 + k) k
/-- The unnormalized retained state in a loss sector, PDF p.4, (25). -/
def lossSector {I : Type} {M : ℕ} (a : Splitter)
(psi : Hilbert (I × Occupation (Fin M))) (k : Occupation (Fin M)) :
Hilbert (I × Occupation (Fin M)) := fockVector (sectorCoefficients a psi k)
/-- Actual returned density after tracing inaccessible independent vacuum modes,
PDF pp.1,3–5, (2),(11),(32). Every series is over full Fock labels. -/
def returned {I : Type} {M : ℕ} (a : Splitter)
(psi : Hilbert (I × Occupation (Fin M))) : opticalKernel (I × Occupation (Fin M)) :=
fun x y => ∑' k : Occupation (Fin M),
sectorCoefficients a psi k x * star (sectorCoefficients a psi k y)
/-- Reduced signal number law, PDF p.4, before (17). -/
def signalLaw {I : Type} {M : ℕ} (psi : Hilbert (I × Occupation (Fin M)))
(n : Occupation (Fin M)) : ℝ := ∑' i : I, Complex.normSq (psi (i, n))
/-- Total signal photon law (18), distinct from the multimode occupation law. -/
def totalLaw {I : Type} {M : ℕ} (psi : Hilbert (I × Occupation (Fin M)))
(n : ℕ) : ℝ :=
∑' q : Occupation (Fin M), if photons q = n then signalLaw psi q else 0
/-- Finite mean SIGNAL energy, PDF pp.6–7. Summability rules out totalized tsum. -/
def HasSignalEnergy {I : Type} {M : ℕ} (psi : Hilbert (I × Occupation (Fin M))) (N : ℝ) : Prop :=
0 ≤ N ∧ Summable (fun n : ℕ => (n : ℝ) * totalLaw psi n) ∧
(∑' n : ℕ, (n : ℝ) * totalLaw psi n) = N
/-- Source definition of NDS: the signal marginal is number diagonal, PDF p.4.
For pure probes this is equivalent to orthogonal occupied idler Schmidt vectors. -/
def IsNDS {I : Type} {M : ℕ} (psi : Hilbert (I × Occupation (Fin M))) : Prop :=
∀ n q : Occupation (Fin M), n ≠ q →
(∑' i : I, psi (i, n) * star (psi (i, q))) = 0
/-- Reduced density of a normalized countable-ancilla purification. -/
def purificationMarginal {X : Type} (z : Hilbert (X × ℕ)) : opticalKernel X :=
fun x y => ∑' e : ℕ, z (x, e) * star (z (y, e))
/-- Purification as actual norm-one amplitudes, not an assumed fidelity value. -/
def PurifiesOpticalKernel {X : Type} (rho : opticalKernel X) (z : Hilbert (X × ℕ)) : Prop :=
‖z‖ = 1 ∧ purificationMarginal z = rho
/-- Squared Uhlmann fidelity (4),(19), as the supremum over all purifications.
For physical densities here this set is nonempty and bounded in [0,1]; the
countable ancilla suffices because the optical Hilbert spaces are separable. -/
def squaredOpticalFidelity {X : Type} (rho sigma : opticalKernel X) : ℝ :=
sSup {v : ℝ | ∃ z w : Hilbert (X × ℕ),
PurifiesOpticalKernel rho z ∧ PurifiesOpticalKernel sigma w ∧
v = Complex.normSq (inner ℂ z w)}
/-- A spectral resolution of a normalized positive trace-class density. Only
positive-weight vectors are required to be orthonormal. The kernel equality is
part of a spectral representation, not an assumption on any source theorem. -/
structure Resolution {X : Type} (rho : opticalKernel X) where
weight : ℕ → ℝ
ket : ℕ → Hilbert X
nonnegative : ∀ n, 0 ≤ weight n
summable : Summable weight
mass : ∑' n, weight n = 1
normalized : ∀ n, 0 < weight n → ‖ket n‖ = 1
orthogonal : ∀ n m, n ≠ m → 0 < weight n → 0 < weight m →
inner ℂ (ket n) (ket m) = 0
represents : ∀ x y, rho x y =
∑' n : ℕ, (weight n : ℂ) * ket n x * star (ket n y)
/-- A binary measurement effect is a bounded complex-linear positive contraction.
E is the decision-zero effect; 1-E is the decision-one effect, PDF pp.3,5. -/
def IsOpticalEffect {X : Type} (E : Hilbert X →L[ℂ] Hilbert X) : Prop :=
(∀ u v, inner ℂ u (E v) = star (inner ℂ v (E u))) ∧
∀ v, 0 ≤ (inner ℂ v (E v)).re ∧ (inner ℂ v (E v)).re ≤ ‖v‖ ^ 2
/-- Binary Bayesian error for actual spectral states and an effect; arbitrary
joint signal-idler effects are admitted, including non-projective measurements. -/
def opticalBayesRisk {X : Type} {rho sigma : opticalKernel X}
(A : Resolution rho) (B : Resolution sigma)
(E : Hilbert X →L[ℂ] Hilbert X) (pi0 pi1 : ℝ) : ℝ :=
pi0 * (∑' n : ℕ, A.weight n * (1 - (inner ℂ (A.ket n) (E (A.ket n))).re)) +
pi1 * (∑' n : ℕ, B.weight n * (inner ℂ (B.ket n) (E (B.ket n))).re)
/-- Operational minimum Bayesian error. For normalized physical densities and
priors this is a nonempty infimum of numbers in [0,1]; spectral representations
do not constrain the allowed receiver. Equal priors are used except in (42). -/
def bayesError {X : Type} (rho sigma : opticalKernel X) (pi0 pi1 : ℝ) : ℝ :=
sInf {v : ℝ | ∃ (A : Resolution rho) (B : Resolution sigma)
(E : Hilbert X →L[ℂ] Hilbert X), IsOpticalEffect E ∧ v = opticalBayesRisk A B E pi0 pi1}
/-- Equal-prior minimum average error, PDF p.3, (5). -/
def opticalError {X : Type} (rho sigma : opticalKernel X) : ℝ := bayesError rho sigma (1/2) (1/2)
/-- Support spectral power: the zero eigenspace contributes zero even at t=0.
This implements the support-projection convention on PDF p.6. -/
def supportWeightPower (p t : ℝ) : ℝ := if p = 0 then 0 else Real.rpow p t
/-- Tr(rho^s sigma^(1-s)), defined independently from NDS formulas (45).
For densities and 0<=s<=1 every spectral representation gives the same absolutely
convergent nonnegative double series, in [0,1]. Hence this supremum is nonempty
and bounded; it does not optimize the probe or the receiver. -/
def chernoffAt {X : Type} (rho sigma : opticalKernel X) (s : ℝ) : ℝ :=
sSup {v : ℝ | ∃ (A : Resolution rho) (B : Resolution sigma),
v = ∑' nm : ℕ × ℕ,
supportWeightPower (A.weight nm.1) s * supportWeightPower (B.weight nm.2) (1-s) *
Complex.normSq (inner ℂ (A.ket nm.1) (B.ket nm.2))}
/-- Chernoff coefficient WITHOUT prior factor, including both support endpoints (9). -/
def opticalChernoff {X : Type} (rho sigma : opticalKernel X) : ℝ :=
sInf {v : ℝ | ∃ s ∈ Set.Icc (0 : ℝ) 1, v = chernoffAt rho sigma s}
/-- Pure-input output fidelity, for the actual channels. -/
def outputFidelity {I : Type} {M : ℕ} (c : Channels)
(psi : Hilbert (I × Occupation (Fin M))) : ℝ :=
squaredOpticalFidelity (returned (c false) psi) (returned (c true) psi)
/-- Pure-input operational output error. -/
def outputError {I : Type} {M : ℕ} (c : Channels)
(psi : Hilbert (I × Occupation (Fin M))) : ℝ :=
opticalError (returned (c false) psi) (returned (c true) psi)
/-- Pure-input Chernoff-type coefficient. -/
def outputChernoffAt {I : Type} {M : ℕ} (c : Channels)
(psi : Hilbert (I × Occupation (Fin M))) (s : ℝ) : ℝ :=
chernoffAt (returned (c false) psi) (returned (c true) psi) s
/-- Pure-input optimized Chernoff coefficient. -/
def outputChernoff {I : Type} {M : ℕ} (c : Channels)
(psi : Hilbert (I × Occupation (Fin M))) : ℝ :=
opticalChernoff (returned (c false) psi) (returned (c true) psi)
/-- Complex overlap series in the TOTAL photon law, PDF p.4, (17). -/
def purificationOverlapTerm {I : Type} {M : ℕ} (c : Channels)
(psi : Hilbert (I × Occupation (Fin M))) (n : ℕ) : ℂ :=
(totalLaw psi n : ℂ) *
Complex.exp (Complex.I * (n : ℂ) * ((c true).phase - (c false).phase : ℝ)) *
(splitterOverlap c : ℂ) ^ n
/-- Squared overlap (17); the absolute value encloses the WHOLE complex sum. -/
def purificationOverlap {I : Type} {M : ℕ} (c : Channels)
(psi : Hilbert (I × Occupation (Fin M))) : ℝ :=
Complex.normSq (∑' n : ℕ, purificationOverlapTerm c psi n)
/-- Fidelity-based LOWER error envelope (6),(20),(53). -/
def lowerError (F : ℝ) : ℝ := (1 - Real.sqrt (1-F)) / 2
/-- Loss-sector probability (27) directly from its actual vector. -/
def lossProbability {I : Type} {M : ℕ} (c : Channels)
(psi : Hilbert (I × Occupation (Fin M))) (b : Bool) (k : Occupation (Fin M)) : ℝ :=
‖lossSector (c b) psi k‖ ^ 2
/-- Loss-sector overlap (30); the first argument is conjugated. -/
def lossOverlap {I : Type} {M : ℕ} (c : Channels)
(psi : Hilbert (I × Occupation (Fin M))) (k : Occupation (Fin M)) : ℂ :=
inner ℂ (lossSector (c false) psi k) (lossSector (c true) psi k)
/-- Explicit complex binomial summand (31), with componentwise loss guard. -/
def lossOverlapTerm {I : Type} {M : ℕ} (c : Channels)
(psi : Hilbert (I × Occupation (Fin M))) (k n : Occupation (Fin M)) : ℂ :=
(signalLaw psi n : ℂ) * star (lossAmplitude (c false) n k) * lossAmplitude (c true) n k
/-- The at-most-two-dimensional block H_k of (33)–(35). -/
def lossBlock {I : Type} {M : ℕ} (c : Channels)
(psi : Hilbert (I × Occupation (Fin M))) (k : Occupation (Fin M)) :
Submodule ℂ (Hilbert (I × Occupation (Fin M))) :=
Submodule.span ℂ {lossSector (c false) psi k, lossSector (c true) psi k}
/-- Weighted block difference; equal priors use weights 1,1 for rho0-rho1. -/
def lossBlockDifference {I : Type} {M : ℕ} (c : Channels)
(psi : Hilbert (I × Occupation (Fin M))) (k : Occupation (Fin M)) (w0 w1 : ℝ)
(v : Hilbert (I × Occupation (Fin M))) : Hilbert (I × Occupation (Fin M)) :=
((w0 : ℂ) * inner ℂ (lossSector (c false) psi k) v) • lossSector (c false) psi k -
((w1 : ℂ) * inner ℂ (lossSector (c true) psi k) v) • lossSector (c true) psi k
/-- A complete block spectral receiver, (40)–(42). E is the zero decision.
It is projective, preserves every loss block, and decides the positive/negative
spectra correctly. Zero eigenvectors may be assigned either decision. -/
def BlockReceiver {I : Type} {M : ℕ} (c : Channels)
(psi : Hilbert (I × Occupation (Fin M))) (w0 w1 : ℝ)
(E : Hilbert (I × Occupation (Fin M)) →L[ℂ] Hilbert (I × Occupation (Fin M))) : Prop :=
IsOpticalEffect E ∧ E.comp E = E ∧
(∀ k v, v ∈ lossBlock c psi k → E v ∈ lossBlock c psi k) ∧
(∀ k v (a : ℝ), v ∈ lossBlock c psi k →
lossBlockDifference c psi k w0 w1 v = (a : ℂ) • v →
(0 < a → E v = v) ∧ (a < 0 → E v = 0))
/-- Risk of a concrete effect, directly on unnormalized output loss vectors. -/
def sectorRisk {I : Type} {M : ℕ} (c : Channels)
(psi : Hilbert (I × Occupation (Fin M)))
(E : Hilbert (I × Occupation (Fin M)) →L[ℂ] Hilbert (I × Occupation (Fin M)))
(pi0 pi1 : ℝ) : ℝ :=
pi0 * (∑' k : Occupation (Fin M), (lossProbability c psi false k -
(inner ℂ (lossSector (c false) psi k) (E (lossSector (c false) psi k))).re)) +
pi1 * (∑' k, (inner ℂ (lossSector (c true) psi k) (E (lossSector (c true) psi k))).re)
/-- Term of (45), explicitly omitting either zero-probability sector. -/
def ndsChernoffTerm {I : Type} {M : ℕ} (c : Channels)
(psi : Hilbert (I × Occupation (Fin M))) (s : ℝ) (k : Occupation (Fin M)) : ℝ :=
if lossProbability c psi false k = 0 ∨ lossProbability c psi true k = 0 then 0
else Real.rpow (lossProbability c psi false k) (s-1) *
Real.rpow (lossProbability c psi true k) (-s) * Complex.normSq (lossOverlap c psi k)
/-- Rank-one full-Fock density. -/
def opticalPureKernel {X : Type} (psi : Hilbert X) : opticalKernel X :=
fun x y => psi x * star (psi y)
/-- A Fock signal with no retained idlers; the empty idler occupation has one value. -/
def fock {M : ℕ} (N : Occupation (Fin M)) : Hilbert (Occupation (Fin 0) × Occupation (Fin M)) :=
lp.single 2 (0, N) 1
/-- Independent product probes with arbitrary finite idler count J_m per signal,
PDF p.6, (46)–(47). The idler register is grouped, without tracing any factors. -/
def productOpticalProbe {M : ℕ} (J : Fin M → ℕ)
(psi : ∀ m, Hilbert (Occupation (Fin (J m)) × Occupation (Fin 1))) :
Hilbert ((∀ m, Occupation (Fin (J m))) × Occupation (Fin M)) :=
fockVector (fun x => ∏ m, psi m (x.1 m, fun _ => x.2 m))
/-- Independent copies of a joint multimode probe, with all signals grouped. -/
def opticalCopies {J M : ℕ} (psi : Hilbert (Occupation (Fin J) × Occupation (Fin M))) (L : ℕ) :
Hilbert ((Fin L → Occupation (Fin J)) × Occupation (Fin (L*M))) :=
fockVector (fun x => ∏ l : Fin L,
psi (x.1 l, fun m : Fin M => x.2 ⟨l.val*M+m.val, by
calc
l.val*M+m.val < l.val*M+M := Nat.add_lt_add_left m.isLt _
_ = (l.val+1)*M := (Nat.succ_mul _ _).symm
_ ≤ L*M := Nat.mul_le_mul_right M (Nat.succ_le_of_lt l.isLt)⟩))
/-- Product coherent probe; arbitrary classical idler amplitudes are retained. -/
def coherentOpticalProbe {J M : ℕ} (beta : Fin J → ℂ) (alpha : Fin M → ℂ) :
Hilbert (Occupation (Fin J) × Occupation (Fin M)) :=
fockVector (fun x => (∏ j, coherentCoefficient (beta j) (x.1 j)) *
∏ m, coherentCoefficient (alpha m) (x.2 m))
/-- Total signal energy of a product coherent state. -/
def coherentEnergy {M : ℕ} (alpha : Fin M → ℂ) : ℝ :=
∑ m, Complex.normSq (alpha m)
/-- Multimode EPR coefficients (73), with N the per-pair SIGNAL energy.
Natural powers preserve the vacuum convention 0^0=1. -/
def tmsvCoefficients (M : ℕ) (N : ℝ) (x : Occupation (Fin M) × Occupation (Fin M)) : ℂ :=
if x.1 = x.2 then
∏ m, ((Real.sqrt (1/(N+1)) : ℝ) : ℂ) *
((Real.sqrt (N/(N+1)) : ℝ) : ℂ) ^ x.2 m
else 0
/-- Product of M identical EPR pairs, with no photon cutoff. -/
def tmsvProbe (M : ℕ) (N : ℝ) : Hilbert (Occupation (Fin M) × Occupation (Fin M)) :=
fockVector (tmsvCoefficients M N)
/-- Product law of observed RETURNED counts, PDF p.8, (62) with j=N-k. -/
def countLaw {M : ℕ} (a : Splitter) (N j : Occupation (Fin M)) : ℝ :=
if ∀ m, j m ≤ N m then
∏ m, (Nat.choose (N m) (j m) : ℝ) *
a.reflectance ^ j m * (1-a.reflectance) ^ (N m-j m)
else 0
/-- Binomial law of the total returned photon count. -/
def totalCountLaw (a : Splitter) (K j : ℕ) : ℝ :=
if j ≤ K then (Nat.choose K j : ℝ) * a.reflectance ^ j *
(1-a.reflectance) ^ (K-j) else 0
/-- Equal-prior overlap of the total count distributions, not an assumed quantum optimum. -/
def countingError (c : Channels) (K : ℕ) : ℝ :=
(∑ j ∈ Finset.range (K+1),
min (totalCountLaw (c false) K j) (totalCountLaw (c true) K j)) / 2
/-- Photon counting followed by d(j), where true means decision one.
E is the zero-decision effect and acts trivially on every retained idler. -/
def CountsAs {I : Type} {M : ℕ}
(E : Hilbert (I × Occupation (Fin M)) →L[ℂ] Hilbert (I × Occupation (Fin M)))
(d : Occupation (Fin M) → Bool) : Prop :=
∀ v x, (E v) x = if d x.2 then 0 else v x
/-- Interior logarithmic threshold (65); endpoint rules are separate theorems. -/
def countThreshold (c : Channels) (K : ℕ) : ℝ :=
(K : ℝ) * Real.log ((1-(c false).reflectance)/(1-(c true).reflectance)) /
Real.log ((c true).reflectance*(1-(c false).reflectance) /
((c false).reflectance*(1-(c true).reflectance)))
/-- One-photon classical Chernoff coefficient, PDF p.8, (66). -/
def fockCoefficient (c : Channels) (s : ℝ) : ℝ :=
Real.rpow (c false).reflectance s * Real.rpow (c true).reflectance (1-s) +
Real.rpow (1-(c false).reflectance) s * Real.rpow (1-(c true).reflectance) (1-s)
/-- Explicit optimizer (67); theorem hypotheses restrict it to strict interior channels. -/
def fockOptimizer (c : Channels) : ℝ :=
Real.log (-(c true).reflectance * Real.log ((c false).reflectance/(c true).reflectance) /
((1-(c true).reflectance) * Real.log ((1-(c false).reflectance)/(1-(c true).reflectance)))) /
Real.log ((1-(c false).reflectance)*(c true).reflectance /
((1-(c true).reflectance)*(c false).reflectance))
/-- Per-photon number-state exponent, with natural logarithm, (66). -/
def numberExponent (c : Channels) : ℝ := -Real.log (fockCoefficient c (fockOptimizer c))
/-- Per-photon coherent exponent (68). -/
def coherentExponent (c : Channels) : ℝ := ((c true).r-(c false).r)^2
/-- Exponent gain (69); no claim that it is large in every regime. -/
def exponentGain (c : Channels) : ℝ := numberExponent c / coherentExponent c
/-- Parameters (78)–(81); beta is used only when R1<1. -/
def eprAlpha (c : Channels) (N : ℝ) : ℝ :=
((1-(c false).reflectance)*N+1) / ((1-(c true).reflectance)*N+1)
/-- Parameter beta in (79). -/
def eprBeta (c : Channels) : ℝ := (1-(c false).reflectance)/(1-(c true).reflectance)
/-- Parameter C in (80). -/
def eprC (c : Channels) (N : ℝ) : ℝ :=
((1-(c false).r*(c true).r)*N+1)^2 / ((1-(c false).reflectance)*N+1)
/-- Parameter D in (81). -/
def eprD (c : Channels) (N : ℝ) : ℝ := (1-(c true).reflectance)*N
/-- Equivalent logarithmic case test (84)–(85): no exponent/product ambiguity. -/
def eprDerivativeSign (c : Channels) (N : ℝ) : ℝ :=
eprD c N * Real.log (eprBeta c) - eprC c N * Real.log (eprAlpha c N)
/-- Optimizer (85)–(86). N=0 and ideal memory are handled outside this definition. -/
def eprOptimizer (c : Channels) (N : ℝ) : ℝ :=
if 0 ≤ eprDerivativeSign c N then 0 else
min 1 (Real.log (eprC c N * Real.log (eprAlpha c N) /
(eprD c N * Real.log (eprBeta c))) /
Real.log (eprBeta c / eprAlpha c N))
/-- Classical positive-P probes include arbitrary probability measures and Dirac
masses. Signal and idler amplitudes may be classically correlated, (3), pp.2,8. -/
def classicalReturned {J M : ℕ} (a : Splitter)
(nu : Measure ((Fin J → ℂ) × (Fin M → ℂ))) :
opticalKernel (Occupation (Fin J) × Occupation (Fin M)) :=
fun x y => ∫ alpha,
opticalPureKernel (coherentOpticalProbe alpha.1 (fun m => a.field * alpha.2 m)) x y ∂nu
/-- An additional uniform independent vacuum attenuator, PDF p.12, IV.E.2. -/
def vacuumEfficiency (eta : ℝ) (h0 : 0 ≤ eta) (h1 : eta ≤ 1) : Splitter :=
⟨eta, 0, h0, h1⟩
/-- A uniform receiver efficiency multiplies energy reflectance. Eta=0 is allowed
and makes the two effective returned channels identical. -/
def efficiencyScaled (a : Splitter) (eta : ℝ) (h0 : 0 ≤ eta) (h1 : eta ≤ 1) : Splitter :=
⟨eta*a.reflectance, a.phase, mul_nonneg h0 a.nonnegative,
by
calc
eta*a.reflectance ≤ 1*a.reflectance := mul_le_mul_of_nonneg_right h1 a.nonnegative
_ = a.reflectance := one_mul _
_ ≤ 1 := a.atMostOne⟩
/-- Vacuum attenuator on a full joint operator kernel, retaining every idler. -/
def attenuate {I : Type} {M : ℕ} (a : Splitter)
(rho : opticalKernel (I × Occupation (Fin M))) : opticalKernel (I × Occupation (Fin M)) :=
fun x y => ∑' k : Occupation (Fin M),
lossAmplitude a (x.2+k) k * star (lossAmplitude a (y.2+k) k) *
rho (x.1, x.2+k) (y.1, y.2+k)
/-! Small sanity tests pin definitions without proving source results. -/
example (p : ℝ) : supportWeightPower 0 p = 0 := by simp [supportWeightPower]
example {M : ℕ} (N : Occupation (Fin M)) : fock N (0, N) = 1 := by
simp [fock]
example {M : ℕ} (N : Occupation (Fin M)) : ‖fock N‖ = 1 := by
simp [fock, lp.norm_single (by norm_num : (0 : ENNReal) < 2)]
example (a : Splitter) : totalCountLaw a 0 0 = 1 := by
simp [totalCountLaw]
example (s : ℝ) : lowerError 1 = 1/2 := by norm_num [lowerError]
example (eta : ℝ) (h0 : 0 ≤ eta) (h1 : eta ≤ 1) (a : Splitter) :
(efficiencyScaled a eta h0 h1).reflectance = eta*a.reflectance := rfl
example {X : Type} (rho : opticalKernel X) : ¬ PurifiesOpticalKernel rho (0 : Hilbert (X × ℕ)) := by
simp [PurifiesOpticalKernel]
example {X : Type} : IsOpticalEffect (0 : Hilbert X →L[ℂ] Hilbert X) := by
simp [IsOpticalEffect, sq_nonneg]
example (c : Channels) : countingError c 0 = 1/2 := by
simp [countingError, totalCountLaw]
example (M : ℕ) : tmsvCoefficients M 0 (0, 0) = 1 := by
simp [tmsvCoefficients]
example {M : ℕ} (a : Splitter) : lossAmplitude a (0 : Occupation (Fin M)) 0 = 1 := by
simp [lossAmplitude]
example : supportWeightPower 1 0 = 1 := by
simp [supportWeightPower]
/-- Dual trace norm of a weighted Hermitian difference, used in (42).
The supremum ranges over ALL bounded self-adjoint contractions. Spectral
resolutions merely evaluate traces of the actual two states. -/
def weightedTraceNorm {X : Type} (rho sigma : opticalKernel X) (w0 w1 : ℝ) : ℝ :=
sSup {v : ℝ | ∃ (A : Resolution rho) (B : Resolution sigma)
(T : Hilbert X →L[ℂ] Hilbert X),
(∀ u v, inner ℂ u (T v) = star (inner ℂ v (T u))) ∧
(∀ u, |(inner ℂ u (T u)).re| ≤ ‖u‖^2) ∧
v = w0 * (∑' n, A.weight n * (inner ℂ (A.ket n) (T (A.ket n))).re) -
w1 * (∑' n, B.weight n * (inner ℂ (B.ket n) (T (B.ket n))).re)}
/-- Composition of full Fock operator kernels on the physical trace-class arguments. -/
def kernelProduct {X : Type} (rho sigma : opticalKernel X) : opticalKernel X :=
fun x y => ∑' z : X, rho x z * sigma z y
/-- Target-detection universal envelope (59), with fixed real signal energy N. -/
def targetLower (R N : ℝ) : ℝ := lowerError (Real.rpow (1-R) N)
/-- Coherent target-detection error envelope (60). -/
def targetCoherent (R N : ℝ) : ℝ := lowerError (Real.exp (-R*N))
end QAlgorithms.Papers.Independent.Intakethird100.P54
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
QAlgorithms.Papers.Independent.Intakethird100.P54.BlockReceiver
For any type , natural number , splitter pair , vector , real weights , and bounded complex-linear operator , where , define , for and , by the coordinates
where and are splitter ’s parameters, and use the zero vector if these coordinates are not square-summable. Put and . The defined proposition requires all of the following: for every , ; for every , ; ; every is invariant under ; and for every , every , and every real satisfying , one has if and if . The last condition imposes no further requirement when . The weights are unrestricted and need not be normalized. The case is included, with empty product .
QAlgorithms.Papers.Independent.Intakethird100.P54.Channels
A channel pair is a function from the two Boolean labels to splitters. Writing its values as and , each has a reflectance and a real phase . The two splitters may coincide.
QAlgorithms.Papers.Independent.Intakethird100.P54.CountsAs
For any type , any natural number , any bounded complex-linear operator on , and any Boolean-valued function , this is the proposition that, for every vector in that Hilbert space and every coordinate ,
There is no finiteness, countability, or nonemptiness assumption on . If is empty, the coordinate condition is vacuous. If , the occupation index set is a singleton, so has a single Boolean value.
QAlgorithms.Papers.Independent.Intakethird100.P54.HasSignalEnergy
For any type , natural number , square-summable complex family , and real number , define
The stated property means that , the real series is summable, and its sum equals . No normalization of is required. The term contributes ; if , if is empty, or if , the property holds exactly when .
QAlgorithms.Papers.Independent.Intakethird100.P54.IsNDS
For any type , natural number , and square-summable complex family , this property requires that every pair of distinct occupation vectors satisfy
There is no requirement for pairs with , and no normalization or nonzero condition on . If , there are no distinct occupation vectors, so the property holds vacuously. If is empty or , every displayed sum is .
QAlgorithms.Papers.Independent.Intakethird100.P54.IsOpticalEffect
For any type and continuous complex-linear operator , this property means that
and that
The vectors range over the entire Hilbert space, including , without normalization. No idempotence requirement is included. If is empty, the unique operator on the zero Hilbert space satisfies the property.
QAlgorithms.Papers.Independent.Intakethird100.P54.PurifiesOpticalKernel
For any type , arbitrary complex-valued kernel , and square-summable complex family , this property means both that and that
There are no separate assumptions on ; the displayed requirements are the entire property. If is empty, its Hilbert space is zero-dimensional and no such unit vector exists, so the property cannot hold.
QAlgorithms.Papers.Independent.Intakethird100.P54.Reading
For any channel pair , consisting of splitters with reflectances and real phases , this property means exactly that and , as equalities of real numbers. It imposes no ordering or distinctness condition on the reflectances.
QAlgorithms.Papers.Independent.Intakethird100.P54.Resolution
For any type and arbitrary complex-valued kernel , a resolution consists of a real sequence and vectors such that for every , the sequence is summable with , every with has norm , every distinct pair with and satisfies , and
Vectors at indices of zero weight have no normalization or orthogonality requirement. The sequence may have finitely or infinitely many positive weights. Existence of a resolution is not asserted for an arbitrary kernel; if is empty, no resolution exists because total weight forces a positive weight but the zero Hilbert space has no unit vector.
QAlgorithms.Papers.Independent.Intakethird100.P54.Splitter.field
For any splitter , with reflectance and real phase , this defines the complex number . When , this number is zero for every phase.
QAlgorithms.Papers.Independent.Intakethird100.P54.Splitter
A splitter consists of two real numbers, a reflectance and a phase , together with proofs that and . Both endpoints and are allowed, and is unrestricted.
QAlgorithms.Papers.Independent.Intakethird100.P54.Splitter.r
For any splitter , with reflectance and real phase , this defines , using the nonnegative real square root; in particular, when .
QAlgorithms.Papers.Independent.Intakethird100.P54.Splitter.t
For any splitter , with reflectance and real phase , this defines , using the nonnegative real square root; in particular, when .
QAlgorithms.Papers.Independent.Intakethird100.P54.ValidSplitters
For any channel pair , whose splitter at label has reflectance and real phase , this property means exactly that and . Equality of the reflectances is allowed provided the complex fields differ; if both reflectances are zero, the property fails.
QAlgorithms.Papers.Independent.Intakethird100.P54.attenuate
For any type , any natural number , a splitter with reflectance and phase , and any complex kernel on , this defines another kernel as follows. Put , , and, for occupation vectors , put . Then
Addition of occupation vectors is componentwise. No positivity, normalization, or summability hypothesis is imposed on ; the infinite sum is the total complex summation operation, which equals zero if the summand is not summable. The definition includes , when there is one empty occupation vector, all products are empty products equal to , and the resulting kernel equals . The endpoint reflectances and are included, with natural powers satisfying .
QAlgorithms.Papers.Independent.Intakethird100.P54.bayesError
For any type , arbitrary kernels , and arbitrary real numbers , put . A resolution of a kernel consists of summable nonnegative real weights with , vectors normalized whenever , orthogonality whenever and both weights are positive, and the identities . The value is the real infimum, over all resolutions of , resolutions of , and continuous complex-linear operators satisfying
of the numbers
The priors have no sign or normalization assumptions, and the kernels are not assumed to admit resolutions. If there are no candidates, the real infimum of the empty set is ; in particular, this applies when is empty. Infinite sums use the total convention of value for nonsummable families.
QAlgorithms.Papers.Independent.Intakethird100.P54.chernoffAt
For any type , arbitrary kernels , and any real , let and define if and otherwise, using real powers. A resolution of a kernel means nonnegative summable weights with sum , vectors in normalized at positive weights and mutually orthogonal between distinct positive-weight indices, and for every . Then
where the supremum is taken in . There is no restriction in this definition. A zero weight contributes even when its exponent is zero or negative. The sum is indexed by pairs, and has value if its family is nonsummable. Resolutions need not exist; the real supremum is for an empty candidate set, including when is empty, and also uses the total value for a set unbounded above.
QAlgorithms.Papers.Independent.Intakethird100.P54.classicalReturned
For arbitrary natural numbers , including zero, a splitter with reflectance and real phase , and any measure on , this defines a complex kernel on pairs of occupations , where and . Put and
Let be this coefficient function regarded as a vector in the complex space of occupation pairs when it belongs to that space, and the zero vector otherwise. The defined kernel is
Empty products are . The measure is not required to be a probability measure, and no integrability hypothesis is supplied; each integral uses the total Bochner integral, which is zero when its integrand is not integrable.
QAlgorithms.Papers.Independent.Intakethird100.P54.coherentEnergy
For any natural number , including zero, and any complex amplitudes , this defines the real number
For , this is the empty sum and equals .
QAlgorithms.Papers.Independent.Intakethird100.P54.coherentExponent
For any pair of splitters, each having reflectance and an arbitrary real phase, the definition assigns
where the square roots are nonnegative. No ordering or distinctness assumption is imposed; equal reflectances give zero, and the phases do not affect the value.
QAlgorithms.Papers.Independent.Intakethird100.P54.coherentOpticalProbe
For arbitrary natural numbers , complex amplitudes and , this defines a vector in from the coefficients
If this coefficient function is square-summable, the defined vector has these coefficients; otherwise it is the zero vector. Either number of modes may be zero, and each empty product equals . Natural powers use , and every factorial denominator is positive.
QAlgorithms.Papers.Independent.Intakethird100.P54.countLaw
For any natural number , any splitter consisting of a real reflectance and an arbitrary real phase, and any occupation vectors , this defines the real number
The phase does not enter this expression. The exponents use natural-number subtraction, which truncates at zero, although the branch condition ensures is the ordinary nonnegative difference wherever the product is used. The boundary reflectances and are included, with . For , the branch condition is vacuous and the empty product equals .
QAlgorithms.Papers.Independent.Intakethird100.P54.countThreshold
For any pair of splitters and , with respective reflectances and arbitrary real phases, and any natural number , this defines the real number
The phases do not enter the expression, and no ordering, distinctness, or strict interior condition is imposed on the reflectances. All divisions and logarithms are total: division by zero equals , and . Thus the expression is defined even at boundary reflectances and when its final denominator is zero; in the latter case its value is . For , its value is also .
QAlgorithms.Papers.Independent.Intakethird100.P54.countingError
For any pair of splitters and , each having a real reflectance and an arbitrary real phase, and any natural number , this defines
No ordering or distinctness of the splitters, and no restriction on their phases, is assumed; only their reflectances enter the expression. The endpoints are included, with . For , the sum has one term and the defined value is .
QAlgorithms.Papers.Independent.Intakethird100.P54.efficiencyScaled
For every splitter , whose reflectance satisfies and whose phase is an arbitrary real number, and every real with supplied proofs of , the definition constructs a splitter with reflectance and phase , together with proofs that . The cases , , , and are all included; at , the resulting reflectance is zero while its phase remains .
QAlgorithms.Papers.Independent.Intakethird100.P54.eprAlpha
For any pair of splitters with reflectances , indexed respectively by and , and arbitrary real phases, and for every real , the definition assigns
There is no nonnegativity assumption on , nor any ordering or distinctness assumption on the splitters. If the denominator is zero, the quotient is defined to be zero; the phases do not enter the formula.
QAlgorithms.Papers.Independent.Intakethird100.P54.eprBeta
For any pair of splitters with reflectances , indexed respectively by and , and arbitrary real phases, the definition assigns
No ordering or distinctness is assumed, and the phases do not enter the formula. The endpoint is included and gives zero under the convention that division by zero is zero.
QAlgorithms.Papers.Independent.Intakethird100.P54.eprC
For any pair of splitters with reflectances , indexed respectively by and , and arbitrary real phases, and for every real , the definition assigns
using nonnegative square roots. No sign restriction on , ordering, or distinctness is assumed. A zero denominator gives zero, and the phases do not affect the value.
QAlgorithms.Papers.Independent.Intakethird100.P54.eprD
For any pair of splitters with reflectances , indexed respectively by and , and arbitrary real phases, and for every real , the definition assigns
There is no nonnegativity assumption on , nor any ordering or distinctness requirement. The value is zero when or , and neither phase enters the formula.
QAlgorithms.Papers.Independent.Intakethird100.P54.eprDerivativeSign
For any pair of splitters with reflectances , indexed respectively by and , and arbitrary real phases, and for every real , the definition assigns the real number
No sign restriction on , ordering, or distinctness is assumed. Division by zero is zero, , and for negative . The phases do not enter this expression, and the definition itself asserts no derivative identity or sign property.
QAlgorithms.Papers.Independent.Intakethird100.P54.eprOptimizer
For any pair of splitters with reflectances , indexed respectively by and , and arbitrary real phases, and for every real , define the auxiliary real numbers
The definition assigns
Equality in the branch condition selects zero. No sign restriction on , ordering, or distinctness is assumed. All divisions and logarithms are total, with division by zero equal to zero, , and for negative . The second branch caps the expression above by without imposing a lower bound of zero, and no minimizing property is asserted.
QAlgorithms.Papers.Independent.Intakethird100.P54.exponentGain
For any pair of splitters with reflectances , indexed respectively by and , and arbitrary real phases, set
The definition assigns
No ordering, distinctness, or phase restriction is assumed. Division by zero is zero, , and for negative ; powers are real powers with and for . In particular, equal reflectances make the denominator zero and the defined quotient zero.
QAlgorithms.Papers.Independent.Intakethird100.P54.fock
For any natural number and any occupation tuple , this defines a vector in , where , by
Here contains exactly one function, denoted , so this is the unit coordinate vector at the pair consisting of that empty function and . When , the entire coordinate index set is a singleton and the vector’s sole coordinate is .
QAlgorithms.Papers.Independent.Intakethird100.P54.fockCoefficient
For any pair of splitters and , with respective real reflectances and arbitrary real phases, and any real number , this defines
where the powers are real powers. There is no restriction that lie in , nor any ordering or distinctness assumption on the reflectances; the phases do not enter the formula. For a positive base , ; at a zero base, the convention is and for every nonzero real , including negative .
QAlgorithms.Papers.Independent.Intakethird100.P54.fockOptimizer
For any pair of splitters and , with respective reflectances and arbitrary real phases, this defines the real number
Only the reflectances enter this expression. There is no ordering, distinctness, strict interior, or logarithm-argument positivity assumption. Division by zero equals ; the real logarithm satisfies and, for negative arguments, . Consequently the formula assigns a real value even at boundary reflectances or vanishing denominators, and a zero final denominator makes the defined value .
QAlgorithms.Papers.Independent.Intakethird100.P54.fockVector
For any type and function , this defines a vector in : if is square-summable, the vector has coordinates ; otherwise, it is the zero vector. No normalization is required. If is empty, the result is the unique zero vector.
QAlgorithms.Papers.Independent.Intakethird100.P54.kernelProduct
For any type and any two complex kernels , this defines their kernel product by
There is no finiteness, countability, boundedness, positivity, or summability assumption. The sum is the total complex summation operation, equal to zero when its summand is not summable. Empty index types are included.
QAlgorithms.Papers.Independent.Intakethird100.P54.lossAmplitude
For every natural number , every splitter with reflectance and real phase , and every pair of occupation functions , this defines the complex number
The subtraction in each exponent is natural-number subtraction, and the condition in the first branch ensures it equals the ordinary nonnegative difference. Zero exponents give the value , including for a zero base, so the formula includes and . For , the condition is vacuous and the empty product equals .
QAlgorithms.Papers.Independent.Intakethird100.P54.lossBlock
For any type , natural number , splitter pair , vector , and , write and for the reflectance and phase of , for . Let be the vector whose coordinate at is
with the entire vector defined as zero if this coordinate function is not square-summable. The definition returns the complex linear subspace
The two vectors need not be nonzero or independent, so the subspace may have dimension zero, one, or two. No normalization of is required. The case uses the unique empty occupation tuple and product .
QAlgorithms.Papers.Independent.Intakethird100.P54.lossBlockDifference
Let be any type, a natural number, , a splitter pair, , , and . Write and for the reflectance and phase of . Define , for , from the coordinates
using the zero vector if this function is not square-summable. This definition returns the vector
where the inner product is conjugate-linear in its first argument. The real weights are unrestricted, neither vector must be normalized, and need not lie in the span of the two sector vectors. For , occupation tuples are empty and the product is .
QAlgorithms.Papers.Independent.Intakethird100.P54.lossOverlap
For any type , natural number , vector , splitter pair , and , where , write and for the reflectance and phase of splitter , for . For each , let have coordinates
when this function is square-summable, and let otherwise. This defines the complex number , using the Hilbert inner product conjugate-linear in its first argument. The vector need not be normalized. The case is included, with one empty occupation tuple and empty product .
QAlgorithms.Papers.Independent.Intakethird100.P54.lossOverlapTerm
For any type , natural number , splitter pair , vector , and occupation tuples , put
For , write and for splitter ’s reflectance and phase, and define
The definition returns , as a complex number. In particular, it returns zero if any . No normalization or orthogonality condition on is imposed. For , both tuples are the unique empty tuple, the condition is vacuous, and both amplitude products equal .
QAlgorithms.Papers.Independent.Intakethird100.P54.lossProbability
Let be any type, let be a natural number, and write . Let , let assign a splitter to each Boolean , and fix and . Write and for that splitter’s reflectance and phase. Define to be the square-summable vector with coordinates
if this coordinate function is square-summable, and the zero vector otherwise. The definition returns . No normalization of , ordering of the two reflectances, or relation between their phases is assumed. When , contains just the empty tuple and the product is .
QAlgorithms.Papers.Independent.Intakethird100.P54.lossSector
For any type , natural number , splitter with reflectance and phase , square-summable complex family , and occupation vector , form the complex family
The defined vector is this family regarded as an element of if it is square-summable, and is the zero vector otherwise. No unit-norm condition is imposed on or on the resulting vector. Endpoint reflectances and zero exponents are included, with ; for , the product is empty and the resulting vector is .
QAlgorithms.Papers.Independent.Intakethird100.P54.lowerError
For every real number , this defines
There is no restriction . The real square root is defined to be zero on negative inputs, so the value is whenever .
QAlgorithms.Papers.Independent.Intakethird100.P54.ndsChernoffTerm
For any type , natural number , splitter pair , vector , real , and , write and for splitter ’s parameters. Define , for , from the coordinates
using zero if this function is not square-summable, and put . This defines
where powers are real powers. In the second case both bases are positive. The parameter is not restricted to , and no normalization or occupation-sector orthogonality of is assumed. The case uses the unique empty tuple and product .
QAlgorithms.Papers.Independent.Intakethird100.P54.numberExponent
For any pair of splitters indexed by , each with reflectance and an arbitrary real phase, write and , and set
The definition assigns
The phases do not enter this expression. No ordering or distinctness of the reflectances is required, and endpoint reflectances are included. All expressions use total real operations: division by zero is zero, , and for negative , ; the powers are real powers, with and for . The definition makes no assertion that minimizes any function or belongs to .
QAlgorithms.Papers.Independent.Intakethird100.P54.opticalBayesRisk
For any type , let and let be arbitrary kernels. A resolution of a kernel consists of weights and vectors , indexed by , such that the weights are summable with sum , every vector with positive weight has norm , distinct vectors with positive weights are orthogonal, and for every . Given resolutions of and of , any continuous complex-linear operator , and any real numbers , the definition is
There is no assumption here that is an effect or that the real numbers are nonnegative or sum to . Zero-weight vectors need not be normalized or orthogonal. The infinite sums use the total convention that a nonsummable family has sum .
QAlgorithms.Papers.Independent.Intakethird100.P54.opticalChernoff
For any type and arbitrary kernels , put and for , with otherwise. For each , form the real supremum
Here a resolution of has nonnegative summable weights summing to , vectors in normalized whenever their weights are positive, orthogonality between distinct positive-weight vectors, and for all . The definition is , a real infimum; both endpoints are included, and zero weights retain value at exponent zero. No existence of resolutions is assumed. Empty or unbounded-above candidate sets for the inner real supremum have value , and a nonsummable infinite family has sum ; in particular, empty gives value .
QAlgorithms.Papers.Independent.Intakethird100.P54.opticalCopies
For arbitrary natural numbers , including zero, and any vector , this defines a vector in from the coefficient function
where is a list of occupation vectors in , and . If is square-summable, the defined vector has exactly these coefficients; otherwise it is the zero vector. There is no normalization assumption on . When , the product is empty and equals , and the output index set is a singleton; and are also allowed, with their occupation vectors interpreted as functions on the empty set.
QAlgorithms.Papers.Independent.Intakethird100.P54.opticalError
For any type and arbitrary kernels , let . The value is the real infimum of
over the following data: nonnegative summable weights each summing to ; vectors normalized at positive weights and orthogonal within each family between distinct positive-weight indices; representations and for every ; and a continuous complex-linear operator such that for all and for all . Thus the two weights multiplying the risks are exactly . Existence of these data is not assumed; the real infimum is if the candidate set is empty, including when is empty. Infinite sums have value for nonsummable families.
QAlgorithms.Papers.Independent.Intakethird100.P54.opticalKernel
For any type , an optical kernel on is an arbitrary function . No finiteness, symmetry, positivity, or normalization condition is imposed; may be empty.
QAlgorithms.Papers.Independent.Intakethird100.P54.opticalPureKernel
For every type and every square-summable complex function , this defines the complex-valued kernel on by
No unit-norm assumption is imposed: the zero vector gives the zero kernel. Empty is also allowed, in which case the kernel has no entries.
QAlgorithms.Papers.Independent.Intakethird100.P54.outputChernoff
For any type , , splitters indexed by with reflectances and phases , and any where and , define
For each , let be the real supremum of over resolutions of and of , where and for . A resolution consists of nonnegative summable weights summing to , vectors in normalized at positive weights and orthogonal between distinct positive-weight indices, and for every . The definition is in , including both endpoints and retaining . No normalization of , ordering or distinctness of splitters, or restriction on phases is assumed. The case uses a singleton and empty products equal to . Infinite sums are for nonsummable families, and empty or unbounded-above candidate sets for the inner real supremum have value .
QAlgorithms.Papers.Independent.Intakethird100.P54.outputChernoffAt
For any type , , splitters indexed by with reflectances and phases , any where and , and any real , define
With if and otherwise, is the real supremum of
over resolutions of and of . A resolution has nonnegative summable weights summing to , vectors in normalized at positive weights and orthogonal between distinct positive-weight indices, and the representation for every . There is no restriction on , no normalization assumption on , and no ordering, distinctness, or phase restriction on the splitters. Zero weights give even at zero or negative exponents. The case is allowed, with empty products equal to . Nonsummable families have sum , and an empty or unbounded-above candidate set has real supremum .
QAlgorithms.Papers.Independent.Intakethird100.P54.outputError
For any type , , splitters indexed by with reflectances and phases , and any where and , set
The value is the real infimum of
over nonnegative summable weights each summing to , vectors normalized at positive weights and orthogonal within each family between distinct positive-weight indices, representations and , and continuous complex-linear operators satisfying for all and for all . No normalization of , ordering or distinctness of the splitters, or restriction on phases is required. The case uses a singleton and empty products equal to . If no admissible resolutions and operator exist, the real infimum is ; nonsummable infinite families have sum .
QAlgorithms.Papers.Independent.Intakethird100.P54.outputFidelity
For any type , any natural number , two splitters and with reflectances and phases , and any , put , , , and . Define, for ,
Then is the real supremum of over all with and, for every ,
No normalization of , ordering or distinctness of the splitters, or restriction on their phases is assumed. The case is included, with a singleton and empty products equal to . The real supremum is if no such purifications exist; infinite sums have value for nonsummable families.
QAlgorithms.Papers.Independent.Intakethird100.P54.photons
For every natural number , including , and every occupation function , this defines the natural number . For , the sum is empty and equals zero.
QAlgorithms.Papers.Independent.Intakethird100.P54.productOpticalProbe
For any natural number , any function , and any family
this defines a vector in from the coordinate function
where , , and is the function on the singleton with value . The result has these coordinates if is square-summable, and is the zero vector otherwise. No normalization of the input vectors is required, and any may be zero. For , both coordinate factors are singletons and the empty product gives the vector with sole coordinate .
QAlgorithms.Papers.Independent.Intakethird100.P54.purificationMarginal
For any type and square-summable complex family , this defines the complex-valued kernel on by
No unit-norm condition is imposed on . In particular, gives the zero kernel, and if is empty the resulting kernel has no entries.
QAlgorithms.Papers.Independent.Intakethird100.P54.purificationOverlap
For any type , , two splitters , with reflectances and arbitrary real phases , and any with , put
The definition is the real number
No normalization or energy assumption on , or ordering or distinctness assumption on the splitters, is required. The sum includes , whose exponential and power factors are , including when . The case is included: the sole occupation has photon count , so the expression becomes , where denotes the empty occupation. Infinite sums have value for nonsummable families.
QAlgorithms.Papers.Independent.Intakethird100.P54.purificationOverlapTerm
For any type , , two splitters , with reflectances and arbitrary real phases , any with , and any , define
Then is the complex number . No normalization or energy assumption on , or ordering or distinctness assumption on the splitters, is imposed. The index is included, with even when . If , contains just the empty occupation and its photon count is . All infinite sums use the total convention of value for nonsummable families.
QAlgorithms.Papers.Independent.Intakethird100.P54.returned
For any type , natural number , splitter with reflectance and phase , and square-summable complex family , define
The returned kernel is the complex-valued function of two indices given by
These are the coefficient families themselves, without applying the square-summability test used to construct a loss-sector vector. No normalization of is assumed. The reflectances and are included, with . When , the sum has one occupation-vector index and .
QAlgorithms.Papers.Independent.Intakethird100.P54.sectorCoefficients
For any type , natural number , splitter with reflectance and phase , square-summable complex family , occupation vector , and in the same index set as , this defines the complex number
Addition of occupation vectors is componentwise. The conditional in the underlying amplitude takes its product branch because for every . No normalization of is required. The definition includes , , and zero exponents, with . When , the occupation vectors are the unique empty vectors and the empty product is , so the coefficient is .
QAlgorithms.Papers.Independent.Intakethird100.P54.sectorRisk
For any type , natural number , splitter pair , vector , bounded complex-linear operator , and real numbers , where , write and for splitter ’s reflectance and phase. Let have coordinates
or be zero if this coordinate function is not square-summable. The defined real number is
There is no assumption that is an effect, that is normalized, or that the weights are nonnegative or sum to one. Each infinite sum uses the total summation convention, which assigns zero to a nonsummable family. For , the index set has one empty tuple and the coordinate product is .
QAlgorithms.Papers.Independent.Intakethird100.P54.signalLaw
For any type , natural number , square-summable complex family , and occupation vector , this defines the real number
The type need not be countable or nonempty, and need not have norm ; in particular, these values are not required by the definition to have total mass . If is empty, the value is . If , there is one occupation vector and its value is .
QAlgorithms.Papers.Independent.Intakethird100.P54.splitterOverlap
For any channel pair , consisting of splitters with reflectances and arbitrary real phases, this defines the real number . The phases do not enter this expression, and no validity or zero-phase hypothesis is required.
QAlgorithms.Papers.Independent.Intakethird100.P54.squaredOpticalFidelity
For any type and arbitrary complex-valued kernels , this defines the real number
Here is the complex Hilbert-space inner product. Existence of the two unit vectors is not assumed. If either kernel has no such representation, the set is empty and the total real supremum used by the definition has value ; this includes the case . Whenever the set is nonempty, its elements lie in .
QAlgorithms.Papers.Independent.Intakethird100.P54.supportWeightPower
For arbitrary real numbers , the definition is
where the second branch uses the total real-power function. In particular, the value at is for every exponent, including and negative exponents. No nonnegativity assumption on or restriction on is imposed.
QAlgorithms.Papers.Independent.Intakethird100.P54.targetCoherent
For arbitrary real numbers , this defines
No sign or range restriction is imposed on either argument. The real square root equals zero on negative arguments, so the value is when , and it is when .
QAlgorithms.Papers.Independent.Intakethird100.P54.targetLower
For arbitrary real numbers , this defines
where the power is the total real-power operation. There is no assumption that or that . The real square root is also total and equals zero on negative arguments; thus the defined value is whenever .
QAlgorithms.Papers.Independent.Intakethird100.P54.tmsvCoefficients
For any natural number , any real number , and any pair of occupation vectors , this defines the complex coefficient
with the real factors regarded as complex numbers. There is no restriction that be nonnegative: division by zero is assigned the value , the real square root of a negative number is , and natural powers satisfy . For , both occupation vectors are the unique empty function, so they are equal and the empty product gives coefficient for every real .
QAlgorithms.Papers.Independent.Intakethird100.P54.tmsvProbe
For any natural number and any real number , this defines a vector in using the coefficient function
If is square-summable, the vector has exactly these coefficients; otherwise it is the zero vector. The real factors are embedded into . No nonnegativity assumption is imposed on ; division by zero equals , real square roots of negative numbers equal , and . When , the coefficient function is on its singleton index set, and hence defines the vector with that single coefficient.
QAlgorithms.Papers.Independent.Intakethird100.P54.totalCountLaw
For any splitter with real reflectance and arbitrary real phase, and any natural numbers , including zero, this defines
The phase does not enter the formula. Natural-number subtraction truncates at zero, but in the first branch is the ordinary nonnegative difference. The reflectance endpoints are permitted and natural powers use ; in particular, for the value is at and at every .
QAlgorithms.Papers.Independent.Intakethird100.P54.totalLaw
For any type , natural number , square-summable complex family , and natural number , this defines
Thus it sums the squared coordinate magnitudes over occupation vectors whose total occupation is exactly . There is no unit-norm assumption on , and is included. When , the unique occupation vector has total occupation , so and for every . If is empty, all these values are .
QAlgorithms.Papers.Independent.Intakethird100.P54.vacuumEfficiency
For every real , given proofs of and , the definition constructs a splitter whose reflectance is and whose phase is , retaining those proofs as the required reflectance bounds. Both endpoints and are included.
QAlgorithms.Papers.Independent.Intakethird100.P54.weightedTraceNorm
For any type , any complex kernels , and arbitrary real weights , let . A resolution of a kernel consists of weights , indexed by , with and summable weight sequence, and vectors such that whenever , distinct vectors with positive weights are orthogonal, and for every . Vectors with zero weights need not be normalized or satisfy the orthogonality condition. The definition is
where resolves , resolves , and is bounded and complex linear, satisfies for every , and satisfies for every . The weights are not required to be nonnegative or sum to , and the kernels are not assumed to possess resolutions. If either has no resolution, the supremum is over the empty set and the defined real value is .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.