Definitions for Multiport based teleportation -- transmission of a large amount of quantum information
DefinitionQAlgorithms_Papers_Independent_Extend50_P17The objects the formalized statements of Multiport based teleportation -- transmission of a large amount of quantum information (arXiv:2008.00856) are stated in. Each was checked against the paper by a blind read-back and a moderator.
MPBTRegister: PDF pp.2–3: the product computational basis of n d-level particles.MPBTPortSelection: PDF pp.2–3: distinct ordered ports, with reversed input order as in Eq.(27).AliceBasis: PDF p.3: Alice's ports together with the k input/reference systems.AliceOp: PDF p.3: matrices on the actual Alice/input space.outcomeCount: PDF p.2: the number of ordered outcomes; equals k! choose(N,k) when k≤N.pairingWord: PDF pp.8–10, Eq.(27): the product of disjoint swaps, rightmost acting first.mpbtWordOperator: PDF pp.8–10: unnormalized partially transposed permutation word W(a). The crossed second coordinates implement transpose on precisely the last k factors.mpbtSignal: PDF pp.2–3, Eq.(2), and p.8, Eq.(25): normalized signals, of trace one.signalSum: PDF p.4, Eq.(6): sum of normalized signals; not Definition 4's unscaled sum.unscaledSum: PDF p.8, Definition 4: unscaled sum of words R=d^N rho.normalizedSum: PDF p.4, Lemma 1: normalize by the actual trace, without assuming invertibility.supportInverseSqrt: PDF p.4, Eq.(6): spectral inverse square root, zero on the kernel.rawSRM: PDF p.4, Eq.(6): SRM on the support of the signal sum.completedSRM: PDF p.4, support convention: uniformly distribute the kernel projector among outcomes.discrimination: PDF p.4, Eq.(5): discrimination success with equal prior over normalized signals.mpbtFidelity: PDF p.3, Eq.(3): entanglement fidelity for the fixed EPR resource and completed SRM. This is the overlap with k reference EPR pairs, not root or average-state mpbtFidelity.binomialBound: PDF p.4, Eq.(9): the stronger binomial-ratio lower bound.powerBound: PDF p.4, Eq.(9): the weaker power lower bound. Subtractions are in the reals.packagedLower: PDF pp.4–5, Eq.(12): the displayed packaged lower estimate, not its actual fidelity.packagedFidelity: PDF pp.4–5, Eq.(11): actual fixed-resource SRM packaged fidelity.packagedOptimalFidelity: PDF pp.4–5, Eq.(13): exact optimal packaged qubit fidelity, with equal packages.accumulated: PDF p.9, Notation 5: accumulate L_s ... L_1 on port indices. At step s the swap is (a_s, accumulated(b_s)); equal endpoints give identity.collisionCount: PDF p.10, Eq.(38): sum of the Kronecker deltas in the contraction factor.portAction: PDF pp.8–10: untransposed port permutation, with the last k factors fixed.eprResource: PDF pp.2–3: the N shared normalized EPR pairs, in Alice/Bob product coordinates.mpbtSelectedPorts: PDF pp.2–3: ordered output selection matching the reversed list in Eq.(27).mpbtBranchChannel: PDF pp.2–3, Eq.(1): a branch of the physical teleportation channel. Alice is traced out; Bob traces unselected ports and only reorders mpbtSelectedPorts ports. The bilinear coordinate contraction uses the effect E, so it agrees with the sqrt(E) instrument after Alice's register is discarded.Conclusive: PDF p.3, Eq.(4): physical conclusive schemes. The failure effect is I-sum(E_i). Every mpbtBranchChannel is p_i times the identity channel on ALL matrix units, hence also on arbitrary reference-entangled inputs. The explicit probability interval is redundant physically and keeps every optimization set bounded on bad parameters.mpbtSuccessProbability: PDF p.3: optimal conclusive success for the fixed maximally entangled resource. Zero mpbtSuccessProbability is included explicitly; every other feasible value lies in [0,1]. This is an operational optimization, not the scalar formula to be proved.optimizedSuccess: PDF p.6, Eq.(17) context: optimize BOTH shared density matrix and conclusive effects. Mixed resources are allowed; linearity makes this equivalent to optimizing pure resources.packagedSuccess: PDF p.6, Table 3: all independent fixed-resource single-qubit packages must succeed.packagedOptimalSuccess: PDF p.6, Table 3: all independent resource-optimized packages must succeed.integerChoose: PDF p.14, Eq.(67): binomial coefficient zero outside its integer range.branchingExpression: PDF p.14, Eq.(67): binomial-difference expression, with s=m/2-r, j=(m+k)/2-t. The difference is in R; negative integer arguments are NOT truncated to zero indices.lowerAdded: PDF pp.13–14: count lower-row additions among the first q boxes of a path word.branchingPaths: PDF pp.13–14: count ACTUAL box-addition paths between two-row shapes. True adds to the lower row, false to the upper; every intermediate shape is valid.qubitFidelityExpression: PDF p.14, Eq.(68): the canonical qubit fidelity expression, indexed by lower-row lengths. The outer r is a shape of N-k and inner t a shape of N, so both spin parities are fixed.qubitSuccessExpression: PDF p.6, Eq.(14), and p.14, Eq.(71): correct weighted qubit success formula.gaussianLimit: PDF pp.6,16, Eqs.(15),(76),(77): the Gaussian limiting function, with x squared.elementary: PDF p.12: corrected ELEMENTARY symmetric polynomial in x_0,...,x_(k-1). The printed weak inequality in Eq.(55) would instead include squares and is incompatible with (56).boundVariables: PDF p.12, Eqs.(56)–(57): x_s=1/(d²+N-s-1), zero-based consistently.symmetricBound: PDF p.12, Eq.(56): the elementary-symmetric expansion of the lower bound.PackageSchedule: PDF pp.5–6: physical integer schedules for equal packages, N→∞.Scales: PDF pp.5–6: integer interpretation of k~a N^alpha.RegimeLimit: PDF pp.5–6: the three regimes of a packaged protocol's critical exponent.examplePortA: PDF p.12, Example 14, Eqs.(58)–(59): a=(3,4), b=(4,3) in one-based notation.examplePortB: PDF p.12, Example 14: reversed lists have the same selected port set.
import Mathlib
import Definitions.Def_QAlgorithms_Defs_TensorPermutationRepresentations
import Definitions.Def_QAlgorithms_Defs_Information
/-!
Statements from arXiv:2008.00856v3. Paper-local definitions have complete bodies.
Coordinates use Alice's N ports followed by k input/reference factors. Source
lists a_1,...,a_k are zero-based embeddings; a_1 is paired with the last factor.
The two inconsistent finite-size Gaussian sandwiches are deferred in HARD.md.
Compilation is pending the authorized mechanical handoff.
-/
noncomputable section
namespace QAlgorithms.Papers.Independent.Extend50.P17
open Filter MeasureTheory
open scoped BigOperators Matrix ComplexOrder Matrix.Norms.L2Operator
attribute [local instance] Classical.propDecidable
/-- PDF pp.2–3: the product computational basis of n d-level particles. -/
abbrev MPBTRegister (d n : ℕ) := Fin n → Fin d
/-- PDF pp.2–3: distinct ordered ports, with reversed input order as in Eq.(27). -/
abbrev MPBTPortSelection (N k : ℕ) := Fin k ↪ Fin N
/-- PDF p.3: Alice's ports together with the k input/reference systems. -/
abbrev AliceBasis (d N k : ℕ) := MPBTRegister d N × MPBTRegister d k
/-- PDF p.3: matrices on the actual Alice/input space. -/
abbrev AliceOp (d N k : ℕ) := Matrix (AliceBasis d N k) (AliceBasis d N k) ℂ
/-- PDF p.2: the number of ordered outcomes; equals k! choose(N,k) when k≤N. -/
def outcomeCount (N k : ℕ) : ℕ := Fintype.card (MPBTPortSelection N k)
/-- PDF pp.8–10, Eq.(27): the product of disjoint swaps, rightmost acting first. -/
def pairingWord {N k : ℕ} (a : MPBTPortSelection N k) : Equiv.Perm (Fin (N + k)) :=
(List.ofFn fun i : Fin k =>
Equiv.swap (Fin.castAdd k (a i)) (Fin.natAdd N (Fin.rev i))).prod
/-- PDF pp.8–10: unnormalized partially transposed permutation word W(a).
The crossed second coordinates implement transpose on precisely the last k factors. -/
def mpbtWordOperator (d N k : ℕ) (a : MPBTPortSelection N k) : AliceOp d N k :=
fun x y => QAlgorithms.Schur.tensorPermutation d (N + k) (pairingWord a)
(Fin.append x.1 y.2) (Fin.append y.1 x.2)
/-- PDF pp.2–3, Eq.(2), and p.8, Eq.(25): normalized signals, of trace one. -/
def mpbtSignal (d N k : ℕ) (a : MPBTPortSelection N k) : AliceOp d N k :=
((d : ℂ) ^ N)⁻¹ • mpbtWordOperator d N k a
/-- PDF p.4, Eq.(6): sum of normalized signals; not Definition 4's unscaled sum. -/
def signalSum (d N k : ℕ) : AliceOp d N k := ∑ a, mpbtSignal d N k a
/-- PDF p.8, Definition 4: unscaled sum of words R=d^N rho. -/
def unscaledSum (d N k : ℕ) : AliceOp d N k := ∑ a, mpbtWordOperator d N k a
/-- PDF p.4, Lemma 1: normalize by the actual trace, without assuming invertibility. -/
def normalizedSum (d N k : ℕ) : AliceOp d N k :=
(signalSum d N k).trace⁻¹ • signalSum d N k
/-- PDF p.4, Eq.(6): spectral inverse square root, zero on the kernel. -/
def supportInverseSqrt (d N k : ℕ) : AliceOp d N k :=
cfc (fun x : ℝ => (Real.sqrt x)⁻¹) (signalSum d N k)
/-- PDF p.4, Eq.(6): SRM on the support of the signal sum. -/
def rawSRM (d N k : ℕ) (a : MPBTPortSelection N k) : AliceOp d N k :=
supportInverseSqrt d N k * mpbtSignal d N k a * supportInverseSqrt d N k
/-- PDF p.4, support convention: uniformly distribute the kernel projector among outcomes. -/
def completedSRM (d N k : ℕ) (a : MPBTPortSelection N k) : AliceOp d N k :=
rawSRM d N k a + ((outcomeCount N k : ℂ)⁻¹) • (1 - ∑ b, rawSRM d N k b)
/-- PDF p.4, Eq.(5): discrimination success with equal prior over normalized signals. -/
def discrimination (d N k : ℕ) : ℝ :=
(outcomeCount N k : ℝ)⁻¹ *
∑ a, (completedSRM d N k a * mpbtSignal d N k a).trace.re
/-- PDF p.3, Eq.(3): entanglement fidelity for the fixed EPR resource and completed SRM.
This is the overlap with k reference EPR pairs, not root or average-state mpbtFidelity. -/
def mpbtFidelity (d N k : ℕ) : ℝ :=
((d : ℝ) ^ (2 * k))⁻¹ *
∑ a, (completedSRM d N k a * mpbtSignal d N k a).trace.re
/-- PDF p.4, Eq.(9): the stronger binomial-ratio lower bound. -/
def binomialBound (d N k : ℕ) : ℝ :=
(N.choose k : ℝ) / ((d ^ 2 + N - 1).choose k : ℝ)
/-- PDF p.4, Eq.(9): the weaker power lower bound. Subtractions are in the reals. -/
def powerBound (d N k : ℕ) : ℝ :=
(1 - ((d : ℝ)^2 - 1) / ((d : ℝ)^2 + N - k)) ^ k
/-- PDF pp.4–5, Eq.(12): the displayed packaged lower estimate, not its actual fidelity. -/
def packagedLower (N k : ℕ) : ℝ := (1 - 3 * (k : ℝ) / (4 * N)) ^ k
/-- PDF pp.4–5, Eq.(11): actual fixed-resource SRM packaged fidelity. -/
def packagedFidelity (N k : ℕ) : ℝ := mpbtFidelity 2 (N / k) 1 ^ k
/-- PDF pp.4–5, Eq.(13): exact optimal packaged qubit fidelity, with equal packages. -/
def packagedOptimalFidelity (N k : ℕ) : ℝ :=
Real.cos (Real.pi / ((N / k : ℕ) + 2 : ℝ)) ^ (2 * k)
/-- PDF p.9, Notation 5: accumulate L_s ... L_1 on port indices.
At step s the swap is (a_s, accumulated(b_s)); equal endpoints give identity. -/
def accumulated {N k : ℕ} (a b : MPBTPortSelection N k) (s : ℕ) : Equiv.Perm (Fin N) :=
((List.ofFn fun i : Fin k => (a i, b i)).take s).foldl
(fun p ab => Equiv.swap ab.1 (p ab.2) * p) 1
/-- PDF p.10, Eq.(38): sum of the Kronecker deltas in the contraction factor. -/
def collisionCount {N k : ℕ} (a b : MPBTPortSelection N k) : ℕ :=
∑ i : Fin k, if a i = accumulated a b i.val (b i) then 1 else 0
/-- PDF pp.8–10: untransposed port permutation, with the last k factors fixed. -/
def portAction (d N k : ℕ) (p : Equiv.Perm (Fin N)) : AliceOp d N k :=
fun y x => if y.1 = x.1 ∘ p.symm ∧ y.2 = x.2 then 1 else 0
/-- PDF pp.2–3: the N shared normalized EPR pairs, in Alice/Bob product coordinates. -/
def eprResource (d N : ℕ) :
Matrix (MPBTRegister d N × MPBTRegister d N) (MPBTRegister d N × MPBTRegister d N) ℂ :=
fun x y => if x.1 = x.2 ∧ y.1 = y.2 then ((d : ℂ)^N)⁻¹ else 0
/-- PDF pp.2–3: ordered output selection matching the reversed list in Eq.(27). -/
def mpbtSelectedPorts {d N k : ℕ} (a : MPBTPortSelection N k) (b : MPBTRegister d N) : MPBTRegister d k :=
fun i => b (a (Fin.rev i))
/-- PDF pp.2–3, Eq.(1): a branch of the physical teleportation channel.
Alice is traced out; Bob traces unselected ports and only reorders mpbtSelectedPorts ports.
The bilinear coordinate contraction uses the effect E, so it agrees with the
sqrt(E) instrument after Alice's register is discarded. -/
def mpbtBranchChannel {d N k : ℕ}
(omega : Matrix (MPBTRegister d N × MPBTRegister d N) (MPBTRegister d N × MPBTRegister d N) ℂ)
(a : MPBTPortSelection N k) (E : AliceOp d N k)
(X : Matrix (MPBTRegister d k) (MPBTRegister d k) ℂ) :
Matrix (MPBTRegister d k) (MPBTRegister d k) ℂ :=
fun u v => ∑ b : MPBTRegister d N, ∑ bp : MPBTRegister d N,
if mpbtSelectedPorts a b = u ∧ mpbtSelectedPorts a bp = v ∧
(∀ j : Fin N, j ∉ Set.range a → b j = bp j) then
∑ x : MPBTRegister d N, ∑ xp : MPBTRegister d N,
∑ c : MPBTRegister d k, ∑ cp : MPBTRegister d k,
E (xp, cp) (x, c) * omega (x, b) (xp, bp) * X c cp
else 0
/-- PDF p.3, Eq.(4): physical conclusive schemes. The failure effect is I-sum(E_i).
Every mpbtBranchChannel is p_i times the identity channel on ALL matrix units, hence also
on arbitrary reference-entangled inputs. The explicit probability interval is
redundant physically and keeps every optimization set bounded on bad parameters. -/
def Conclusive {d N k : ℕ}
(omega : Matrix (MPBTRegister d N × MPBTRegister d N) (MPBTRegister d N × MPBTRegister d N) ℂ)
(E : MPBTPortSelection N k → AliceOp d N k) (p : MPBTPortSelection N k → ℝ) : Prop :=
(∀ a, (E a).PosSemidef) ∧ (1 - ∑ a, E a).PosSemidef ∧
(∀ a, 0 ≤ p a) ∧ (∑ a, p a) ≤ 1 ∧
∀ a X, mpbtBranchChannel omega a (E a) X = (p a : ℂ) • X
/-- PDF p.3: optimal conclusive success for the fixed maximally entangled resource.
Zero mpbtSuccessProbability is included explicitly; every other feasible value lies in [0,1].
This is an operational optimization, not the scalar formula to be proved. -/
def mpbtSuccessProbability (d N k : ℕ) : ℝ :=
sSup (insert 0 {q : ℝ | ∃ (E : MPBTPortSelection N k → AliceOp d N k)
(p : MPBTPortSelection N k → ℝ), Conclusive (eprResource d N) E p ∧ q = ∑ a, p a})
/-- PDF p.6, Eq.(17) context: optimize BOTH shared density matrix and conclusive effects.
Mixed resources are allowed; linearity makes this equivalent to optimizing pure resources. -/
def optimizedSuccess (d N k : ℕ) : ℝ :=
sSup (insert 0 {q : ℝ | ∃
(omega : Matrix (MPBTRegister d N × MPBTRegister d N) (MPBTRegister d N × MPBTRegister d N) ℂ)
(E : MPBTPortSelection N k → AliceOp d N k) (p : MPBTPortSelection N k → ℝ),
QAlgorithms.IsDensityMatrix omega ∧ Conclusive omega E p ∧ q = ∑ a, p a})
/-- PDF p.6, Table 3: all independent fixed-resource single-qubit packages must succeed. -/
def packagedSuccess (N k : ℕ) : ℝ := mpbtSuccessProbability 2 (N / k) 1 ^ k
/-- PDF p.6, Table 3: all independent resource-optimized packages must succeed. -/
def packagedOptimalSuccess (N k : ℕ) : ℝ := optimizedSuccess 2 (N / k) 1 ^ k
/-- PDF p.14, Eq.(67): binomial coefficient zero outside its integer range. -/
def integerChoose (k : ℕ) (z : ℤ) : ℝ :=
if 0 ≤ z then (k.choose z.toNat : ℝ) else 0
/-- PDF p.14, Eq.(67): binomial-difference expression, with s=m/2-r, j=(m+k)/2-t.
The difference is in R; negative integer arguments are NOT truncated to zero indices. -/
def branchingExpression (m k r t : ℕ) : ℝ :=
integerChoose k ((t : ℤ) - r) - integerChoose k ((m : ℤ) + k - r - t + 1)
/-- PDF pp.13–14: count lower-row additions among the first q boxes of a path word. -/
def lowerAdded {k : ℕ} (w : Fin k → Bool) (q : ℕ) : ℕ :=
(Finset.univ.filter fun i : Fin k => i.val < q ∧ w i = true).card
/-- PDF pp.13–14: count ACTUAL box-addition paths between two-row shapes.
True adds to the lower row, false to the upper; every intermediate shape is valid. -/
def branchingPaths (m k r t : ℕ) : ℕ :=
(Finset.univ.filter fun w : Fin k → Bool =>
r + lowerAdded w k = t ∧
∀ q ∈ Finset.range (k + 1), 2 * (r + lowerAdded w q) ≤ m + q).card
/-- PDF p.14, Eq.(68): the canonical qubit fidelity expression, indexed by lower-row lengths.
The outer r is a shape of N-k and inner t a shape of N, so both spin parities are fixed. -/
def qubitFidelityExpression (N k : ℕ) : ℝ :=
((2 : ℝ) ^ (N + 2 * k))⁻¹ *
∑ r ∈ Finset.range ((N - k) / 2 + 1),
(∑ t ∈ (Finset.range (N / 2 + 1)).filter
(fun t => r ≤ t ∧ t ≤ r + k ∧ r + t ≤ N),
branchingExpression (N - k) k r t *
Real.sqrt (((N - 2 * t + 1 : ℕ) : ℝ)^2 * (N.factorial : ℝ) /
((t.factorial : ℝ) * ((N - t + 1).factorial : ℝ)))) ^ 2
/-- PDF p.6, Eq.(14), and p.14, Eq.(71): correct weighted qubit success formula. -/
def qubitSuccessExpression (N k : ℕ) : ℝ :=
((2 : ℝ)^N * (N + 1))⁻¹ *
∑ r ∈ Finset.range ((N - k) / 2 + 1),
((N - k - 2 * r + 1 : ℕ) : ℝ)^2 * ((N + 1).choose r : ℝ)
/-- PDF pp.6,16, Eqs.(15),(76),(77): the Gaussian limiting function, with x squared. -/
def gaussianLimit (a : ℝ) : ℝ :=
2 * ∫ x in Set.Ioi (0 : ℝ), x^2 / Real.sqrt (2 * Real.pi) *
Real.exp (-((x + a)^2) / 2)
/-- PDF p.12: corrected ELEMENTARY symmetric polynomial in x_0,...,x_(k-1).
The printed weak inequality in Eq.(55) would instead include squares and is incompatible with (56). -/
def elementary {k : ℕ} (x : Fin k → ℝ) (l : ℕ) : ℝ :=
∑ S ∈ (Finset.univ : Finset (Fin k)).powersetCard l, ∏ i ∈ S, x i
/-- PDF p.12, Eqs.(56)–(57): x_s=1/(d²+N-s-1), zero-based consistently. -/
def boundVariables (d N k : ℕ) (s : Fin k) : ℝ :=
((d : ℝ)^2 + N - s.val - 1)⁻¹
/-- PDF p.12, Eq.(56): the elementary-symmetric expansion of the lower bound. -/
def symmetricBound (d N k : ℕ) : ℝ :=
∑ l ∈ Finset.range (k + 1), (-1 : ℝ)^l * ((d : ℝ)^2 - 1)^l *
elementary (boundVariables d N k) l
/-- PDF pp.5–6: physical integer schedules for equal packages, N→∞. -/
def PackageSchedule (N k : ℕ → ℕ) : Prop :=
Tendsto N atTop atTop ∧ ∀ᶠ t in atTop, 1 ≤ k t ∧ k t ≤ N t ∧ k t ∣ N t
/-- PDF pp.5–6: integer interpretation of k~a N^alpha. -/
def Scales (N k : ℕ → ℕ) (a alpha : ℝ) : Prop :=
Tendsto (fun t => (k t : ℝ) / (N t : ℝ)^alpha) atTop (nhds a)
/-- PDF pp.5–6: the three regimes of a packaged protocol's critical exponent. -/
def RegimeLimit (N k : ℕ → ℕ) (value : ℕ → ℕ → ℝ)
(alpha criticalValue boundary : ℝ) : Prop :=
(alpha < criticalValue → Tendsto (fun t => value (N t) (k t)) atTop (nhds 1)) ∧
(alpha = criticalValue → Tendsto (fun t => value (N t) (k t)) atTop (nhds boundary)) ∧
(criticalValue < alpha → Tendsto (fun t => value (N t) (k t)) atTop (nhds 0))
example : integerChoose 3 (-1) = 0 := by norm_num [integerChoose]
example {N k : ℕ} (a b : MPBTPortSelection N k) : accumulated a b 0 = 1 := by
simp [accumulated]
example : branchingPaths 0 0 0 0 = 1 := by
simp [branchingPaths, lowerAdded]
example (d : ℕ) : binomialBound d 2 0 = 1 := by
simp [binomialBound]
example {d N k : ℕ}
(omega : Matrix (MPBTRegister d N × MPBTRegister d N) (MPBTRegister d N × MPBTRegister d N) ℂ)
(a : MPBTPortSelection N k) (E : AliceOp d N k) : mpbtBranchChannel omega a E 0 = 0 := by
ext u v
simp [mpbtBranchChannel]
example : branchingExpression 1 1 0 0 = 1 := by
have hzero : Nat.choose 1 (Int.toNat 3) = 0 :=
Nat.choose_eq_zero_of_lt (by decide)
norm_num [branchingExpression, integerChoose, hzero]
example : branchingExpression 1 1 0 1 = 1 := by
have hzero : Nat.choose 1 (Int.toNat 2) = 0 :=
Nat.choose_eq_zero_of_lt (by decide)
norm_num [branchingExpression, integerChoose, hzero]
/-- PDF p.12, Example 14, Eqs.(58)–(59): a=(3,4), b=(4,3) in one-based notation. -/
def examplePortA : MPBTPortSelection 4 2 := ⟨![2, 3], by decide⟩
/-- PDF p.12, Example 14: reversed lists have the same selected port set. -/
def examplePortB : MPBTPortSelection 4 2 := ⟨![3, 2], by decide⟩
end QAlgorithms.Papers.Independent.Extend50.P17
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
QAlgorithms.Papers.Independent.Extend50.P17.AliceBasis
For any natural numbers , is the set of pairs , where and . A function with no positions is uniquely determined; consequently, when , this basis has one element if , and is empty otherwise.
QAlgorithms.Papers.Independent.Extend50.P17.AliceOp
For any natural numbers , is the type of all complex matrices whose rows and columns are indexed by pairs , with and . No Hermitian, positivity, or normalization condition is imposed. If and , the index set is empty and there is exactly one such matrix; if , these are matrices, even when .
QAlgorithms.Papers.Independent.Extend50.P17.Conclusive
For arbitrary natural numbers , let and let be the set of injections from to . Given a complex matrix indexed by , a family of complex matrices indexed by , and real numbers , this predicate means that every is positive semidefinite, is positive semidefinite, every , , and, for every , every complex matrix indexed by , and every ,
The predicate imposes no positivity or trace condition on . It includes and empty register sets. If , then is empty: all conditions quantified over are vacuous, both family sums are zero, and the remaining matrix condition is that is positive semidefinite.
QAlgorithms.Papers.Independent.Extend50.P17.MPBTPortSelection
For any natural numbers , is the set of injective functions . The positions in the domain are labeled, so their order is part of the selection. For , this set has one element; for , it is empty.
QAlgorithms.Papers.Independent.Extend50.P17.MPBTRegister
For any natural numbers , is the set of functions . Thus a register assigns one of values to each of positions. When , there is exactly one such function, including when ; when , there are none.
QAlgorithms.Papers.Independent.Extend50.P17.PackageSchedule
For arbitrary functions , this is the proposition that as , and that there exists a natural-number threshold such that, for every ,
Here means that for every natural number , eventually . No restrictions are imposed on the finitely many indices before the eventual conditions hold.
QAlgorithms.Papers.Independent.Extend50.P17.RegimeLimit
For arbitrary functions , an arbitrary function , and arbitrary real numbers , this is the conjunction
Here is the argument named criticalValue and is the argument named boundary. No growth, divisibility, or scaling assumptions are included. Exactly one comparison holds for the fixed real numbers , and the other two implications have false antecedents.
QAlgorithms.Papers.Independent.Extend50.P17.Scales
For arbitrary functions and arbitrary real numbers , this is the proposition
where the natural-number values are converted to real numbers before taking the real power and quotient. There is no assumption that tends to infinity, that either sequence is positive, or that or is positive. The operations are total: , for , and division by zero equals zero.
QAlgorithms.Papers.Independent.Extend50.P17.accumulated
For any natural numbers , injections , and natural number , this defines a permutation of as follows: start with , and for , set
The result is ; the transposition exchanges the two displayed positions and is the identity if they coincide. Thus or gives the identity, and processes all pairs. Existence of the injection parameters requires , including .
QAlgorithms.Papers.Independent.Extend50.P17.binomialBound
For any natural numbers , this defines the real number
The subtraction in the lower binomial coefficient is natural-number subtraction, truncated at zero, and the binomial coefficients are computed as natural numbers before conversion to real numbers. There are no restrictions such as or . A binomial coefficient is zero when its lower argument exceeds its upper argument, and real division by zero is defined to be zero; for , the value is .
QAlgorithms.Papers.Independent.Extend50.P17.boundVariables
For all natural numbers and every index , this defines the real number
The arithmetic in the denominator takes place in , so subtraction is not truncated and the denominator may be negative or zero; its reciprocal is defined to be zero when the denominator is zero. When , there are no indices .
QAlgorithms.Papers.Independent.Extend50.P17.branchingExpression
For arbitrary natural numbers , this definition gives the real number
where the arguments of and all additions and subtractions inside those arguments are computed in the integers. Thus negative arguments are retained as negative and give zero rather than being truncated to zero before evaluating the binomial coefficient. No restrictions relating are imposed, and zero values of any of these parameters are included.
QAlgorithms.Papers.Independent.Extend50.P17.branchingPaths
For arbitrary natural numbers , this definition counts the Boolean words such that
All counts and arithmetic here are in the natural numbers. The prefix condition includes both , which requires , and , which together with the endpoint condition requires . There are no additional assumptions on the parameters; if no word satisfies the conditions, the count is zero. When , the count is exactly when and , and is otherwise.
QAlgorithms.Papers.Independent.Extend50.P17.collisionCount
For any natural numbers and injections , define permutations and
where the transposition is the identity when its two positions coincide. This declaration defines the natural number
Thus each comparison uses the permutation obtained after processing precisely the earlier indices. Existence of requires , and when , including , the sum is zero.
QAlgorithms.Papers.Independent.Extend50.P17.completedSRM
For any natural numbers and injection , this defines the complex matrix
where is the number of these injections, its inverse is taken in , and the matrices are indexed by . To specify , let be the product, in increasing order of , of transpositions exchanging positions and . For and , let be when , and otherwise, with denoting concatenation. Set , , by functional calculus for , and . Every sum ranges over all injections of the stated type, and is the identity on . Square root is zero on nonpositive real arguments, and inverses of zero are zero. The parameters may be zero; existence of requires , and for there is one empty injection.
QAlgorithms.Papers.Independent.Extend50.P17.discrimination
For any natural numbers , this defines the real number
where ranges over all injections from to , and is their number, interpreted as a real number in the prefactor. The matrices are indexed by . For each , let be the product, in increasing order of , of transpositions exchanging and , and let equal if , and otherwise, where means concatenation. Define , , by functional calculus with , , and , with this latter inverse taken in . Square root is zero on nonpositive real arguments, and all inverses of zero are zero. Zero parameters are allowed; if , there are no injections, the sum is empty, and the defined value is zero.
QAlgorithms.Papers.Independent.Extend50.P17.elementary
For every natural number , every real family , and every natural number , this defines
The empty product is , so the value for is , including when ; when , the sum is empty and its value is .
QAlgorithms.Papers.Independent.Extend50.P17.eprResource
For any natural numbers , let be the set of length- registers. This definition gives the complex matrix indexed by with entries
The inverse is taken in , where . When , is a singleton and this is the matrix with entry , including when because . When , is empty and the matrix has no entries.
QAlgorithms.Papers.Independent.Extend50.P17.examplePortA
This defines the injection from into that sends to and to .
QAlgorithms.Papers.Independent.Extend50.P17.examplePortB
This defines the injection from into that sends to and to .
QAlgorithms.Papers.Independent.Extend50.P17.gaussianLimit
For every real number , with no sign restriction, this defines
where the integral is the Lebesgue integral over the strictly positive real numbers.
QAlgorithms.Papers.Independent.Extend50.P17.integerChoose
For every natural number and integer , this definition gives the real number when , interpreting as a natural number, and gives when . The natural binomial coefficient is zero when , so the value is zero outside . In particular, for it is at and at every other integer.
QAlgorithms.Papers.Independent.Extend50.P17.lowerAdded
For any natural number , Boolean word , and natural number , this definition counts the indices satisfying both and :
There is no assumption that : when it counts all true entries of , while or gives zero.
QAlgorithms.Papers.Independent.Extend50.P17.mpbtBranchChannel
For arbitrary natural numbers , put . Given any complex matrix indexed by , any injection , any complex matrix indexed by , and any complex matrix indexed by , define by . The resulting matrix, indexed by , has entries
No positivity, trace, or normalization assumptions are imposed on . Empty sums are zero, and is a singleton. In particular, gives a matrix indexed by that singleton, with the outer sum restricted to ; if , there is no possible argument .
QAlgorithms.Papers.Independent.Extend50.P17.mpbtFidelity
For any natural numbers , this defines the real number
where ranges over all injections from to . The matrices are indexed by . For each , let be the product, in increasing order of , of transpositions exchanging and , and define to be when , and otherwise, where means concatenation. Set , , by functional calculus with , , and , where is the number of injections and its inverse here is taken in . Square root is zero on nonpositive real arguments, and inverses of zero are zero. All zero parameters are included, with ; if , the sum is empty and the value is zero.
QAlgorithms.Papers.Independent.Extend50.P17.mpbtSelectedPorts
For arbitrary natural numbers , an injection , and a register , this definition returns the length- register whose th entry is
Thus the selected coordinates are listed in reverse order of their indices in . When , the result is the unique empty register; when , no such injection exists.
QAlgorithms.Papers.Independent.Extend50.P17.mpbtSignal
For any natural numbers and injection , is the complex matrix whose entry at row and column , with length- functions and length- functions taking values in , is if outside the image of and , for every , and is otherwise. The scalar uses total complex inversion: it is when , and when , including , since . No argument exists when .
QAlgorithms.Papers.Independent.Extend50.P17.mpbtSuccessProbability
For any natural numbers , let and let be the set of injections from to . This definition is the real supremum of together with all numbers arising from families of complex matrices indexed by and real numbers such that and are positive semidefinite, , , and, for every , every complex matrix indexed by , and every ,
Here the coefficient is the complex inverse, with ; this formula uses the resource matrix whose entry at is when and , and zero otherwise. The supremum set contains and lies in . All zero parameters are allowed, with a singleton and empty sums zero; when , the injection set is empty and the value is .
QAlgorithms.Papers.Independent.Extend50.P17.mpbtWordOperator
For any natural numbers and injection , is the complex matrix indexed by pairs , where is a length- function and is a length- function, both taking values in . Its entry at row and column is precisely when for every outside the image of , and, for every , both and ; otherwise the entry is . Equivalently, the concatenation of with must equal the concatenation of with precomposed with the inverse of the permutation exchanging with for every . When , this matrix is the identity on the length- functions. No argument exists when , and the matrix index set is empty when and .
QAlgorithms.Papers.Independent.Extend50.P17.normalizedSum
For any natural numbers , let be the complex matrix indexed by pairs of length- and length- functions into , whose entry is times the number of injections such that outside the image of and , for every . Then , where is the sum of its diagonal entries and inversion is in . No nonzero-trace hypothesis is required: if the trace is zero, the result is the zero matrix. The count is zero when ; also, and in the defining scalar.
QAlgorithms.Papers.Independent.Extend50.P17.optimizedSuccess
For any natural numbers , let and let be the set of injections from to . This definition is the real supremum of together with all numbers for which there exist a positive semidefinite complex matrix indexed by with , complex matrices indexed by , and real numbers , satisfying: every and are positive semidefinite, every , , and, for every , every complex matrix indexed by , and every ,
The supremum set contains and lies in . Zero parameters are included and is a singleton. When , the value is because the family of outcomes is empty. When , the resource index set is empty, so its matrix trace is zero and the required trace-one resource does not exist; the inserted still makes the value .
QAlgorithms.Papers.Independent.Extend50.P17.outcomeCount
For any natural numbers , is the number of injective functions from to . It counts labeled selections, and equals when , with the empty product equal to when ; it equals when .
QAlgorithms.Papers.Independent.Extend50.P17.packagedFidelity
For any natural numbers , let when , and let when , following natural-number division by zero. This defines
Here the matrices are indexed by pairs , with and ; if , , and for every , and is zero otherwise. Set , by functional calculus with , , and , with the inverse in the matrix formula taken in . Square root is zero on nonpositive real arguments, and inversion of zero is zero. No divisibility condition is imposed on ; for the defined value is , and for the sum is empty and the value is zero.
QAlgorithms.Papers.Independent.Extend50.P17.packagedLower
For any natural numbers , this defines the real number
with all arithmetic inside the parentheses performed in . There are no restrictions on or . Division by zero is zero, so the value is when ; the zeroth-power convention also makes it when .
QAlgorithms.Papers.Independent.Extend50.P17.packagedOptimalFidelity
For any natural numbers , this defines
where is computed by natural-number division, so for and for , and is then interpreted as a real number. No positivity or divisibility assumptions are imposed. The denominator is always at least , and when the value is .
QAlgorithms.Papers.Independent.Extend50.P17.packagedOptimalSuccess
For arbitrary natural numbers , let , where this is for and for , and put . This definition is , where is the real supremum of together with all sums for which there exist a positive semidefinite complex matrix indexed by with , real numbers , and complex matrices indexed by , such that every and are positive semidefinite, , and, for every , every complex matrix , and every ,
One-coordinate registers and one-port injections are identified with their coordinate values and selected ports, respectively. No divisibility or positivity condition on is assumed. When , the value is by the zeroth-power convention; when and , the outcome family is empty, the supremum is , and the value is .
QAlgorithms.Papers.Independent.Extend50.P17.packagedSuccess
For arbitrary natural numbers , let , using natural-number division, so for and for , and put . This definition is , where is the real supremum of together with all sums for which there exist real numbers and complex matrices indexed by , with every and positive semidefinite and , such that, for every , every complex matrix , and every ,
Here a one-coordinate register is identified with its coordinate value, and a one-port injection is identified with its selected port ; the coefficient comes from the resource matrix with entry when its two registers agree at both row and column, and zero otherwise. No divisibility or positivity condition on is assumed. For the result is , including the convention ; for and , there are no ports in the inner optimization, so the result is .
QAlgorithms.Papers.Independent.Extend50.P17.pairingWord
For any natural numbers and any injection , is the permutation of given by , where exchanges positions and and fixes every other position. Permutation multiplication is composition, so the rightmost factor acts first. These exchanges are disjoint because is injective. When , the product is the identity permutation; when , no such argument exists.
QAlgorithms.Papers.Independent.Extend50.P17.portAction
For any natural numbers and permutation of , this defines a complex matrix indexed by , whose entry in row and column is
No positivity assumptions are imposed. When and , the indexing set is empty; when , it has one element even if , and the matrix is the one-entry matrix .
QAlgorithms.Papers.Independent.Extend50.P17.powerBound
For any natural numbers , this defines
where are converted to real numbers before the subtractions and division. No positivity or size restrictions are imposed, so the denominator may be zero or negative. Division by zero is zero, making the value whenever the denominator is zero; when , the value is also .
QAlgorithms.Papers.Independent.Extend50.P17.qubitFidelityExpression
For every pair of natural numbers , this defines the real number
where denotes natural-number subtraction,
The arguments of use integer subtraction, and when . No assumption or positivity assumption is imposed; , , and are included, with empty inner sums equal to zero.
QAlgorithms.Papers.Independent.Extend50.P17.qubitSuccessExpression
For every pair of natural numbers , this defines
as a real number, where . All subtractions inside the squared natural-number expression occur before conversion to real numbers. The definition includes , , and , without additional restrictions.
QAlgorithms.Papers.Independent.Extend50.P17.rawSRM
For any natural numbers and injection , this defines a complex matrix indexed by . Here is the product, in increasing order of , of the transpositions exchanging positions and ; for , define to be if , and otherwise, where denotes concatenation. Then , with the scalar interpreted in , , where ranges over all such injections, and is defined by functional calculus with for real . Real square root is zero for , and inversion of zero is zero. No positivity assumption on is imposed; the injection parameter can exist only when , and when it is the unique empty injection.
QAlgorithms.Papers.Independent.Extend50.P17.signalSum
For any natural numbers , is the sum over all injections of the following complex matrices: at row and column , with length- functions and length- functions into , the summand is when outside the image of and , for every , and is otherwise. The sum is the zero matrix when . When , it is times the identity. Inversion at zero is , while the scalar is when , even if .
QAlgorithms.Papers.Independent.Extend50.P17.supportInverseSqrt
For any natural numbers , let be the complex matrix indexed by pairs of length- and length- functions into , whose entry is times the number of injections satisfying outside the image of and , for every . Then is the real continuous functional calculus of for the function . Here the real square root is for , and inversion at zero is , so for and for . For Hermitian , this applies to each eigenvalue; the total functional calculus returns zero when its applicability conditions fail. No positivity or invertibility hypothesis is imposed. The injection count is zero for , and the defining scalar uses and .
QAlgorithms.Papers.Independent.Extend50.P17.symmetricBound
For all natural numbers , this defines the real number
All arithmetic in the factors is real arithmetic, each zero denominator has reciprocal zero, and empty products equal . There are no positivity or size assumptions on ; in particular, the value for is .
QAlgorithms.Papers.Independent.Extend50.P17.unscaledSum
For any natural numbers , is the complex matrix whose entry at row and column , with length- functions and length- functions into , is the number of injections satisfying outside the image of and , for every , with that number regarded as a complex number. For , the sum has no terms and is the zero matrix; for , it is the identity. When and , there are no row or column indices.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.