Definitions for On the role of coherent attacks in a type of strategic problem related to quantum key distribution
DefinitionQAlgorithms_Papers_Independent_Intakethird100_P18The objects the formalized statements of On the role of coherent attacks in a type of strategic problem related to quantum key distribution (arXiv:quant-ph/0110089) are stated in. Each was checked against the paper by a blind read-back and a moderator.
LocalProtocol: PDF pp.1–3: one local prepare-and-measure protocol, including local sifting. The three independent draws are the secret raw symbol, Alice's preparation choice, and Bob's measurement choice. Public announcements depend only on the last two choices. All retained ideal signals decode correctly; all errors in an attack are consequently channel errors, including Eve's action.QkdLabel: PDF pp.1–3: a local secret symbol and the two local settings.qkdRetainedMass: PDF p.2: probability of retaining a local signal under basis reconciliation; this is basis sifting, not a disturbance test or an acceptance event.qkdLabelWeight: PDF pp.2–3: the actual normalized distribution of a retained local input.Inputs: PDF pp.1–3: independent retained local inputs; the local distributions may differ.Raw: PDF pp.1–3: the entire raw string.Public: PDF pp.2–3: publicly revealed settings, with no secret raw symbols.Signal: PDF pp.1–3: computational coordinates on the tensor product signal register.qkdInputWeight: PDF p.3: actual ensemble probability of the independent local inputs.inputAmplitude: PDF pp.1–2: Alice's independent joint signal is the tensor product of the local normalized preparations. No identical-distribution assumption is made.publicInput: PDF p.2: the public basis/sifting announcement associated with an input.rawInput: PDF pp.2,5: the secret raw string is not public conditioning information.JointSpace: PDF p.2: finite signal register tensored with an arbitrary Hilbert ancilla, represented as a finite Hilbert direct sum of copies of the ancilla.AncillaPOVM: PDF p.2: arbitrary-outcome POVM on an arbitrary Hilbert ancilla. The scalar measures are pinned on every measurable set by the Born formula; their being measures expresses weak countable additivity of the operator POVM. They are not free probability kernels or an assumed information interface. Normalization makes the law of a unit vector a probability measure.Attack: PDF pp.2–3: an unrestricted coherent attack. The ancilla dimension and POVM outcome space are arbitrary. The initial ancilla and joint unitary do not depend on the secret input or on unrevealed settings. The delayed final POVM may depend on the public announcement, but not on any secret raw symbol.qkdOutputState: PDF p.2: the unitary output on Alice's tensor product and Eve's fixed probe.qkdOutcomeLaw: PDF pp.2–3: Eve's Born outcome law after tracing out Bob's signal register. The sum over Bob's computational coordinates is the partial trace; Eve can choose any joint POVM on her retained probe after the announcement.bobCorrect: PDF pp.2–3: probability that Bob's independent local measurement reads the correct raw symbol at coordinate i. The Kronecker deltas leave other signals untouched. This computes the local Born probability from the actual output.qkdDisturbance: PDF pp.2–4: the entire vector of ensemble-average local raw-symbol errors. No scalar mean, finite test sample, or passing-test conditioning replaces it.qkdShannonBits: PDF pp.3,5: Shannon entropy in bits, with 0 log 0 = 0.priorMass: PDF pp.3,5: subprobability mass of a raw word and public announcement, computed from Alice's independent ensemble and the protocol's local sifting.publicMass: PDF p.3: probability of a public configuration; zero-probability configurations have zero contribution to the average information.qkdJointOutcome: PDF pp.3,5: the joint submeasure of a secret raw word and Eve's outcome, with a specified public announcement. Every weight uses the actual ensemble.publicOutcome: PDF pp.3,5: Eve's outcome submeasure for a fixed public announcement.posterior: PDF p.5, eqs.(0.3),(0.5): the posterior raw-word probabilities given Eve's outcome and only the public announcement. Radon–Nikodym derivatives allow arbitrary measurable POVM outcome spaces; null outcomes do not affect averages.experimentInformation: PDF pp.3,5–6: ensemble-average total classical Shannon information about the whole raw string. It is H(raw|public) minus H(raw|public,Eve outcome), averaging both configurations and outcomes. This is measured classical information, not Holevo information or a final secret-key rate.qkdInformation: PDF p.3: Eve's information in the physical attack, using its computed Born law.qkdOneSite: PDF p.4: the single-signal protocol associated with one coordinate.SingleAttack: PDF p.4: a physical individual attack on one signal.singleDisturbance: PDF p.4: disturbance of a single-signal attack.OptimalAt: PDF p.4: being individually optimal at the exact prescribed disturbance. The comparison ranges over every physical single-signal attack, with arbitrary probe and delayed POVM. This predicate asserts optimality, not existence.QkdFeasible: PDF pp.3–4: a disturbance vector is feasible precisely when some physical attack on this protocol induces it. No numerical interval is substituted.ProductAttack: PDF pp.3–4, eq.(0.2): product of individual attacks, represented by the local unitaries, independent initial probes, and local POVMs. Both stages factor.singleLaw: PDF pp.3–4: the local Born law of one factor in a product attack.qkdProductLaw: PDF pp.3–4: actual joint outcome law of the tensor product attacking scheme. The finite product measure preserves every local outcome and announcement; there is no joint measurement substituted for the individual measurements.productDisturbance: PDF pp.3–4: local errors of the operational tensor product scheme.productInformation: PDF pp.3–5: the product scheme's information is computed from its product Born law and posterior entropy, rather than defined to be the sum.
import Mathlib
import Definitions.Def_QAlgorithms_Defs_Ensemble
/-!
Wang, arXiv:quant-ph/0110089v6, PDF pp.1–7.
The protocol describes independent finite signal ensembles and local sifting.
An attack has an arbitrary complete Hilbert ancilla and an arbitrary measurable
POVM outcome space. Its interaction is fixed before the secret input is drawn;
only its final POVM can depend on the public local announcements. The product
scheme is represented by its actual local physical attacks and the product of
their Born laws. It does not require a choice of coordinates on their tensor
product ancilla. All information quantities concern the raw string, in bits.
-/
noncomputable section
open MeasureTheory
open scoped BigOperators
namespace QAlgorithms.Papers.Independent.Intakethird100.P18
/-- PDF pp.1–3: one local prepare-and-measure protocol, including local sifting.
The three independent draws are the secret raw symbol, Alice's preparation
choice, and Bob's measurement choice. Public announcements depend only on the
last two choices. All retained ideal signals decode correctly; all errors in
an attack are consequently channel errors, including Eve's action. -/
structure LocalProtocol where
rawSize : ℕ
prepSize : ℕ
bobSize : ℕ
publicSize : ℕ
dimension : ℕ
raw_pos : 0 < rawSize
prep_pos : 0 < prepSize
bob_pos : 0 < bobSize
public_pos : 0 < publicSize
dimension_pos : 0 < dimension
rawWeight : Fin rawSize → ℝ
prepWeight : Fin prepSize → ℝ
bobWeight : Fin bobSize → ℝ
raw_nonneg : ∀ x, 0 ≤ rawWeight x
prep_nonneg : ∀ a, 0 ≤ prepWeight a
bob_nonneg : ∀ b, 0 ≤ bobWeight b
raw_total : ∑ x, rawWeight x = 1
prep_total : ∑ a, prepWeight a = 1
bob_total : ∑ b, bobWeight b = 1
prepare : Fin rawSize → Fin prepSize → EuclideanSpace ℂ (Fin dimension)
prepare_unit : ∀ x a, QAlgorithms.IsState (prepare x a)
bobPOVM : Fin bobSize → Fin rawSize → Matrix (Fin dimension) (Fin dimension) ℂ
bob_valid : ∀ b, QAlgorithms.IsPOVM (bobPOVM b)
keep : Fin prepSize → Fin bobSize → Bool
announce : Fin prepSize → Fin bobSize → Fin publicSize
retained_positive : 0 < ∑ a, ∑ b,
if keep a b then prepWeight a * bobWeight b else 0
ideal_correct : ∀ x a b, keep a b = true →
QAlgorithms.effectProb (bobPOVM b x) (QAlgorithms.pureDensity (prepare x a)) = 1
/-- PDF pp.1–3: a local secret symbol and the two local settings. -/
abbrev QkdLabel (P : LocalProtocol) :=
Fin P.rawSize × Fin P.prepSize × Fin P.bobSize
/-- PDF p.2: probability of retaining a local signal under basis reconciliation;
this is basis sifting, not a disturbance test or an acceptance event. -/
def qkdRetainedMass (P : LocalProtocol) : ℝ :=
∑ a, ∑ b, if P.keep a b then P.prepWeight a * P.bobWeight b else 0
/-- PDF pp.2–3: the actual normalized distribution of a retained local input. -/
def qkdLabelWeight (P : LocalProtocol) (l : QkdLabel P) : ℝ :=
if P.keep l.2.1 l.2.2 then
P.rawWeight l.1 * P.prepWeight l.2.1 * P.bobWeight l.2.2 / qkdRetainedMass P
else 0
/-- PDF pp.1–3: independent retained local inputs; the local distributions may differ. -/
abbrev Inputs {n : ℕ} (P : Fin n → LocalProtocol) := ∀ i, QkdLabel (P i)
/-- PDF pp.1–3: the entire raw string. -/
abbrev Raw {n : ℕ} (P : Fin n → LocalProtocol) := ∀ i, Fin (P i).rawSize
/-- PDF pp.2–3: publicly revealed settings, with no secret raw symbols. -/
abbrev Public {n : ℕ} (P : Fin n → LocalProtocol) := ∀ i, Fin (P i).publicSize
/-- PDF pp.1–3: computational coordinates on the tensor product signal register. -/
abbrev Signal {n : ℕ} (P : Fin n → LocalProtocol) := ∀ i, Fin (P i).dimension
/-- PDF p.3: actual ensemble probability of the independent local inputs. -/
def qkdInputWeight {n : ℕ} (P : Fin n → LocalProtocol) (l : Inputs P) : ℝ :=
∏ i, qkdLabelWeight (P i) (l i)
/-- PDF pp.1–2: Alice's independent joint signal is the tensor product of the
local normalized preparations. No identical-distribution assumption is made. -/
def inputAmplitude {n : ℕ} (P : Fin n → LocalProtocol) (l : Inputs P)
(z : Signal P) : ℂ :=
∏ i, (P i).prepare (l i).1 (l i).2.1 (z i)
/-- PDF p.2: the public basis/sifting announcement associated with an input. -/
def publicInput {n : ℕ} (P : Fin n → LocalProtocol) (l : Inputs P) : Public P :=
fun i => (P i).announce (l i).2.1 (l i).2.2
/-- PDF pp.2,5: the secret raw string is not public conditioning information. -/
def rawInput {n : ℕ} (P : Fin n → LocalProtocol) (l : Inputs P) : Raw P :=
fun i => (l i).1
/-- PDF p.2: finite signal register tensored with an arbitrary Hilbert ancilla,
represented as a finite Hilbert direct sum of copies of the ancilla. -/
abbrev JointSpace {n : ℕ} (P : Fin n → LocalProtocol) (E : Type)
[NormedAddCommGroup E] := PiLp 2 (fun _ : Signal P => E)
/-- PDF p.2: arbitrary-outcome POVM on an arbitrary Hilbert ancilla.
The scalar measures are pinned on every measurable set by the Born formula;
their being measures expresses weak countable additivity of the operator POVM.
They are not free probability kernels or an assumed information interface.
Normalization makes the law of a unit vector a probability measure. -/
structure AncillaPOVM (E O : Type) [NormedAddCommGroup E]
[InnerProductSpace ℂ E] [MeasurableSpace O] where
effect : Set O → E →L[ℂ] E
positive : ∀ B, MeasurableSet B → ∀ v,
(inner ℂ v (effect B v)).im = 0 ∧ 0 ≤ (inner ℂ v (effect B v)).re
normalized : effect Set.univ = ContinuousLinearMap.id ℂ E
law : E → Measure O
born : ∀ v B, MeasurableSet B →
law v B = ENNReal.ofReal (inner ℂ v (effect B v)).re
/-- PDF pp.2–3: an unrestricted coherent attack. The ancilla dimension and
POVM outcome space are arbitrary. The initial ancilla and joint unitary do not
depend on the secret input or on unrevealed settings. The delayed final POVM
may depend on the public announcement, but not on any secret raw symbol. -/
structure Attack {n : ℕ} (P : Fin n → LocalProtocol) where
Ancilla : Type
[ancillaNorm : NormedAddCommGroup Ancilla]
[ancillaInner : InnerProductSpace ℂ Ancilla]
[ancillaComplete : CompleteSpace Ancilla]
initial : Ancilla
initial_unit : ‖initial‖ = 1
unitary : JointSpace P Ancilla ≃ₗᵢ[ℂ] JointSpace P Ancilla
Outcome : Type
[outcomeMeasurable : MeasurableSpace Outcome]
measurement : Public P → AncillaPOVM Ancilla Outcome
attribute [instance] Attack.ancillaNorm Attack.ancillaInner Attack.ancillaComplete
attribute [instance] Attack.outcomeMeasurable
/-- PDF p.2: the unitary output on Alice's tensor product and Eve's fixed probe. -/
def qkdOutputState {n : ℕ} {P : Fin n → LocalProtocol} (A : Attack P)
(l : Inputs P) : JointSpace P A.Ancilla :=
A.unitary (WithLp.toLp 2 (fun z => inputAmplitude P l z • A.initial))
/-- PDF pp.2–3: Eve's Born outcome law after tracing out Bob's signal register.
The sum over Bob's computational coordinates is the partial trace; Eve can
choose any joint POVM on her retained probe after the announcement. -/
def qkdOutcomeLaw {n : ℕ} {P : Fin n → LocalProtocol} (A : Attack P)
(l : Inputs P) (c : Public P) : Measure A.Outcome :=
∑ z : Signal P, (A.measurement c).law (qkdOutputState A l z)
/-- PDF pp.2–3: probability that Bob's independent local measurement reads the
correct raw symbol at coordinate i. The Kronecker deltas leave other signals
untouched. This computes the local Born probability from the actual output. -/
def bobCorrect {n : ℕ} {P : Fin n → LocalProtocol} (A : Attack P)
(l : Inputs P) (i : Fin n) : ℝ :=
(∑ z : Signal P, ∑ w : Signal P,
if ∀ j, j ≠ i → z j = w j then
(P i).bobPOVM (l i).2.2 (l i).1 (z i) (w i) *
inner ℂ (qkdOutputState A l z) (qkdOutputState A l w)
else 0).re
/-- PDF pp.2–4: the entire vector of ensemble-average local raw-symbol errors.
No scalar mean, finite test sample, or passing-test conditioning replaces it. -/
def qkdDisturbance {n : ℕ} {P : Fin n → LocalProtocol} (A : Attack P) : Fin n → ℝ :=
fun i => ∑ l : Inputs P, qkdInputWeight P l * (1 - bobCorrect A l i)
/-- PDF pp.3,5: Shannon entropy in bits, with 0 log 0 = 0. -/
def qkdShannonBits {X : Type} [Fintype X] (p : X → ℝ) : ℝ :=
-∑ x, p x * (Real.log (p x) / Real.log 2)
/-- PDF pp.3,5: subprobability mass of a raw word and public announcement,
computed from Alice's independent ensemble and the protocol's local sifting. -/
def priorMass {n : ℕ} (P : Fin n → LocalProtocol) (c : Public P) (x : Raw P) : ℝ :=
∑ l : Inputs P,
if publicInput P l = c ∧ rawInput P l = x then qkdInputWeight P l else 0
/-- PDF p.3: probability of a public configuration; zero-probability configurations
have zero contribution to the average information. -/
def publicMass {n : ℕ} (P : Fin n → LocalProtocol) (c : Public P) : ℝ :=
∑ x : Raw P, priorMass P c x
/-- PDF pp.3,5: the joint submeasure of a secret raw word and Eve's outcome,
with a specified public announcement. Every weight uses the actual ensemble. -/
def qkdJointOutcome {n : ℕ} (P : Fin n → LocalProtocol) {O : Type}
[MeasurableSpace O] (law : Inputs P → Public P → Measure O)
(c : Public P) (x : Raw P) : Measure O :=
∑ l : Inputs P,
if publicInput P l = c ∧ rawInput P l = x then
ENNReal.ofReal (qkdInputWeight P l) • law l c
else 0
/-- PDF pp.3,5: Eve's outcome submeasure for a fixed public announcement. -/
def publicOutcome {n : ℕ} (P : Fin n → LocalProtocol) {O : Type}
[MeasurableSpace O] (law : Inputs P → Public P → Measure O)
(c : Public P) : Measure O :=
∑ x : Raw P, qkdJointOutcome P law c x
/-- PDF p.5, eqs.(0.3),(0.5): the posterior raw-word probabilities given Eve's
outcome and only the public announcement. Radon–Nikodym derivatives allow
arbitrary measurable POVM outcome spaces; null outcomes do not affect averages. -/
def posterior {n : ℕ} (P : Fin n → LocalProtocol) {O : Type}
[MeasurableSpace O] (law : Inputs P → Public P → Measure O)
(c : Public P) (y : O) (x : Raw P) : ℝ :=
((qkdJointOutcome P law c x).rnDeriv (publicOutcome P law c) y).toReal
/-- PDF pp.3,5–6: ensemble-average total classical Shannon information about
the whole raw string. It is H(raw|public) minus H(raw|public,Eve outcome),
averaging both configurations and outcomes. This is measured classical
information, not Holevo information or a final secret-key rate. -/
def experimentInformation {n : ℕ} (P : Fin n → LocalProtocol) {O : Type}
[MeasurableSpace O] (law : Inputs P → Public P → Measure O) : ℝ :=
∑ c : Public P,
(publicMass P c * qkdShannonBits (fun x => priorMass P c x / publicMass P c) -
∫ y, qkdShannonBits (posterior P law c y) ∂(publicOutcome P law c))
/-- PDF p.3: Eve's information in the physical attack, using its computed Born law. -/
def qkdInformation {n : ℕ} {P : Fin n → LocalProtocol} (A : Attack P) : ℝ :=
experimentInformation P (qkdOutcomeLaw A)
/-- PDF p.4: the single-signal protocol associated with one coordinate. -/
def qkdOneSite (P : LocalProtocol) : Fin 1 → LocalProtocol := fun _ => P
/-- PDF p.4: a physical individual attack on one signal. -/
abbrev SingleAttack (P : LocalProtocol) := Attack (qkdOneSite P)
/-- PDF p.4: disturbance of a single-signal attack. -/
def singleDisturbance {P : LocalProtocol} (A : SingleAttack P) : ℝ :=
qkdDisturbance A 0
/-- PDF p.4: being individually optimal at the exact prescribed disturbance.
The comparison ranges over every physical single-signal attack, with arbitrary
probe and delayed POVM. This predicate asserts optimality, not existence. -/
def OptimalAt (P : LocalProtocol) (d : ℝ) (A : SingleAttack P) : Prop :=
singleDisturbance A = d ∧
∀ B : SingleAttack P, singleDisturbance B = d → qkdInformation B ≤ qkdInformation A
/-- PDF pp.3–4: a disturbance vector is feasible precisely when some physical
attack on this protocol induces it. No numerical interval is substituted. -/
def QkdFeasible {n : ℕ} (P : Fin n → LocalProtocol) (d : Fin n → ℝ) : Prop :=
∃ A : Attack P, qkdDisturbance A = d
/-- PDF pp.3–4, eq.(0.2): product of individual attacks, represented by the local
unitaries, independent initial probes, and local POVMs. Both stages factor. -/
abbrev ProductAttack {n : ℕ} (P : Fin n → LocalProtocol) :=
∀ i, SingleAttack (P i)
/-- PDF pp.3–4: the local Born law of one factor in a product attack. -/
def singleLaw {P : LocalProtocol} (A : SingleAttack P) (l : QkdLabel P)
(c : Fin P.publicSize) : Measure A.Outcome :=
qkdOutcomeLaw A (fun _ => l) (fun _ => c)
/-- PDF pp.3–4: actual joint outcome law of the tensor product attacking scheme.
The finite product measure preserves every local outcome and announcement;
there is no joint measurement substituted for the individual measurements. -/
def qkdProductLaw {n : ℕ} {P : Fin n → LocalProtocol} (A : ProductAttack P)
(l : Inputs P) (c : Public P) : Measure (∀ i, (A i).Outcome) :=
Measure.pi (fun i => singleLaw (A i) (l i) (c i))
/-- PDF pp.3–4: local errors of the operational tensor product scheme. -/
def productDisturbance {n : ℕ} {P : Fin n → LocalProtocol}
(A : ProductAttack P) : Fin n → ℝ :=
fun i => singleDisturbance (A i)
/-- PDF pp.3–5: the product scheme's information is computed from its product
Born law and posterior entropy, rather than defined to be the sum. -/
def productInformation {n : ℕ} {P : Fin n → LocalProtocol}
(A : ProductAttack P) : ℝ :=
experimentInformation P (qkdProductLaw A)
/-- Sanity check for PDF p.5: a deterministic distribution has zero uncertainty. -/
example : qkdShannonBits (fun _ : Unit => (1 : ℝ)) = 0 := by
simp [qkdShannonBits]
/-- Sanity check: a zero-probability symbol contributes zero, without log singularities. -/
example : (0 : ℝ) * (Real.log 0 / Real.log 2) = 0 := by
simp
/-- Sanity check: arbitrary-outcome POVM laws really use the normalized Born rule. -/
example {E O : Type} [NormedAddCommGroup E] [InnerProductSpace ℂ E]
[MeasurableSpace O] (M : AncillaPOVM E O) (v : E) :
M.law v Set.univ = ENNReal.ofReal (inner ℂ v v).re := by
rw [M.born v Set.univ MeasurableSet.univ, M.normalized]
rfl
/-- Sanity check: an empty measurable event has zero outcome probability. -/
example {E O : Type} [NormedAddCommGroup E] [InnerProductSpace ℂ E]
[MeasurableSpace O] (M : AncillaPOVM E O) (v : E) : M.law v ∅ = 0 := by
exact measure_empty
/-- Sanity check: the physical interaction preserves norms on the whole joint space. -/
example {n : ℕ} {P : Fin n → LocalProtocol} (A : Attack P)
(v : JointSpace P A.Ancilla) : ‖A.unitary v‖ = ‖v‖ := by
exact A.unitary.norm_map v
end QAlgorithms.Papers.Independent.Intakethird100.P18
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
QAlgorithms.Papers.Independent.Intakethird100.P18.AncillaPOVM
For any normed additive commutative group equipped with a complex inner product space structure, and any type equipped with a measurable space structure, an ancilla measurement consists of a continuous complex linear operator for every subset , together with a measure on for every vector . These data must satisfy
for every measurable and every , and . Here is the nonnegative extended real number obtained by replacing a negative real with zero. The operators are supplied on all subsets, but positivity and the displayed measure identity are required only on measurable subsets. Vectors need not be normalized; completeness of , finiteness of , and nonemptiness of are not assumed.
QAlgorithms.Papers.Independent.Intakethird100.P18.Attack
For any natural number and family of local protocols , write and for their recorded signal dimensions and public alphabet sizes, and put and . An attack consists of a complete complex inner product space , with its normed additive commutative group structure; an initial vector satisfying ; a bijective complex linear isometry
an outcome type equipped with a measurable space structure; and, for every , a family of continuous complex linear operators , indexed by all subsets , and measures on , indexed by . For every measurable and every , these satisfy , , and , while . Here is the space of -valued functions on , with squared norm . No finite dimensionality of or finiteness of is required. The case is included: both and then contain one empty tuple, and acts on a space with one -valued coordinate.
QAlgorithms.Papers.Independent.Intakethird100.P18.Inputs
For every natural number , including , and every family of local protocols indexed by , an input is a family with , where , , and . There is no restriction requiring retained choices or positive weights. For , there is exactly one such family, the empty family.
QAlgorithms.Papers.Independent.Intakethird100.P18.JointSpace
For any natural number , any family of local protocols indexed by , and any type equipped with a normed additive commutative group structure, let be the signal dimension recorded by . The joint space is the space of functions from
to , equipped with the finite norm
This definition requires neither a complex vector space structure nor completeness on . It includes : then consists of the single empty tuple, so the joint space has one -valued coordinate.
QAlgorithms.Papers.Independent.Intakethird100.P18.LocalProtocol
A local protocol consists of five strictly positive natural numbers , specifying respectively the numbers of raw labels, preparation choices, Bob choices, public labels, and complex vector coordinates; three families of real weights , , and , indexed respectively by , , and , with every weight nonnegative and ; a vector for every , satisfying ; and, for every , matrices indexed by raw labels , each positive semidefinite and satisfying . It also includes a Boolean function and a public-label function , subject to . Finally, for every with , it requires , where . This last requirement applies even when any of the corresponding weights is zero.
QAlgorithms.Papers.Independent.Intakethird100.P18.OptimalAt
For a local protocol , any real number , and a single attack on , this predicate means that and that every single attack on satisfying also satisfies . Here single attacks may have their own complete complex inner-product ancilla spaces , unit initial vectors , surjective complex-linear isometries on the one-site signal–ancilla space, measurable outcome types , and public-dependent measurements with positive normalized operator set maps and measures satisfying for measurable . To specify the two real quantities, write , let be the protocol’s raw, preparation and Bob-setting weights, let , and put when retained and otherwise. For each attack , identify the one-site signal tuples with the signal index set , and set . Its disturbance is
where is Bob’s raw-outcome effect. For public value and raw value , set , , , and . With , its information is
The real conversion sends to , division by and are , and a nonintegrable real-valued integral is assigned . There is no separate restriction on , no uniqueness requirement, and competitors are compared only when their disturbance is exactly .
QAlgorithms.Papers.Independent.Intakethird100.P18.ProductAttack
For every natural number , including , and every family of local protocols , , a product attack means a choice, for each , of an attack on the singleton family containing . Each choice supplies its own complete complex inner-product ancilla space , unit initial vector, surjective complex-linear isometry on its one-site signal–ancilla space, measurable outcome type , and measurement for every one-site public tuple. A measurement assigns continuous complex-linear operators to outcome subsets, has real nonnegative quadratic forms on measurable , satisfies , and supplies measures with on measurable sets. The component spaces and outcome types may vary with ; the abbreviation itself specifies a family of single attacks. For , it is the empty family.
QAlgorithms.Papers.Independent.Intakethird100.P18.Public
For every natural number , including , and every family of local protocols indexed by , a public value is a family with . These values need not arise from the protocols’ announcement functions. For , this set contains exactly the empty family.
QAlgorithms.Papers.Independent.Intakethird100.P18.QkdFeasible
For every natural number , including , every family of local protocols , , and every real-valued function on those indices, this predicate asserts the existence of an attack whose disturbance equals at every coordinate. Such an attack consists of a complete complex inner-product ancilla space , a unit initial vector , a surjective complex-linear isometry on the space of -valued functions on the signal-tuple set , a measurable outcome type, and public-dependent measurements with positive normalized operator set maps and measures satisfying the Born quadratic-form formula. For a label , let , let , and let if every local pair is retained and otherwise, using the local raw, preparation and Bob-setting weights. Writing for Bob’s local raw-outcome effect, the required coordinate equations are
The measurements are part of the existentially quantified attack even though they do not occur in these equations. No range restriction on is separately imposed. At , there are no coordinate equations, while existence of an attack remains part of the definition.
QAlgorithms.Papers.Independent.Intakethird100.P18.QkdLabel
For a local protocol , a label is a triple , where , , and . All such triples are included, regardless of their weights or whether is true.
QAlgorithms.Papers.Independent.Intakethird100.P18.Raw
For every natural number , including , and every family of local protocols indexed by , a raw value is a family with . For , this set contains exactly the empty family.
QAlgorithms.Papers.Independent.Intakethird100.P18.Signal
For every natural number , including , and every family of local protocols indexed by , a signal index is a family with . For , this set contains exactly the empty family.
QAlgorithms.Papers.Independent.Intakethird100.P18.SingleAttack
For every local protocol , a single attack means an attack on the singleton family whose only protocol is . Explicitly, it consists of a complete complex inner-product space , a unit vector , a surjective complex-linear isometry on the space of -valued functions indexed by the one-site signal tuples, a measurable outcome type , and a measurement for each one-site public tuple. Each measurement assigns a continuous complex-linear operator to every subset , has and for every vector and measurable , satisfies , and supplies a measure for every , with on measurable sets. Neither the ancilla space nor the outcome type is required to be finite.
QAlgorithms.Papers.Independent.Intakethird100.P18.bobCorrect
For any natural number , family of local protocols , attack on that family, input label tuple , and site , let . Each protocol provides a unit preparation vector and matrices , which are positive semidefinite and sum to the identity over the raw outcome label for each Bob label . Let , , and be the attack’s complete complex inner product ancilla space, unit initial vector, and bijective complex linear isometry on , and set . The defined real number is
The inner product has as its first argument and as its second. No retention condition is imposed on . If , there is no site at which this definition can be evaluated.
QAlgorithms.Papers.Independent.Intakethird100.P18.experimentInformation
For any natural number , including , any family of local protocols indexed by , any measurable outcome type , and any assignment of a measure on to an input label and a public tuple , the definition gives the following real number. Let be the protocol’s raw, preparation, Bob-setting and public index sets, let be its respective normalized nonnegative raw, preparation and Bob-setting weights, and put . Give a label weight if every local pair is retained, and weight otherwise. Its raw tuple is and its public tuple is . Define , , , and . For any real-valued function on the finite raw-tuple set, put , and put , using the extended-nonnegative Radon–Nikodym derivative and real conversion that sends to . Then
The assignment is arbitrary; it is not assumed to consist of probability measures, and no integrability hypothesis is required. Division by and use their total real-function values, both , and the real-valued integral is when its integrand is not integrable. For , all tuple sets are singletons and empty products have value .
QAlgorithms.Papers.Independent.Intakethird100.P18.inputAmplitude
For every natural number , every family of local protocols indexed by , every input family in the respective finite ranges, and every signal index with , the input amplitude is the complex number , where is the protocol’s unit vector. This formula uses neither the Bob choices nor the weights or retention conditions. For , its value is .
QAlgorithms.Papers.Independent.Intakethird100.P18.posterior
For any natural number , including , let be a local protocol for each , and write for its finite raw-value, preparation-setting, Bob-setting and public-announcement sets. An input label is a tuple ; a raw tuple is , and a public tuple is . Define the retained mass , where are the protocol’s preparation and Bob-setting weights, and define , where when the pair is retained and otherwise, with the raw-value weight. Write and . For any type equipped with a measurable space and any assignment of a measure on to every label and public tuple, set and . For every such , every , and every raw tuple , the defined posterior is
where the derivative is the measure library’s Radon–Nikodym derivative, valued in the extended nonnegative reals, and conversion to a real sends to . No probability, finiteness, absolute-continuity or sigma-finiteness hypothesis is imposed on the supplied measures, and this is a pointwise definition for every . When , the label, raw and public tuple sets are singletons and the empty product defining is .
QAlgorithms.Papers.Independent.Intakethird100.P18.priorMass
For any natural number and family of local protocols , let be their finite raw, preparation, Bob, and public alphabets. Each protocol supplies nonnegative unit-sum weights on its first three alphabets, a Boolean retention rule , and an announcement map , with positive retained mass . Define
For every public tuple and raw tuple , the prior mass is
where . No positivity assumption is made on the resulting mass for the chosen . For , all tuple spaces contain one empty tuple, the conditions are vacuous, and the value is .
QAlgorithms.Papers.Independent.Intakethird100.P18.productDisturbance
For every natural number , including , every family of local protocols , , and every family of single attacks on them, this defines a real-valued function on the site indices by taking the sole-site disturbance of at coordinate . Explicitly, let be the protocol’s raw, preparation and Bob-setting weights, let , and put for retained pairs and otherwise. Each single attack supplies a complete complex inner-product ancilla space , a unit vector , a surjective complex-linear isometry on its one-site signal–ancilla space, and public-dependent measurements on a measurable outcome type. Identifying one-site signal tuples with the local signal set , let . With denoting Bob’s local effect for raw outcome at setting , the defined function is
The component measurements do not enter this formula. When , the result is the unique real-valued function on the empty index set.
QAlgorithms.Papers.Independent.Intakethird100.P18.productInformation
For any natural number , any family of local protocols, and any tuple of single-site attacks, this defines a real number as follows. Each protocol has positive finite raw, preparation, Bob-choice, public, and signal index sets ; nonnegative weights on , respectively, each summing to ; unit vectors ; and, for each , positive semidefinite matrices indexed by , with . It also has a retention function and announcement function , with retained mass , and requires whenever . For a label , put if it is retained, and otherwise. A single-site attack consists of a complete complex inner-product space , a unit vector , a complex-linear isometric equivalence of the space of -valued functions on with its Euclidean norm, an arbitrary measurable outcome space , and a measurement for each public value . Such a measurement assigns each measurable set a continuous complex-linear operator , with real and nonnegative for every , and , together with a measure satisfying . Define and . For joint labels , set , , , and let be the product outcome measure on . For and , define , , , and . Write for the real value of the Radon–Nikodym derivative at , with an infinite derivative converted to , and write . The defined value is
Zero public masses are included, with division by zero evaluated as ; the real logarithm at is , and the integral is the total real Lebesgue integral, which is for a nonintegrable integrand. The definition includes , with empty products equal to ; in that case its value is .
QAlgorithms.Papers.Independent.Intakethird100.P18.publicInput
For every natural number , every family of local protocols indexed by , and every input family in the respective raw, preparation, and Bob ranges, the associated public value is the family , with . This is defined for every input, including unretained choices and choices of weight zero. For , it is the empty family.
QAlgorithms.Papers.Independent.Intakethird100.P18.publicMass
For any natural number and family of local protocols , let be their finite raw, preparation, Bob, and public alphabets. Write for their nonnegative unit-sum weights, for their Boolean retention rules, and for their announcement maps. With the required positive masses , set when , and set it to zero otherwise. For every public tuple , the public mass is
where . The chosen public tuple need not have positive mass. For , each sum has one term, its conditions are vacuous, and the value is .
QAlgorithms.Papers.Independent.Intakethird100.P18.publicOutcome
For any natural number , family of local protocols , and measurable space , let be the protocols’ finite raw, preparation, Bob, and public alphabets. Write for their nonnegative unit-sum weights, for their Boolean retention rules, and for their announcement maps. Define the required positive retained masses , and let when , and zero otherwise. Given any assignment of a measure on to every label tuple and public tuple , the public outcome measure at is
where and converts a real scalar to an extended nonnegative scalar by truncating negative values to zero. The supplied measures may be arbitrary, and no measurability of their assignment is required. The definition does not divide by the mass of the chosen public tuple. For , both sums have one term and the result is the supplied measure at the unique empty input and public tuples.
QAlgorithms.Papers.Independent.Intakethird100.P18.qkdDisturbance
For any natural number , family of local protocols , and attack on that family, each protocol supplies finite raw, preparation, and Bob alphabets ; nonnegative weights , each summing to on its alphabet; a Boolean retention rule ; unit preparation vectors ; and positive semidefinite matrices summing to the identity over . Its retained mass
is required to be positive. For , put
If the attack has complete complex inner product ancilla space , unit initial vector , and bijective complex linear isometry on , where , set . The disturbance is the function assigning to each site the real number
All label tuples are summed, including those with zero weight. For , the result is the unique function with empty domain.
QAlgorithms.Papers.Independent.Intakethird100.P18.qkdInformation
For every natural number , including , every family of local protocols , , and every attack on that family, this definition assigns a real information value as follows. The attack supplies a complete complex inner-product space , a vector with , a surjective complex-linear isometry on the space of -valued functions on the finite signal-tuple set , equipped with the norm, a measurable outcome type , and a measurement for each public tuple . Each measurement supplies continuous complex-linear operators on , with real nonnegative quadratic forms on measurable sets , with , and measures satisfying . For a label , define
Let , using the protocol’s preparation and Bob-setting weights, and let when every pair is retained, and otherwise, where is its raw-value weight. Set , , , , , and . With , the assigned value is
Real conversion of an infinite derivative is ; real division by and are , and a nonintegrable real-valued integral is assigned . No positive lower bound on is required; at , the tuple sets are singletons and empty products equal .
QAlgorithms.Papers.Independent.Intakethird100.P18.qkdInputWeight
For every natural number , every family of local protocols indexed by , and every input family in the respective raw, preparation, and Bob ranges, the input weight is , where when , and otherwise; here . Thus an unretained local choice gives input weight zero, and for the empty product gives input weight .
QAlgorithms.Papers.Independent.Intakethird100.P18.qkdJointOutcome
For any natural number , family of local protocols , and type equipped with a measurable space structure, let be the protocols’ finite raw, preparation, Bob, and public alphabets. Their nonnegative unit-sum weights , Boolean retention rules , and announcement maps determine positive retained masses and weights for retained pairs, with otherwise. Let , , and suppose an arbitrary measure on is supplied for every ; these measures are not required to be probability measures or to arise from an attack. For every and , the joint outcome measure is
where , replaces a negative real number by zero and regards the result as an extended nonnegative real, and multiplication denotes scalar multiplication of a measure. No measurability condition on the assignment is assumed. For , this is the supplied measure at the unique empty input and public tuples.
QAlgorithms.Papers.Independent.Intakethird100.P18.qkdLabelWeight
For a local protocol and any triple of a raw label, a preparation choice, and a Bob choice in their respective finite ranges, the label weight is if , and is otherwise, where . This denominator is strictly positive by the requirements on ; a retained triple can still have weight zero.
QAlgorithms.Papers.Independent.Intakethird100.P18.qkdOneSite
For every local protocol , this defines the family indexed by the singleton set whose value at its only index is :
QAlgorithms.Papers.Independent.Intakethird100.P18.qkdOutcomeLaw
For any natural number , family of local protocols , attack on that family, input label tuple , and public tuple in the product of the protocols’ finite public alphabets, let , , and be the attack’s complete complex inner product ancilla space, unit initial vector, and bijective complex linear isometry on , where . Using the protocols’ unit preparation vectors , define
The attack has a measurable outcome space and, for each public tuple and ancilla vector , a measure on , with continuous complex linear effects satisfying and, for measurable , real nonnegative and . The outcome law is the measure
The public tuple is an independent argument; it is not required to equal the announcement associated with . When , the sum has one term, corresponding to the empty signal tuple.
QAlgorithms.Papers.Independent.Intakethird100.P18.qkdOutputState
For any natural number , family of local protocols , and attack on that family, let be its complete complex inner product ancilla space, its unit initial vector, and its bijective complex linear isometry on the space of -valued functions on , with the finite norm. Each protocol supplies a unit preparation vector , indexed by a raw label and preparation label . For any input label tuple , whose -th component is a triple of raw, preparation, and Bob labels in their respective finite alphabets, the output state is defined by
The label tuple is unrestricted: no retention condition or positive label weight is required, and its Bob labels do not enter this formula. For , the product is , there is a single signal coordinate, and the input to is the function taking that coordinate to .
QAlgorithms.Papers.Independent.Intakethird100.P18.qkdProductLaw
For every natural number , including , every family of local protocols , every family of single attacks on those protocols, every input-label tuple , and every public tuple , this defines a measure on the dependent outcome-product space , with its product measurable structure, where is the measurable outcome type of . To specify each component measure, write , let be the attack’s complete complex inner-product ancilla space, its unit initial vector, and its surjective complex-linear isometry on the one-site signal–ancilla space. Identify the one-site signal tuples with the local signal set , and put . The measurement selected by public value supplies measures satisfying on measurable sets, with real nonnegative operator quadratic forms and . Then
This is the measure-theoretic product of the component measures; it includes no label weights and imposes no retention or announcement-consistency condition on . When , it uses the empty product of measures on the singleton empty-tuple space.
QAlgorithms.Papers.Independent.Intakethird100.P18.qkdRetainedMass
For a local protocol , its retained mass is the real number , where the indicator is when its condition holds and otherwise. The requirements on ensure .
QAlgorithms.Papers.Independent.Intakethird100.P18.qkdShannonBits
For any type equipped with a finite enumeration and any function , the defined real number is
There is no assumption that the values of are nonnegative or sum to . The logarithm is the total real logarithm used by the code: , and for negative arguments it equals the logarithm of the absolute value. Thus zero-valued terms contribute zero, negative values are also covered by the definition, and an empty gives zero.
QAlgorithms.Papers.Independent.Intakethird100.P18.rawInput
For every natural number , every family of local protocols indexed by , and every input family in the respective raw, preparation, and Bob ranges, the associated raw value is the family , obtained by taking the raw component at every index. This is defined regardless of retention or weights; for , it is the empty family.
QAlgorithms.Papers.Independent.Intakethird100.P18.singleDisturbance
For every local protocol and every single attack on it, this defines a real disturbance at the sole site. Write for the protocol’s finite raw, preparation, Bob-setting and signal index sets, for its normalized nonnegative weights, and for Bob’s effect for raw outcome at setting . Let , and let for retained pairs and otherwise. The single attack supplies a complete complex inner-product ancilla space , a unit vector , a surjective complex-linear isometry on the one-site signal–ancilla space, and public-dependent measurements on a measurable outcome type; those measurements do not enter this disturbance formula. Identifying the singleton-indexed signal tuples with , put . Then
This is exactly coordinate of the disturbance function for the singleton protocol family.
QAlgorithms.Papers.Independent.Intakethird100.P18.singleLaw
For every local protocol , every single attack on , every label consisting of a raw value, preparation setting and Bob setting, and every public value , this defines a measure on the attack’s measurable outcome type . The attack has a complete complex inner-product ancilla space , a unit initial vector , and a surjective complex-linear isometry on the one-site signal–ancilla space. Its measurement at the singleton public tuple with value provides measures and continuous complex-linear operators , with real nonnegative quadratic forms on measurable , , and for measurable . Identifying the singleton-indexed signal tuples with the protocol’s signal set , put . The defined measure is
Both the input label and public value are passed as constant singleton-indexed tuples. The definition requires neither that is retained nor that , and it applies no label-weight factor.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.