Definitions for Cryptographic security of quantum key distribution
DefinitionQAlgorithms_Papers_Independent_Bridge50_P44The objects the formalized statements of Cryptographic security of quantum key distribution (arXiv:1409.3525) are stated in. Each was checked against the paper by a blind read-back and a moderator.
IsDiscreteLaw: PDF pp.36,40: normalized discrete mass function; absolute convergence is explicit.discreteTV: PDF p.36, Definition A.1: total variation for arbitrary discrete alphabets. Uses below are on normalized, absolutely summable laws.IsCoupling: PDF p.40, Eqs.(26)--(27): a normalized joint law with both specified marginals.binaryTestSuccess: PDF pp.38--39: one-sample, equal-prior success of an arbitrary randomized rule; g(z) is its probability of guessing the first law. This differs from the frozen Information100.P53.classicalSuccess (finite-message MAP decoding).optimalBinaryTestSuccess: PDF p.39: optimal equal-prior one-sample success. For probability laws the feasible set contains constant rules and is bounded by one. This differs from the frozen Information100.P58.classicalOptimum (erasure-code optimization).IsDiscretePOVM: PDF pp.37--38: extension of the finite frozen POVM to discrete outcome families. Matrix-series convergence avoids default values of divergent sums.ClassicalFirst: PDF p.38: classicality on the first factor in its designated basis.xorWord: PDF pp.11--13: bitwise XOR, for arbitrary message length including zero.otpReal: PDF pp.11--13: actual joint Bob/ciphertext output under a uniform shared key and a faithfully forwarding authentic channel.otpIdeal: PDF pp.12--13: ideal channel delivers x; its simulator samples a uniform ciphertext given only the public length n.verifyTag: PDF pp.49--50: tag verification. An honest forwarding filter returns exactly the pair (x,h_k(x)); no property of the hash family is assumed.honestAuthentication: PDF p.50: the honest filtered tag-and-verify channel, after uniform-key sampling.Interface: PDF pp.14--15: named interfaces; only Alice and Bob are honest.ACModel: PDF pp.13--15, Eqs.(3)--(7): abstract compatible resources and converters, with named-interface attachment. This is the source's axiomatic AC layer, not an implementation of quantum protocols. Parallel distance contractivity is required in each argument, as for arbitrary compatible resource contexts.honest: PDF p.15: the honest converter pair attached to A and B.Filtered: PDF p.14: a filtered resource is the same resource together with an E-filter.Constructs: PDF p.15, Definition 2.1: both availability and existence of a single E-simulator. The adversarial distance is the model's resource distance, covering all contexts.serialProtocol: PDF pp.14,46: componentwise serial wiring of the honest converter pair.parallelProtocol: PDF pp.14,47: componentwise parallel wiring of the honest converter pair.parallelFiltered: PDF p.47: parallel filtered resources retain both honest filters.distinguishingAdvantage: PDF p.45: signed distinguishing advantage from actual abstract test execution laws. A nonempty test class and PMF probabilities make this supremum bounded.ClosedTests: PDF p.45, Eq.(30): every composite test is represented in the same class, with its entire binary output law preserved on every resource.nuclearDistance: PDF pp.36,44--45: half the nuclear trace norm on full coefficient arrays. State-domain theorems below guarantee finiteness. Extended nonnegative values retain infinity, including on arrays without a nuclear expansion.uniformReference: PDF pp.43--45: uniform d-dimensional key, independent of the given memory operator. The uniform finite matrix is reused from the accepted library.optimizedSecrecy: PDF pp.44--45, Appendix B: optimize over all normalized reference states. The extended infimum is defined without compactness of infinite-dimensional state space; the actual marginal supplies a feasible reference in its uses.PositiveMemoryOperator: PDF p.43, Eq.(28): positivity of an actual bounded operator on full l² memory, expressed by its quadratic form. This is not positivity of a finite truncation.IsMemoryPOVM: PDF p.43, Eq.(28): K-outcome POVMs of bounded operators on arbitrary memory. Each operator is positive and their finite sum is exactly the identity.memoryTracePair: PDF p.43: Re Tr(M rho), written in the full countable basis. On bounded M and trace-class rho each inner coefficient sum and the outer diagonal sum converge absolutely. The order is M_(i,j) rho_(j,i).memoryGuess: PDF p.43, Eq.(28): optimal finite classical-key guessing with unrestricted countable quantum memory. Normalized ensembles make the feasible values nonempty and bounded in [0,1].
import Mathlib
import Definitions.Def_QAlgorithms_Defs_QuantumOutputMetrics
import Definitions.Def_QAlgorithms_Papers_Independent_Information100_P76
import Definitions.Def_QAlgorithms_Papers_Independent_Frontier18_P08
import Definitions.Def_QAlgorithms_Papers_Independent_Dependency50_P24
/-!
Portmann--Renner, arXiv:1409.3525v1. Only the elementary matrix interpretation
is used for the appendix's matrix statements. The operational QKD statements
are explicitly deferred in HARD.md. The guessing and optimized-secrecy
statements use positive trace-class states on arbitrary countable memory. Abstract AC theorems below quantify over the source's
axiomatic resource models; they do not supply a concrete QKD execution model.
Accepted paper imports above are pinned libraries, used under the independent
paper workflow override. Compilation is pending the mechanical batch stage.
-/
noncomputable section
open scoped BigOperators Matrix ComplexOrder
namespace QAlgorithms.Papers.Independent.Bridge50.P44
open QAlgorithms
open QAlgorithms.RealRegisters (Hilbert)
open QAlgorithms.Papers.Independent.Dependency50.P33 (State traceSize)
open QAlgorithms.Papers.Independent.Dependency50.P24 (cqState)
open QAlgorithms.Papers.Independent.Frontier18.P08 (partialTraceFirst)
open QAlgorithms.Papers.Independent.Information100.P76 (maximallyMixed)
open QAlgorithms.Papers.Independent.Frontier18.P08 (conditionalEntropyNats)
attribute [local instance] Classical.propDecidable
attribute [local instance] Classical.decEq
/-- PDF pp.36,40: normalized discrete mass function; absolute convergence is explicit. -/
def IsDiscreteLaw {Z : Type*} (p : Z → ℝ) : Prop :=
(∀ z, 0 ≤ p z) ∧ Summable p ∧ (∑' z, p z) = 1
/-- PDF p.36, Definition A.1: total variation for arbitrary discrete alphabets.
Uses below are on normalized, absolutely summable laws. -/
def discreteTV {Z : Type*} (p q : Z → ℝ) : ℝ :=
(1 / 2 : ℝ) * ∑' z, |p z - q z|
/-- PDF p.40, Eqs.(26)--(27): a normalized joint law with both specified marginals. -/
def IsCoupling {Z : Type*} (p q : Z → ℝ) (j : Z × Z → ℝ) : Prop :=
IsDiscreteLaw j ∧ (∀ z, (∑' w, j (z,w)) = p z) ∧
(∀ w, (∑' z, j (z,w)) = q w)
/-- PDF pp.38--39: one-sample, equal-prior success of an arbitrary randomized rule;
g(z) is its probability of guessing the first law. This differs from the frozen
Information100.P53.classicalSuccess (finite-message MAP decoding). -/
def binaryTestSuccess {Z : Type*} (p q : Z → ℝ) (g : Z → Set.Icc (0 : ℝ) 1) : ℝ :=
(1 / 2 : ℝ) * tsum (fun z => p z * (g z).val + q z * (1 - (g z).val))
/-- PDF p.39: optimal equal-prior one-sample success. For probability laws the
feasible set contains constant rules and is bounded by one. This differs from
the frozen Information100.P58.classicalOptimum (erasure-code optimization). -/
def optimalBinaryTestSuccess {Z : Type*} (p q : Z → ℝ) : ℝ :=
sSup (Set.range (binaryTestSuccess p q))
/-- PDF pp.37--38: extension of the finite frozen POVM to discrete outcome
families. Matrix-series convergence avoids default values of divergent sums. -/
def IsDiscretePOVM {O I : Type*} [Fintype I] [DecidableEq I]
(M : O → Matrix I I ℂ) : Prop :=
(∀ o, (M o).PosSemidef) ∧ HasSum M 1
/-- PDF p.38: classicality on the first factor in its designated basis. -/
def ClassicalFirst {Z B : Type*} (rho : Matrix (Z × B) (Z × B) ℂ) : Prop :=
∀ z zprime b bprime, z ≠ zprime → rho (z,b) (zprime,bprime) = 0
/-- PDF pp.11--13: bitwise XOR, for arbitrary message length including zero. -/
def xorWord {n : ℕ} (x k : Fin n → Bool) : Fin n → Bool :=
fun i => Bool.xor (x i) (k i)
/-- PDF pp.11--13: actual joint Bob/ciphertext output under a uniform shared key
and a faithfully forwarding authentic channel. -/
def otpReal {n : ℕ} (x : Fin n → Bool)
(out : (Fin n → Bool) × (Fin n → Bool)) : ℝ :=
∑ k : Fin n → Bool,
if out = (xorWord (xorWord x k) k, xorWord x k)
then (Fintype.card (Fin n → Bool) : ℝ)⁻¹ else 0
/-- PDF pp.12--13: ideal channel delivers x; its simulator samples a uniform
ciphertext given only the public length n. -/
def otpIdeal {n : ℕ} (x : Fin n → Bool)
(out : (Fin n → Bool) × (Fin n → Bool)) : ℝ :=
if out.1 = x then (Fintype.card (Fin n → Bool) : ℝ)⁻¹ else 0
/-- PDF pp.49--50: tag verification. An honest forwarding filter returns exactly
the pair (x,h_k(x)); no property of the hash family is assumed. -/
def verifyTag {K X T : Type*} [DecidableEq T] (h : K → X → T)
(k : K) (received : X × T) : Option X :=
if received.2 = h k received.1 then some received.1 else none
/-- PDF p.50: the honest filtered tag-and-verify channel, after uniform-key sampling. -/
def honestAuthentication {K X T : Type*} [Fintype K] [DecidableEq X] [DecidableEq T]
(h : K → X → T) (x : X) (out : Option X) : ℝ :=
∑ k, if verifyTag h k (x, h k x) = out then (Fintype.card K : ℝ)⁻¹ else 0
/-- PDF pp.14--15: named interfaces; only Alice and Bob are honest. -/
inductive Interface where
| alice
| bob
| eve
deriving DecidableEq
/-- PDF pp.13--15, Eqs.(3)--(7): abstract compatible resources and converters,
with named-interface attachment. This is the source's axiomatic AC layer, not
an implementation of quantum protocols. Parallel distance contractivity is
required in each argument, as for arbitrary compatible resource contexts. -/
structure ACModel where
Resource : Type
Converter : Type
parallel : Resource → Resource → Resource
serial : Converter → Converter → Converter
tensor : Converter → Converter → Converter
identity : Converter
attach : Interface → Converter → Resource → Resource
distance : Resource → Resource → ℝ
serial_attach : ∀ i a b r, attach i (serial a b) r = attach i a (attach i b r)
identity_attach : ∀ i r, attach i identity r = r
distinct_attach : ∀ i j a b r, i ≠ j →
attach i a (attach j b r) = attach j b (attach i a r)
parallel_attach : ∀ i a b r s,
attach i (tensor a b) (parallel r s) = parallel (attach i a r) (attach i b s)
distance_nonneg : ∀ r s, 0 ≤ distance r s
distance_self : ∀ r, distance r r = 0
distance_symm : ∀ r s, distance r s = distance s r
distance_triangle : ∀ r s t, distance r t ≤ distance r s + distance s t
attach_contract : ∀ i a r s, distance (attach i a r) (attach i a s) ≤ distance r s
parallel_contract_right : ∀ r s t, distance (parallel r t) (parallel s t) ≤ distance r s
parallel_contract_left : ∀ r s t, distance (parallel t r) (parallel t s) ≤ distance r s
/-- PDF p.15: the honest converter pair attached to A and B. -/
def honest (M : ACModel) (p : M.Converter × M.Converter) (r : M.Resource) : M.Resource :=
M.attach .alice p.1 (M.attach .bob p.2 r)
/-- PDF p.14: a filtered resource is the same resource together with an E-filter. -/
structure Filtered (M : ACModel) where
resource : M.Resource
filter : M.Converter
/-- PDF p.15, Definition 2.1: both availability and existence of a single E-simulator.
The adversarial distance is the model's resource distance, covering all contexts. -/
def Constructs (M : ACModel) (p : M.Converter × M.Converter)
(r s : Filtered M) (epsilon : ℝ) : Prop :=
M.distance (honest M p (M.attach .eve r.filter r.resource))
(M.attach .eve s.filter s.resource) ≤ epsilon ∧
∃ simulator : M.Converter,
M.distance (honest M p r.resource) (M.attach .eve simulator s.resource) ≤ epsilon
/-- PDF pp.14,46: componentwise serial wiring of the honest converter pair. -/
def serialProtocol (M : ACModel) (q p : M.Converter × M.Converter) :=
(M.serial q.1 p.1, M.serial q.2 p.2)
/-- PDF pp.14,47: componentwise parallel wiring of the honest converter pair. -/
def parallelProtocol (M : ACModel) (p q : M.Converter × M.Converter) :=
(M.tensor p.1 q.1, M.tensor p.2 q.2)
/-- PDF p.47: parallel filtered resources retain both honest filters. -/
def parallelFiltered (M : ACModel) (r s : Filtered M) : Filtered M :=
⟨M.parallel r.resource s.resource, M.tensor r.filter s.filter⟩
/-- PDF p.45: signed distinguishing advantage from actual abstract test execution
laws. A nonempty test class and PMF probabilities make this supremum bounded. -/
def distinguishingAdvantage {R D : Type} (run : D → R → PMF Bool) (r s : R) : ℝ :=
sSup (Set.range (fun d => (run d r true).toReal - (run d s true).toReal))
/-- PDF p.45, Eq.(30): every composite test is represented in the same class,
with its entire binary output law preserved on every resource. -/
def ClosedTests {R D : Type} (run : D → R → PMF Bool) (f : R → R) : Prop :=
∀ d, ∃ composite, ∀ r, run composite r = run d (f r)
/-- PDF pp.36,44--45: half the nuclear trace norm on full coefficient arrays.
State-domain theorems below guarantee finiteness. Extended nonnegative values
retain infinity, including on arrays without a nuclear expansion. -/
def nuclearDistance {I : Type} (rho sigma : Matrix I I ℂ) : ENNReal :=
traceSize (rho - sigma) / 2
/-- PDF pp.43--45: uniform d-dimensional key, independent of the given memory
operator. The uniform finite matrix is reused from the accepted library. -/
def uniformReference {d : ℕ} {E : Type} (sigma : Matrix E E ℂ) :
Matrix (Fin d × E) (Fin d × E) ℂ :=
Matrix.kronecker (maximallyMixed d) sigma
/-- PDF pp.44--45, Appendix B: optimize over all normalized reference states.
The extended infimum is defined without compactness of infinite-dimensional
state space; the actual marginal supplies a feasible reference in its uses. -/
def optimizedSecrecy {d : ℕ} {E : Type} (rho : State (Fin d × E)) : ENNReal :=
⨅ sigma : State E, nuclearDistance rho.coefficients (uniformReference sigma.coefficients)
/-- PDF p.43, Eq.(28): positivity of an actual bounded operator on full l² memory,
expressed by its quadratic form. This is not positivity of a finite truncation. -/
def PositiveMemoryOperator {E : Type} (A : Hilbert E →L[ℂ] Hilbert E) : Prop :=
∀ v, (inner ℂ v (A v)).im = 0 ∧ 0 ≤ (inner ℂ v (A v)).re
/-- PDF p.43, Eq.(28): K-outcome POVMs of bounded operators on arbitrary memory.
Each operator is positive and their finite sum is exactly the identity. -/
def IsMemoryPOVM {K E : Type} [Fintype K]
(M : K → (Hilbert E →L[ℂ] Hilbert E)) : Prop :=
(∀ k, PositiveMemoryOperator (M k)) ∧ ∑ k, M k = ContinuousLinearMap.id ℂ (Hilbert E)
/-- PDF p.43: Re Tr(M rho), written in the full countable basis. On bounded M
and trace-class rho each inner coefficient sum and the outer diagonal sum
converge absolutely. The order is M_(i,j) rho_(j,i). -/
def memoryTracePair {E : Type} (M : Hilbert E →L[ℂ] Hilbert E)
(rho : Matrix E E ℂ) : ℝ :=
(∑' i : E, ∑' j : E, (M (lp.single 2 j (1 : ℂ))) i * rho j i).re
/-- PDF p.43, Eq.(28): optimal finite classical-key guessing with unrestricted
countable quantum memory. Normalized ensembles make the feasible values
nonempty and bounded in [0,1]. -/
def memoryGuess {d : ℕ} {E : Type} (p : Fin d → ℝ) (rho : Fin d → State E) : ℝ :=
sSup {v | ∃ M : Fin d → (Hilbert E →L[ℂ] Hilbert E), IsMemoryPOVM M ∧
v = ∑ k, p k * memoryTracePair (M k) (rho k).coefficients}
/-! Sanity checks concern definitions only; source theorem targets remain sorry. -/
example : IsDiscreteLaw (fun _ : Unit => (1 : ℝ)) := by
refine ⟨fun _ => zero_le_one, (hasSum_fintype _).summable, ?_⟩
simp
example {Z : Type*} (p : Z → ℝ) : discreteTV p p = 0 := by
simp [discreteTV]
example : IsCoupling (fun _ : Unit => (1 : ℝ)) (fun _ : Unit => 1)
(fun _ : Unit × Unit => 1) := by
refine ⟨?_, ?_, ?_⟩
· exact ⟨fun _ => zero_le_one, (hasSum_fintype _).summable, by simp⟩
· intro z; simp
· intro z; simp
example (p q : Unit → ℝ) (g : Unit → Set.Icc (0 : ℝ) 1) :
binaryTestSuccess p q g = (1 / 2 : ℝ) *
(p () * (g ()).val + q () * (1 - (g ()).val)) := by
simp [binaryTestSuccess]
example {I : Type*} [Fintype I] [DecidableEq I] :
IsDiscretePOVM (fun _ : Unit => (1 : Matrix I I ℂ)) := by
exact ⟨fun _ => Matrix.PosSemidef.one, by simpa using hasSum_fintype (fun _ : Unit => (1 : Matrix I I ℂ))⟩
example {Z B : Type*} : ClassicalFirst (0 : Matrix (Z × B) (Z × B) ℂ) := by
intro z zprime b bprime h; rfl
example {n : ℕ} (x : Fin n → Bool) : xorWord x (fun _ => false) = x := by
funext i; simp [xorWord]
example (x : Fin 0 → Bool) : otpIdeal x (x,x) = 1 := by
simp [otpIdeal]
example {K X T : Type*} [DecidableEq T] (h : K → X → T) (k : K) (x : X) :
verifyTag h k (x,h k x) = some x := by simp [verifyTag]
example {X T : Type*} [DecidableEq X] [DecidableEq T]
(h : Unit → X → T) (x : X) : honestAuthentication h x (some x) = 1 := by
simp [honestAuthentication, verifyTag]
example (M : ACModel) (r : M.Resource) : honest M (M.identity,M.identity) r = r := by
simp [honest, M.identity_attach]
example (M : ACModel) (p : M.Converter × M.Converter) (r s : Filtered M) (epsilon : ℝ)
(h : Constructs M p r s epsilon) :
∃ sim, M.distance (honest M p r.resource) (M.attach .eve sim s.resource) ≤ epsilon := h.2
example {R D : Type} (run : D → R → PMF Bool) : ClosedTests run id := by
intro d; exact ⟨d, fun _ => rfl⟩
example {E : Type} (sigma : Matrix E E ℂ) (i j : E) :
uniformReference (d := 1) sigma (0,i) (0,j) = sigma i j := by
simp [uniformReference, maximallyMixed, Matrix.kronecker]
example {E : Type} (rho : Matrix E E ℂ) : memoryTracePair 0 rho = 0 := by
simp [memoryTracePair]
example {E : Type} : PositiveMemoryOperator (0 : Hilbert E →L[ℂ] Hilbert E) := by
intro v; simp
end QAlgorithms.Papers.Independent.Bridge50.P44
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
QAlgorithms.Papers.Independent.Bridge50.P44.ACModel
A model consists of a type of resources, a type of converters, operations , , an identity converter , attachment operations for , and a real-valued distance . These data must satisfy, for every interface , converters , and resources ,
Additionally, for every pair of distinct interfaces , converters , and resource , . Distinct resources are permitted to have distance zero, and the resource type may be empty; the identity converter ensures that the converter type is nonempty.
QAlgorithms.Papers.Independent.Bridge50.P44.ClassicalFirst
For any types and arbitrary complex matrix indexed by , this predicate requires
No positivity, normalization, or other condition is imposed on . The requirement is vacuous if is empty or has at most one element.
QAlgorithms.Papers.Independent.Bridge50.P44.ClosedTests
For arbitrary resource and test types , a function , and a resource transformation , the closure condition means that for every test , there exists a test such that
The equality is equality of the entire Boolean probability distributions. The test may depend on but must work for every resource; uniqueness is not required. The condition is vacuous when is empty.
QAlgorithms.Papers.Independent.Bridge50.P44.Constructs
For any model , converter pair , filtered resources and , and real number , the construction condition means that both
and
hold. The converter , called the simulator, need not be unique. Although is initially arbitrary, the condition cannot hold for negative , because the model’s distances are nonnegative.
QAlgorithms.Papers.Independent.Bridge50.P44.Filtered
For any model , a filtered resource is a pair consisting of one resource of and one converter of , called its filter. No additional condition relates the resource and the filter.
QAlgorithms.Papers.Independent.Bridge50.P44.Interface
The type of interfaces has exactly three distinct elements, named Alice, Bob, and Eve. Equality between interfaces is decidable.
QAlgorithms.Papers.Independent.Bridge50.P44.IsCoupling
For any type , functions , and function , this predicate means that for all , the family is summable with , and its marginals satisfy for every and for every . There are no separate assumptions on or , and need not be finite or countable. For empty , the normalization condition cannot hold.
QAlgorithms.Papers.Independent.Bridge50.P44.IsDiscreteLaw
For any type and function , this predicate means that for every , the family is summable, and . No finiteness or countability assumption is imposed on . If is empty, the predicate cannot hold, since the empty sum is .
QAlgorithms.Papers.Independent.Bridge50.P44.IsDiscretePOVM
For arbitrary types and , with a specified finite enumeration of and decidable equality on , and a family of complex matrices indexed by , this predicate means that every is positive semidefinite and that the finite partial sums , indexed by finite subsets , converge to the identity matrix. No finiteness or countability assumption is imposed on . If is empty, the condition holds for every such family; if is empty and is nonempty, it cannot hold.
QAlgorithms.Papers.Independent.Bridge50.P44.IsMemoryPOVM
For an arbitrary finite outcome type , equipped with a finite enumeration, an arbitrary index type , and a family of continuous complex-linear operators on , this predicate means that is real and nonnegative for every and every , and that equals the identity operator. No finiteness or countability assumption is imposed on . Empty is included: its sum is the zero operator, so the identity condition then requires to be the zero space.
QAlgorithms.Papers.Independent.Bridge50.P44.PositiveMemoryOperator
For an arbitrary index type and a continuous complex-linear operator on the Hilbert space , this predicate means that, for every vector , the scalar has imaginary part zero and nonnegative real part. The quantifier includes the zero vector and all vectors without a normalization requirement; if is empty, the predicate is satisfied by the unique operator on the zero-dimensional space.
QAlgorithms.Papers.Independent.Bridge50.P44.binaryTestSuccess
For any type , arbitrary functions , and function , this defines
No distribution assumptions are imposed on or . The sum equals if the summand family is not summable, and the empty sum is .
QAlgorithms.Papers.Independent.Bridge50.P44.discreteTV
For any type and arbitrary functions , this defines the real number . Neither function is required to be nonnegative, summable, or normalized. The sum is the totalized infinite sum, which equals when its summand family is not summable; it also equals when is empty.
QAlgorithms.Papers.Independent.Bridge50.P44.distinguishingAdvantage
For arbitrary types , a function assigning a probability mass function on the two Boolean values to every test and resource , and resources , define to be the real probability that this function returns true. The distinguishing advantage is
This uses the signed difference in the displayed order, without an absolute value. If is empty, the real supremum convention used here gives zero; otherwise, the value may be negative.
QAlgorithms.Papers.Independent.Bridge50.P44.honest
For any model , ordered pair of its converters, and resource , the resulting resource is defined by first attaching at Bob’s interface and then attaching at Alice’s interface:
QAlgorithms.Papers.Independent.Bridge50.P44.honestAuthentication
For arbitrary types , with a specified finite enumeration of and decidable equality on and , a function , a message , and optional output , this defines the sum over of when verification of returns , and otherwise; verification returns the received message exactly when its tag equals . Consequently, for nonempty the value is when contains and otherwise. If is empty, the sum is for every output.
QAlgorithms.Papers.Independent.Bridge50.P44.memoryGuess
For every natural number , arbitrary index type , arbitrary real weights , and family of states indexed by , this defines the real supremum of all values , as range over continuous complex-linear operators on such that every is real and nonnegative and is the identity. Here is the coordinate unit vector; the nested infinite sums use the total convention assigning zero to nonsummable families. Each state admits an expansion with and , has real nonnegative quadratic forms on all finite coordinate subsets, and has summable real diagonal with sum . The weights are not required to be nonnegative or to sum to . The supremum is taken in , whose total supremum convention returns zero for an empty or unbounded-above set; is included and gives value zero.
QAlgorithms.Papers.Independent.Bridge50.P44.memoryTracePair
For an arbitrary index type , a continuous complex-linear operator on , and an arbitrary complex coefficient matrix , this defines the real number , where is the square-summable vector equal to at and zero elsewhere. These are nested sums, with the -sum taken first. No positivity, normalization, trace-class, countability, or summability hypothesis is imposed; each sum uses the total infinite-sum convention, which assigns zero when its summand family is not summable. For empty , the value is zero.
QAlgorithms.Papers.Independent.Bridge50.P44.nuclearDistance
For any type , without a finiteness or countability assumption, and arbitrary complex matrices indexed by , their nuclear distance is the extended nonnegative number
where the infimum ranges over sequences for which the series of norm products is summable and
The real sum is embedded into the extended nonnegative reals before taking the infimum. If no such expansion exists, the infimum and the distance are . No positivity or normalization condition is imposed on either matrix.
QAlgorithms.Papers.Independent.Bridge50.P44.optimalBinaryTestSuccess
For any type and arbitrary functions , this defines the real supremum of the values
Each infinite sum is interpreted as if its summand family is not summable. No distribution assumptions on , boundedness assumption on these values, or attainment assertion is included. The set of values is nonempty; if it is unbounded above, the totalized real supremum is . For empty , the value is .
QAlgorithms.Papers.Independent.Bridge50.P44.optimizedSecrecy
For every natural number , arbitrary index type , and state indexed by , this defines the extended nonnegative real number , where the infimum ranges over all states indexed by , and . Here is the infimum, over all sequences of square-summable complex vectors satisfying and , of ; an infimum over no such expansions is . A state indexed by any type is a coefficient matrix admitting such an expansion, whose quadratic form on every finite subset of is real and nonnegative, and whose real diagonal entries are summable with sum . No finiteness or countability assumption is imposed on . The supplied state rules out and empty .
QAlgorithms.Papers.Independent.Bridge50.P44.otpIdeal
For every natural number , Boolean word of length , and ordered pair of Boolean words of length , this defines if , and otherwise, with no condition on . For , its value on the unique output pair is .
QAlgorithms.Papers.Independent.Bridge50.P44.otpReal
For every natural number , Boolean word of length , and ordered pair of Boolean words of length , this defines
where denotes coordinatewise exclusive OR. The case is included: there is one empty key and one output pair, and its value is .
QAlgorithms.Papers.Independent.Bridge50.P44.parallelFiltered
For any model and filtered resources and , their parallel filtered resource has resource and filter .
QAlgorithms.Papers.Independent.Bridge50.P44.parallelProtocol
For any model and ordered converter pairs and , their parallel protocol is defined componentwise using the model’s converter tensor operation:
QAlgorithms.Papers.Independent.Bridge50.P44.serialProtocol
For any model and ordered converter pairs and , their serial protocol is the pair
Thus, at either interface, attaching the resulting converter attaches the corresponding -converter first and the corresponding -converter afterward, by the model’s serial attachment law.
QAlgorithms.Papers.Independent.Bridge50.P44.uniformReference
For every natural number , arbitrary type , and complex matrix indexed by , the uniform reference is the matrix on defined by
Equivalently, it is the Kronecker product of with . No finiteness assumption on , or positivity or normalization assumption on , is required. The case is included and gives the matrix on the empty index set; complex division by zero is defined to be zero.
QAlgorithms.Papers.Independent.Bridge50.P44.verifyTag
For arbitrary types , with decidable equality on , a function , a key , and received pair , this returns the optional value containing if , and returns no value otherwise. No further property of is assumed.
QAlgorithms.Papers.Independent.Bridge50.P44.xorWord
For every natural number , including , and two Boolean words , this defines the word whose coordinate is the exclusive OR of and . For , it is the unique empty word.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.