Definitions for Quantum information can be negative
DefinitionQAlgorithms_Papers_Independent_Gap20_P11The objects the formalized statements of Quantum information can be negative (arXiv:quant-ph/0505062) are stated in. Each was checked against the paper by a blind read-back and a moderator.
classicalCost: PDF pp.3–4: I(A:R) for any purification, computed from rho_AB alone.marginalAR: PDF p.4: the actual AR marginal, keeping off-diagonal reference blocks.referenceInformation: PDF p.4: the mutual information of Alice and the inaccessible reference.finTransport: PDF pp.2–3: basis transport of a physical two-party map, with no identification of Alice's and Bob's registers or of their operations.IsLOCC: PDF pp.2–3: an actual finite adaptive LOCC map, in the physical bases. There is no joint quantum gate or free entanglement constructor.mergingInput: PDF p.3: n source copies and k independently supplied Bell pairs. The order is R,(Alice source,Alice Bell),(Bob source,Bob Bell).mergingTarget: PDF p.3: the entire ideal output. Alice holds only her final Bell halves; Bob holds both source shares and his final Bell halves.MergingReconstructs: PDF pp.2–3: full reconstruction, uniformly over purifications of rho_AB. The fixed canonical reference dimension avoids any choice of a hidden realization. Trace-norm error tending to zero is equivalent to the source's fidelity tending to one, for these normalized inputs and the normalized pure target.MergingCode: PDF pp.2–3: a general adaptive LOCC merging code with separate integer input/output entanglement resources. Validity is a property of its physical map.MergingAchievable: PDF p.2: asymptotic signed ebit consumption per source copy. A quantum channel can distribute each consumed Bell pair; teleportation implements the opposite conversion using the permitted classical communication. No finite block count is equated to a generally irrational entropy.productApply: PDF pp.3–4: tensor action defined on every matrix unit, so it retains all coherences and entanglement with arbitrary external registers.MergingOneWayCode: PDF pp.3–4: Alice's actual instrument and Bob's outcome-conditioned channel. The private Kraus index is not communicated; only the finite outcome is sent. Bob receives no quantum message.MergingOneWayCode.operation: PDF pp.3–4: sum over the communicated classical outcome; the private Kraus environment is traced out. This is the map of the stated LOCC protocol.MergingConstruction: PDF pp.2–4: construction with a simultaneous signed ebit rate and cbit rate. For negative conditional entropy it supplies no initial EPR pairs at all. For positive cost it consumes at most n(e+delta) pairs, which can be distributed using that many qubits. The joint error includes the retained final EPR pairs.unknownQubit: PDF pp.3–4, example 1: maximally mixed Alice qubit, trivial Bob register.DirectCode: PDF pp.3–4, example 1: an actual single forward quantum register. Its dimension is 2^q; it is transmitted between the two local maps.directQubit: PDF pp.3–4: the direct one-qubit transmission alternative.teleportRow: PDF p.4: Bell measurement bra indexed by bit flip x and phase flip z. Each branch includes Alice's input and her half of one supplied EPR pair.teleportCorrection: PDF p.4: correction Z^z X^x conditional on the two classical bits.teleportOperation: PDF p.4: teleportation uses only a Bell measurement and a conditional local correction after one Bell pair has been supplied.teleportReferenceInput: PDF pp.3–4: attach the charged Bell resource, retaining every reference block.correlatedPurification: PDF p.4, example 2: canonical coherent purification, in R,A,B order.plusMinusRow: PDF p.4: normalized plus/minus measurement bra, with true denoting minus.correlatedDecoder: PDF p.4: conditional isometry at Bob, |b> ↦ (-1)^(s b)|bb>. The first output is the new local A-prime ancilla; no operation acts on R.correlatedOperation: PDF p.4: Alice measures, sends one cbit, and Bob coherently copies and corrects. There is no quantum message and no supplied entanglement.correlatedTarget: PDF p.4: target includes the reference and the reconstructed coherent source.bobPreparesBell: PDF p.4, example 3: Bob prepares the known pure source Bell pair locally, retaining his original EPR half as the last output register.bellMergingOperation: PDF p.4: keep the old shared resource and prepare the source at Bob. Output ownership is Alice old-half, then (Bob's new source, Bob old-half).bellMergingTarget: PDF p.4: one shared Bell pair and, independently, the reconstructed source Bell pair entirely at Bob; this is not cloning an unknown state.
import Mathlib
import Definitions.Def_QAlgorithms_Defs_Channel
import Definitions.Def_QAlgorithms_Defs_Ensemble
import Definitions.Def_QAlgorithms_Defs_Measurement
import Definitions.Def_QAlgorithms_Defs_MatrixDistances
import Definitions.Def_QAlgorithms_Papers_Independent_Information100_P21
import Definitions.Def_QAlgorithms_Papers_Independent_Gap48_P20
import Definitions.Def_QAlgorithms_Papers_Independent_Information100_P22
import Definitions.Def_QAlgorithms_Papers_Independent_Information100_P67
/-!
Horodecki, Oppenheim and Winter, Quantum information can be negative,
arXiv:quant-ph/0505062v1, PDF pp.1–7.
All registers are finite and nonzero at the theorem boundary. Entropies are
in bits. A block code acts on physical registers only, leaving R untouched.
The rate predicates quantify a code BEFORE every purification of the same
source density operator. The fixed reference A × B is large enough to purify
any density on A × B; invariance under reference isometries gives the usual
arbitrary-reference criterion. Errors include the entire final Bell resource.
The accepted FiniteLOCC predicate is reused with explicit basis transport.
It includes arbitrary finite numbers of adaptive rounds, not only one-way
codes. Ancillas and disposal are rectangular local Kraus operations. In the
vanishing-error operational rate, limits of protocols add no rates: approximate
or truncate each block protocol before assigning its error budget.
The independent-paper override permits importing reviewed accepted modules.
No result from the imported paper is used as a hypothesis or as this paper's
merging theorem; only its complete FiniteLOCC definition is used.
Copies, conditionalEntropy and the Bool specialization of the general Bell
vector are imported from the pinned accepted library rather than redeclared.
The sampling predicate Renew46.P05.Reconstructs, the general resource-port
Renew46.P34.OneWayCode and the unreferenced Information100.P21.teleportInput
have different types and tasks. The distinct local merging/reference concepts
use explicit names; ASSESSMENT.json records each comparison and decision.
-/
noncomputable section
namespace QAlgorithms.Papers.Independent.Gap20.P11
open scoped Matrix ComplexConjugate
open QAlgorithms.Papers.Independent.Gap48.P20 (Copies)
open QAlgorithms.Papers.Independent.Information100.P67 (conditionalEntropy)
attribute [local instance] Classical.propDecidable Classical.decEq
/-- PDF pp.3–4: I(A:R) for any purification, computed from rho_AB alone. -/
def classicalCost {A B : Type} [Fintype A] [Fintype B]
(rho : Matrix (A × B) (A × B) ℂ) : ℝ :=
vnEntropy (traceRight rho) + conditionalEntropy rho
/-- PDF p.4: the actual AR marginal, keeping off-diagonal reference blocks. -/
def marginalAR {A B R : Type} [Fintype B]
(rho : Matrix (R × (A × B)) (R × (A × B)) ℂ) :
Matrix (A × R) (A × R) ℂ :=
fun p q => ∑ b, rho (p.2, (p.1, b)) (q.2, (q.1, b))
/-- PDF p.4: the mutual information of Alice and the inaccessible reference. -/
def referenceInformation {A B R : Type} [Fintype A] [Fintype B] [Fintype R]
(psi : EuclideanSpace ℂ (R × (A × B))) : ℝ :=
vnEntropy (traceRight (traceLeft (pureDensity psi))) +
vnEntropy (traceRight (pureDensity psi)) - vnEntropy (marginalAR (pureDensity psi))
/-- PDF pp.2–3: basis transport of a physical two-party map, with no
identification of Alice's and Bob's registers or of their operations. -/
def finTransport {A B C D : Type} [Fintype A] [Fintype B] [Fintype C] [Fintype D]
(Phi : Superop (A × B) (C × D)) :
Superop (Fin (Fintype.card A) × Fin (Fintype.card B))
(Fin (Fintype.card C) × Fin (Fintype.card D)) :=
let a := Fintype.equivFin A
let b := Fintype.equivFin B
let c := Fintype.equivFin C
let d := Fintype.equivFin D
fun X p q => Phi (fun i j => X (a i.1, b i.2) (a j.1, b j.2))
(c.symm p.1, d.symm p.2) (c.symm q.1, d.symm q.2)
/-- PDF pp.2–3: an actual finite adaptive LOCC map, in the physical bases.
There is no joint quantum gate or free entanglement constructor. -/
def IsLOCC {A B C D : Type} [Fintype A] [Fintype B] [Fintype C] [Fintype D]
(Phi : Superop (A × B) (C × D)) : Prop :=
QAlgorithms.Papers.Independent.Information100.P21.FiniteLOCC (finTransport Phi)
/-- PDF p.3: n source copies and k independently supplied Bell pairs.
The order is R,(Alice source,Alice Bell),(Bob source,Bob Bell). -/
def mergingInput {A B R : Type} (psi : EuclideanSpace ℂ (R × (A × B)))
(n k : ℕ) :
EuclideanSpace ℂ (Copies R n × ((Copies A n × Qubits k) × (Copies B n × Qubits k))) :=
WithLp.toLp 2 fun p =>
tensorPow n psi (fun i => (p.1 i, (p.2.1.1 i, p.2.2.1 i))) *
maxEntangled k (p.2.1.2, p.2.2.2)
/-- PDF p.3: the entire ideal output. Alice holds only her final Bell halves;
Bob holds both source shares and his final Bell halves. -/
def mergingTarget {A B R : Type} (psi : EuclideanSpace ℂ (R × (A × B)))
(n l : ℕ) :
EuclideanSpace ℂ (Copies R n × (Qubits l × ((Copies A n × Copies B n) × Qubits l))) :=
WithLp.toLp 2 fun p =>
tensorPow n psi (fun i => (p.1 i, (p.2.2.1.1 i, p.2.2.1.2 i))) *
maxEntangled l (p.2.1, p.2.2.2)
/-- PDF pp.2–3: full reconstruction, uniformly over purifications of rho_AB.
The fixed canonical reference dimension avoids any choice of a hidden realization.
Trace-norm error tending to zero is equivalent to the source's fidelity tending
to one, for these normalized inputs and the normalized pure target. -/
def MergingReconstructs {A B : Type} [Fintype A] [Fintype B]
(rho : Matrix (A × B) (A × B) ℂ) (n k l : ℕ)
(Phi : Superop ((Copies A n × Qubits k) × (Copies B n × Qubits k))
(Qubits l × ((Copies A n × Copies B n) × Qubits l))) (eps : ℝ) : Prop :=
∀ psi : EuclideanSpace ℂ ((A × B) × (A × B)),
IsState psi → traceLeft (pureDensity psi) = rho →
traceNorm (idTensorSuperop Phi (pureDensity (mergingInput psi n k)) -
pureDensity (mergingTarget psi n l)) ≤ eps
/-- PDF pp.2–3: a general adaptive LOCC merging code with separate integer
input/output entanglement resources. Validity is a property of its physical map. -/
structure MergingCode (A B : Type) [Fintype A] [Fintype B] (n : ℕ) where
k : ℕ
l : ℕ
operation : Superop ((Copies A n × Qubits k) × (Copies B n × Qubits k))
(Qubits l × ((Copies A n × Copies B n) × Qubits l))
locc : IsLOCC operation
/-- PDF p.2: asymptotic signed ebit consumption per source copy. A quantum
channel can distribute each consumed Bell pair; teleportation implements the
opposite conversion using the permitted classical communication. No finite
block count is equated to a generally irrational entropy. -/
def MergingAchievable {A B : Type} [Fintype A] [Fintype B]
(rho : Matrix (A × B) (A × B) ℂ) (rate : ℝ) : Prop :=
∀ eps > (0 : ℝ), ∀ delta > (0 : ℝ), ∃ N : ℕ, ∀ n ≥ N, 1 ≤ n →
∃ P : MergingCode A B n,
MergingReconstructs rho n P.k P.l P.operation eps ∧
(P.k : ℝ) - (P.l : ℝ) ≤ (n : ℝ) * (rate + delta)
/-- PDF pp.3–4: tensor action defined on every matrix unit, so it retains all
coherences and entanglement with arbitrary external registers. -/
def productApply {A B C D : Type} [Fintype A] [Fintype B]
(Phi : Superop A C) (Psi : Superop B D) : Superop (A × B) (C × D) :=
fun X p q => ∑ a, ∑ a2, ∑ b, ∑ b2,
X (a, b) (a2, b2) * Phi (Matrix.single a a2 1) p.1 q.1 *
Psi (Matrix.single b b2 1) p.2 q.2
/-- PDF pp.3–4: Alice's actual instrument and Bob's outcome-conditioned
channel. The private Kraus index is not communicated; only the finite outcome
is sent. Bob receives no quantum message. -/
structure MergingOneWayCode (A B : Type) [Fintype A] [Fintype B] (n : ℕ) where
k : ℕ
l : ℕ
outcomes : ℕ
outcomes_pos : 0 < outcomes
environment : ℕ
alice : (Fin outcomes × Fin environment) →
Matrix (Qubits l) (Copies A n × Qubits k) ℂ
complete : IsKrausFamily alice
bob : Fin outcomes → Superop (Copies B n × Qubits k)
((Copies A n × Copies B n) × Qubits l)
bob_channel : ∀ s, IsChannel (bob s)
/-- PDF pp.3–4: sum over the communicated classical outcome; the private
Kraus environment is traced out. This is the map of the stated LOCC protocol. -/
def MergingOneWayCode.operation {A B : Type} [Fintype A] [Fintype B] {n : ℕ}
(P : MergingOneWayCode A B n) :
Superop ((Copies A n × Qubits P.k) × (Copies B n × Qubits P.k))
(Qubits P.l × ((Copies A n × Copies B n) × Qubits P.l)) :=
fun X => ∑ s, productApply (krausApply (fun e => P.alice (s, e))) (P.bob s) X
/-- PDF pp.2–4: construction with a simultaneous signed ebit rate and cbit
rate. For negative conditional entropy it supplies no initial EPR pairs at all.
For positive cost it consumes at most n(e+delta) pairs, which can be distributed
using that many qubits. The joint error includes the retained final EPR pairs. -/
def MergingConstruction {A B : Type} [Fintype A] [Fintype B]
(rho : Matrix (A × B) (A × B) ℂ) (c e : ℝ) : Prop :=
∀ eps > (0 : ℝ), ∀ delta > (0 : ℝ), ∃ N : ℕ, ∀ n ≥ N, 1 ≤ n →
∃ P : MergingOneWayCode A B n,
MergingReconstructs rho n P.k P.l P.operation eps ∧
Real.logb 2 (P.outcomes : ℝ) ≤ (n : ℝ) * (c + delta) ∧
(P.k : ℝ) - (P.l : ℝ) ≤ (n : ℝ) * (e + delta) ∧
(P.k : ℝ) ≤ (n : ℝ) * (max e 0 + delta) ∧
(n : ℝ) * (max (-e) 0 - delta) ≤ (P.l : ℝ) ∧
(e < 0 → P.k = 0)
/-- Sanity: signed consumption uses real subtraction, including the negative regime. -/
example : (0 : ℝ) - (1 : ℝ) = -1 := by norm_num
/-- Sanity: zero-copy amplitudes and the zero-ebit resource are one, not an empty state. -/
example {A B R : Type} (psi : EuclideanSpace ℂ (R × (A × B)))
(p : Copies R 0 × ((Copies A 0 × Qubits 0) × (Copies B 0 × Qubits 0))) :
mergingInput psi 0 0 p = 1 := by
have h : p.2.1.2 = p.2.2.2 := by
funext i
exact Fin.elim0 i
simp [mergingInput, tensorPow, maxEntangled, h]
/-- Sanity: the imported general Bell vector specializes to the source qubit amplitude. -/
example : QAlgorithms.Papers.Independent.Information100.P22.bell Bool (false, false) =
((Real.sqrt 2)⁻¹ : ℂ) := by
simp [QAlgorithms.Papers.Independent.Information100.P22.bell]
/-- PDF pp.3–4, example 1: maximally mixed Alice qubit, trivial Bob register. -/
def unknownQubit : Matrix (Bool × Unit) (Bool × Unit) ℂ :=
fun p q => if p.1 = q.1 then (1 / 2 : ℂ) else 0
/-- PDF pp.3–4, example 1: an actual single forward quantum register.
Its dimension is 2^q; it is transmitted between the two local maps. -/
structure DirectCode where
q : ℕ
encode : Superop Bool (Qubits q)
decode : Superop (Qubits q) Bool
/-- PDF pp.3–4: the direct one-qubit transmission alternative. -/
def directQubit : DirectCode where
q := 1
encode := fun X p q => X (p 0) (q 0)
decode := fun X p q => X (fun _ => p) (fun _ => q)
/-- PDF p.4: Bell measurement bra indexed by bit flip x and phase flip z.
Each branch includes Alice's input and her half of one supplied EPR pair. -/
def teleportRow (s : Bool × Bool) : Matrix Unit (Bool × Bool) ℂ :=
fun _ p => if p.2 = (p.1 != s.1) then
((Real.sqrt 2)⁻¹ : ℂ) * (if s.2 && p.1 then -1 else 1) else 0
/-- PDF p.4: correction Z^z X^x conditional on the two classical bits. -/
def teleportCorrection (s : Bool × Bool) : Matrix Bool Bool ℂ :=
fun a b => if b = (a != s.1) then (if s.2 && a then -1 else 1) else 0
/-- PDF p.4: teleportation uses only a Bell measurement and a conditional
local correction after one Bell pair has been supplied. -/
def teleportOperation : Superop ((Bool × Bool) × Bool) (Unit × Bool) :=
fun X => ∑ s : Bool × Bool,
productApply (conjSuperop (teleportRow s))
(conjSuperop (teleportCorrection s)) X
/-- PDF pp.3–4: attach the charged Bell resource, retaining every reference block. -/
def teleportReferenceInput {R : Type} (X : Matrix (R × Bool) (R × Bool) ℂ) :
Matrix (R × ((Bool × Bool) × Bool)) (R × ((Bool × Bool) × Bool)) ℂ :=
fun p q => X (p.1, p.2.1.1) (q.1, q.2.1.1) *
pureDensity (QAlgorithms.Papers.Independent.Information100.P22.bell Bool) (p.2.1.2, p.2.2) (q.2.1.2, q.2.2)
/-- Sanity: the direct register really has one qubit. -/
example : directQubit.q = 1 := rfl
/-- PDF p.4, example 2: canonical coherent purification, in R,A,B order. -/
def correlatedPurification : EuclideanSpace ℂ (Bool × (Bool × Bool)) :=
WithLp.toLp 2 fun p => if p.1 = p.2.1 ∧ p.2.1 = p.2.2
then ((Real.sqrt 2)⁻¹ : ℂ) else 0
/-- PDF p.4: normalized plus/minus measurement bra, with true denoting minus. -/
def plusMinusRow (minus : Bool) : Matrix Unit Bool ℂ :=
fun _ a => ((Real.sqrt 2)⁻¹ : ℂ) * (if minus && a then -1 else 1)
/-- PDF p.4: conditional isometry at Bob, |b> ↦ (-1)^(s b)|bb>.
The first output is the new local A-prime ancilla; no operation acts on R. -/
def correlatedDecoder (minus : Bool) : Matrix (Bool × Bool) Bool ℂ :=
fun p b => if p = (b, b) then (if minus && b then -1 else 1) else 0
/-- PDF p.4: Alice measures, sends one cbit, and Bob coherently copies and
corrects. There is no quantum message and no supplied entanglement. -/
def correlatedOperation : Superop (Bool × Bool) (Unit × (Bool × Bool)) :=
fun X => ∑ s : Bool, productApply (conjSuperop (plusMinusRow s))
(conjSuperop (correlatedDecoder s)) X
/-- PDF p.4: target includes the reference and the reconstructed coherent source. -/
def correlatedTarget : EuclideanSpace ℂ (Bool × (Unit × (Bool × Bool))) :=
WithLp.toLp 2 fun p => correlatedPurification (p.1, p.2.2)
/-- Sanity: the minus outcome has a negative amplitude on |1>, with unit normalization. -/
example : plusMinusRow true () true = -((Real.sqrt 2)⁻¹ : ℂ) := by
simp [plusMinusRow]
/-- PDF p.4, example 3: Bob prepares the known pure source Bell pair locally,
retaining his original EPR half as the last output register. -/
def bobPreparesBell : Superop Bool ((Bool × Bool) × Bool) :=
fun X p q => pureDensity (QAlgorithms.Papers.Independent.Information100.P22.bell Bool) p.1 q.1 * X p.2 q.2
/-- PDF p.4: keep the old shared resource and prepare the source at Bob.
Output ownership is Alice old-half, then (Bob's new source, Bob old-half). -/
def bellMergingOperation : Superop (Bool × Bool) (Bool × ((Bool × Bool) × Bool)) :=
productApply (fun X : Matrix Bool Bool ℂ => X) bobPreparesBell
/-- PDF p.4: one shared Bell pair and, independently, the reconstructed
source Bell pair entirely at Bob; this is not cloning an unknown state. -/
def bellMergingTarget : Matrix (Bool × ((Bool × Bool) × Bool))
(Bool × ((Bool × Bool) × Bool)) ℂ :=
fun p q => pureDensity (QAlgorithms.Papers.Independent.Information100.P22.bell Bool) (p.1, p.2.2) (q.1, q.2.2) *
pureDensity (QAlgorithms.Papers.Independent.Information100.P22.bell Bool) p.2.1 q.2.1
/-- Sanity: Bob's preparation is independent of the old half's matrix entry. -/
example (X : Matrix Bool Bool ℂ) (s t : Bool × Bool) (b c : Bool) :
bobPreparesBell X (s, b) (t, c) = pureDensity (QAlgorithms.Papers.Independent.Information100.P22.bell Bool) s t * X b c := rfl
end QAlgorithms.Papers.Independent.Gap20.P11
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
QAlgorithms.Papers.Independent.Gap20.P11.DirectCode
A direct code consists of a natural number , a function sending complex matrices indexed by to complex matrices indexed by the -bit strings , and a function sending matrices on those -bit strings back to matrices on . These two functions are named the encoder and decoder. No linearity, positivity, trace preservation, Kraus representation, or reconstruction property is required. The value is allowed, in which case the set of bit strings is a singleton.
QAlgorithms.Papers.Independent.Gap20.P11.IsLOCC
For finite types , possibly empty, and any function from matrices on to matrices on , this predicate says that, after reindexing each factor by its chosen bijection with an initial segment of the natural numbers, the resulting function belongs to the following inductively generated collection. The collection contains the identity on every pair of numerical dimensions. It also contains any function obtained by a finite local measurement followed by an outcome-dependent function already in the collection: an Alice step has finitely many matrices satisfying , followed by functions on the resulting bipartite system, and acts as
a Bob step instead uses matrices with , and acts as
All dimensions and numbers of outcomes are natural numbers, including zero when the completeness equations permit it. Membership requires a finite derivation from these constructors.
QAlgorithms.Papers.Independent.Gap20.P11.MergingAchievable
For finite types , any complex matrix on , and any real rate , this predicate says that for every and , there is a natural number such that for every natural with , there exist natural numbers and an operation with a finite local-operation derivation such that and the following reconstruction requirement holds for every unit vector satisfying :
Here , maps matrices on to matrices on , , and . The notation means the matrix , , and the identity extension applies to each reference-index block. A finite local-operation derivation, after numerical reindexing of local bases, starts from identities and recursively composes complete finite local Kraus families with outcome-dependent continuations, summing their outputs. No positivity or trace-one condition is imposed on , and no nonnegativity condition is imposed on . The reconstruction requirement is vacuous when no such purification exists, but the operations and resource bounds are still required.
QAlgorithms.Papers.Independent.Gap20.P11.MergingCode
For finite types , possibly empty, and any natural number , an object of this structure consists of natural numbers , a function
and evidence that has a finite local-operation derivation, where denotes complex square matrices and . Precisely, after reindexing all four local basis types by their chosen finite numerical enumerations, the allowed derivations start from bipartite identity functions and recursively use finitely many local matrices satisfying , followed by an outcome-dependent allowed continuation, with action on the first party or the corresponding expression with on the second. The parameters may be zero. The structure imposes no reconstruction condition or resource bound.
QAlgorithms.Papers.Independent.Gap20.P11.MergingConstruction
For finite types , an arbitrary complex matrix indexed by , and real numbers , this predicate means that for every and , there is a natural number such that every natural number with admits the following code. Writing , the code has natural numbers , a positive natural number , Alice matrices with , and Bob maps on matrices, each expressible as with finitely many Kraus matrices and . Its operation is , where and the tensor product of maps is defined on matrix units by and extended linearly. For every unit vector on whose density matrix has second-register marginal , applying to the registers of , together with the two halves of , while leaving the reference registers unchanged, must produce a matrix within trace norm of the density matrix of , regrouped so that the output registers are and . Here the trace norm is . The same code must satisfy
No nonemptiness assumption on , density assumption on , or sign assumption on is imposed. If no such unit-vector purification of exists, the reconstruction requirement is vacuous, while the code and numerical requirements remain.
QAlgorithms.Papers.Independent.Gap20.P11.MergingOneWayCode
For finite types , possibly empty, and any natural number , an object of this structure consists of natural numbers , with , matrices
satisfying
and, for every outcome , a function from complex matrices on to complex matrices on that is a channel. Here , and being a channel means that there exist a natural number and matrices from the corresponding input space to output space such that and for every matrix . The fields are respectively the number of outcomes and the environment index size. The parameters may be zero, subject to the stated equations; in particular, makes the completeness sum zero and therefore requires its input identity matrix to be zero. No reconstruction or rate condition is part of the structure.
QAlgorithms.Papers.Independent.Gap20.P11.MergingOneWayCode.operation
For finite types , any natural number , and any code , write , , and . The code supplies natural numbers , a positive number of outcomes, a natural number of environment indices, matrices satisfying , and maps from matrices on to matrices on , each admitting a finite Kraus representation with . Its operation is the map from matrices on to matrices on whose entries are
where is the matrix with its sole nonzero entry, equal to , at . No density or normalization condition is imposed on ; and empty finite types are included.
QAlgorithms.Papers.Independent.Gap20.P11.MergingReconstructs
For finite types , any matrix on , natural numbers , a real number , and any function from matrices on to matrices on , where , this predicate requires the following for every vector : if and
then
Here , and ; empty products equal . For a vector , , and . The extension applies separately to every matrix block indexed by a pair of reference indices. No channel property is required of , no nonnegativity is required of , and may be zero. If no satisfies the two hypotheses, the predicate holds vacuously.
QAlgorithms.Papers.Independent.Gap20.P11.bellMergingOperation
Let , with Boolean values identified with . This defines a map from complex matrices on to complex matrices on by leaving the first input register unchanged and applying to the second input register; explicitly, for every input matrix , .
QAlgorithms.Papers.Independent.Gap20.P11.bellMergingTarget
Let , with Boolean values identified with . This defines the complex matrix on by ; thus its two factors are the rank-one matrices of on the register pairs and .
QAlgorithms.Papers.Independent.Gap20.P11.bobPreparesBell
Let , with Boolean values identified with . This defines a map from complex matrices on a Boolean register to complex matrices on by ; explicitly, . The input matrix is arbitrary.
QAlgorithms.Papers.Independent.Gap20.P11.classicalCost
For any finite types , including empty types, and any complex matrix indexed by , this defines
where , , and
Here is the total real continuous functional calculus used by the code. There is no assumption that is positive semidefinite, Hermitian, or of trace one; the displayed expression defines the value for every .
QAlgorithms.Papers.Independent.Gap20.P11.correlatedDecoder
For every Boolean parameter , this defines a complex matrix from a Boolean register to two Boolean registers by if , and otherwise, identifying Boolean values with ; equivalently, .
QAlgorithms.Papers.Independent.Gap20.P11.correlatedOperation
This defines a map from complex matrices on to complex matrices on by , where Boolean values are identified with , the one-row matrix has entries , and . The definition applies to every input matrix , without requiring positivity or trace .
QAlgorithms.Papers.Independent.Gap20.P11.correlatedPurification
This defines the vector whose coordinate at is if , and otherwise; equivalently, with Boolean values identified with , .
QAlgorithms.Papers.Independent.Gap20.P11.correlatedTarget
This defines the vector whose coordinate at is if , and otherwise; equivalently, .
QAlgorithms.Papers.Independent.Gap20.P11.directQubit
This defines a direct code with . For every complex matrix on and one-bit strings , its encoder is
For every complex matrix on the one-bit strings and bits , its decoder is
where and are the constant one-bit strings with values and . Both functions are defined on arbitrary matrices.
QAlgorithms.Papers.Independent.Gap20.P11.finTransport
For finite types , including empty types, and any function from complex matrices on to complex matrices on , choose the bijections , , , and supplied by the finite-type enumerations. This defines a function on matrices with these numerical indices by
No linearity, positivity, or channel property is assumed of .
QAlgorithms.Papers.Independent.Gap20.P11.marginalAR
For arbitrary types , a finite type , and any complex matrix indexed by , this defines a matrix indexed by by
Thus the same -coordinate is summed over in the row and column, and the retained coordinates are ordered as . Only is required to be finite. No positivity or normalization is assumed; if is empty, the resulting matrix is zero.
QAlgorithms.Papers.Independent.Gap20.P11.mergingInput
For arbitrary types , any vector , and natural numbers , write for the functions , and . This defines a vector on whose coefficient is
No finiteness or normalization assumption is imposed on . The definition includes , when the product is , and , when both bit-string registers have a single empty string and the second factor is .
QAlgorithms.Papers.Independent.Gap20.P11.mergingTarget
For arbitrary types , any vector , and natural numbers , let denote the functions , and let . This defines a vector on by
There are no finiteness or normalization assumptions on . For the product is , and for the bit-string factor is .
QAlgorithms.Papers.Independent.Gap20.P11.plusMinusRow
For every Boolean parameter , this defines a complex matrix with one row, indexed by the unique element of , and columns indexed by Boolean values , with when Boolean values are identified with ; thus and .
QAlgorithms.Papers.Independent.Gap20.P11.productApply
For finite types , arbitrary types , and arbitrary functions and , with complex matrix entries, this defines a function on matrices over by
where is the matrix with entry at and zero elsewhere. Neither function is assumed linear, positive, or a channel. The definition uses their values on these elementary matrices; if either input index type is empty, all output entries are zero.
QAlgorithms.Papers.Independent.Gap20.P11.referenceInformation
For finite types , possibly empty, and any vector , let
Define , , and . The definition is
The continuous functional calculus is taken with its total convention. The vector is not required to have norm one.
QAlgorithms.Papers.Independent.Gap20.P11.teleportCorrection
For every pair of bits , this defines a complex matrix indexed by row and column bits :
Here denotes addition modulo , with bits interpreted as in the exponent. The nonzero entry is exactly when , and otherwise is .
QAlgorithms.Papers.Independent.Gap20.P11.teleportOperation
This defines a function from complex matrices on to complex matrices on . For each bit pair , let be the matrix with entries when , and otherwise, and let have entries when , and otherwise. Here is addition modulo , and bits in exponents are . For every input matrix , the defined output is
The sum includes all four bit pairs, and the input need not be a density matrix.
QAlgorithms.Papers.Independent.Gap20.P11.teleportReferenceInput
For any type , without a finiteness or nonemptiness assumption, and any complex matrix indexed by , this defines a complex matrix on . For arbitrary and bits , its entries are
Equivalently, the entry of is multiplied by the corresponding entry of , where ; the output indexing places together and last. No positivity, trace, or normalization hypothesis is imposed on .
QAlgorithms.Papers.Independent.Gap20.P11.teleportRow
For every pair of bits , this defines a complex matrix with a singleton row index and a pair of bits as column index:
Here is addition modulo , and bits in the exponent are identified with ; consequently the nonzero entry is negative exactly when both and are true.
QAlgorithms.Papers.Independent.Gap20.P11.unknownQubit
This defines a complex matrix on , where is a singleton, by
Thus its two diagonal entries are , and its two off-diagonal entries are .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.