Definitions for Conditional Mutual Information and Quantum Steering
DefinitionQAlgorithms_Papers_Independent_Intake100_P10The objects the formalized statements of Conditional Mutual Information and Quantum Steering (arXiv:1612.03875) are stated in. Each was checked against the paper by a blind read-back and a moderator.
AssemblageCoefficients: PDF p.2, (3): raw subnormalized operator coefficients, with input first. Validity is imposed separately by IsAssemblage in every general result. This coefficient array is distinct from Complexity.Family, a circuit family.IsAssemblage: PDF p.2, (3)--(5): positive nuclear blocks, normalized common total state. No bipartite realization or nonzero-block premise is required.HasCoefficientLHS: PDF p.2, (7): one shared law and normalized Bob states, independent of x. PMFs allow every discrete hidden-variable alphabet; zero weights are allowed. Unlike Advance50.P47.Assemblage.HasLHS, this predicate consumes coefficient arrays rather than HilbertBasis-indexed bounded operators.Extension: PDF p.4, (16)--(17): every positive trace-class BE extension with the actual E partial trace and no-signaling at ALL x, including zero-law inputs.cmiBits: PDF p.2, (1): extended QCMI in BITS. Only finite PMF masses are converted to reals elsewhere. The denominator is log(2) in nats, and is strictly positive.cqCoefficients: PDF p.4, (16): coefficient embedding of the cq state, ordered XA : B : E. Zero assemblage blocks and zero input masses remain zero without normalization.restrictedSteerability: PDF p.4, (18): supremum of input laws, then infimum over ALL Eve systems and admissible extensions. Extended infima avoid empty/unbounded real defaults; for valid assemblages trivial extensions exist, and (22) supplies finite bounds when Bob is finite dimensional. No infimum is asserted to be attained.DiscreteTraceClassInstrument: PDF p.3, (8)--(9): a discrete quantum instrument. Each branch is CP and trace nonincreasing on the full trace class; its actual sum is a TP channel. Output Bf and outcome Y are unrestricted types, not fixed matrix dimensions. The positive trace-class branch sum converges absolutely on valid inputs. The frozen finite Kraus/vector Instruments have narrower system domains.ProcessedExtension: PDF p.3, (11)--(13): instrument-dependent extensions. The instrument is fixed before the input; Eve may choose a new extension after that strategy. Constraints are imposed for every x and y, including probability-zero events.processedCoefficients: PDF p.3, (11): coefficient embedding ordered XA : Bf : EY. Bob's outcome is classical, whereas arbitrary off-diagonal BE coefficients are kept.intrinsicSteerability: PDF p.3, (14): exactly sup_strategy inf_extension, including optimization over every output system and outcome alphabet. The instrument and Alice's conditional input channel precede Eve's system and extension.branchMass: PDF p.7, (74): actual branch probability, independent of the selected x on an assemblage. A representative x is used only to name its common total.branchTransform: PDF p.7, (73): normalized branch assemblage. Used only at p(z)>0; the division missing in the proof's (77) is retained, as in (73),(74),(85).restrictedTransform: PDF p.12, (139)--(140): input channel is independent of z, and Bob's outcome is summed OUT. This is the deterministic restricted operation.IntrinsicAverageMonotonicity: PDF p.7, (75): full monotonicity on average. Zero branches are omitted and every positive branch uses its computed, normalized output.RestrictedDeterministicMonotonicity: PDF p.12, (141): deterministic restricted monotonicity; there is no claim about the average of restricted steerabilities of retained branches.IntrinsicLHSVanishing: PDF p.7, Proposition 7: only the forward LHS implication.RestrictedLHSVanishing: PDF p.12, Proposition 12: no converse faithfulness assertion.IntrinsicConvexity: PDF p.9, (99)--(101): convexity with both endpoints included.RestrictedConvexity: PDF p.13, (160)--(161): restricted convexity with both endpoints included.bb84Ket: PDF pp.4--5, (24)--(29): x=false is Z, x=true is X; a=true is outcome 1.bb84Assemblage: PDF pp.4--5, (24)--(29): the FOUR constructed blocks, each of trace 1/2.steeredFourierKet: PDF p.6, (46),(51): the steered ket has NEGATIVE Fourier exponent. The positive-exponent ket in (46) is Alice's measurement vector.schmidtFourierAssemblage: PDF p.6, (47): Schmidt/Fourier assemblage; x=false is the Schmidt basis. The Fourier block carries 1/d, not 1/sqrt(d), because it is an outer product.schmidtEntropyBits: PDF pp.6--7, (48),(66): Shannon entropy of the Schmidt weights in bits. Real.log 0=0 implements the continuous convention 0 log 0=0.GroupedNoSignaling: PDF pp.10,13,15: additional no-signaling for the FULL Bob operator. This is not a constraint on Eve extensions and is not a product premise.firstGrouped: PDF pp.10,13,15: first grouped marginal, computed by discarding outcome 2. The representative input 2 has no effect under GroupedNoSignaling.secondGrouped: PDF pp.10,13,15: second grouped marginal, computed by discarding outcome 1.firstReduced: PDF pp.10,13: the first local assemblage uses the actual B2 partial trace.secondReduced: PDF pp.10,13: the second local assemblage uses the actual B1 partial trace.productFamily: PDF p.14, (165): constructed tensor product of two assemblages.processedOutcomeCoefficients: PDF p.3, (15): move the classical input into the conditioning system; the resulting order is A : Bf : E(XY).processedInputCoefficients: PDF p.3 before (15): trace out A, ordered X : Bf : EY.outcomeCoefficients: PDF p.4, (19): same reordering without Bob's instrument outcome.inputCoefficients: PDF p.4 before (19): trace out A, ordered X : B : E.
import Mathlib
import Definitions.Def_QAlgorithms_Papers_Independent_Dependency50_P33
import Definitions.Def_QAlgorithms_Papers_Independent_Frontier18_P08
import Definitions.Def_QAlgorithms_Papers_Independent_Renew46_P08
import Definitions.Def_QAlgorithms_Papers_Independent_Frontier18_P01
import Definitions.Def_QAlgorithms_Papers_Independent_Information100_P19
/-!
# Conditional Mutual Information and Quantum Steering
Kaur, Wang and Wilde, arXiv:1612.03875v2. Page numbers are PDF pages.
All new definitions are local to this paper. The rank-one outer product and
binary operator mixture are imported from the frozen accepted library.
Arbitrary orthonormal-coordinate labels represent completed Hilbert spaces, with nuclear trace-class blocks.
Actual partial traces and extended QCMI are reused from the accepted library.
Information is in bits, without a factor 1/2. No entropy subtraction at infinity
or conversion of an infinite information value to a real is used.
Definitions 1 and 3 use precisely the grouped no-signaling convention printed
in (13) and (17). The multipartite claims retain the printed Bob-marginal
hypotheses; the proof's stronger BE-marginal convention requires independent
moderation. Equation (197) is deferred, not assigned a new interpretation.
Compilation and independent moderation are pending the batch handoff.
-/
noncomputable section
open scoped BigOperators ENNReal
namespace QAlgorithms.Papers.Independent.Intake100.P10
attribute [local instance] Classical.propDecidable Classical.decEq
open QAlgorithms.Papers.Independent.Dependency50.P33
(State IsDensity IsTraceClassChannel productCoeff)
open QAlgorithms.Papers.Independent.Frontier18.P08
(PositiveTraceClass operatorTrace partialTraceFirst partialTraceSecond IsQuantumOperation)
open QAlgorithms.Papers.Independent.Renew46.P08 (qcmi)
open QAlgorithms.Papers.Independent.Frontier18.P01 (convexOperatorMixture)
open QAlgorithms.Papers.Independent.Information100.P19 (outer)
/-- PDF p.2, (3): raw subnormalized operator coefficients, with input first.
Validity is imposed separately by IsAssemblage in every general result.
This coefficient array is distinct from Complexity.Family, a circuit family. -/
abbrev AssemblageCoefficients (X A B : Type) := X → A → Matrix B B ℂ
/-- PDF p.2, (3)--(5): positive nuclear blocks, normalized common total state.
No bipartite realization or nonzero-block premise is required. -/
def IsAssemblage {X A B : Type} [Fintype A] (rho : AssemblageCoefficients X A B) : Prop :=
(∀ x a, PositiveTraceClass (rho x a)) ∧
(∀ x, operatorTrace (∑ a, rho x a) = 1) ∧
∀ x z, ∑ a, rho x a = ∑ a, rho z a
/-- PDF p.2, (7): one shared law and normalized Bob states, independent of x.
PMFs allow every discrete hidden-variable alphabet; zero weights are allowed.
Unlike Advance50.P47.Assemblage.HasLHS, this predicate consumes coefficient
arrays rather than HilbertBasis-indexed bounded operators. -/
def HasCoefficientLHS {X A B : Type} (rho : AssemblageCoefficients X A B) : Prop :=
∃ (L : Type) (mu : PMF L) (sigma : L → State B) (response : L → X → PMF A),
∀ x a i j, rho x a i j = ∑' l,
(((mu l).toReal * (response l x a).toReal : ℝ) : ℂ) *
(sigma l).coefficients i j
/-- PDF p.4, (16)--(17): every positive trace-class BE extension with the
actual E partial trace and no-signaling at ALL x, including zero-law inputs. -/
structure Extension {X A B : Type} [Fintype A] (rho : AssemblageCoefficients X A B) (E : Type) where
block : AssemblageCoefficients X A (B × E)
positive : ∀ x a, PositiveTraceClass (block x a)
marginal : ∀ x a, partialTraceSecond (block x a) = rho x a
noSignaling : ∀ x z, ∑ a, block x a = ∑ a, block z a
/-- PDF p.2, (1): extended QCMI in BITS. Only finite PMF masses are converted
to reals elsewhere. The denominator is log(2) in nats, and is strictly positive. -/
def cmiBits {I J K : Type} (rho : Matrix (I × (J × K)) (I × (J × K)) ℂ) : ℝ≥0∞ :=
qcmi rho / ENNReal.ofReal (Real.log 2)
/-- PDF p.4, (16): coefficient embedding of the cq state, ordered XA : B : E.
Zero assemblage blocks and zero input masses remain zero without normalization. -/
def cqCoefficients {X A B E : Type} (p : PMF X) (r : AssemblageCoefficients X A (B × E)) :
Matrix ((X × A) × (B × E)) ((X × A) × (B × E)) ℂ :=
fun i j => if i.1 = j.1 then ((p i.1.1).toReal : ℂ) * r i.1.1 i.1.2 i.2 j.2 else 0
/-- PDF p.4, (18): supremum of input laws, then infimum over ALL Eve systems
and admissible extensions. Extended infima avoid empty/unbounded real defaults;
for valid assemblages trivial extensions exist, and (22) supplies finite bounds
when Bob is finite dimensional. No infimum is asserted to be attained. -/
def restrictedSteerability {X A B : Type} [Fintype X] [Fintype A]
(rho : AssemblageCoefficients X A B) : ℝ≥0∞ :=
⨆ p : PMF X, ⨅ (E : Type) (r : Extension rho E), cmiBits (cqCoefficients p r.block)
/-- PDF p.3, (8)--(9): a discrete quantum instrument. Each branch is CP and
trace nonincreasing on the full trace class; its actual sum is a TP channel.
Output Bf and outcome Y are unrestricted types, not fixed matrix dimensions.
The positive trace-class branch sum converges absolutely on valid inputs.
The frozen finite Kraus/vector Instruments have narrower system domains. -/
structure DiscreteTraceClassInstrument (B Bf Y : Type) where
branch : Y → Matrix B B ℂ → Matrix Bf Bf ℂ
operation : ∀ y, IsQuantumOperation (branch y)
summableTrace : ∀ t, PositiveTraceClass t → Summable (fun y => operatorTrace (branch y t))
totalChannel : IsTraceClassChannel (fun t i j => ∑' y, branch y t i j)
/-- PDF p.3, (11)--(13): instrument-dependent extensions. The instrument is
fixed before the input; Eve may choose a new extension after that strategy.
Constraints are imposed for every x and y, including probability-zero events. -/
structure ProcessedExtension {X A B Bf Y : Type} [Fintype A]
(rho : AssemblageCoefficients X A B) (K : DiscreteTraceClassInstrument B Bf Y) (E : Type) where
block : Y → AssemblageCoefficients X A (Bf × E)
positive : ∀ y x a, PositiveTraceClass (block y x a)
marginal : ∀ y x a, partialTraceSecond (block y x a) = K.branch y (rho x a)
noSignaling : ∀ y x z, ∑ a, block y x a = ∑ a, block y z a
/-- PDF p.3, (11): coefficient embedding ordered XA : Bf : EY. Bob's
outcome is classical, whereas arbitrary off-diagonal BE coefficients are kept. -/
def processedCoefficients {X A Bf Y E : Type} (p : Y → PMF X)
(r : Y → AssemblageCoefficients X A (Bf × E)) :
Matrix ((X × A) × (Bf × (E × Y))) ((X × A) × (Bf × (E × Y))) ℂ :=
fun i j => if i.1 = j.1 ∧ i.2.2.2 = j.2.2.2 then
((p i.2.2.2 i.1.1).toReal : ℂ) *
r i.2.2.2 i.1.1 i.1.2 (i.2.1, i.2.2.1) (j.2.1, j.2.2.1) else 0
/-- PDF p.3, (14): exactly sup_strategy inf_extension, including optimization
over every output system and outcome alphabet. The instrument and Alice's
conditional input channel precede Eve's system and extension. -/
def intrinsicSteerability {X A B : Type} [Fintype X] [Fintype A]
(rho : AssemblageCoefficients X A B) : ℝ≥0∞ :=
⨆ (Bf : Type) (Y : Type) (K : DiscreteTraceClassInstrument B Bf Y) (p : Y → PMF X),
⨅ (E : Type) (r : ProcessedExtension rho K E),
cmiBits (processedCoefficients p r.block)
/-- PDF p.7, (74): actual branch probability, independent of the selected x
on an assemblage. A representative x is used only to name its common total. -/
def branchMass {X A B Bf Z : Type} [Fintype A] [Nonempty X]
(rho : AssemblageCoefficients X A B) (K : DiscreteTraceClassInstrument B Bf Z) (z : Z) : ℝ :=
operatorTrace (K.branch z (∑ a, rho (Classical.choice (inferInstance : Nonempty X)) a))
/-- PDF p.7, (73): normalized branch assemblage. Used only at p(z)>0;
the division missing in the proof's (77) is retained, as in (73),(74),(85). -/
def branchTransform {X A B Bf Z Xf Af : Type} [Fintype X] [Fintype A] [Nonempty X]
(rho : AssemblageCoefficients X A B) (K : DiscreteTraceClassInstrument B Bf Z)
(input : Z → Xf → PMF X) (output : Z → Xf → X → A → PMF Af) (z : Z) :
AssemblageCoefficients Xf Af Bf :=
fun xf af => ((branchMass rho K z : ℂ)⁻¹) •
∑ x, ∑ a, ((((input z xf x).toReal * (output z xf x a af).toReal : ℝ) : ℂ) •
K.branch z (rho x a))
/-- PDF p.12, (139)--(140): input channel is independent of z, and Bob's
outcome is summed OUT. This is the deterministic restricted operation. -/
def restrictedTransform {X A B Bf Z Xf Af : Type} [Fintype X] [Fintype A]
(rho : AssemblageCoefficients X A B) (K : DiscreteTraceClassInstrument B Bf Z)
(input : Xf → PMF X) (output : Z → Xf → X → A → PMF Af) : AssemblageCoefficients Xf Af Bf :=
fun xf af i j => ∑' z, ∑ x, ∑ a,
(((input xf x).toReal * (output z xf x a af).toReal : ℝ) : ℂ) * K.branch z (rho x a) i j
/-- PDF p.7, (75): full monotonicity on average. Zero branches are omitted
and every positive branch uses its computed, normalized output. -/
def IntrinsicAverageMonotonicity : Prop :=
∀ (X A B Bf Z Xf Af : Type) [Fintype X] [Fintype A] [Fintype Xf] [Fintype Af]
[Nonempty X] [Nonempty A] [Nonempty Xf] [Nonempty Af]
(rho : AssemblageCoefficients X A B), IsAssemblage rho →
∀ (K : DiscreteTraceClassInstrument B Bf Z) (input : Z → Xf → PMF X)
(output : Z → Xf → X → A → PMF Af),
(∑' z : {z : Z // 0 < branchMass rho K z},
ENNReal.ofReal (branchMass rho K z.val) *
intrinsicSteerability (branchTransform rho K input output z.val)) ≤
intrinsicSteerability rho
/-- PDF p.12, (141): deterministic restricted monotonicity; there is no
claim about the average of restricted steerabilities of retained branches. -/
def RestrictedDeterministicMonotonicity : Prop :=
∀ (X A B Bf Z Xf Af : Type) [Fintype X] [Fintype A] [Fintype Xf] [Fintype Af]
[Nonempty X] [Nonempty A] [Nonempty Xf] [Nonempty Af]
(rho : AssemblageCoefficients X A B), IsAssemblage rho →
∀ (K : DiscreteTraceClassInstrument B Bf Z) (input : Xf → PMF X)
(output : Z → Xf → X → A → PMF Af),
restrictedSteerability (restrictedTransform rho K input output) ≤ restrictedSteerability rho
/-- PDF p.7, Proposition 7: only the forward LHS implication. -/
def IntrinsicLHSVanishing : Prop :=
∀ (X A B : Type) [Fintype X] [Fintype A] [Nonempty X] [Nonempty A]
(rho : AssemblageCoefficients X A B), IsAssemblage rho → HasCoefficientLHS rho → intrinsicSteerability rho = 0
/-- PDF p.12, Proposition 12: no converse faithfulness assertion. -/
def RestrictedLHSVanishing : Prop :=
∀ (X A B : Type) [Fintype X] [Fintype A] [Nonempty X] [Nonempty A]
(rho : AssemblageCoefficients X A B), IsAssemblage rho → HasCoefficientLHS rho → restrictedSteerability rho = 0
/-- PDF p.9, (99)--(101): convexity with both endpoints included. -/
def IntrinsicConvexity : Prop :=
∀ (X A B : Type) [Fintype X] [Fintype A] [Nonempty X] [Nonempty A]
(rho sigma : AssemblageCoefficients X A B), IsAssemblage rho → IsAssemblage sigma →
∀ lambda : ℝ, 0 ≤ lambda → lambda ≤ 1 →
intrinsicSteerability (fun x a => convexOperatorMixture lambda (rho x a) (sigma x a)) ≤
ENNReal.ofReal lambda * intrinsicSteerability rho +
ENNReal.ofReal (1 - lambda) * intrinsicSteerability sigma
/-- PDF p.13, (160)--(161): restricted convexity with both endpoints included. -/
def RestrictedConvexity : Prop :=
∀ (X A B : Type) [Fintype X] [Fintype A] [Nonempty X] [Nonempty A]
(rho sigma : AssemblageCoefficients X A B), IsAssemblage rho → IsAssemblage sigma →
∀ lambda : ℝ, 0 ≤ lambda → lambda ≤ 1 →
restrictedSteerability (fun x a => convexOperatorMixture lambda (rho x a) (sigma x a)) ≤
ENNReal.ofReal lambda * restrictedSteerability rho +
ENNReal.ofReal (1 - lambda) * restrictedSteerability sigma
/-- PDF pp.4--5, (24)--(29): x=false is Z, x=true is X; a=true is outcome 1. -/
def bb84Ket (x a : Bool) (i : Fin 2) : ℂ :=
if x = false then (if i.val = (if a then 1 else 0) then 1 else 0)
else if a = true ∧ i.val = 1 then -(1 / (Real.sqrt 2 : ℂ)) else 1 / (Real.sqrt 2 : ℂ)
/-- PDF pp.4--5, (24)--(29): the FOUR constructed blocks, each of trace 1/2. -/
def bb84Assemblage : AssemblageCoefficients Bool Bool (Fin 2) :=
fun x a => (1 / 2 : ℂ) • outer (bb84Ket x a)
/-- PDF p.6, (46),(51): the steered ket has NEGATIVE Fourier exponent.
The positive-exponent ket in (46) is Alice's measurement vector. -/
def steeredFourierKet {d : ℕ} (alpha : Fin d → ℂ) (a k : Fin d) : ℂ :=
alpha k * Complex.exp (-2 * (Real.pi : ℂ) * Complex.I * (a.val : ℂ) * (k.val : ℂ) / (d : ℂ))
/-- PDF p.6, (47): Schmidt/Fourier assemblage; x=false is the Schmidt basis.
The Fourier block carries 1/d, not 1/sqrt(d), because it is an outer product. -/
def schmidtFourierAssemblage {d : ℕ} (alpha : Fin d → ℂ) : AssemblageCoefficients Bool (Fin d) (Fin d) :=
fun x a => if x then ((d : ℂ)⁻¹) • outer (steeredFourierKet alpha a)
else outer (fun k => if k = a then alpha a else 0)
/-- PDF pp.6--7, (48),(66): Shannon entropy of the Schmidt weights in bits.
Real.log 0=0 implements the continuous convention 0 log 0=0. -/
def schmidtEntropyBits {d : ℕ} (alpha : Fin d → ℂ) : ℝ :=
-(∑ j, Complex.normSq (alpha j) * Real.log (Complex.normSq (alpha j))) / Real.log 2
/-- PDF pp.10,13,15: additional no-signaling for the FULL Bob operator.
This is not a constraint on Eve extensions and is not a product premise. -/
def GroupedNoSignaling {X1 X2 A1 A2 B : Type} [Fintype A1] [Fintype A2]
(rho : AssemblageCoefficients (X1 × X2) (A1 × A2) B) : Prop :=
(∀ x1 x2 z2 a1, ∑ a2, rho (x1, x2) (a1, a2) = ∑ a2, rho (x1, z2) (a1, a2)) ∧
(∀ x1 z1 x2 a2, ∑ a1, rho (x1, x2) (a1, a2) = ∑ a1, rho (z1, x2) (a1, a2))
/-- PDF pp.10,13,15: first grouped marginal, computed by discarding outcome 2.
The representative input 2 has no effect under GroupedNoSignaling. -/
def firstGrouped {X1 X2 A1 A2 B : Type} [Fintype A2] [Nonempty X2]
(rho : AssemblageCoefficients (X1 × X2) (A1 × A2) B) : AssemblageCoefficients X1 A1 B :=
fun x1 a1 => ∑ a2, rho (x1, Classical.choice (inferInstance : Nonempty X2)) (a1, a2)
/-- PDF pp.10,13,15: second grouped marginal, computed by discarding outcome 1. -/
def secondGrouped {X1 X2 A1 A2 B : Type} [Fintype A1] [Nonempty X1]
(rho : AssemblageCoefficients (X1 × X2) (A1 × A2) B) : AssemblageCoefficients X2 A2 B :=
fun x2 a2 => ∑ a1, rho (Classical.choice (inferInstance : Nonempty X1), x2) (a1, a2)
/-- PDF pp.10,13: the first local assemblage uses the actual B2 partial trace. -/
def firstReduced {X1 X2 A1 A2 B1 B2 : Type} [Fintype A2] [Nonempty X2]
(rho : AssemblageCoefficients (X1 × X2) (A1 × A2) (B1 × B2)) : AssemblageCoefficients X1 A1 B1 :=
fun x a => partialTraceSecond (firstGrouped rho x a)
/-- PDF pp.10,13: the second local assemblage uses the actual B1 partial trace. -/
def secondReduced {X1 X2 A1 A2 B1 B2 : Type} [Fintype A1] [Nonempty X1]
(rho : AssemblageCoefficients (X1 × X2) (A1 × A2) (B1 × B2)) : AssemblageCoefficients X2 A2 B2 :=
fun x a => partialTraceFirst (secondGrouped rho x a)
/-- PDF p.14, (165): constructed tensor product of two assemblages. -/
def productFamily {X1 X2 A1 A2 B1 B2 : Type}
(theta : AssemblageCoefficients X1 A1 B1) (kappa : AssemblageCoefficients X2 A2 B2) :
AssemblageCoefficients (X1 × X2) (A1 × A2) (B1 × B2) :=
fun x a => productCoeff (theta x.1 a.1) (kappa x.2 a.2)
/-- PDF p.3, (15): move the classical input into the conditioning system;
the resulting order is A : Bf : E(XY). -/
def processedOutcomeCoefficients {X A Bf Y E : Type} (p : Y → PMF X)
(r : Y → AssemblageCoefficients X A (Bf × E)) :
Matrix (A × (Bf × (E × (X × Y)))) (A × (Bf × (E × (X × Y)))) ℂ :=
fun i j => if i.1 = j.1 ∧ i.2.2.2 = j.2.2.2 then
((p i.2.2.2.2 i.2.2.2.1).toReal : ℂ) *
r i.2.2.2.2 i.2.2.2.1 i.1 (i.2.1, i.2.2.1) (j.2.1, j.2.2.1) else 0
/-- PDF p.3 before (15): trace out A, ordered X : Bf : EY. -/
def processedInputCoefficients {X A Bf Y E : Type} [Fintype A] (p : Y → PMF X)
(r : Y → AssemblageCoefficients X A (Bf × E)) :
Matrix (X × (Bf × (E × Y))) (X × (Bf × (E × Y))) ℂ :=
fun i j => if i.1 = j.1 ∧ i.2.2.2 = j.2.2.2 then
((p i.2.2.2 i.1).toReal : ℂ) *
∑ a, r i.2.2.2 i.1 a (i.2.1, i.2.2.1) (j.2.1, j.2.2.1) else 0
/-- PDF p.4, (19): same reordering without Bob's instrument outcome. -/
def outcomeCoefficients {X A B E : Type} (p : PMF X) (r : AssemblageCoefficients X A (B × E)) :
Matrix (A × (B × (E × X))) (A × (B × (E × X))) ℂ :=
fun i j => if i.1 = j.1 ∧ i.2.2.2 = j.2.2.2 then
((p i.2.2.2).toReal : ℂ) * r i.2.2.2 i.1 (i.2.1, i.2.2.1) (j.2.1, j.2.2.1) else 0
/-- PDF p.4 before (19): trace out A, ordered X : B : E. -/
def inputCoefficients {X A B E : Type} [Fintype A] (p : PMF X) (r : AssemblageCoefficients X A (B × E)) :
Matrix (X × (B × E)) (X × (B × E)) ℂ :=
fun i j => if i.1 = j.1 then ((p i.1).toReal : ℂ) * ∑ a, r i.1 a i.2 j.2 else 0
/-! Definition sanity checks. No source theorem is proved. -/
example {B : Type} : outer (fun _ : B => 0) = 0 := by
funext i j
simp [outer]
example {X A B : Type} (rho sigma : AssemblageCoefficients X A B) : (fun x a => convexOperatorMixture 0 (rho x a) (sigma x a)) = sigma := by
funext x a
simp [convexOperatorMixture]
example {X A B : Type} (rho sigma : AssemblageCoefficients X A B) : (fun x a => convexOperatorMixture 1 (rho x a) (sigma x a)) = rho := by
funext x a
simp [convexOperatorMixture]
example : bb84Assemblage false false 0 0 = 1 / 2 := by
simp [bb84Assemblage, bb84Ket, outer]
example : bb84Ket true true 1 = -(1 / (Real.sqrt 2 : ℂ)) := by
simp [bb84Ket]
example {d : ℕ} (alpha : Fin d → ℂ) (a : Fin d) :
schmidtFourierAssemblage alpha false a a a = alpha a * star (alpha a) := by
simp [schmidtFourierAssemblage, outer]
example : ¬ IsAssemblage (fun (_ _ : Unit) => (0 : Matrix Unit Unit ℂ)) := by
simp [IsAssemblage, operatorTrace]
example {X A B E : Type} (p : PMF X) (r : AssemblageCoefficients X A (B × E))
(x : X) (a : A) (u v : B × E) :
cqCoefficients p r ((x, a), u) ((x, a), v) = ((p x).toReal : ℂ) * r x a u v := by
simp [cqCoefficients]
example {X A B E : Type} (p : PMF X) (r : AssemblageCoefficients X A (B × E))
(x z : X) (a b : A) (u v : B × E) (h : (x, a) ≠ (z, b)) :
cqCoefficients p r ((x, a), u) ((z, b), v) = 0 := by
simp [cqCoefficients, h]
section Multipartite
variable {X1 X2 A1 A2 B1 B2 B : Type}
variable [Fintype X1] [Fintype X2] [Fintype A1] [Fintype A2]
variable [Nonempty X1] [Nonempty X2] [Nonempty A1] [Nonempty A2]
end Multipartite
end QAlgorithms.Papers.Independent.Intake100.P10
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
QAlgorithms.Papers.Independent.Intake100.P10.AssemblageCoefficients
For arbitrary types , an assemblage coefficient family is a function assigning to every and a complex matrix indexed by ; equivalently, it is an arbitrary function . No finiteness, positivity, summability, or normalization is required, and any of these indexing types may be empty.
QAlgorithms.Papers.Independent.Intake100.P10.DiscreteTraceClassInstrument
For arbitrary types , this structure consists of maps , one for each , with the following properties. To state them, call a matrix on an index type nuclear if there are with and ; call it positive if every finite quadratic form has zero imaginary part and nonnegative real part; and put . Each preserves nuclear matrices, is additive on pairs of nuclear matrices, and satisfies for every and nuclear . For every natural number , its amplification
maps nuclear positive matrices on with summable real diagonal to matrices having those same three properties. Also, for every nuclear positive on with summable real diagonal, , and the real family is summable. Finally, the entrywise total map
preserves nuclear matrices and is additive and complex homogeneous there, and every , defined by the same slice formula, maps nuclear positive matrices with summable real diagonal and real trace to matrices satisfying those four conditions. No countability or nonemptiness assumptions are imposed on the types. The amplification requirements include ; their normalized-input requirement is vacuous then. The complex sum defining has the total-sum value zero if its entries are not summable.
QAlgorithms.Papers.Independent.Intake100.P10.Extension
For arbitrary types , a finite type , and an arbitrary family of matrices on , an extension consists of matrices on satisfying the following requirements. For each , admits an expansion
every finite quadratic form of has zero imaginary part and nonnegative real part; and its real diagonal is summable. Its prescribed marginal is
and for all . There is no normalization field and no requirement that itself satisfy the assemblage predicate. The type may be empty, in which case its marginal sums are zero. The marginal uses the total complex sum, whose value is zero when the corresponding family is not summable.
QAlgorithms.Papers.Independent.Intake100.P10.GroupedNoSignaling
For arbitrary types , with and finite, and any family of complex matrices indexed by , this defines the conjunction of the two requirements
These are matrix equalities. Positivity, normalization, and any other assemblage conditions are not part of this definition. Empty types are allowed: empty sums are zero, and universal quantification over an empty type is vacuous.
QAlgorithms.Papers.Independent.Intake100.P10.HasCoefficientLHS
For arbitrary types and an arbitrary matrix family , this predicate asserts that there exist a type , a probability mass function on , a state matrix on for every , and a probability mass function on for every , such that
Here probability masses take values in , sum to , and the subscript denotes their real-value conversion. Each state matrix must admit an expansion , with and ; all its finite quadratic forms must be real and nonnegative; its real diagonal must be summable; and . No finiteness or countability is assumed for the types, and no separate assemblage hypothesis is imposed on . The existential data are still required when the coordinate equalities are vacuous; in particular, cannot be a probability mass function on an empty .
QAlgorithms.Papers.Independent.Intake100.P10.IntrinsicAverageMonotonicity
This defines the proposition that, for every choice of types , with finite and nonempty, every family of positive trace-class matrices on satisfying and for all , every instrument indexed by , and all probability mass functions on and on , one has
where is the selected element of , , and regarded as an element of . Here a nuclear matrix is one admitting with and ; positive trace class additionally means summability of the real diagonal and reality and nonnegativity of every finitely supported quadratic form, and a state additionally has trace . An instrument has branches that preserve nuclearity and are additive and complex homogeneous on nuclear inputs, preserve positive trace class under every finite amplification , and do not increase positive-input traces; branch traces are summable, and the coefficientwise branch sum preserves nuclearity, is additive and complex homogeneous there, and preserves states under all finite amplifications. For any family , the functional in the inequality is defined by
where range over arbitrary types, is an instrument from the matrix index type of to , is a probability mass function on its input labels, each is positive trace class on , , and is independent of ; the matrix used here has entries
For completeness, on a matrix indexed by , the exact functional is
where in this display means the real conversion of
The same formula for applies to the two factors remaining after a partial trace; all partial traces are coefficientwise sums, and tensor coefficients are products. The relative entropy appearing here is
with the coordinate compressions and logarithms taken by continuous functional calculus with . Real conversion sends to . Rank-zero projections are included, no countability or nonemptiness restrictions are imposed on the auxiliary types, an infimum over no extensions is , and only strictly positive-mass branches enter the outer inequality; this declaration defines that proposition rather than asserting its truth.
QAlgorithms.Papers.Independent.Intake100.P10.IntrinsicConvexity
This defines the proposition that, for all finite nonempty types , every type , two families of positive trace-class matrices on , each having an input-independent sum over of trace , and every real with , one has
Here ; nuclearity means with and summable ; positive trace class additionally means summability of the real diagonal and real, nonnegative quadratic forms on every finite coordinate set; and a state additionally has trace . For any family on , the functional is defined by
The supremum ranges over arbitrary types , instruments indexed by , and probability mass functions on ; the infimum ranges over arbitrary and positive trace-class on satisfying and independence of from . Each instrument branch preserves nuclearity, is additive and complex homogeneous on nuclear inputs, preserves positive trace class under all finite amplifications , and does not increase positive-input traces; branch traces are summable, and their coefficientwise total preserves nuclearity, is additive and complex homogeneous there, and preserves states under every finite amplification. For indexed by ,
where is the real conversion of when , and otherwise of , and
Partial traces are coefficientwise sums, tensor coefficients multiply, are coordinate compressions, and logarithms use continuous functional calculus with . The notation embeds in , while real conversion sends to . Auxiliary types have no countability or nonemptiness restrictions, rank-zero projections are included, and an empty extension infimum is . The endpoints are included, with ; the declaration defines this extended-real inequality as a proposition without proving it.
QAlgorithms.Papers.Independent.Intake100.P10.IntrinsicLHSVanishing
This defines the proposition that, for every finite nonempty pair of types , every type , and every family of complex matrices on , the following hypotheses imply : each is positive trace class, , is independent of , and there exist an arbitrary type , a probability mass function on , states on , and probability mass functions on such that
Probability masses in this equation are converted to real numbers. Here ; a nuclear matrix has a representation with and summable ; positive trace class additionally means a summable real diagonal and real, nonnegative quadratic forms on every finite coordinate set; and a state additionally has trace . The functional whose vanishing is required is
The supremum ranges over arbitrary types , instruments indexed by , and probability mass functions on ; the infimum ranges over arbitrary types and positive trace-class matrices on satisfying and independence of from . Each instrument branch preserves nuclearity, is additive and complex homogeneous on nuclear matrices, preserves positive trace class under all finite amplifications , and does not increase positive-input traces; branch traces are summable, and the coefficientwise total preserves nuclearity, is additive and complex homogeneous there, and preserves states under all finite amplifications. On , the functional in the infimum is
where in , and is the real conversion of when , and otherwise of . The remaining definitions are
Partial traces are coefficientwise sums, tensor coefficients multiply, the subscript denotes coordinate compression, and logarithms use continuous functional calculus with . Real conversion maps to ; rank-zero projections are included; all auxiliary types, including , have no countability assumption; and an infimum over no admissible extensions is . If no family satisfies the hypotheses for a choice of types, the corresponding implication is vacuous; this declaration defines the proposition rather than proving the vanishing.
QAlgorithms.Papers.Independent.Intake100.P10.IsAssemblage
For arbitrary types , a finite type , and a family of complex matrices indexed by , this predicate requires three conditions. First, for every and , there are sequences such that converges and for all ; every finite quadratic form
has and , for every finite and every ; and the real diagonal family is summable. Second, for every ,
Third, for every . There is no countability or nonemptiness assumption on or . If is empty all requirements are vacuous; if is nonempty and either or is empty, the normalization requirement cannot hold.
QAlgorithms.Papers.Independent.Intake100.P10.ProcessedExtension
For arbitrary types , a finite type , an arbitrary matrix family on , and a supplied instrument with branches , a processed extension consists of matrices on satisfying
and requiring each to be nuclear, positive, and to have summable real diagonal. Here a matrix on is nuclear when for sequences in with ; positivity means that all finite quadratic forms are real and nonnegative; and its real trace is . The instrument parameter requires each to preserve nuclear matrices and be additive and complex homogeneous on them; every finite amplification
must preserve nuclear positive matrices with summable real diagonal; and for every such . Its branch traces must be summable over for each such input. The entrywise map must preserve nuclear matrices, be additive and complex homogeneous there, and have every finite amplification preserve nuclear positive matrices with summable real diagonal and real trace . All amplification sizes are included. No assemblage or normalization hypothesis on , no normalization field for , and no countability or nonemptiness assumptions on the types are included. Marginal and total-channel complex sums use the value zero when nonsummable.
QAlgorithms.Papers.Independent.Intake100.P10.RestrictedConvexity
This defines the proposition that, for every finite nonempty pair , every type , all families of positive trace-class matrices on for which each sum over is independent of and has trace , and every ,
Here a nuclear matrix admits with and ; positive trace class additionally requires a summable real diagonal and real, nonnegative quadratic forms on every finite coordinate set; and . The functional is
where is arbitrary and every is positive trace class on , has partial trace , and satisfies independence of from . On a matrix indexed by , its defining information functional is
Here is the real conversion of if , and otherwise of , where
Partial traces are coefficientwise infinite sums, tensor coefficients are products, the subscript denotes coordinate compression, and logarithms use continuous functional calculus with . The notation denotes embedded in , and real conversion maps to . No countability or nonemptiness condition is imposed on , projections of rank zero are included, and an infimum over no extensions is . Both endpoints for are included, and multiplication uses . This declaration defines the proposition; it does not assert a proof of the inequality.
QAlgorithms.Papers.Independent.Intake100.P10.RestrictedDeterministicMonotonicity
This defines the proposition that, for arbitrary types , with finite and nonempty, every family of positive trace-class matrices on with and independent of , every instrument indexed by , and probability mass functions on and on , satisfy
Here ; nuclearity means a representation with and ; positive trace class additionally requires a summable real diagonal and real, nonnegative quadratic forms on every finite coordinate set, and a state additionally has trace . The instrument assumption requires each branch to preserve nuclearity, be additive and complex homogeneous on nuclear matrices, preserve positive trace class under every finite amplification , and not increase positive-input traces; the branch traces must be summable, and the coefficientwise branch sum must preserve nuclearity, be additive and complex homogeneous there, and preserve states under all finite amplifications. For a family on , the functional used in the proposition is
where is any type and are positive trace-class matrices on with and independent of . The functional on is
Here denotes embedded in , and is the real conversion of if , and otherwise of , where
The two matrices in the product are the coefficientwise partial traces, tensor coefficients multiply, are coordinate compressions, and logarithms use continuous functional calculus with . Real conversion sends to . The projection rank may be zero, auxiliary types need not be countable or nonempty, and an empty extension infimum is . Infinite complex sums have their total convention, yielding zero when nonsummable. In particular, the input probabilities in do not depend on the branch , whereas its output probabilities may depend on ; the declaration defines this proposition without proving it.
QAlgorithms.Papers.Independent.Intake100.P10.RestrictedLHSVanishing
This defines the proposition that, for every finite nonempty pair , every type , and every family on , one has whenever each is positive trace class, the matrix is independent of and has trace , and there exist an arbitrary type , a probability mass function on , states on , and probability mass functions on with
The masses here are converted to real numbers. A matrix is nuclear if for with ; positive trace class additionally requires a summable real diagonal and real, nonnegative quadratic forms on every finite coordinate set; a state additionally has . The functional in the conclusion is exactly
where is any type and are positive trace-class matrices on with and independent of . For a matrix indexed by ,
Here is in , and means the real conversion of if , and otherwise of , with
The partial traces are coefficientwise sums, tensor coefficients are products, are coordinate compressions, and logarithms are defined by continuous functional calculus with . Real conversion sends to . Rank-zero projections are included, need not be countable or nonempty, and an infimum over no extensions equals ; choices for which the hypotheses cannot hold give vacuous implications. This is the definition of a proposition, not a proof that it holds.
QAlgorithms.Papers.Independent.Intake100.P10.bb84Assemblage
This defines a family of complex matrices indexed by Boolean values , with entries
where, in coordinate order ,
The declaration defines these coefficients without separately asserting positivity, normalization, or no-signaling.
QAlgorithms.Papers.Independent.Intake100.P10.bb84Ket
For Boolean values and , this defines the complex number by the four vectors, whose coordinates are ordered ,
QAlgorithms.Papers.Independent.Intake100.P10.branchMass
For arbitrary types , with finite and nonempty, an arbitrary matrix family on , an instrument with branches , and a specified , this defines the real number
where is the element selected by the nonemptiness assumption. The instrument parameter has the following content: a matrix on an index type is nuclear when for with ; positivity means all its finite quadratic forms are real and nonnegative; and its real trace is . Each preserves nuclear matrices, is additive and complex homogeneous on them, has every finite amplification
preserve nuclear positive matrices with summable real diagonal, and satisfies for every such . The branch traces are summable over for each such input. The entrywise total map preserves nuclear matrices, is additive and complex homogeneous there, and every finite amplification of preserves nuclear positive matrices with summable real diagonal and real trace . All natural amplification sizes, including , are included. No assemblage, positivity, normalization, or no-signaling hypothesis is imposed on , so this definition uses the selected without requiring independence from that selection or asserting a probability bound. The real trace and complex total-channel sums have value zero when their families are nonsummable.
QAlgorithms.Papers.Independent.Intake100.P10.branchTransform
For arbitrary types , with finite and nonempty, this defines a family of complex matrices from any family on , any instrument from to with branches indexed by , probability mass functions on , probability mass functions on , and a chosen , by
where is the element selected by the given nonemptiness assumption, and probability masses are converted to real numbers before multiplication. Here denotes the square-summable complex families on ; a matrix is called nuclear when for some with . A positive trace-class matrix is nuclear, has summable real diagonal, and has real, nonnegative quadratic form for every finite and every complex family ; a density matrix additionally has real diagonal sum . The instrument assumption means that each maps nuclear matrices to nuclear matrices, is additive and complex homogeneous on them, preserves positive trace-class matrices under every finite amplification
and does not increase their real diagonal sum; its branch traces are summable on each positive trace-class input; and the coefficientwise sum maps nuclear matrices to nuclear matrices, is additive and complex homogeneous there, and sends density matrices to density matrices under every finite amplification, including amplification by the empty set. No positivity, normalization, or no-signaling condition is imposed on , so need not be positive or independent of . The inverse is the total complex inverse: if , the defined output is zero. The type may be empty, in which case the finite sums and output are zero.
QAlgorithms.Papers.Independent.Intake100.P10.cmiBits
For arbitrary types and an arbitrary complex matrix on , this defines a value in by the following calculation:
Here , regarded as an extended nonnegative real, and converts a finite extended nonnegative real to a real and sends to . The supremum ranges over every natural number , including , and every orthonormal family . Set
and . For any matrix on a product , write and for the matrices obtained by summing over the second and first diagonal coordinates, respectively, and define
where . For matrices on any common index type,
with their coordinate restrictions to and logarithms evaluated by the real continuous functional calculus. No positivity, trace-class, normalization, countability, or nonemptiness hypothesis is imposed on or the types. Real and complex infinite sums are total sums, equal to zero for nonsummable families; the real logarithm is also total, with .
QAlgorithms.Papers.Independent.Intake100.P10.cqCoefficients
For arbitrary types , a probability mass function on , and an arbitrary family of complex matrices on , this defines the matrix on by
The scalar is the real conversion of the probability mass. No finiteness assumptions or positivity, normalization, or extension conditions on are included.
QAlgorithms.Papers.Independent.Intake100.P10.firstGrouped
For arbitrary types , with finite and nonempty, and any family of complex matrices, choose the element supplied by classical choice from the nonemptiness assumption. This defines a family of complex matrices indexed by through
No independence from the chosen , positivity, or normalization is required. If is empty, every resulting matrix is zero.
QAlgorithms.Papers.Independent.Intake100.P10.firstReduced
For arbitrary types , with finite and nonempty, and any family of complex matrices indexed by , let be the element supplied by classical choice. This defines a family of complex matrices by
Here the primed sum is the total infinite-sum operation, which returns zero if the complex family is not summable. No countability or summability assumption on , and no positivity, normalization, or no-signaling assumption on , is imposed; an empty or gives zero matrices.
QAlgorithms.Papers.Independent.Intake100.P10.inputCoefficients
For arbitrary types , with finite, a probability mass function on , and an arbitrary family of complex matrices, this defines a complex matrix indexed by . Its entries are
where the probability mass is converted to a real number and then embedded into . No positivity or normalization condition on is imposed. An empty gives the zero matrix; and need not be finite or nonempty.
QAlgorithms.Papers.Independent.Intake100.P10.intrinsicSteerability
For an arbitrary type , finite types , and an arbitrary matrix family on , this defines the extended nonnegative real
where is a probability mass function on for each , and
The parameter consists of maps from matrices on to matrices on . To describe their requirements, call a matrix on nuclear if it has an expansion , with and ; call it positive if all finite quadratic forms are real and nonnegative; and write . Each preserves nuclear matrices and is additive and complex homogeneous there, every finite amplification
preserves nuclear positive matrices with summable real diagonal, and for all such . The family must be summable for each such input. The total map must preserve nuclear matrices, be additive and complex homogeneous there, and have every finite amplification preserve nuclear positive matrices with summable real diagonal and real trace . The inner families must have every nuclear, positive, and with summable real diagonal, and satisfy
For completeness, the scalar on a matrix indexed by is
where ranges over every finite orthonormal family in , including the empty one,
and sums the diagonal -coordinate. For a matrix on a product, its diagonal-sum marginals are , its product marginal has entries , and
The remaining functional is
where are coordinate restrictions and the logarithms use the real continuous functional calculus. The notation means in , and sends to . In this application , , and . No assemblage hypothesis is imposed on ; the auxiliary types need not be countable or nonempty, there is no separate probability law on , and the extension matrices have no normalization requirement. Empty suprema and infima in are and , respectively. All amplification sizes include ; real and complex infinite sums are zero for nonsummable families, and .
QAlgorithms.Papers.Independent.Intake100.P10.outcomeCoefficients
For arbitrary types , a probability mass function on , and an arbitrary family of complex matrices, this defines a complex matrix indexed by . Writing its row as and its column as , its entry is
where is the real value of the probability mass, embedded into . There is no requirement that or , and no positivity or normalization assumption on . No finiteness assumptions are made; the existence of entails that is nonempty.
QAlgorithms.Papers.Independent.Intake100.P10.processedCoefficients
For arbitrary types , a probability mass function on for each , and arbitrary matrices on , this defines the matrix on by
The subscript denotes real conversion of a probability mass. No probability weight on , finiteness assumption, positivity condition, normalization condition, or processed-extension hypothesis on is part of this definition.
QAlgorithms.Papers.Independent.Intake100.P10.processedInputCoefficients
For arbitrary types , with finite, a probability mass function on for each , and an arbitrary family of complex matrices, this defines a complex matrix indexed by . Writing its row as and its column as , its entry is
where the probability mass is converted to a real number and then embedded into . No positivity or normalization condition on is imposed. The other types may be infinite or empty, and an empty gives the zero matrix.
QAlgorithms.Papers.Independent.Intake100.P10.processedOutcomeCoefficients
For arbitrary types , a probability mass function on for each , and an arbitrary family of complex matrices, this defines a complex matrix indexed by . Writing its row as and its column as , its entry is
where denotes the real value of the probability mass, embedded into . There is no requirement that or , and no positivity or normalization condition on ; the types need not be finite or nonempty.
QAlgorithms.Papers.Independent.Intake100.P10.productFamily
For arbitrary types , and arbitrary families of complex matrices and of complex matrices, this defines a family indexed by , with matrix entries
There are no finiteness, nonemptiness, positivity, normalization, or no-signaling assumptions.
QAlgorithms.Papers.Independent.Intake100.P10.restrictedSteerability
For arbitrary , finite types , and an arbitrary family of complex matrices on , this defines
where
The inner infimum ranges over every type and every family on whose members admit expansions , with and , whose finite quadratic forms are real and nonnegative, and whose real diagonals are summable; these families must also satisfy
The scalar , for a matrix on , is defined literally by
Here ranges over kernels of all finite orthonormal families in , including the empty family,
and sums the diagonal -coordinate. For a matrix on any product, let denote its two diagonal-sum marginals, set , and put if , otherwise . The product matrix has entries , and
Coordinate restrictions are denoted by subscripts , and matrix logarithms use the real continuous functional calculus. The notation means in , and . There is no assemblage hypothesis on , no normalization requirement on , and no restriction to countable or nonempty . An empty inner infimum is ; if is empty the outer supremum is . Real and complex infinite sums have value zero when nonsummable, and .
QAlgorithms.Papers.Independent.Intake100.P10.restrictedTransform
For arbitrary types , with finite, this defines a family of complex matrices from any family on , an instrument from to with branches indexed by , probability mass functions on , and probability mass functions on , by the entrywise formula
Probability masses are converted to real numbers in this formula. To spell out the instrument assumption, call nuclear if , where are square-summable complex families and ; call it positive trace class if it is nuclear, its real diagonal is summable, and all its finitely supported quadratic forms are real and nonnegative; and call it a density matrix if its real diagonal sum is also . Each maps nuclear matrices to nuclear matrices, is additive and complex homogeneous on them, preserves positive trace-class matrices under every finite amplification
and does not increase their real diagonal sum. The branch traces are summable on each positive trace-class input, and the coefficientwise sum maps nuclear matrices to nuclear matrices, is additive and complex homogeneous there, and preserves density matrices under every finite amplification, including size zero. No positivity, normalization, or no-signaling hypothesis is imposed on , and no countability hypothesis is imposed on . Consequently the displayed complex infinite sums use the total summation convention, which gives zero for a nonsummable family. Empty , , or makes the corresponding sums zero; no nonemptiness assumptions are made on the other types.
QAlgorithms.Papers.Independent.Intake100.P10.schmidtEntropyBits
For any natural number , including , and any complex vector , this defines the real number
No normalization of is assumed. A zero coefficient contributes zero, using the convention ; when , the empty sum gives value zero.
QAlgorithms.Papers.Independent.Intake100.P10.schmidtFourierAssemblage
For every natural number and arbitrary complex family , this defines matrices indexed by a Boolean and , with matrix indices in the same set, by
No normalization or nonzero-coordinate hypothesis is imposed on , and the declaration makes no separate assertion that this family satisfies the assemblage conditions. The case is included: its outcome type and matrix index type are empty, so there are no entries to evaluate.
QAlgorithms.Papers.Independent.Intake100.P10.secondGrouped
For arbitrary types , with finite and nonempty, and any family of complex matrices, choose the element supplied by classical choice from the nonemptiness assumption. This defines a family of complex matrices indexed by through
No independence from the chosen , positivity, or normalization is required. If is empty, every resulting matrix is zero.
QAlgorithms.Papers.Independent.Intake100.P10.secondReduced
For arbitrary types , with finite and nonempty, and any family of complex matrices indexed by , let be the element supplied by classical choice. This defines a family of complex matrices by
Here the primed sum is the total infinite-sum operation, which returns zero if the complex family is not summable. No countability or summability assumption on , and no positivity, normalization, or no-signaling assumption on , is imposed; an empty or gives zero matrices.
QAlgorithms.Papers.Independent.Intake100.P10.steeredFourierKet
For every natural number , every complex family , and indices , this defines
There is no normalization or nonzero-coordinate assumption on . The case is included, but then there are no indices at which to evaluate the expression.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.