Definitions for Properties of Conjugate Channels with Applications to Additivity and Multiplicativity
DefinitionQAlgorithms_Papers_Independent_Gap48_P36The objects the formalized statements of Properties of Conjugate Channels with Applications to Additivity and Multiplicativity (arXiv:quant-ph/0509126) are stated in. Each was checked against the paper by a blind read-back and a moderator.
krausNumber: PDF pp.5,30: minimum size of a normalized Kraus representation. On a nonchannel the natural infimum may be zero; results require IsChannel.choiEigenvalue: PDF pp.29–30: eigenvalues of the computed normalized Choi matrix. The non-Hermitian default is never used for channels.choiEigenvector: PDF pp.29–30: an orthonormal spectral basis, with its source tensor order.ChoiSupport: PDF pp.29–30: retain only nonzero Choi eigenvalues, including multiplicity.spectralKraus: PDF p.29, (89): spectral Kraus family with the essential sqrt(d lambda). Neither Kraus normalization nor minimality is built into this definition.constrainedHolevo: PDF p.9: constrained Holevo quantity, with the input state fixed.entanglementFormation: PDF p.9, (18): the finite pure-state convex roof of marginal entropy.UnitaryBasis: PDF p.13, (30): a complete orthogonal unitary basis, including its identity label. No orthogonality assumption is imposed on vectors in the Hadamard constructions.PhaseClosed: PDF p.15, (35): closure up to a scalar phase; no raw matrix group is assumed.weightedKraus: PDF p.14, (32): canonical weighted unitary Kraus family.ProbabilityWeights: PDF p.14: nonnegative probabilities, allowing zero weights.randomUnitary: PDF p.14, (32): the channel is computed from weights and basis matrices.randomComplement: PDF p.14, (33): canonical complement, retaining every Kraus label.noisyComplement: PDF pp.14,19: canonical noisy complement, with Kraus matrices T_m/d.pureNoisyImage: PDF p.14: the image of normalized pure inputs, excluding the zero vector.weightMatrix: PDF p.14: A=diag(a_m), distinct from its positive square root.weightRoot: PDF p.14: positive square root of the diagonal probability matrix.DoublyStochastic: PDF p.20, Theorem 12(d): a real nonnegative matrix with row and column sums one.ImageConditions: PDF pp.19–20: the four necessary conditions, with (c) read as modulus. The source's Hadamard conjugation is entrywise conjugation, hence squared modulus.WeylLabel: PDF p.15: projective qudit labels; raw matrices need not form a group. The accepted Information100.P39.PauliLabel instead encodes N binary qubits.finWeyl: PDF p.15, (36): accepted positive-phase X^j Z^k, reindexed to Fin d. The accepted Information100.P34.weyl has exactly this shift/clock order. This wrapper changes only the coordinate type from ZMod d to Fin d.printedMultiplier: PDF p.15, (39), with the duplicate i in its Fourier exponent removed. Printed: (mk-jn)i2pi i/d. Changed: (mk-jn)2pi i/d, forced by the unitary conjugation (36)-(37) and the Fourier calculation used in (43). The remaining printed phase and Fourier sign do not change the modulus for real a. This expression is used ONLY through its modulus.maxPauliMultiplierSq: PDF p.16: finite supremum of squared Weyl multiplier magnitudes. The accepted Next46.P14.largestMultiplier is an unrelated message-length maximum. The d=1 set is empty, with real supremum zero; the bound still reads 1.pauliTwoBound: PDF p.16: the square-root upper bound (42).basisCoefficient: PDF p.17, (44): complex basis coefficient Tr(T_m^dagger rho), with no extra factor. The accepted Claimed50.P03.coefficient is a normalized real qubit-word coefficient.FlatSupport: PDF p.20: the invariant definition of D-decomposability used in Theorem 13: exactly D nonzero coefficients, all of unit modulus. General block reducibility is not substituted for this predicate.SortedRows: PDF p.22: a genuine permutation of labeled coefficients, ordered row by row.blockWeight: PDF p.22: beta_i is a sum of d weights, not an average.blockBound: PDF p.22, (60): the finite-p bound for the sorted block weights.CosetRows: PDF pp.25–26: rows of the labeled rearrangement are cosets of one subgroup. Tied numerical weights never merge Kraus labels.cyclicNext: PDF p.26: cyclic successor, only used for positive tensor counts.krausLinearizer: PDF p.26, (76): the Kraus linearizer; all tensor indices are retained. This differs from the accepted Support21.P18.theta qubit spin-flip map.leftCycle: PDF p.26: left cyclic shift on tensor basis kets.channelLinearizer: PDF p.26, (77): tensor power of the computed trace dual applied to L_p. The accepted definitions named omega are state vectors or angular matrix sets, not the channel linearization operator (77).qubitLambda: PDF p.31: Bloch multiplier for the axis with nonzero binary Pauli label k.qubitAxis: PDF p.31: Hermitian Pauli axis. The label (1,1) has XZ=-iY, so its Hermitian representative is iXZ. This phase does not change its channel.qubitAxisState: PDF p.31: the two normalized spectral projectors of a nonidentity qubit axis.
import Mathlib
import Definitions.Def_QAlgorithms_Papers_Independent_Claimed50_P48
import Definitions.Def_QAlgorithms_Papers_Independent_Information100_P34
import Definitions.Def_QAlgorithms_Papers_Independent_Dependency50_P45
/-! King–Matsumoto–Nathanson–Ruskai, arXiv:quant-ph/0509126v3.
All page numbers refer to PDF pages. Finite matrices, normalized states and natural
logarithms are used for entropy. The imported Holevo capacity is in bits;
its additivity identity is invariant under this fixed positive unit conversion. Source discrepancies and deferred clauses are in HARD.md.
Compilation is pending the mechanical batch handoff. -/
noncomputable section
namespace QAlgorithms.Papers.Independent.Gap48.P36
open scoped BigOperators Matrix Kronecker ComplexConjugate ComplexOrder ENNReal
open QAlgorithms.Papers.Independent.Claimed50.P48
open QAlgorithms.Papers.Independent.Information100.P67 (receiverChannel complementaryChannel)
open QAlgorithms.Papers.Independent.Information100.P56 (entropy normalizedChoi)
open QAlgorithms.Papers.Independent.Information100.P50 (schattenNorm)
open QAlgorithms.Papers.Independent.Information100.P03 (convexRoof)
open QAlgorithms.Papers.Independent.Dependency50.P45 (holevoCapacity)
attribute [local instance] Classical.propDecidable Classical.decEq
variable {A B C D E K L A2 B2 C2 : Type*}
variable [Fintype A] [DecidableEq A] [Fintype B] [DecidableEq B]
variable [Fintype C] [DecidableEq C] [Fintype D] [DecidableEq D]
variable [Fintype E] [DecidableEq E] [Fintype K] [DecidableEq K]
variable [Fintype L] [DecidableEq L] [Fintype A2] [DecidableEq A2]
variable [Fintype B2] [DecidableEq B2] [Fintype C2] [DecidableEq C2]
/-- PDF pp.5,30: minimum size of a normalized Kraus representation.
On a nonchannel the natural infimum may be zero; results require IsChannel. -/
def krausNumber (Phi : Superop A B) : ℕ :=
sInf {r | ∃ F : Fin r → Matrix B A ℂ, IsKrausFamily F ∧ Phi = krausApply F}
/-- PDF pp.29–30: eigenvalues of the computed normalized Choi matrix.
The non-Hermitian default is never used for channels. -/
def choiEigenvalue (Phi : Superop A B) (k : A × B) : ℝ :=
if h : (normalizedChoi Phi).IsHermitian then h.eigenvalues k else 0
/-- PDF pp.29–30: an orthonormal spectral basis, with its source tensor order. -/
def choiEigenvector (Phi : Superop A B) (k : A × B) : EuclideanSpace ℂ (A × B) :=
if h : (normalizedChoi Phi).IsHermitian then h.eigenvectorBasis k else 0
/-- PDF pp.29–30: retain only nonzero Choi eigenvalues, including multiplicity. -/
abbrev ChoiSupport (Phi : Superop A B) := {k : A × B // choiEigenvalue Phi k ≠ 0}
/-- PDF p.29, (89): spectral Kraus family with the essential sqrt(d lambda).
Neither Kraus normalization nor minimality is built into this definition. -/
def spectralKraus (Phi : Superop A B) : ChoiSupport Phi → Matrix B A ℂ :=
fun k b a => (Real.sqrt ((Fintype.card A : ℝ) * choiEigenvalue Phi k.val) : ℂ) *
choiEigenvector Phi k.val (a,b)
/-- PDF p.9: constrained Holevo quantity, with the input state fixed. -/
def constrainedHolevo (Phi : Superop A B) (rho : Matrix A A ℂ) : ℝ :=
entropy (Phi rho) - hhat Phi rho
/-- PDF p.9, (18): the finite pure-state convex roof of marginal entropy. -/
def entanglementFormation (gamma : Matrix (B × C) (B × C) ℂ) : ℝ :=
convexRoof (fun psi => entropy (traceRight (pureDensity psi))) gamma
/-- PDF p.13, (30): a complete orthogonal unitary basis, including its identity label.
No orthogonality assumption is imposed on vectors in the Hadamard constructions. -/
structure UnitaryBasis (A K : Type*) [Fintype A] [DecidableEq A] [Fintype K] where
matrix : K → Matrix A A ℂ
identityLabel : K
cardinality : Fintype.card K = Fintype.card A ^ 2
identity : matrix identityLabel = 1
unitary : ∀ k, (matrix k)ᴴ * matrix k = 1
orthogonal : ∀ j k, ((matrix j)ᴴ * matrix k).trace =
if j = k then (Fintype.card A : ℂ) else 0
/-- PDF p.15, (35): closure up to a scalar phase; no raw matrix group is assumed. -/
def PhaseClosed (T : UnitaryBasis A K) : Prop :=
∀ m n, ∃ k : K, ∃ z : ℂ, ‖z‖ = 1 ∧ (T.matrix m)ᴴ * T.matrix n = z • T.matrix k
/-- PDF p.14, (32): canonical weighted unitary Kraus family. -/
def weightedKraus (T : K → Matrix A A ℂ) (a : K → ℝ) : K → Matrix A A ℂ :=
fun k => (Real.sqrt (a k) : ℂ) • T k
/-- PDF p.14: nonnegative probabilities, allowing zero weights. -/
def ProbabilityWeights (a : K → ℝ) : Prop := (∀ k, 0 ≤ a k) ∧ ∑ k, a k = 1
/-- PDF p.14, (32): the channel is computed from weights and basis matrices. -/
def randomUnitary (T : K → Matrix A A ℂ) (a : K → ℝ) : Superop A A :=
krausApply (weightedKraus T a)
/-- PDF p.14, (33): canonical complement, retaining every Kraus label. -/
def randomComplement (T : K → Matrix A A ℂ) (a : K → ℝ) : Superop A K :=
complementaryChannel (indexedKrausDilation (weightedKraus T a))
/-- PDF pp.14,19: canonical noisy complement, with Kraus matrices T_m/d. -/
def noisyComplement (T : K → Matrix A A ℂ) : Superop A K :=
complementaryChannel (indexedKrausDilation
(fun k => ((Fintype.card A : ℂ)⁻¹) • T k))
/-- PDF p.14: the image of normalized pure inputs, excluding the zero vector. -/
def pureNoisyImage (T : K → Matrix A A ℂ) : Set (Matrix K K ℂ) :=
{gamma | ∃ psi : EuclideanSpace ℂ A, IsState psi ∧ gamma = noisyComplement T (pureDensity psi)}
/-- PDF p.14: A=diag(a_m), distinct from its positive square root. -/
def weightMatrix (a : K → ℝ) : Matrix K K ℂ := Matrix.diagonal (fun k => (a k : ℂ))
/-- PDF p.14: positive square root of the diagonal probability matrix. -/
def weightRoot (a : K → ℝ) : Matrix K K ℂ :=
Matrix.diagonal (fun k => (Real.sqrt (a k) : ℂ))
/-- PDF p.20, Theorem 12(d): a real nonnegative matrix with row and column sums one. -/
def DoublyStochastic (M : Matrix K K ℝ) : Prop :=
(∀ j k, 0 ≤ M j k) ∧ (∀ j, ∑ k, M j k = 1) ∧ (∀ k, ∑ j, M j k = 1)
/-- PDF pp.19–20: the four necessary conditions, with (c) read as modulus.
The source's Hadamard conjugation is entrywise conjugation, hence squared modulus. -/
def ImageConditions (d : ℕ) (gamma : Matrix K K ℂ) : Prop :=
IsDensityMatrix gamma ∧
((d : ℂ) • gamma) * ((d : ℂ) • gamma) = (d : ℂ) • gamma ∧
Matrix.rank ((d : ℂ) • gamma) = d ∧
(∀ k, gamma k k = ((d : ℂ)^2)⁻¹) ∧
(∀ j k, ‖gamma j k‖ ≤ ((d : ℝ)^2)⁻¹) ∧
DoublyStochastic (fun j k => (d : ℝ)^3 * Complex.normSq (gamma j k))
/-- PDF p.15: projective qudit labels; raw matrices need not form a group.
The accepted Information100.P39.PauliLabel instead encodes N binary qubits. -/
abbrev WeylLabel (d : ℕ) := ZMod d × ZMod d
/-- PDF p.15, (36): accepted positive-phase X^j Z^k, reindexed to Fin d.
The accepted Information100.P34.weyl has exactly this shift/clock order.
This wrapper changes only the coordinate type from ZMod d to Fin d. -/
def finWeyl (d : ℕ) [NeZero d] (jk : WeylLabel d) : Matrix (Fin d) (Fin d) ℂ :=
(QAlgorithms.Papers.Independent.Information100.P34.weyl jk.1 jk.2).submatrix
(ZMod.finEquiv d) (ZMod.finEquiv d)
/-- PDF p.15, (39), with the duplicate i in its Fourier exponent removed.
Printed: (mk-jn)i2pi i/d. Changed: (mk-jn)2pi i/d, forced by the
unitary conjugation (36)-(37) and the Fourier calculation used in (43).
The remaining printed phase and Fourier sign do not change the modulus
for real a. This expression is used ONLY through its modulus. -/
def printedMultiplier (d : ℕ) [NeZero d] (a : WeylLabel d → ℝ) (jk : WeylLabel d) : ℂ :=
Complex.exp (2 * Real.pi * Complex.I * ((jk.1.val * jk.2.val : ℕ) : ℂ) / (d : ℂ)) *
∑ mn, (a mn : ℂ) * Complex.exp
(2 * Real.pi * Complex.I * (((mn.1.val * jk.2.val : ℕ) : ℂ) -
((jk.1.val * mn.2.val : ℕ) : ℂ)) / (d : ℂ))
/-- PDF p.16: finite supremum of squared Weyl multiplier magnitudes.
The accepted Next46.P14.largestMultiplier is an unrelated message-length maximum.
The d=1 set is empty, with real supremum zero; the bound still reads 1. -/
def maxPauliMultiplierSq (d : ℕ) [NeZero d] (a : WeylLabel d → ℝ) : ℝ :=
sSup {x | ∃ jk : WeylLabel d, jk ≠ 0 ∧ x = ‖printedMultiplier d a jk‖^2}
/-- PDF p.16: the square-root upper bound (42). -/
def pauliTwoBound (d : ℕ) [NeZero d] (a : WeylLabel d → ℝ) : ℝ :=
Real.sqrt ((1 + ((d : ℝ) - 1) * maxPauliMultiplierSq d a) / (d : ℝ))
/-- PDF p.17, (44): complex basis coefficient Tr(T_m^dagger rho), with no extra factor.
The accepted Claimed50.P03.coefficient is a normalized real qubit-word coefficient. -/
def basisCoefficient (T : K → Matrix A A ℂ) (rho : Matrix A A ℂ) (k : K) : ℂ :=
((T k)ᴴ * rho).trace
/-- PDF p.20: the invariant definition of D-decomposability used in Theorem 13:
exactly D nonzero coefficients, all of unit modulus. General block reducibility
is not substituted for this predicate. -/
def FlatSupport (T : K → Matrix A A ℂ) (rho : Matrix A A ℂ) (D : ℕ) : Prop :=
(Finset.univ.filter (fun k => basisCoefficient T rho k ≠ 0)).card = D ∧
∀ k, basisCoefficient T rho k = 0 ∨ ‖basisCoefficient T rho k‖ = 1
/-- PDF p.22: a genuine permutation of labeled coefficients, ordered row by row. -/
def SortedRows {d : ℕ} (a : K → ℝ) (e : (Fin d × Fin d) ≃ K) : Prop :=
∀ u v, u.1.val * d + u.2.val ≤ v.1.val * d + v.2.val → a (e v) ≤ a (e u)
/-- PDF p.22: beta_i is a sum of d weights, not an average. -/
def blockWeight {d : ℕ} (a : K → ℝ) (e : (Fin d × Fin d) ≃ K) (i : Fin d) : ℝ :=
∑ j, a (e (i,j))
/-- PDF p.22, (60): the finite-p bound for the sorted block weights. -/
def blockBound {d : ℕ} (p : ℝ) (a : K → ℝ) (e : (Fin d × Fin d) ≃ K) : ℝ :=
Real.rpow (∑ i, Real.rpow (blockWeight a e i) p) (1 / p)
/-- PDF pp.25–26: rows of the labeled rearrangement are cosets of one subgroup.
Tied numerical weights never merge Kraus labels. -/
def CosetRows {d : ℕ} [NeZero d]
(e : (Fin d × Fin d) ≃ WeylLabel d) : Prop :=
∃ S : AddSubgroup (WeylLabel d), ∀ i, ∃ g : WeylLabel d,
Set.range (fun j => e (i,j)) = {q | q - g ∈ S}
/-- PDF p.26: cyclic successor, only used for positive tensor counts. -/
def cyclicNext {p : ℕ} (i : Fin p) : Fin p :=
⟨(i.val + 1) % p, Nat.mod_lt _ (Nat.zero_lt_of_lt i.isLt)⟩
/-- PDF p.26, (76): the Kraus linearizer; all tensor indices are retained.
This differs from the accepted Support21.P18.theta qubit spin-flip map. -/
def krausLinearizer (F : K → Matrix B A ℂ) (p : ℕ) :
Matrix (Fin p → A) (Fin p → A) ℂ :=
fun a b => ∑ ks : Fin p → K, ∏ i, ((F (ks i))ᴴ * F (ks (cyclicNext i))) (a i) (b i)
/-- PDF p.26: left cyclic shift on tensor basis kets. -/
def leftCycle (A : Type*) [DecidableEq A] (p : ℕ) :
Matrix (Fin p → A) (Fin p → A) ℂ :=
fun a b => if a = (fun i => b (cyclicNext i)) then 1 else 0
/-- PDF p.26, (77): tensor power of the computed trace dual applied to L_p.
The accepted definitions named omega are state vectors or angular matrix sets,
not the channel linearization operator (77). -/
def channelLinearizer (Phi : Superop A B) (p : ℕ) :
Matrix (Fin p → A) (Fin p → A) ℂ :=
piSuperop (fun _ : Fin p => operatorTraceDual Phi) (leftCycle B p)
/-- PDF p.31: Bloch multiplier for the axis with nonzero binary Pauli label k. -/
def qubitLambda (a : WeylLabel 2 → ℝ) (k : WeylLabel 2) : ℝ :=
2 * (a 0 + a k) - 1
/-- PDF p.31: Hermitian Pauli axis. The label (1,1) has XZ=-iY,
so its Hermitian representative is iXZ. This phase does not change its channel. -/
def qubitAxis (k : WeylLabel 2) : Matrix (Fin 2) (Fin 2) ℂ :=
if k = (1,1) then Complex.I • finWeyl 2 k else finWeyl 2 k
/-- PDF p.31: the two normalized spectral projectors of a nonidentity qubit axis. -/
def qubitAxisState (k : WeylLabel 2) (positive : Bool) : Matrix (Fin 2) (Fin 2) ℂ :=
(2 : ℂ)⁻¹ • (1 + (if positive then (1 : ℂ) else -1) • qubitAxis k)
/-! Small definition sanity checks, without proofs of the source theorems. -/
example (d : ℕ) [NeZero d] (i : Fin d) : finWeyl d (0,0) i i = 1 := by
simp [finWeyl, QAlgorithms.Papers.Independent.Information100.P34.weyl]
example (a : Fin 1 → ℝ) : weightMatrix a 0 0 = (a 0 : ℂ) := rfl
example : leftCycle (Fin 1) 1 (fun _ => 0) (fun _ => 0) = 1 := by
simp [leftCycle]
example (a : WeylLabel 2 → ℝ) (k : WeylLabel 2) :
qubitLambda a k = 2 * (a 0 + a k) - 1 := rfl
end QAlgorithms.Papers.Independent.Gap48.P36
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
QAlgorithms.Papers.Independent.Gap48.P36.ChoiSupport
For finite types with decidable equality and any function , this abbreviates the type of indices whose assigned Choi eigenvalue is nonzero. Specifically, form ; if this matrix is Hermitian, retain exactly the indices of its nonzero real eigenvalues in its chosen spectral decomposition, and otherwise retain no indices, since all assigned eigenvalues are then defined to be zero. This is an index type, rather than a vector subspace; it is empty also when or is empty.
QAlgorithms.Papers.Independent.Gap48.P36.CosetRows
For a nonzero natural number and a bijection , this predicate means that there exists one additive subgroup of such that every row of has image equal to a coset of :
The subgroup is shared by all rows; the representative may depend on the row. The case is excluded.
QAlgorithms.Papers.Independent.Gap48.P36.DoublyStochastic
For a finite index type and a real matrix , this predicate means that every entry is nonnegative, every row sums to exactly one, and every column sums to exactly one:
If is empty, all three universally quantified requirements hold vacuously.
QAlgorithms.Papers.Independent.Gap48.P36.FlatSupport
For finite index types and , a family of complex matrices, a complex matrix , and a natural number , this predicate means that exactly indices have nonzero coefficients , and every coefficient is either zero or has complex modulus exactly one:
No further condition is imposed on or . The case requires all coefficients to vanish; cannot satisfy the predicate. If or is empty, the predicate holds exactly when .
QAlgorithms.Papers.Independent.Gap48.P36.ImageConditions
For a finite index type , a natural number , and a complex matrix , this predicate requires all of the following simultaneously: is positive semidefinite with complex trace exactly one; the matrix satisfies and has rank exactly ; every diagonal entry equals in ; every entry satisfies in ; and the real matrix has nonnegative entries, every row sum equal to one, and every column sum equal to one. Here is cast into the indicated scalar field, and inverse zero is zero. The requirements cannot hold when , or when is empty.
QAlgorithms.Papers.Independent.Gap48.P36.PhaseClosed
For a finite type with decidable equality, a finite type , and matrices supplied with a distinguished identity matrix, , , and for and otherwise, this property means that for every pair there exist a label and a complex number with such that . Neither the label nor the phase is required to be unique. The supplied structure already excludes empty or .
QAlgorithms.Papers.Independent.Gap48.P36.ProbabilityWeights
For a finite type and a function , this property means that for every and . Zero weights are allowed. If is empty, the sum is , so the property cannot hold.
QAlgorithms.Papers.Independent.Gap48.P36.SortedRows
For a natural number , an index type , a real-valued function on , and a bijection , this predicate means that is nonincreasing when the pairs are ordered by their row-major indices:
The values of need not be nonnegative or sum to one. When , the bijection requires to be empty, and the condition is vacuous.
QAlgorithms.Papers.Independent.Gap48.P36.UnitaryBasis
For a finite type with decidable equality and a finite type , this structure consists of matrices , a distinguished label , and requirements that , , for every , and when and otherwise. The distinguished label requires to be nonempty; consequently, together with the cardinality requirement, no such structure exists when is empty.
QAlgorithms.Papers.Independent.Gap48.P36.WeylLabel
For every natural number , this is an abbreviation for the type of ordered pairs of elements of . It includes , when there is just the label , and , for which the underlying convention is , giving pairs of integers.
QAlgorithms.Papers.Independent.Gap48.P36.basisCoefficient
For a finite index type , an index type , a family of complex matrices, a complex matrix , and , this defines the complex number
where denotes conjugate transpose. No normalization, orthogonality, positivity, or trace condition is imposed on or . If is empty, the coefficient is zero.
QAlgorithms.Papers.Independent.Gap48.P36.blockBound
For a natural number , an index type , a real number , a real-valued function on , and a bijection , this defines
where both powers use the total real-power function. There is no assumption that is positive or that the row sums are nonnegative. Division is total, so ; consequently the defined value is when . If , the outer sum is empty, and the value is for and for .
QAlgorithms.Papers.Independent.Gap48.P36.blockWeight
For a natural number , an index type , a real-valued function on , a bijection , and a row index , this defines
No ordering, positivity, or normalization condition is required of . When , there is no admissible row index .
QAlgorithms.Papers.Independent.Gap48.P36.channelLinearizer
For an index type with decidable equality, a finite index type with decidable equality, any function from complex matrices to complex matrices, and a natural number , this defines a complex matrix indexed by words . Writing and for the corresponding matrix units, its entries are
Here the trace expression is the entry of the map that sends a matrix to the matrix with entries ; the displayed sum expands the tensor-map construction and the cyclic matrix used in the definition. No linearity, positivity, or channel condition is required of . When , the resulting matrix has its sole entry equal to .
QAlgorithms.Papers.Independent.Gap48.P36.choiEigenvalue
For finite types with decidable equality, any function , and any , form the matrix whose entries are , where has entry at and zero elsewhere. This defines the value at to be the real eigenvalue indexed by in the chosen spectral decomposition of , if is Hermitian, and otherwise. No channel or positivity assumption is imposed on , and this indexing is not asserted to order the eigenvalues. If either type is empty, there is no index .
QAlgorithms.Papers.Independent.Gap48.P36.choiEigenvector
For finite types with decidable equality, any function , and any , let , where is the corresponding matrix unit. This defines a vector in : if is Hermitian, it is the vector indexed by in the chosen orthonormal eigenvector basis of ; otherwise it is the zero vector. No channel or positivity assumption is required, and no particular choice within repeated eigenspaces is specified. If either type is empty, no such index exists.
QAlgorithms.Papers.Independent.Gap48.P36.constrainedHolevo
For types with finite enumerations and decidable equality on , any function , and any matrix , this defines , where , , using the total continuous functional calculus and natural logarithm, and is the real infimum of over all natural numbers , nonnegative real weights with , and vectors of Euclidean norm satisfying ; here . Neither being a density matrix nor being a channel is assumed. The infimum is the total real infimum, which is for an empty set or a set unbounded below; an ensemble with cannot satisfy the weight-sum condition.
QAlgorithms.Papers.Independent.Gap48.P36.cyclicNext
For a natural number and an index , this defines the index whose numerical value is
Thus it advances one position cyclically, sending to . Although is allowed as a parameter, there is then no admissible input index ; when , the unique index maps to itself.
QAlgorithms.Papers.Independent.Gap48.P36.entanglementFormation
For finite types , with decidable equality on , and any complex matrix indexed by , this defines the real infimum of over all natural numbers , nonnegative real weights summing to , and unit vectors such that , where , and for , evaluated by continuous functional calculus with the natural logarithm. No density-matrix assumption on is imposed. If there is no such ensemble, the total real infimum is ; in particular, zero-term ensembles cannot have weights summing to , and if is empty there are no unit vectors.
QAlgorithms.Papers.Independent.Gap48.P36.finWeyl
For a natural number and a label , this defines a complex matrix by expressing , originally indexed by residues modulo , in the canonical indexing . Here are the representatives in that range, if modulo and zero otherwise, and is diagonal with . The multiplication order is shift power followed by clock power. For , the result is the identity matrix.
QAlgorithms.Papers.Independent.Gap48.P36.krausLinearizer
For index types , with and finite, a family of complex matrices , and a natural number , this defines a complex matrix indexed by words , with entries
No Kraus completeness or channel condition is imposed on . When , the word index sets each have one element, and the resulting matrix has entry . If is empty and , the defining sum is empty and the matrix is zero.
QAlgorithms.Papers.Independent.Gap48.P36.krausNumber
For finite types , with decidable equality on , and any function from complex matrices to complex matrices, this defines its Kraus number as the infimum in of all natural numbers for which there are matrices satisfying and for every . If such representations exist, this is their least size; if none exists, the natural-number infimum of the empty set is . The value is allowed: its sums are zero, so its completeness condition requires , which holds when is empty.
QAlgorithms.Papers.Independent.Gap48.P36.leftCycle
For an index type with decidable equality and a natural number , this defines the complex matrix indexed by words whose entries are
When , there is one empty word and the matrix has its sole entry equal to , even if is empty. When , this is the identity matrix on words of length one.
QAlgorithms.Papers.Independent.Gap48.P36.maxPauliMultiplierSq
For a natural number and any real function , this defines the real supremum
where bars denote representatives between zero and . For , the indexing set is finite and nonempty, so this is its maximum. For , there are no nonzero labels, and the real supremum of the empty set used here is zero. The weights are unrestricted.
QAlgorithms.Papers.Independent.Gap48.P36.noisyComplement
For finite index types and any family , write . This defines a function on every complex matrix whose output has entries
Here is taken in , with , and denotes conjugate transpose. No conditions on or are imposed. In particular, if is empty, this function is zero.
QAlgorithms.Papers.Independent.Gap48.P36.pauliTwoBound
For a natural number and any real function , this defines
All arithmetic outside the complex modulus is real, and bars denote representatives in . No sign or normalization condition on is assumed. For , the supremum is over an empty set and equals zero, so the defined value is one.
QAlgorithms.Papers.Independent.Gap48.P36.printedMultiplier
For a natural number , an arbitrary real function on , and a label , this defines the complex number
Bars denote representatives in ; their products are ordinary natural-number products, and the displayed subtraction occurs after embedding those products into . No sign or normalization conditions are imposed on . When , the value is .
QAlgorithms.Papers.Independent.Gap48.P36.pureNoisyImage
For finite index types and any family , this defines the set of complex matrices for which there exists a vector of Euclidean norm exactly one such that, for every ,
where , denotes conjugate transpose, and the inverse is the complex inverse. No conditions on are required. If is empty, there is no norm-one vector, so this set is empty.
QAlgorithms.Papers.Independent.Gap48.P36.qubitAxis
For every label , this defines a complex matrix by taking the shift matrix to the power of the first label coordinate, followed by the clock matrix to the power of the second coordinate, and multiplying by precisely when . Explicitly, with rows and columns ordered ,
The zero label is included and gives the identity matrix.
QAlgorithms.Papers.Independent.Gap48.P36.qubitAxisState
For every label and Boolean value , this defines the complex matrix
where the matrices obtained from the specified Weyl operators and the extra factor of at label are
The zero label is included: it gives when is true and the zero matrix when it is false.
QAlgorithms.Papers.Independent.Gap48.P36.qubitLambda
For any real-valued function on and any label in that set, this defines
No positivity or normalization condition is imposed on , and the label is included; for that label the value is .
QAlgorithms.Papers.Independent.Gap48.P36.randomComplement
For finite index types , any family of complex matrices , and any real weights , this defines a function from complex matrices to complex matrices by
where denotes conjugate transpose and the real square roots are embedded in . The input is arbitrary; neither normalization of the weights nor any condition on the matrices is required. A negative weight has square root zero and hence gives . If is empty, the output is the zero matrix.
QAlgorithms.Papers.Independent.Gap48.P36.randomUnitary
For finite types , any matrices , and any real function , this defines the function on complex matrices given by , where and the square root is the total real square root embedded into . Equivalently, . The definition assumes neither that the are unitary nor that the weights are nonnegative or sum to , and it imposes no trace-preservation condition. Negative weights contribute zero, and an empty gives the zero function.
QAlgorithms.Papers.Independent.Gap48.P36.spectralKraus
For finite types with decidable equality and any function , form . When is Hermitian, write and for its chosen indexed eigenvalues and orthonormal eigenvectors; when it is not Hermitian, assign and . This defines a family of matrices, indexed by those with , by , with the real square root embedded into . Negative eigenvalues are not excluded by the index condition; for them the real square root is , so the resulting matrix is zero. The family is empty if is not Hermitian or either index type is empty; the definition itself asserts no completeness or representation identity.
QAlgorithms.Papers.Independent.Gap48.P36.weightMatrix
For an index type with decidable equality and any function , this defines the complex diagonal matrix whose -entry is , embedded in , when , and zero otherwise. The weights may be negative and need not sum to one; an empty gives the unique empty matrix.
QAlgorithms.Papers.Independent.Gap48.P36.weightRoot
For an index type with decidable equality and any function , this defines the complex diagonal matrix whose -entry is , embedded in , when , and zero otherwise. The real square root is zero for negative inputs, so negative weights give zero diagonal entries. No normalization or nonnegativity assumption is imposed on .
QAlgorithms.Papers.Independent.Gap48.P36.weightedKraus
For arbitrary types , any family of complex matrices , and any real-valued function , this defines the matrix family , with the real square root regarded as a complex scalar. There are no finiteness, unitarity, normalization, or nonnegativity assumptions in this definition. If , its real square root is , so .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.