Definitions for On Weyl-covariant channels
DefinitionQAlgorithms_Papers_Independent_Bridge50_P05The objects the formalized statements of On Weyl-covariant channels (arXiv:quant-ph/0510148) are stated in. Each was checked against the paper by a blind read-back and a moderator.
W: PDF p.2: the source's forward-shift, positive-clock Weyl operator.rotateWeylLabel: PDF p.2: J(x,y)=(y,-x).duality: PDF p.2: positive ordinary duality character, arithmetic modulo d.residueSymplectic: PDF pp.2,7: alternating pairing in ZMod d, not a chosen real representative.weylFourierCoefficient: PDF pp.2--3: f_X(z)=Tr(X W_z*)/d.WeylCovariantMap: PDF pp.3--4: Weyl covariance on every operator of a complex-linear map.NormalizedWeylMap: PDF p.4: W1 consists of normalized covariant linear maps; CP is not required.symbol: PDF p.4: the map's symbol is computed from its action, never supplied freely.multiplier: PDF p.4: the complex multiplier on the entire Weyl expansion.fourier: PDF p.4: positive-sign Fourier transform, without a probability restriction.weylConvolution: PDF p.4: convolution on the finite additive phase space.maxSq: PDF pp.4,6: finite squared maximum. Its explicitly disclosed d=1 value is zero. For d>1, inserting zero does not change the maximum of nonnegative squared moduli.optimizers: PDF p.6: the set of maximizing NONZERO Weyl labels.saturationValue: PDF p.5, (2.7): the saturation value, with both square roots retained.eigenSet: PDF p.6: G_psi is computed from a vector; unit normalization is a theorem premise.Degenerate: PDF p.7: pairwise degeneracy modulo d, valid also for the empty set.MaximalDegenerate: PDF p.7: inclusion maximality among degenerate subsets, with actual subgroup data. Cardinality d is derived by the geometry result rather than built into this predicate.annihilator: PDF p.8: annihilator for the ordinary duality form.twoSymbol: PDF p.8, (2.13): complex two-parameter symbol; normalization is explicit.subgroupTwirl: PDF p.9, (2.18): the sum is over the ordinary annihilator G-perp.maximallyMixedReplacement: PDF p.8: the completely depolarizing term, extended linearly to all operators.complexDepolarizing: PDF p.8: the complex-parameter depolarizing map, without a CP restriction.twoMap: PDF p.8, (2.17): the two-parameter family for its computed subgroup twirl.HermiticityPreserving: PDF p.7: Hermitian means Hermiticity preserving, not superoperator self-adjointness.channelTriangle: PDF p.10 and Figure p.14: the CLOSED real parameter triangle; used only for d>=2.diagonalBlock: PDF p.12: D_s in cyclic source order r=1,...,d, with d representing residue zero.complementBlock: PDF pp.12--13: concatenated d complementary Kraus blocks, of size d² by d². Column block t has Weyl factor U^(1-t)V^(1-s), retaining all phases.reorderedKraus: PDF pp.11--12: reorder actual Kraus operators by environment (s,r), corresponding to x=1-r,y=1-s. Nonnegative lambda is the canonical square root.
import Mathlib
import Definitions.Def_QAlgorithms_Defs_MatrixMapPositivity
import Definitions.Def_QAlgorithms_Papers_Independent_Information100_P34
import Definitions.Def_QAlgorithms_Papers_Independent_Information100_P08
import Definitions.Def_QAlgorithms_Papers_Independent_Claimed50_P48
import Definitions.Def_QAlgorithms_Papers_Independent_Gap48_P36
import Definitions.Def_QAlgorithms_Papers_Independent_Information100_P21
/-! Fukuda--Holevo, arXiv:quant-ph/0510148v3. All locators are PDF pages.
The independent-paper override permits imports from the pinned accepted library.
New definitions are confined to this namespace. The two false printed claims are
recorded in HARD.md. Compilation is pending the batch handoff. -/
noncomputable section
namespace QAlgorithms.Papers.Independent.Bridge50.P05
open scoped BigOperators Matrix Kronecker ComplexConjugate ComplexOrder ENNReal
open QAlgorithms.Papers.Independent.Information100.P34 (cyclicPhase weyl dephasing)
open QAlgorithms.Papers.Independent.Information100.P08 (IsPure)
open QAlgorithms.Papers.Independent.Gap48.P36 (WeylLabel)
open QAlgorithms.Papers.Independent.Information100.P21 (Op)
open QAlgorithms.Papers.Independent.Information100.P50 (schattenNorm)
open QAlgorithms.Papers.Independent.Claimed50.P48
(nu superopTensor UniversalMultiplicative rowKraus indexedKrausDilation)
open QAlgorithms.Papers.Independent.Information100.P67 (complementaryChannel)
attribute [local instance] Classical.propDecidable Classical.decEq
variable {d : ℕ} [NeZero d]
/-- PDF p.2: the source's forward-shift, positive-clock Weyl operator. -/
def W (z : WeylLabel d) : Op (ZMod d) := weyl z.1 z.2
/-- PDF p.2: J(x,y)=(y,-x). -/
def rotateWeylLabel (z : WeylLabel d) : WeylLabel d := (z.2, -z.1)
/-- PDF p.2: positive ordinary duality character, arithmetic modulo d. -/
def duality (g z : WeylLabel d) : ℂ := cyclicPhase d (g.1 * z.1 + g.2 * z.2)
/-- PDF pp.2,7: alternating pairing in ZMod d, not a chosen real representative. -/
def residueSymplectic (u v : WeylLabel d) : ZMod d := u.1 * v.2 - u.2 * v.1
/-- PDF pp.2--3: f_X(z)=Tr(X W_z*)/d. -/
def weylFourierCoefficient (X : Op (ZMod d)) (z : WeylLabel d) : ℂ := (X * (W z)ᴴ).trace / (d : ℂ)
/-- PDF pp.3--4: Weyl covariance on every operator of a complex-linear map. -/
def WeylCovariantMap (Phi : Op (ZMod d) →ₗ[ℂ] Op (ZMod d)) : Prop :=
∀ z X, Phi (W z * X * (W z)ᴴ) = W z * Phi X * (W z)ᴴ
/-- PDF p.4: W1 consists of normalized covariant linear maps; CP is not required. -/
def NormalizedWeylMap (Phi : Op (ZMod d) →ₗ[ℂ] Op (ZMod d)) : Prop := WeylCovariantMap Phi ∧ Phi 1 = 1
/-- PDF p.4: the map's symbol is computed from its action, never supplied freely. -/
def symbol (Phi : Superop (ZMod d) (ZMod d)) (z : WeylLabel d) : ℂ :=
weylFourierCoefficient (Phi (W z)) z
/-- PDF p.4: the complex multiplier on the entire Weyl expansion. -/
def multiplier (phi : WeylLabel d → ℂ) : Superop (ZMod d) (ZMod d) :=
fun X => ∑ z, (weylFourierCoefficient X z * phi z) • W z
/-- PDF p.4: positive-sign Fourier transform, without a probability restriction. -/
def fourier (phi : WeylLabel d → ℂ) (g : WeylLabel d) : ℂ :=
(d : ℂ)⁻¹ ^ 2 * ∑ z, phi z * duality g z
/-- PDF p.4: convolution on the finite additive phase space. -/
def weylConvolution (p q : WeylLabel d → ℂ) (g : WeylLabel d) : ℂ := ∑ h, p h * q (g - h)
/-- PDF pp.4,6: finite squared maximum. Its explicitly disclosed d=1 value is zero.
For d>1, inserting zero does not change the maximum of nonnegative squared moduli. -/
def maxSq (phi : WeylLabel d → ℂ) : ℝ :=
if d = 1 then 0 else
((Finset.univ.sup fun z : WeylLabel d =>
if z = 0 then (0 : NNReal) else (⟨‖phi z‖ ^ 2, sq_nonneg _⟩ : NNReal)) : NNReal)
/-- PDF p.6: the set of maximizing NONZERO Weyl labels. -/
def optimizers (phi : WeylLabel d → ℂ) : Set (WeylLabel d) :=
{z | z ≠ 0 ∧ ‖phi z‖ ^ 2 = maxSq phi}
/-- PDF p.5, (2.7): the saturation value, with both square roots retained. -/
def saturationValue (phi : WeylLabel d → ℂ) : ℝ :=
(Real.sqrt d)⁻¹ * Real.sqrt (1 + ((d : ℝ) - 1) * maxSq phi)
/-- PDF p.6: G_psi is computed from a vector; unit normalization is a theorem premise. -/
def eigenSet (psi : EuclideanSpace ℂ (ZMod d)) : Set (WeylLabel d) :=
{z | ∃ c : ℂ, act (W z) psi = c • psi}
/-- PDF p.7: pairwise degeneracy modulo d, valid also for the empty set. -/
def Degenerate (F : Set (WeylLabel d)) : Prop :=
∀ u ∈ F, ∀ v ∈ F, residueSymplectic u v = 0
/-- PDF p.7: inclusion maximality among degenerate subsets, with actual subgroup data.
Cardinality d is derived by the geometry result rather than built into this predicate. -/
def MaximalDegenerate (G : AddSubgroup (WeylLabel d)) : Prop :=
Degenerate (G : Set (WeylLabel d)) ∧
∀ F : Set (WeylLabel d), Degenerate F → (G : Set (WeylLabel d)) ⊆ F → F ⊆ G
/-- PDF p.8: annihilator for the ordinary duality form. -/
def annihilator (G : AddSubgroup (WeylLabel d)) : Set (WeylLabel d) :=
{g | ∀ z ∈ G, g.1 * z.1 + g.2 * z.2 = 0}
/-- PDF p.8, (2.13): complex two-parameter symbol; normalization is explicit. -/
def twoSymbol (G : AddSubgroup (WeylLabel d)) (a b : ℂ) (z : WeylLabel d) : ℂ :=
if z = 0 then 1 else if z ∈ G then a + b else b
/-- PDF p.9, (2.18): the sum is over the ordinary annihilator G-perp. -/
def subgroupTwirl (G : AddSubgroup (WeylLabel d)) : Superop (ZMod d) (ZMod d) :=
fun X => (d : ℂ)⁻¹ • ∑ z ∈ Finset.univ.filter (fun z => z ∈ annihilator G),
W (rotateWeylLabel z) * X * (W (rotateWeylLabel z))ᴴ
/-- PDF p.8: the completely depolarizing term, extended linearly to all operators. -/
def maximallyMixedReplacement (X : Op (ZMod d)) : Op (ZMod d) := (X.trace / (d : ℂ)) • 1
/-- PDF p.8: the complex-parameter depolarizing map, without a CP restriction. -/
def complexDepolarizing (lam : ℂ) : Superop (ZMod d) (ZMod d) :=
fun X => lam • X + (1 - lam) • maximallyMixedReplacement X
/-- PDF p.8, (2.17): the two-parameter family for its computed subgroup twirl. -/
def twoMap (G : AddSubgroup (WeylLabel d)) (a b : ℂ) : Superop (ZMod d) (ZMod d) :=
fun X => a • subgroupTwirl G X + b • X + (1 - a - b) • maximallyMixedReplacement X
/-- PDF p.7: Hermitian means Hermiticity preserving, not superoperator self-adjointness. -/
def HermiticityPreserving (Phi : Op (ZMod d) →ₗ[ℂ] Op (ZMod d)) : Prop :=
∀ X, X.IsHermitian → (Phi X).IsHermitian
/-- PDF p.10 and Figure p.14: the CLOSED real parameter triangle; used only for d>=2. -/
def channelTriangle (d : ℕ) : Set (ℝ × ℝ) :=
convexHull ℝ {((0 : ℝ), (1 : ℝ)), (-1 / ((d : ℝ) - 1), 0),
((d : ℝ) / ((d : ℝ) - 1), -1 / ((d : ℝ) - 1))}
/-- PDF p.12: D_s in cyclic source order r=1,...,d, with d representing residue zero. -/
def diagonalBlock (lam : WeylLabel d → ℝ) (s : ZMod d) : Op (ZMod d) :=
Matrix.diagonal fun r => (lam (1 - r, 1 - s) : ℂ)
/-- PDF pp.12--13: concatenated d complementary Kraus blocks, of size d² by d².
Column block t has Weyl factor U^(1-t)V^(1-s), retaining all phases. -/
def complementBlock (lam : WeylLabel d → ℝ) : Matrix (WeylLabel d) (WeylLabel d) ℂ :=
fun sr tu =>
let M : Op (ZMod d) := diagonalBlock lam sr.1 * W (1 - tu.1, 1 - sr.1)
M sr.2 tu.2
/-- PDF pp.11--12: reorder actual Kraus operators by environment (s,r),
corresponding to x=1-r,y=1-s. Nonnegative lambda is the canonical square root. -/
def reorderedKraus (lam : WeylLabel d → ℝ) (sr : WeylLabel d) : Op (ZMod d) :=
(lam (1 - sr.2, 1 - sr.1) : ℂ) • W (1 - sr.2, 1 - sr.1)
/-- Sanity checks: J has square minus identity and the d=1 maximum is explicit. -/
example (z : WeylLabel d) : rotateWeylLabel (rotateWeylLabel z) = -z := by
apply Prod.ext <;> simp [rotateWeylLabel]
example (phi : WeylLabel 1 → ℂ) : maxSq phi = 0 := by simp [maxSq]
example (G : AddSubgroup (WeylLabel d)) (a b : ℂ) : twoSymbol G a b 0 = 1 := by
simp [twoSymbol]
example (lam : WeylLabel d → ℝ) (s r : ZMod d) :
diagonalBlock lam s r r = (lam (1 - r, 1 - s) : ℂ) := by
simp [diagonalBlock]
end QAlgorithms.Papers.Independent.Bridge50.P05
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
QAlgorithms.Papers.Independent.Bridge50.P05.Degenerate
For a natural number and any subset , this predicate means that every and every satisfy
The set need not be a subgroup, and the empty set satisfies the predicate vacuously. For , .
QAlgorithms.Papers.Independent.Bridge50.P05.HermiticityPreserving
For a natural number and a complex-linear map from complex matrices indexed by to matrices with the same indices, this predicate means
The quantifier covers every Hermitian matrix, without a positivity or trace condition. For , the matrices are indexed by .
QAlgorithms.Papers.Independent.Bridge50.P05.MaximalDegenerate
For a natural number and an additive subgroup , this predicate means that for every , and that every subset satisfying this same pairwise condition and containing is itself contained in , hence equals . Maximality is taken among all subsets satisfying the condition, without requiring those subsets to be subgroups. For , the coordinates lie in .
QAlgorithms.Papers.Independent.Bridge50.P05.NormalizedWeylMap
For every natural number and complex-linear map on complex matrices indexed by , this property is the conjunction of and the identities for every matrix and every . Here is the identity matrix, , are the least nonnegative representatives, when and zero otherwise, and is diagonal with . The case is included.
QAlgorithms.Papers.Independent.Bridge50.P05.W
For every natural number and label , this defines the complex matrix indexed by , where represent , the shift matrix has entries if and otherwise, and is diagonal with for the representative of . The case is included.
QAlgorithms.Papers.Independent.Bridge50.P05.WeylCovariantMap
For every natural number and complex-linear map from complex matrices indexed by to matrices with the same indices, this property means that, for every label and every such matrix , . Here , the exponents are the least nonnegative representatives of , if and zero otherwise, and is diagonal with . The case is included, and in that case this property holds for every complex-linear .
QAlgorithms.Papers.Independent.Bridge50.P05.annihilator
For a natural number and an additive subgroup , this defines
with the equality and arithmetic taken in . For the zero subgroup this is the entire label space; uses integer arithmetic.
QAlgorithms.Papers.Independent.Bridge50.P05.channelTriangle
For every natural number , this defines the subset of consisting of all convex combinations of
where is interpreted as a real number in these coordinates. Division by zero is defined to be zero: consequently, for this is the line segment joining and . For , it is the line segment joining and .
QAlgorithms.Papers.Independent.Bridge50.P05.complementBlock
For a nonzero natural number and any real function , this defines a complex matrix indexed by pairs of residues. Write when , and otherwise; let be diagonal with , where is the standard representative, and put . Then
All label arithmetic is modulo , and is unrestricted in sign and size. The case is included.
QAlgorithms.Papers.Independent.Bridge50.P05.complexDepolarizing
For a nonzero natural number and any complex number , this defines the function on arbitrary complex matrices
There is no realness or interval restriction on . When , this function is the identity for every .
QAlgorithms.Papers.Independent.Bridge50.P05.diagonalBlock
For a natural number , a real function , and , this defines the complex matrix , indexed by , by
The real diagonal entries are embedded into , and the subtractions take place in . No nonnegativity or normalization is required of . The definition also permits , for which the residue type used here is .
QAlgorithms.Papers.Independent.Bridge50.P05.duality
For every natural number and labels and in , this defines a complex number by first computing in and then taking , where, when , represents . For , complex division by zero is defined to give zero, so the resulting value is ; the value is also for .
QAlgorithms.Papers.Independent.Bridge50.P05.eigenSet
For a nonzero natural number and any vector , this defines the set of labels for which there exists such that
Here are the residue representatives, when and is otherwise, and is diagonal with . No normalization or nonzero condition is imposed on ; for , every label belongs to the set.
QAlgorithms.Papers.Independent.Bridge50.P05.fourier
For every natural number , arbitrary function , and label , this defines
where denotes the least nonnegative representative of the residue . The sum includes every label, including zero; for , the result is the value of at the unique label.
QAlgorithms.Papers.Independent.Bridge50.P05.maxSq
For every natural number and arbitrary function , this defines a real number equal to zero when . Otherwise it is the maximum over all labels of the nonnegative quantity that is zero at and at every nonzero label; equivalently, for , it is . Thus the value does not contribute.
QAlgorithms.Papers.Independent.Bridge50.P05.maximallyMixedReplacement
For a nonzero natural number and any complex matrix indexed by , this defines
No positivity or trace normalization is assumed for ; when , the result equals .
QAlgorithms.Papers.Independent.Bridge50.P05.multiplier
For every natural number and arbitrary function , this defines a function on complex matrices indexed by by
Here, for , , with least nonnegative representatives , shift entries when and zero otherwise, and diagonal entries . The input is arbitrary, the sum includes the zero label, and is allowed.
QAlgorithms.Papers.Independent.Bridge50.P05.optimizers
For a nonzero natural number and any function , this defines the set
where if , and otherwise is the maximum of over nonzero labels . Thus the set is empty when ; no condition is imposed on .
QAlgorithms.Papers.Independent.Bridge50.P05.reorderedKraus
For a nonzero natural number , any real function , and a label , this defines
Here , with if and zero otherwise, and diagonal with entries ; denotes the standard residue representative. Label arithmetic is modulo , and the scalar is the value of itself, embedded into . No positivity or normalization assumption is imposed on , and is permitted.
QAlgorithms.Papers.Independent.Bridge50.P05.residueSymplectic
For every natural number and labels and in , this defines the element of , with all arithmetic performed in that ring. The definition includes , where the arithmetic is integer arithmetic, and , where the result is always zero.
QAlgorithms.Papers.Independent.Bridge50.P05.rotateWeylLabel
For every natural number and every pair , this defines its rotated label to be , with negation in . This also includes , for which the coordinate ring is , and , for which there is only one label.
QAlgorithms.Papers.Independent.Bridge50.P05.saturationValue
For a nonzero natural number and any function , this defines the real number
where for , and otherwise . In particular, the value is when .
QAlgorithms.Papers.Independent.Bridge50.P05.subgroupTwirl
For a nonzero natural number and any additive subgroup , this defines a function on complex matrices indexed by by
Here all label arithmetic is modulo , representatives lie in , if and otherwise, and is diagonal with . The prefactor is for every , and is arbitrary.
QAlgorithms.Papers.Independent.Bridge50.P05.symbol
For every natural number , arbitrary function from complex matrices indexed by to matrices with the same indices, and label , this defines the complex number . Here , the exponents are the least nonnegative representatives of , if and zero otherwise, and is diagonal with . The function is not required to be linear or a channel, and is included.
QAlgorithms.Papers.Independent.Bridge50.P05.twoMap
For a nonzero natural number , an arbitrary additive subgroup , and arbitrary complex numbers , this defines
for every complex matrix indexed by . Here , is if and otherwise, and is diagonal with entries , using residue representatives in . No further condition is imposed on ; for , the function is the identity.
QAlgorithms.Papers.Independent.Bridge50.P05.twoSymbol
For a natural number , an additive subgroup , complex numbers , and a label , this defines
The zero-label case takes precedence regardless of . When , the function is identically ; is also allowed, with integer-coordinate labels.
QAlgorithms.Papers.Independent.Bridge50.P05.weylConvolution
For every natural number , arbitrary complex-valued functions on , and label in that set, this defines their convolution at to be , where subtraction is coordinatewise modulo . No normalization factor is included. For , this is the product of the two functions’ values at the unique label.
QAlgorithms.Papers.Independent.Bridge50.P05.weylFourierCoefficient
For every natural number , arbitrary complex matrix indexed by , and label , this defines the complex coefficient . Here denotes conjugate transpose, , are the least nonnegative representatives of , is when and zero otherwise, and is diagonal with , where represents . No restriction is imposed on .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.