Definitions for Universal construction of decoders from encoding black boxes
DefinitionQAlgorithms_Papers_Independent_Extend50_P07The objects the formalized statements of Universal construction of decoders from encoding black boxes (arXiv:2110.00258) are stated in. Each was checked against the paper by a blind read-back and a moderator.
Isometry: PDF p.4, Eq. (1): finite isometries in computational coordinates.tensorRight: PDF p.5, Eq. (4): a map on the first factor, with the second factor untouched. Off-diagonal blocks of the auxiliary register are retained.Parallel: PDF pp.5--6, Eq. (4): exactly k parallel oracle slots, finite auxiliary space, fixed preprocessing and fixed final instrument. None of these fields takes V.Parallel.run: PDF p.5, Eq. (4): successful branch on an arbitrary joint input operation.Delayed: PDF p.9, Eqs. (10)--(11): the oracle is applied to a fixed resource state before the eventual input arrives. The input is retained as a separate register.Delayed.run: PDF p.9, Eq. (10): successful delayed-input branch, including the resource correlations with its auxiliary space.oracleCopies: PDF p.6: all k slots receive the same unknown channel.ExactInverse: PDF p.4, Eq. (2), and p.6, Eq. (5): an exact CP left inverse on every operator, with the entire successful branch equal to p times that inverse. In particular p=0 forces a zero branch even off the code.inversionProbabilities: PDF pp.6--8: feasible uniform parallel inversion coefficients.inversionOpt: PDF p.8, Eq. (8): optimal parallel coefficient. For positive d≤D the feasible set contains zero (abort) and is bounded above by one by definition.inversionBound: PDF pp.7--8: Figure 2(a)'s coefficient. Zero ports mean abort, without calling a zero-port teleportation construction. The formula is used only for d≥2.decoder: PDF p.7, Eq. (7): full off-code decoder. The identity is not divided by d.pseudoConjugate: PDF p.21, Eq. (60): the full pseudo complex-conjugate CP map.transposeChoi: PDF pp.6,22, Eq. (65): Kraus transposition swaps Choi legs, without conjugating coefficients and without merely transposing the Choi matrix.completeAction: PDF pp.17--18: complete extension of a k-slot linear supermap. Each slot has arbitrary ancillary input and output; the auxiliary coherences are retained. This tests individual channel slots, not a joint channel allowed to signal between slots.General: PDF pp.17--18: general two-outcome superinstrument, including indefinite causal order. Positivity is complete CP preservation. Normalization tests all ancillary input/output extensions of each individual CPTP slot.General.run: PDF p.6, Eq. (5), for the general class: every slot gets the same V.General.draw: PDF p.23, Eq. (69): the unsuccessful branch of a general protocol.transposeSuperChoi: PDF p.38, Eq. (155), in the fixed (slot, past/future) ordering: p D d times the two normalized maximally entangled projectors.oneSlot: PDF p.38: identify a single input slot with the one-letter tensor word.gateTeleport: PDF pp.22--23, Figure 9: normalized entangled resource (factor 1/d) and successful Bell projection (factor 1/D), written as their contraction.embedding: PDF p.15, Eq. (38): fixed natural computational embedding, not chosen from V.RoundTree: PDF pp.23--24: a finite protocol tree. Each attempt executes the supplied k-slot instrument once, stops on success, and continues only on a draw.RoundTree.queryCount: PDF p.24: worst-case query count, obtained from the actual attempt nodes.RoundTree.success: PDF pp.23--24: successful operation of the finite tree, with early exit.RoundTree.failure: PDF pp.23--24: the branch where all attempts draw.repeatProtocol: PDF p.24: the constructed m-round repetition of a single supplied protocol.
import Mathlib
import Definitions.Def_QAlgorithms_Defs_Channel
import Definitions.Def_QAlgorithms_Defs_Information
import Definitions.Def_QAlgorithms_Papers_Independent_Information100_P75
import Definitions.Def_QAlgorithms_Papers_Independent_Information100_P58
import Definitions.Def_QAlgorithms_Papers_Independent_Information100_P06
import Definitions.Def_QAlgorithms_Papers_Independent_Information100_P34
import Definitions.Def_QAlgorithms_Papers_Independent_Claimed50_P48
import Definitions.Def_QAlgorithms_Papers_Independent_Advance50_P05
import Definitions.Def_QAlgorithms_Papers_Independent_Dependency50_P05
/-!
Yoshida--Soeda--Murao, arXiv:2110.00258v5 (PDF page numbers).
All registers have fixed computational coordinates. Choi matrices are unnormalized,
input first. Probabilities in the statements are the scale in Eq. (5).
New definitions are local to this paper; the accepted definition layer is unchanged.
Coordinate, CP and instrument interfaces are imported from pinned accepted modules.
-/
noncomputable section
open scoped Matrix ComplexConjugate ComplexOrder
attribute [local instance] Classical.propDecidable
attribute [local instance] Classical.decEq
namespace QAlgorithms.Papers.Independent.Extend50.P07
-- Reuse pinned accepted interfaces; no duplicate declarations or exported aliases.
open QAlgorithms.Papers.Independent.Information100.P75 (Mat)
open QAlgorithms.Papers.Independent.Information100.P58 (Word)
open QAlgorithms.Papers.Independent.Information100.P06 (Choi)
open QAlgorithms.Papers.Independent.Information100.P34 (choi fromChoi)
open QAlgorithms.Papers.Independent.Claimed50.P48 (FiniteKrausCP)
open QAlgorithms.Papers.Independent.Advance50.P05 (RectangularInstrument)
open QAlgorithms.Papers.Independent.Dependency50.P05 (ChannelChoi)
/-- PDF p.4, Eq. (1): finite isometries in computational coordinates. -/
def Isometry (d D : ℕ) :=
{V : Matrix (Fin D) (Fin d) ℂ // Vᴴ * V = 1}
/-- PDF p.5, Eq. (4): a map on the first factor, with the second factor untouched.
Off-diagonal blocks of the auxiliary register are retained. -/
def tensorRight {I O A : Type} (Phi : Superop I O) : Superop (I × A) (O × A) :=
fun X a b => Phi (fun i j => X (i, a.2) (j, b.2)) a.1 b.1
/-- PDF pp.5--6, Eq. (4): exactly k parallel oracle slots, finite auxiliary
space, fixed preprocessing and fixed final instrument. None of these fields takes V. -/
structure Parallel (d D P F k : ℕ) where
memory : ℕ
memoryPos : 0 < memory
pre : Superop (Fin P) (Word k d × Fin memory)
preTP : IsChannel pre
post : RectangularInstrument (Word k D × Fin memory) (Fin F) Bool
/-- PDF p.5, Eq. (4): successful branch on an arbitrary joint input operation. -/
def Parallel.run {d D P F k : ℕ} (A : Parallel d D P F k)
(Lambda : Superop (Word k d) (Word k D)) : Superop (Fin P) (Fin F) :=
fun X => A.post.branch false (tensorRight Lambda (A.pre X))
/-- PDF p.9, Eqs. (10)--(11): the oracle is applied to a fixed resource state
before the eventual input arrives. The input is retained as a separate register. -/
structure Delayed (d D P F k : ℕ) where
memory : ℕ
memoryPos : 0 < memory
resource : Mat (Word k d × Fin memory)
resourceState : IsDensityMatrix resource
post : RectangularInstrument (Fin P × (Word k D × Fin memory)) (Fin F) Bool
/-- PDF p.9, Eq. (10): successful delayed-input branch, including the resource
correlations with its auxiliary space. -/
def Delayed.run {d D P F k : ℕ} (A : Delayed d D P F k)
(Lambda : Superop (Word k d) (Word k D)) : Superop (Fin P) (Fin F) :=
fun X => A.post.branch false (Matrix.kronecker X (tensorRight Lambda A.resource))
/-- PDF p.6: all k slots receive the same unknown channel. -/
def oracleCopies {d D : ℕ} (k : ℕ) (V : Isometry d D) :
Superop (Word k d) (Word k D) :=
piSuperop (fun _ => conjSuperop V.val)
/-- PDF p.4, Eq. (2), and p.6, Eq. (5): an exact CP left inverse on every
operator, with the entire successful branch equal to p times that inverse.
In particular p=0 forces a zero branch even off the code. -/
def ExactInverse {d D : ℕ} (B : Superop (Fin D) (Fin d)) (p : ℝ)
(V : Isometry d D) : Prop :=
∃ R : Superop (Fin D) (Fin d), FiniteKrausCP R ∧
(∀ X, R (conjSuperop V.val X) = X) ∧ (∀ Y, B Y = (p : ℂ) • R Y)
/-- PDF pp.6--8: feasible uniform parallel inversion coefficients. -/
def inversionProbabilities (d D k : ℕ) : Set ℝ :=
{p | 0 ≤ p ∧ p ≤ 1 ∧ ∃ A : Parallel d D D d k,
∀ V : Isometry d D, ExactInverse (A.run (oracleCopies k V)) p V}
/-- PDF p.8, Eq. (8): optimal parallel coefficient. For positive d≤D the
feasible set contains zero (abort) and is bounded above by one by definition. -/
def inversionOpt (d D k : ℕ) : ℝ := sSup (inversionProbabilities d D k)
/-- PDF pp.7--8: Figure 2(a)'s coefficient. Zero ports mean abort, without
calling a zero-port teleportation construction. The formula is used only for d≥2. -/
def inversionBound (d k : ℕ) : ℝ :=
let m := k / (d - 1)
if m = 0 then 0 else (m : ℝ) / ((d : ℝ)^2 + (m : ℝ) - 1)
/-- PDF p.7, Eq. (7): full off-code decoder. The identity is not divided by d. -/
def decoder {d D : ℕ} (V : Isometry d D) : Superop (Fin D) (Fin d) :=
fun X => V.valᴴ * X * V.val + ((1 - V.val * V.valᴴ) * X).trace • 1
/-- PDF p.21, Eq. (60): the full pseudo complex-conjugate CP map. -/
def pseudoConjugate {d D : ℕ} (V : Isometry d D) : Superop (Fin d) (Fin D) :=
fun X => conjSuperop (V.val.map conj) X +
X.trace • ((1 - V.val * V.valᴴ).map conj)
/-- PDF pp.6,22, Eq. (65): Kraus transposition swaps Choi legs, without
conjugating coefficients and without merely transposing the Choi matrix. -/
def transposeChoi {I O : Type} (J : Choi I O) : Choi O I :=
fun a b => J (a.2, a.1) (b.2, b.1)
/-- PDF pp.17--18: complete extension of a k-slot linear supermap. Each slot
has arbitrary ancillary input and output; the auxiliary coherences are retained.
This tests individual channel slots, not a joint channel allowed to signal between slots. -/
def completeAction {d D P F k : ℕ}
(S : Choi (Word k d) (Word k D) →ₗ[ℂ] Choi (Fin P) (Fin F))
(r s : Fin k → ℕ)
(J : (i : Fin k) → Choi (Fin (r i) × Fin d) (Fin (s i) × Fin D)) :
Choi (Fin P × ((i : Fin k) → Fin (r i)))
(Fin F × ((i : Fin k) → Fin (s i))) :=
fun a b =>
S (fun u v => ∏ i,
J i ((a.1.2 i, u.1 i), (a.2.2 i, u.2 i))
((b.1.2 i, v.1 i), (b.2.2 i, v.2 i)))
(a.1.1, a.2.1) (b.1.1, b.2.1)
/-- PDF pp.17--18: general two-outcome superinstrument, including indefinite
causal order. Positivity is complete CP preservation. Normalization tests all
ancillary input/output extensions of each individual CPTP slot. -/
structure General (d D P F k : ℕ) where
success : Choi (Word k d) (Word k D) →ₗ[ℂ] Choi (Fin P) (Fin F)
failure : Choi (Word k d) (Word k D) →ₗ[ℂ] Choi (Fin P) (Fin F)
successCP : (choi success).PosSemidef
failureCP : (choi failure).PosSemidef
complete : ∀ r s : Fin k → ℕ, (∀ i, 0 < r i) → (∀ i, 0 < s i) →
∀ J : (i : Fin k) → Choi (Fin (r i) × Fin d) (Fin (s i) × Fin D),
(∀ i, ChannelChoi (J i)) →
(completeAction success r s J).PosSemidef ∧
(completeAction failure r s J).PosSemidef ∧
ChannelChoi (completeAction success r s J + completeAction failure r s J)
/-- PDF p.6, Eq. (5), for the general class: every slot gets the same V. -/
def General.run {d D P F k : ℕ} (A : General d D P F k)
(V : Isometry d D) : Superop (Fin P) (Fin F) :=
fromChoi (A.success (choi (oracleCopies k V)))
/-- PDF p.23, Eq. (69): the unsuccessful branch of a general protocol. -/
def General.draw {d D P F k : ℕ} (A : General d D P F k)
(V : Isometry d D) : Superop (Fin P) (Fin F) :=
fromChoi (A.failure (choi (oracleCopies k V)))
/-- PDF p.38, Eq. (155), in the fixed (slot, past/future) ordering:
p D d times the two normalized maximally entangled projectors. -/
def transposeSuperChoi (d D : ℕ) (p : ℝ) :
Mat ((Word 1 d × Word 1 D) × (Fin D × Fin d)) :=
fun a b => if a.1.2 0 = a.2.1 ∧ a.1.1 0 = a.2.2 ∧
b.1.2 0 = b.2.1 ∧ b.1.1 0 = b.2.2 then (p : ℂ) else 0
/-- PDF p.38: identify a single input slot with the one-letter tensor word. -/
def oneSlot {d D : ℕ} (J : Choi (Fin d) (Fin D)) : Choi (Word 1 d) (Word 1 D) :=
fun a b => J (a.1 0, a.2 0) (b.1 0, b.2 0)
/-- PDF pp.22--23, Figure 9: normalized entangled resource (factor 1/d)
and successful Bell projection (factor 1/D), written as their contraction. -/
def gateTeleport {d D : ℕ} (Lambda : Superop (Fin d) (Fin D)) :
Superop (Fin D) (Fin d) :=
fun X i j => (1 / ((D : ℂ) * (d : ℂ))) *
∑ o, ∑ q, X o q * Lambda (Matrix.single i j 1) o q
/-- PDF p.15, Eq. (38): fixed natural computational embedding, not chosen from V. -/
def embedding (d D : ℕ) : Matrix (Fin D) (Fin d) ℂ :=
fun o i => if o.val = i.val then 1 else 0
/-- PDF pp.23--24: a finite protocol tree. Each attempt executes the supplied
k-slot instrument once, stops on success, and continues only on a draw. -/
inductive RoundTree (d D k : ℕ) where
| stop
| attempt (round : General d D D D k) (next : RoundTree d D k)
/-- PDF p.24: worst-case query count, obtained from the actual attempt nodes. -/
def RoundTree.queryCount {d D k : ℕ} : RoundTree d D k → ℕ
| .stop => 0
| .attempt _ next => k + next.queryCount
/-- PDF pp.23--24: successful operation of the finite tree, with early exit. -/
def RoundTree.success {d D k : ℕ} :
RoundTree d D k → Isometry d D → Superop (Fin D) (Fin D)
| .stop, _ => fun _ => 0
| .attempt A next, V => fun X => A.run V X + next.success V (A.draw V X)
/-- PDF pp.23--24: the branch where all attempts draw. -/
def RoundTree.failure {d D k : ℕ} :
RoundTree d D k → Isometry d D → Superop (Fin D) (Fin D)
| .stop, _ => id
| .attempt A next, V => fun X => next.failure V (A.draw V X)
/-- PDF p.24: the constructed m-round repetition of a single supplied protocol. -/
def repeatProtocol {d D k : ℕ} (A : General d D D D k) : ℕ → RoundTree d D k
| 0 => .stop
| m + 1 => .attempt A (repeatProtocol A m)
/-! Small semantic checks; no theorem proofs from the paper are attempted. -/
example {I A : Type} (X : Mat (I × A)) :
tensorRight (fun Y : Mat I => Y) X = X := by
rfl
example {I O : Type} (J : Choi I O) :
transposeChoi (transposeChoi J) = J := by
rfl
example (d : ℕ) : inversionBound d 0 = 0 := by
simp [inversionBound]
example {d D k : ℕ} (A : General d D D D k) :
(repeatProtocol A 0).queryCount = 0 := by
rfl
example {d D k : ℕ} (A : General d D D D k) (V : Isometry d D)
(X : Mat (Fin D)) : (repeatProtocol A 1).success V X = A.run V X := by
simp [repeatProtocol, RoundTree.success]
example (d D : ℕ) (i : Fin d) (o : Fin D) (h : o.val = i.val) :
embedding d D o i = 1 := by
simp [embedding, h]
example {I O : Type} [Fintype I] : FiniteKrausCP (fun _ : Mat I => (0 : Mat O)) := by
refine ⟨0, fun i => Fin.elim0 i, ?_⟩
funext X
simp [krausApply]
example {I O : Type} [Fintype I] :
fromChoi (0 : Choi I O) = (fun _ : Mat I => (0 : Mat O)) := by
funext X a b
simp [fromChoi]
example {d D P F k : ℕ} (r s : Fin k → ℕ)
(J : (i : Fin k) → Choi (Fin (r i) × Fin d) (Fin (s i) × Fin D)) :
completeAction (0 : Choi (Word k d) (Word k D) →ₗ[ℂ]
Choi (Fin P) (Fin F)) r s J = 0 := by
rfl
example (d : ℕ) (X : Mat (Fin d)) :
decoder (⟨1, by simp⟩ : Isometry d d) X = X := by
simp [decoder]
end QAlgorithms.Papers.Independent.Extend50.P07
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
QAlgorithms.Papers.Independent.Extend50.P07.Delayed
For natural numbers , write and . A value of this structure consists of a natural memory dimension , a positive semidefinite matrix indexed by with complex trace exactly , and a Boolean outcome instrument from to . Explicitly, that instrument consists of a natural number and matrices between these spaces, for Boolean and , satisfying . The parameters may be zero subject to these requirements; in particular, the density matrix requirement excludes an empty resource register, whereas is always a singleton.
QAlgorithms.Papers.Independent.Extend50.P07.Delayed.run
For natural numbers , write . Let consist of a positive memory dimension , a positive semidefinite trace-one resource matrix on , and instrument matrices from to satisfying . For any function from matrices on to matrices on , this defines
The formula uses only the instrument outcome and applies to every complex matrix . No channel or linearity assumption is imposed on ; zero natural parameters are included subject to the structure’s existence.
QAlgorithms.Papers.Independent.Extend50.P07.ExactInverse
For natural numbers , any function from complex matrices to complex matrices, any real number , and a complex matrix with , this predicate requires a function admitting a finite Kraus representation: there must be some natural number and complex matrices such that for every , and
There is no trace-preservation requirement on , no restriction on the real number , and no restriction to density matrices in either equality. Zero dimensions and an empty Kraus family are included whenever these equations hold.
QAlgorithms.Papers.Independent.Extend50.P07.General.draw
For natural numbers , let consist of two complex linear maps from matrices indexed by to matrices indexed by , with positive semidefinite Choi matrices, such that every product block extension to positive auxiliary dimensions sends channel Choi matrices to two positive semidefinite matrices whose sum has output partial trace equal to the input identity; explicitly, each extended entry is obtained by applying the chosen map to the matrix whose slot entries are multiplied together, holding all auxiliary row and column indices fixed. Given a complex matrix satisfying , form
This declaration defines a function from arbitrary complex matrices to complex matrices by
There is no normalization restriction on . All dimensions may be zero, subject to the supplied structure and isometry conditions; for , the empty product makes the singleton-indexed matrix with entry , independently of .
QAlgorithms.Papers.Independent.Extend50.P07.General
For natural numbers , including zero, this structure consists of two complex linear maps from matrices indexed by to matrices indexed by , where . Each map must have a positive semidefinite Choi matrix: for either map , this matrix has entries
where has its sole nonzero entry, equal to , at . The structure also requires the following for every pair of functions with , and every family of positive semidefinite matrices indexed by whose partial trace over is : both matrices and are positive semidefinite, and their sum has partial trace over equal to . Here the extension is defined, for fixed auxiliary row and column indices , by applying to the matrix
and taking the resulting entry as the corresponding extended entry. The partial trace normalization is an identity matrix without a dimension factor. If no family satisfies the hypotheses, the requirement for that choice of auxiliary dimensions is vacuous; for , the family is empty and its product is .
QAlgorithms.Papers.Independent.Extend50.P07.General.run
For natural numbers , let consist of two complex linear maps from matrices indexed by to matrices indexed by , with positive semidefinite Choi matrices, such that every product block extension to positive auxiliary dimensions sends channel Choi matrices to two positive semidefinite matrices whose sum has output partial trace equal to the input identity; explicitly, each extended entry is obtained by applying the chosen map to the matrix whose slot entries are multiplied together, holding all auxiliary row and column indices fixed. Given a complex matrix satisfying , define the matrix
This declaration defines a function from arbitrary complex matrices to complex matrices by
There is no normalization restriction on . All dimensions may be zero, subject to the supplied structure and isometry conditions; for , is the singleton-indexed matrix with entry , so this function is independent of .
QAlgorithms.Papers.Independent.Extend50.P07.Isometry
For natural numbers , this is the type of complex matrices satisfying , where denotes conjugate transpose. Thus the columns of are orthonormal. Zero dimensions are included: when the condition holds for the unique matrix, while when no such matrix exists.
QAlgorithms.Papers.Independent.Extend50.P07.Parallel
For natural numbers , write and . A value of this structure consists of a natural number , a function from complex matrices to matrices indexed by that is a channel, and a Boolean outcome instrument from matrices indexed by to complex matrices. Explicitly, the channel requirement means that for some natural number there are matrices from to such that and for every ; the instrument consists of a natural number and matrices from to , for and , satisfying . The five parameters may be zero, subject to these requirements; when , each is a singleton even if .
QAlgorithms.Papers.Independent.Extend50.P07.Parallel.run
For natural numbers , let , and let consist of a positive memory dimension , a preprocessing channel from to , and instrument matrices from to satisfying ; here a channel has the form with a finite family satisfying . For any function from matrices on to matrices on , the resulting function is
Only the instrument outcome is used. This formula applies to every complex input matrix , without requiring to be linear or a channel; all natural parameters, including , are allowed subject to the structure’s existence.
QAlgorithms.Papers.Independent.Extend50.P07.RoundTree.failure
For any natural numbers , a finite sequence of rounds , and any with , this defines a map on complex matrices. A round consists of complex-linear maps from matrices on to matrices on , where , with positive semidefinite ordinary Choi matrices. For every family of slot Choi matrices with positive auxiliary input and output dimensions, each positive semidefinite and having output partial trace equal to the input identity, their extensions obtained by applying to the oracle indices of the tensor product are positive semidefinite and their sum has output partial trace equal to the input identity. Write , set , and define the individual failure map by
Then
for every complex matrix , including matrices that are not states. Zero dimensions and are included, with the empty tensor power equal to the scalar identity; the argument must still satisfy its isometry equation.
QAlgorithms.Papers.Independent.Extend50.P07.RoundTree
For natural numbers , including zero, this inductively defines objects generated by a terminal object called “stop” and a constructor that attaches one round and a continuation of the same type. A round contains two complex linear maps from matrices indexed by to matrices indexed by , each with a positive semidefinite Choi matrix ; for every choice of positive auxiliary input and output dimensions and every family of positive semidefinite slot matrices with output partial trace equal to the input identity, their product block extensions must be positive semidefinite and their sum must have output partial trace equal to the input identity. A product block extension applies the chosen map to the matrix formed by multiplying the slot entries with fixed auxiliary row and column indices. Each nonterminal object contains exactly one such round and one continuation, so objects are finite chains ending at “stop”; there is no branching constructor. The number of attached rounds is unrestricted, and is allowed.
QAlgorithms.Papers.Independent.Extend50.P07.RoundTree.queryCount
For natural numbers , including zero, and any finite chain ending at “stop” whose attached rounds each contain two complex linear maps from matrices indexed by to matrices indexed by , with positive semidefinite Choi matrices and with positive product block extensions whose sum preserves channel Choi normalization for every family of channel Choi matrices and positive auxiliary dimensions, this defines a natural-number count recursively by
Here a product block extension applies the relevant map to the matrix of products of slot entries with auxiliary indices fixed, and channel Choi normalization means that the output partial trace is the input identity. The count depends only on the number of attached rounds: a chain with rounds has count , regardless of the round data. In particular, every chain has count zero when .
QAlgorithms.Papers.Independent.Extend50.P07.RoundTree.success
For any natural numbers , a finite sequence of rounds , and a matrix satisfying , this defines a map from complex matrices to complex matrices. Each round contains two complex-linear maps from matrices indexed by to matrices indexed by , where . Their ordinary Choi matrices are positive semidefinite. Moreover, for every choice of positive auxiliary input and output dimensions in each of the slots and every family of positive semidefinite slot Choi matrices whose output partial traces are identities, applying and to the oracle indices of their tensor product, while retaining the auxiliary indices, gives positive semidefinite matrices whose sum has output partial trace equal to the input identity. Put and define by . The two maps used in the recursion are
The definition is
These equations apply to every complex matrix , without a positivity or trace assumption. Zero values of are allowed; for , is the scalar identity, and if no such isometry exists there is no instance with that .
QAlgorithms.Papers.Independent.Extend50.P07.completeAction
For natural numbers , write , with , and let denote the functions from to . Given a complex linear map from matrices indexed by to matrices indexed by , functions , and, for each , an arbitrary complex matrix indexed by , this defines a matrix indexed by
For and , form the matrix with entries
The defined matrix has entry
No positivity or normalization assumptions are required. All dimensions may be zero; when , each product of register sets is a singleton and the product defining is .
QAlgorithms.Papers.Independent.Extend50.P07.decoder
For natural numbers and a complex matrix satisfying , this defines a function on every complex matrix by
The trace in the second term is a complex scalar multiplying the identity matrix , without a factor . No positivity or normalization assumption is imposed on , and the definition itself makes no channel assertion. Zero dimensions are included whenever exists; for the output is the unique matrix.
QAlgorithms.Papers.Independent.Extend50.P07.embedding
For any natural numbers , including zero, this defines a complex matrix by
There is no hypothesis . Thus when , every column indexed by is zero; when either dimension is zero, the matrix has no entries.
QAlgorithms.Papers.Independent.Extend50.P07.gateTeleport
For natural numbers , including zero, and an arbitrary function from complex matrices to complex matrices, this defines a function in the opposite direction by
where , has its sole nonzero entry at , and the scalar arithmetic in this formula is complex. There is no conjugation of either factor in the sum, and need not be linear or a channel. Division by zero is defined to give zero: if , the resulting matrix is zero; if , the output matrix is empty.
QAlgorithms.Papers.Independent.Extend50.P07.inversionBound
For natural numbers , first set using natural-number subtraction and division. This defines the real number
Natural-number subtraction is truncated at zero, and natural-number division by zero equals zero. Consequently the value is for or ; for , , so the value is also whenever .
QAlgorithms.Papers.Independent.Extend50.P07.inversionOpt
For natural numbers , write and . This defines the real supremum of all for which there exist a positive memory dimension , a preprocessing map from to with , and matrices from to with , satisfying the following requirement: for every matrix with , there is a finite Kraus map such that for every and
Here , including the empty product when ; no trace-preservation condition is imposed on . The definition does not assert attainment of the supremum. Its value is if the defining set is empty, and when no isometry exists the requirement over is vacuous while existence of the protocol remains required.
QAlgorithms.Papers.Independent.Extend50.P07.inversionProbabilities
For natural numbers , this is the set of real numbers for which there exists one protocol with a positive memory dimension , a preprocessing channel from to , and Boolean instrument matrices from to satisfying , where and . The channel must have a finite representation with . For every complex matrix with , there must then exist a function with a finite representation , without any completeness condition on the , such that
Here , with empty product . Zero parameters are included; if no such exists, the universal requirement concerning is vacuous, but the protocol must still exist.
QAlgorithms.Papers.Independent.Extend50.P07.oneSlot
For natural numbers , including zero, and any complex matrix indexed by , this defines a matrix indexed by by
where and denotes functions from the singleton to . No positivity or normalization is assumed. If either dimension is zero, both indexing sets are empty.
QAlgorithms.Papers.Independent.Extend50.P07.oracleCopies
For natural numbers and a complex matrix satisfying , let . This defines a function from matrices on to matrices on by
Equivalently, it sends to , with the tensor matrix defined entrywise by the displayed product. When , both word registers are singletons, the empty product is , and this is the identity on scalar matrices; and are otherwise included whenever the stated isometry exists.
QAlgorithms.Papers.Independent.Extend50.P07.pseudoConjugate
For natural numbers , including zero, and a complex matrix satisfying , this defines a function from complex matrices to complex matrices by
where bars denote entrywise complex conjugation and denotes conjugate transpose. The argument is arbitrary; it need not be positive or have trace one. The hypothesis on cannot hold when . When , the function sends the unique empty input matrix to the zero matrix.
QAlgorithms.Papers.Independent.Extend50.P07.repeatProtocol
For any natural numbers and any fixed general round taking a -dimensional input to a -dimensional output, this defines a finite sequence containing repetitions of , for every natural number , by
Here a general round consists of two complex-linear maps from matrices indexed by to matrices indexed by , with positive semidefinite ordinary Choi matrices, where . For every choice of positive auxiliary input and output dimensions in each oracle slot and every family of positive semidefinite slot Choi matrices with output partial trace equal to the input identity, applying these maps to the oracle indices of the tensor product while retaining auxiliary indices produces positive semidefinite outputs, and their sum has output partial trace equal to the input identity. Thus gives the stopped sequence, and each successor adds one occurrence of exactly the same round . The parameters may be zero.
QAlgorithms.Papers.Independent.Extend50.P07.tensorRight
For arbitrary types and any function from complex matrices indexed by to complex matrices indexed by , this defines a function on matrices with an additional register by
Thus is applied separately to each matrix block determined by the two indices. No finiteness, nonemptiness, linearity, positivity, or normalization assumptions are imposed on these types or on .
QAlgorithms.Papers.Independent.Extend50.P07.transposeChoi
For arbitrary types , with no finiteness assumptions, and any complex matrix whose rows and columns are indexed by , this defines a matrix with rows and columns indexed by through
Thus both the row index and the column index have their two coordinates exchanged. No positivity, normalization, or channel condition is imposed on ; empty index types are allowed.
QAlgorithms.Papers.Independent.Extend50.P07.transposeSuperChoi
For natural numbers and an arbitrary real number , this defines a complex square matrix indexed by , where and is the set of functions from the singleton to . Its entries are
with regarded as complex. No sign or probability bounds are imposed on . If or , the indexing set is empty.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.