Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Definitions for Quantum channels with polytopic images and image additivity

Definition
QAlgorithms_Papers_Independent_Intakenext100_P01

by Gohan · Oct 30, 2026 · Mathlib 0df444a (Lean v4.33.1)

prove2quantum

The objects the formalized statements of Quantum channels with polytopic images and image additivity (arXiv:1408.2340) are stated in. Each was checked against the paper by a blind read-back and a moderator.

  • channelImage: §2, PDF p.2: the physical image, never the range on all operators.
  • IsVertex: §3, Definition 3.1, PDF p.4: intersection of all supporting hyperplanes is a singleton. The ambient real space is the matrix space, including for non-Hermitian linear-map images. Membership and the singleton intersection imply the boundary condition in positive dimension. This is stronger than being an extreme point of a general convex set.
  • HasVertices: §3, PDF pp.4–6: the displayed list is precisely the distinct extreme points of a polytope.
  • IsPolytopic: §2, PDF p.3: finite convex hull, including the empty hull as a set-theoretic polytope. Positive-dimensional channel inputs always have a nonempty physical image.
  • affineDimension: §3, PDF p.6: real affine dimension; used only on nonempty physical images.
  • compressToSubspace: §3, PDF p.6: compression P_V A P_V, with no trace-one requirement on the result.
  • IsSupportedOn: §3, PDF pp.5–6: operators in End(V), embedded in the ambient matrix algebra.
  • restrictedImage: §3, PDF pp.5–6: physical image of the actual restriction of T to End(V). For V=0 the state set, hence this image, is empty.
  • vertexFibre: §3, equation (8), PDF p.6: the subspace constructed from all pure preimages.
  • vertexSpace: §3, PDF p.6: orthogonal sum of the vertex-fibre spaces (orthogonality is concluded).
  • BasisMeasurementOn: §3, PDF pp.5–6: basis-measurement formula on End(V). No positivity of the output matrices is imposed here: the same definition is used for the explicitly announced linear-map extension. For CPTP T the basis outputs are density matrices.
  • CanonicalDecomposition: Proposition 3.4, PDF pp.5–6: canonical subspaces, nonzero vertex fibres, orthogonality, full decomposition, and both identities in (7). Restrictions are applications of T itself. The identity is stated on all operators by complex-linear extension of (7).
  • TwoPureGeometry: Lemma 3.2, PDF pp.4–5, including the moreover clause. Different pure states means different projectors. x_perp is a unit vector, and the formula is on every operator on H.
  • FibreSpanGeometry: Corollary 3.3, PDF p.5: no independence or orthogonality assumption on the given vectors.
  • VertexDecompositionGeometry: Proposition 3.4, PDF pp.5–6: the listed vertices need not exhaust the image. No polytopic-image assumption is used. k=0 is allowed.
  • PolytopeGeometry: Theorem 3.5, PDF p.6: both directions. The forward direction uses canonical fibres. The converse quantifies over arbitrary nonzero orthogonal blocks, whose output list must be exactly the distinct vertices of its hull. Internal zero-dimensional residual blocks are allowed.
  • DimensionGeometry: Corollary 3.6, PDF p.6: real affine dimension and both inequalities.
  • HasHolevoRepresentation: Definition 2.1, PDF pp.2–3: the Holevo formula on all operators.
  • IsEssentialCQ: Definition 2.1(2), PDF p.3: the norm is the spectral operator norm.
  • HasCQRepresentation: Definition 2.1(3), PDF p.3: a full orthonormal-basis measurement.
  • cqMap: §3, PDF p.6, and §7, PDF pp.13–14: the actual basis-measurement map.
  • diagonalBlockSum: Lemma 7.2, PDF p.12: kill off-diagonal blocks, and add the channel actions on the two diagonal blocks. The sum-index register is canonically the (d1+d2)-dimensional input.
  • tensorOnFunctions: Definition 6.1, PDF p.10: physical tensor action by matrix-unit expansion, including entangled inputs. It is not defined through the desired product-image hull.
  • IsImageAdditive: Definition 6.1(i), PDF p.10: product-image convex hull.
  • IsUniversalImageAdditive: Definition 6.1, PDF p.10: all other positive finite dimensions and all CPTP maps.
  • minimumOutputRenyiEntropy: §4, PDF p.7: minimum output entropy. Used only for CPTP maps with nonempty finite input and p≥1. Then the set is nonempty and compact, the entropy is continuous and bounded, and this infimum is the attained minimum, not an empty/unbounded-set default.
  • conjugateMap: §4, PDF p.8: conjugate all Kraus matrices, equivalently conjugate the input and output.
  • cesaroAverage: §5, equation (14), PDF p.9: (1/N) sum of iterates numbered 1 through N. At N=0 this auxiliary average is zero; the limit is at infinity.
  • cesaroLimit: §5, equation (14), PDF p.9: the actual pointwise Cesàro limit, with a default of zero only if convergence fails. Theorem 5.3 explicitly concludes convergence for every A.
  • fixedOperators: §5, equation (16), PDF p.9: all fixed operators, not only fixed density matrices.
  • qubitDensityFromBloch: Appendix A, PDF p.15: reuse the accepted Bloch state (I+w·sigma)/2, transporting false,true to the finite computational basis 0,1. Source correction: printed (22) is I/2 + sum w_j sigma_j; changed to (I + sum w_j sigma_j)/2, because the stated unit Bloch ball and the radii in Propositions 7.3-7.4 require the latter normalization.
  • blochDisc: Proposition 7.3, PDF p.13: a filled centered disc of radius r, in any two-plane.
  • blochBall: Proposition 7.4, PDF p.14: source's “sphere” is the filled Bloch ball.
  • qubitDepolarizing: Proposition 7.4, PDF p.14: reuse accepted trace-linear depolarization. The accepted parameter is replacement probability; the paper uses retained-signal r.
  • trineVector: §2, equation (4), PDF p.3: omega^(j+1) in its two REAL coordinates in C²; omega=exp(2pii/3) is primitive, and the vectors have Euclidean norm one.
  • trineEffect: §2, equation (4), PDF p.3: two-thirds of a rank-one trine projection.
  • trineMap: §2, equation (4), PDF p.3: the actual M₂→M₃ example, in a chosen output basis.
  • trineCircle: §2, PDF pp.3–4: the filled circle in the trace-one diagonal plane, parametrized by the two real Bloch coordinates that the trine measurement sees.
Definition code
import Mathlib
import Definitions.Def_QAlgorithms_Defs_Channel
import Definitions.Def_QAlgorithms_Defs_BipartiteSeparability
import Definitions.Def_QAlgorithms_Papers_Independent_Information100_P44
import Definitions.Def_QAlgorithms_Papers_Independent_Information100_P07
import Definitions.Def_QAlgorithms_Papers_Independent_Dependency50_P23
import Definitions.Def_QAlgorithms_Papers_Independent_Dependency50_P05
import Definitions.Def_QAlgorithms_Papers_Independent_Information100_P59
import Definitions.Def_QAlgorithms_Papers_Independent_Information100_P08

/-!
Statements from Fukuda–Nechita–Wolf, arXiv:1408.2340v1.
All page numbers are PDF page numbers. Exact interfaces are reused from pinned accepted
library modules; new adapters and geometry are paper-local. Compilation is pending the
mechanical batch handoff.
Source correction: PDF p.7 prints +sum x log x at p=1; the reused entropy uses
-sum x log_2 x, agreeing with the stated p-to-1 limit. Independent moderation of
this existing correction remains required.
-/

noncomputable section

open scoped Matrix ComplexConjugate ComplexOrder
open Filter

attribute [local instance] Classical.propDecidable
attribute [local instance] Classical.decEq

namespace QAlgorithms.Papers.Independent.Intakenext100.P01

-- Only pinned accepted-library modules are imported, under the independent-paper override.
open QAlgorithms.Papers.Independent.Information100.P44 (Mat)
open QAlgorithms.Papers.Independent.Information100.P07 (projection)
open QAlgorithms.Papers.Independent.Dependency50.P23 (IsEB)
open QAlgorithms.Papers.Independent.Dependency50.P05 (renyiEntropy)

/-- §2, PDF p.2: the physical image, never the range on all operators. -/
def channelImage {I J : Type*} [Fintype I] (T : Superop I J) :
    Set (Matrix J J ℂ) := T '' {A | IsDensityMatrix A}

/-- §3, Definition 3.1, PDF p.4: intersection of all supporting hyperplanes is a singleton.
The ambient real space is the matrix space, including for non-Hermitian linear-map images.
Membership and the singleton intersection imply the boundary condition in positive dimension.
This is stronger than being an extreme point of a general convex set. -/
def IsVertex {n : ℕ} (C : Set (Mat n)) (x : Mat n) : Prop :=
  x ∈ C ∧ {y | ∀ f : Mat n →ₗ[ℝ] ℝ,
    f ≠ 0 → (∀ z ∈ C, f z ≤ f x) → f y = f x} = {x}

/-- §3, PDF pp.4–6: the displayed list is precisely the distinct extreme points of a polytope. -/
def HasVertices {n k : ℕ} (C : Set (Mat n)) (s : Fin k → Mat n) : Prop :=
  Function.Injective s ∧ C = convexHull ℝ (Set.range s) ∧
    C.extremePoints ℝ = Set.range s

/-- §2, PDF p.3: finite convex hull, including the empty hull as a set-theoretic polytope.
Positive-dimensional channel inputs always have a nonempty physical image. -/
def IsPolytopic {J : Type*} (C : Set (Matrix J J ℂ)) : Prop :=
  ∃ k : ℕ, ∃ s : Fin k → Matrix J J ℂ, C = convexHull ℝ (Set.range s)

/-- §3, PDF p.6: real affine dimension; used only on nonempty physical images. -/
def affineDimension {n : ℕ} (C : Set (Mat n)) : ℕ :=
  Module.finrank ℝ (affineSpan ℝ C).direction

/-- §3, PDF p.6: compression P_V A P_V, with no trace-one requirement on the result. -/
def compressToSubspace {d : ℕ} (V : Submodule ℂ (EuclideanSpace ℂ (Fin d))) (A : Mat d) : Mat d :=
  projection V * A * projection V

/-- §3, PDF pp.5–6: operators in End(V), embedded in the ambient matrix algebra. -/
def IsSupportedOn {d : ℕ} (V : Submodule ℂ (EuclideanSpace ℂ (Fin d))) (A : Mat d) : Prop :=
  compressToSubspace V A = A

/-- §3, PDF pp.5–6: physical image of the actual restriction of T to End(V).
For V=0 the state set, hence this image, is empty. -/
def restrictedImage {d n : ℕ} (T : Superop (Fin d) (Fin n))
    (V : Submodule ℂ (EuclideanSpace ℂ (Fin d))) : Set (Mat n) :=
  T '' {A | IsDensityMatrix A ∧ IsSupportedOn V A}

/-- §3, equation (8), PDF p.6: the subspace constructed from all pure preimages. -/
def vertexFibre {d n : ℕ} (T : Superop (Fin d) (Fin n)) (s : Mat n) :
    Submodule ℂ (EuclideanSpace ℂ (Fin d)) :=
  Submodule.span ℂ {x | ‖x‖ = 1 ∧ T (pureDensity x) = s}

/-- §3, PDF p.6: orthogonal sum of the vertex-fibre spaces (orthogonality is concluded). -/
def vertexSpace {d n k : ℕ} (T : Superop (Fin d) (Fin n)) (s : Fin k → Mat n) :
    Submodule ℂ (EuclideanSpace ℂ (Fin d)) := ⨆ i, vertexFibre T (s i)

/-- §3, PDF pp.5–6: basis-measurement formula on End(V). No positivity of the output
matrices is imposed here: the same definition is used for the explicitly announced linear-map
extension. For CPTP T the basis outputs are density matrices. -/
def BasisMeasurementOn {d n : ℕ} (T : Superop (Fin d) (Fin n))
    (V : Submodule ℂ (EuclideanSpace ℂ (Fin d))) : Prop :=
  ∃ e : OrthonormalBasis (Fin (Module.finrank ℂ V)) ℂ V,
    ∃ s : Fin (Module.finrank ℂ V) → Mat n,
    ∀ A, IsSupportedOn V A → T A = ∑ i,
      (Matrix.trace (pureDensity (e i : EuclideanSpace ℂ (Fin d)) * A)) • s i

/-- Proposition 3.4, PDF pp.5–6: canonical subspaces, nonzero vertex fibres, orthogonality,
full decomposition, and both identities in (7). Restrictions are applications of T itself.
The identity is stated on all operators by complex-linear extension of (7). -/
def CanonicalDecomposition {d n k : ℕ} (T : Superop (Fin d) (Fin n))
    (s : Fin k → Mat n) : Prop :=
  let U := vertexFibre T ∘ s
  let V := vertexSpace T s
  (∀ i, 0 < Module.finrank ℂ (U i)) ∧
  (∀ i j, i ≠ j → ∀ x ∈ U i, ∀ y ∈ U j, inner ℂ x y = 0) ∧
  V ⊔ Vᗮ = ⊤ ∧ BasisMeasurementOn T V ∧
  ∀ A, T A = T (compressToSubspace V A) + T (compressToSubspace (Vᗮ) A) ∧
    T (compressToSubspace V A) = ∑ i, (Matrix.trace (projection (U i) * A)) • s i

/-- Lemma 3.2, PDF pp.4–5, including the moreover clause. Different pure states means
different projectors. x_perp is a unit vector, and the formula is on every operator on H. -/
def TwoPureGeometry {d n : ℕ} (T : Superop (Fin d) (Fin n)) : Prop :=
  ∀ x y : EuclideanSpace ℂ (Fin d), ‖x‖ = 1 → ‖y‖ = 1 → pureDensity x ≠ pureDensity y →
    IsVertex (channelImage T) (T (pureDensity x)) →
    let H := Submodule.span ℂ ({x, y} : Set (EuclideanSpace ℂ (Fin d)))
    (∃ z : EuclideanSpace ℂ (Fin d), ‖z‖ = 1 ∧ z ∈ H ∧ inner ℂ x z = 0 ∧
      ∀ A, IsSupportedOn H A → T A =
        (Matrix.trace (pureDensity x * A)) • T (pureDensity x) +
        (Matrix.trace (pureDensity z * A)) • T (pureDensity z)) ∧
    (IsVertex (channelImage T) (T (pureDensity y)) →
      T (pureDensity y) ≠ T (pureDensity x) → inner ℂ x y = 0)

/-- Corollary 3.3, PDF p.5: no independence or orthogonality assumption on the given vectors. -/
def FibreSpanGeometry {d n : ℕ} (T : Superop (Fin d) (Fin n)) : Prop :=
  ∀ (s : Mat n), IsVertex (channelImage T) s →
    ∀ (k : ℕ) (x : Fin k → EuclideanSpace ℂ (Fin d)),
    (∀ i, ‖x i‖ = 1 ∧ T (pureDensity (x i)) = s) →
    ∀ y ∈ Submodule.span ℂ (Set.range x), ‖y‖ = 1 → T (pureDensity y) = s

/-- Proposition 3.4, PDF pp.5–6: the listed vertices need not exhaust the image.
No polytopic-image assumption is used. k=0 is allowed. -/
def VertexDecompositionGeometry {d n : ℕ} (T : Superop (Fin d) (Fin n)) : Prop :=
  ∀ (k : ℕ) (s : Fin k → Mat n), Function.Injective s →
    (∀ i, IsVertex (channelImage T) (s i)) → CanonicalDecomposition T s

/-- Theorem 3.5, PDF p.6: both directions. The forward direction uses canonical fibres.
The converse quantifies over arbitrary nonzero orthogonal blocks, whose output list must be
exactly the distinct vertices of its hull. Internal zero-dimensional residual blocks are allowed. -/
def PolytopeGeometry {d n : ℕ} (T : Superop (Fin d) (Fin n)) : Prop :=
  (∀ (k : ℕ) (s : Fin k → Mat n), 0 < k → HasVertices (channelImage T) s →
    CanonicalDecomposition T s ∧
      restrictedImage T ((vertexSpace T s)ᗮ) ⊆ restrictedImage T (vertexSpace T s) ∧
      (∀ i, s i ∉ restrictedImage T ((vertexSpace T s)ᗮ))) ∧
  (∀ (k : ℕ) (s : Fin k → Mat n) (U : Fin k → Submodule ℂ (EuclideanSpace ℂ (Fin d))),
    0 < k → HasVertices (convexHull ℝ (Set.range s)) s →
    (∀ i, 0 < Module.finrank ℂ (U i)) →
    (∀ i j, i ≠ j → ∀ x ∈ U i, ∀ y ∈ U j, inner ℂ x y = 0) →
    let V := ⨆ i, U i
    (∀ A, T A = (∑ i, (Matrix.trace (projection (U i) * A)) • s i) +
      T (compressToSubspace (Vᗮ) A)) →
    restrictedImage T (Vᗮ) ⊆ restrictedImage T V →
    (∀ i, s i ∉ restrictedImage T (Vᗮ)) → HasVertices (channelImage T) s)

/-- Corollary 3.6, PDF p.6: real affine dimension and both inequalities. -/
def DimensionGeometry {d n : ℕ} (T : Superop (Fin d) (Fin n)) : Prop :=
  ∀ (k : ℕ) (s : Fin k → Mat n), 0 < k → HasVertices (channelImage T) s →
    affineDimension (channelImage T) ≤ k - 1 ∧ k - 1 ≤ d - 1

/-- Definition 2.1, PDF pp.2–3: the Holevo formula on all operators. -/
def HasHolevoRepresentation {I J : Type*} [Fintype I] {k : ℕ}
    (T : Superop I J) (M : Fin k → Matrix I I ℂ) (s : Fin k → Matrix J J ℂ) : Prop :=
  ∀ A, T A = ∑ i, (Matrix.trace (M i * A)) • s i

/-- Definition 2.1(2), PDF p.3: the norm is the spectral operator norm. -/
def IsEssentialCQ {I J : Type*} [Fintype I] [Fintype J] [DecidableEq I]
    (T : Superop I J) : Prop :=
  ∃ k : ℕ, ∃ M : Fin k → Matrix I I ℂ, ∃ s : Fin k → Matrix J J ℂ,
    IsPOVM M ∧ (∀ i, specNorm (M i) = 1) ∧
    (∀ i, IsDensityMatrix (s i)) ∧ HasHolevoRepresentation T M s

/-- Definition 2.1(3), PDF p.3: a full orthonormal-basis measurement. -/
def HasCQRepresentation {d n : ℕ} (T : Superop (Fin d) (Fin n)) : Prop :=
  ∃ e : OrthonormalBasis (Fin d) ℂ (EuclideanSpace ℂ (Fin d)), ∃ s : Fin d → Mat n,
    (∀ i, IsDensityMatrix (s i)) ∧
    HasHolevoRepresentation T (fun i => pureDensity (e i)) s

/-- §3, PDF p.6, and §7, PDF pp.13–14: the actual basis-measurement map. -/
def cqMap {d n : ℕ} (e : OrthonormalBasis (Fin d) ℂ (EuclideanSpace ℂ (Fin d)))
    (s : Fin d → Mat n) : Superop (Fin d) (Fin n) :=
  fun A => ∑ i, (Matrix.trace (pureDensity (e i) * A)) • s i

/-- Lemma 7.2, PDF p.12: kill off-diagonal blocks, and add the channel actions on the
two diagonal blocks. The sum-index register is canonically the (d1+d2)-dimensional input. -/
def diagonalBlockSum {I J K : Type*} (T : Superop I K) (S : Superop J K) :
    Superop (I ⊕ J) K :=
  fun A => T (A.submatrix Sum.inl Sum.inl) + S (A.submatrix Sum.inr Sum.inr)

/-- Definition 6.1, PDF p.10: physical tensor action by matrix-unit expansion,
including entangled inputs. It is not defined through the desired product-image hull. -/
def tensorOnFunctions {I J K L : Type*} [Fintype I] [Fintype J] [DecidableEq I] [DecidableEq J]
    (T : Superop I K) (S : Superop J L) : Superop (I × J) (K × L) :=
  fun A => Matrix.of fun a b => ∑ i, ∑ j, ∑ k, ∑ l,
    A (i, k) (j, l) * T (Matrix.single i j 1) a.1 b.1 *
      S (Matrix.single k l 1) a.2 b.2

/-- Definition 6.1(i), PDF p.10: product-image convex hull. -/
def IsImageAdditive {I J K L : Type*} [Fintype I] [Fintype J]
    [DecidableEq I] [DecidableEq J] (T : Superop I K) (S : Superop J L) : Prop :=
  channelImage (tensorOnFunctions T S) = convexHull ℝ
    {B | ∃ A ∈ channelImage T, ∃ C ∈ channelImage S, B = Matrix.kronecker A C}

/-- Definition 6.1, PDF p.10: all other positive finite dimensions and all CPTP maps. -/
def IsUniversalImageAdditive {d n : ℕ} (T : Superop (Fin d) (Fin n)) : Prop :=
  ∀ a b : ℕ, 0 < a → 0 < b → ∀ S : Superop (Fin a) (Fin b),
    IsChannel S → IsImageAdditive T S

/-- §4, PDF p.7: minimum output entropy. Used only for CPTP maps with nonempty finite
input and p≥1. Then the set is nonempty and compact, the entropy is continuous and bounded,
and this infimum is the attained minimum, not an empty/unbounded-set default. -/
def minimumOutputRenyiEntropy {I J : Type} [Fintype I] [Fintype J] [DecidableEq J]
    (p : ℝ) (T : Superop I J) : ℝ :=
  sInf (renyiEntropy p '' channelImage T)

/-- §4, PDF p.8: conjugate all Kraus matrices, equivalently conjugate the input and output. -/
def conjugateMap {I J : Type*} (T : Superop I J) : Superop I J :=
  fun A => (T (A.map star)).map star

/-- §5, equation (14), PDF p.9: (1/N) sum of iterates numbered 1 through N. At N=0
this auxiliary average is zero; the limit is at infinity. -/
def cesaroAverage {d : ℕ} (T : Superop (Fin d) (Fin d)) (N : ℕ) (A : Mat d) : Mat d :=
  (N : ℂ)⁻¹ • ∑ j ∈ Finset.range N, (T^[j + 1]) A

/-- §5, equation (14), PDF p.9: the actual pointwise Cesàro limit, with a default of zero
only if convergence fails. Theorem 5.3 explicitly concludes convergence for every A. -/
def cesaroLimit {d : ℕ} (T : Superop (Fin d) (Fin d)) (A : Mat d) : Mat d :=
  if h : ∃ B, Tendsto (fun N => cesaroAverage T N A) atTop (nhds B) then h.choose else 0

/-- §5, equation (16), PDF p.9: all fixed operators, not only fixed density matrices. -/
def fixedOperators {d : ℕ} (T : Superop (Fin d) (Fin d)) : Set (Mat d) := {A | T A = A}

/-- Appendix A, PDF p.15: reuse the accepted Bloch state (I+w·sigma)/2,
transporting false,true to the finite computational basis 0,1.
Source correction: printed (22) is I/2 + sum w_j sigma_j; changed to
(I + sum w_j sigma_j)/2, because the stated unit Bloch ball and the radii
in Propositions 7.3-7.4 require the latter normalization. -/
def qubitDensityFromBloch (w : EuclideanSpace ℝ (Fin 3)) : Mat 2 :=
  (QAlgorithms.Papers.Independent.Information100.P59.blochState (fun j => w j)).submatrix
    (fun i : Fin 2 => i.val == 1) (fun i : Fin 2 => i.val == 1)

/-- Proposition 7.3, PDF p.13: a filled centered disc of radius r, in any two-plane. -/
def blochDisc (r : ℝ) (L : Submodule ℝ (EuclideanSpace ℝ (Fin 3))) : Set (Mat 2) :=
  qubitDensityFromBloch '' {w | w ∈ L ∧ ‖w‖ ≤ r}

/-- Proposition 7.4, PDF p.14: source's “sphere” is the filled Bloch ball. -/
def blochBall (r : ℝ) : Set (Mat 2) := qubitDensityFromBloch '' {w | ‖w‖ ≤ r}

/-- Proposition 7.4, PDF p.14: reuse accepted trace-linear depolarization.
The accepted parameter is replacement probability; the paper uses retained-signal r. -/
def qubitDepolarizing (r : ℝ) : Superop (Fin 2) (Fin 2) :=
  QAlgorithms.Papers.Independent.Information100.P08.depolarizing 2 (1 - r)

/-- §2, equation (4), PDF p.3: omega^(j+1) in its two REAL coordinates in C²;
omega=exp(2*pi*i/3) is primitive, and the vectors have Euclidean norm one. -/
def trineVector (j : Fin 3) : EuclideanSpace ℂ (Fin 2) :=
  WithLp.toLp 2 ![(Real.cos (2 * Real.pi * (j.val + 1) / 3) : ℂ),
    (Real.sin (2 * Real.pi * (j.val + 1) / 3) : ℂ)]

/-- §2, equation (4), PDF p.3: two-thirds of a rank-one trine projection. -/
def trineEffect (j : Fin 3) : Mat 2 := (2 / 3 : ℂ) • pureDensity (trineVector j)

/-- §2, equation (4), PDF p.3: the actual M₂→M₃ example, in a chosen output basis. -/
def trineMap : Superop (Fin 2) (Fin 3) :=
  fun A => ∑ j, (Matrix.trace (trineEffect j * A)) • pureDensity (ket j)

/-- §2, PDF pp.3–4: the filled circle in the trace-one diagonal plane, parametrized by
the two real Bloch coordinates that the trine measurement sees. -/
def trineCircle : Set (Mat 3) :=
  {A | ∃ a b : ℝ, a ^ 2 + b ^ 2 ≤ 1 ∧ A = Matrix.diagonal (fun j : Fin 3 =>
    ((1 / 3 + (a * Real.cos (4 * Real.pi * (j.val + 1) / 3) +
      b * Real.sin (4 * Real.pi * (j.val + 1) / 3)) / 3 : ℝ) : ℂ))}

/-! Small sanity examples pin definitions without proving any paper result. -/

example {d : ℕ} (V : Submodule ℂ (EuclideanSpace ℂ (Fin d))) : compressToSubspace V (0 : Mat d) = 0 := by
  simp [compressToSubspace]

example {d n : ℕ} (T : Superop (Fin d) (Fin n)) (A : Mat n) :
    A ∈ channelImage T ↔ ∃ B, IsDensityMatrix B ∧ T B = A := Iff.rfl

example {I : Type} [Fintype I] [DecidableEq I] (A : Matrix I I ℂ) :
    renyiEntropy 1 A = vnEntropy A := by simp [renyiEntropy, vnEntropy]

example {d : ℕ} (T : Superop (Fin d) (Fin d)) (A : Mat d) :
    cesaroAverage T 0 A = 0 := by simp [cesaroAverage]

example : qubitDepolarizing 1 = (id : Superop (Fin 2) (Fin 2)) := by
  funext A
  simp [qubitDepolarizing, QAlgorithms.Papers.Independent.Information100.P08.depolarizing]

end QAlgorithms.Papers.Independent.Intakenext100.P01
Source
Quantum channels with polytopic images and image additivity, arXiv:1408.2340v1, https://arxiv.org/abs/1408.2340v1
Read-back

What the Lean code literally says, in plain math · gpt-6.1-sol

QAlgorithms.Papers.Independent.Intakenext100.P01.BasisMeasurementOn

For any natural numbers d,nd,nd,n, any function T:Cd×d→Cn×nT:\mathbb C^{d\times d}\to\mathbb C^{n\times n}T:Cd×d→Cn×n, and any complex-linear subspace V⊆CdV\subseteq\mathbb C^dV⊆Cd, BasisMeasurementOn⁡(T,V)\operatorname{BasisMeasurementOn}(T,V)BasisMeasurementOn(T,V) means that there exist an orthonormal basis e0,…,er−1e_0,\ldots,e_{r-1}e0​,…,er−1​ of VVV, where r=dim⁡CVr=\dim_{\mathbb C}Vr=dimC​V, and arbitrary complex n×nn\times nn×n matrices s0,…,sr−1s_0,\ldots,s_{r-1}s0​,…,sr−1​, such that every complex d×dd\times dd×d matrix AAA satisfying PVAPV=AP_VAP_V=APV​APV​=A obeys T(A)=∑i=0r−1tr⁡(eiei∗A) siT(A)=\sum_{i=0}^{r-1}\operatorname{tr}(e_ie_i^*A)\,s_iT(A)=∑i=0r−1​tr(ei​ei∗​A)si​. Here PVP_VPV​ is the orthogonal projection onto VVV, each eie_iei​ is viewed as an ambient vector, and (eiei∗)ab=(ei)a(ei)b‾(e_ie_i^*)_{ab}=(e_i)_a\overline{(e_i)_b}(ei​ei∗​)ab​=(ei​)a​(ei​)b​​. The condition applies to all supported matrices, without positivity or normalization restrictions; no channel assumption on TTT or density assumption on the sis_isi​ is made. If V={0}V=\{0\}V={0}, the basis and sum are empty and the condition is exactly T(0)=0T(0)=0T(0)=0. Zero dimensions are permitted.

QAlgorithms.Papers.Independent.Intakenext100.P01.CanonicalDecomposition

For any natural numbers d,n,kd,n,kd,n,k, any function T:Cd×d→Cn×nT:\mathbb C^{d\times d}\to\mathbb C^{n\times n}T:Cd×d→Cn×n, and any family s0,…,sk−1s_0,\ldots,s_{k-1}s0​,…,sk−1​ of complex n×nn\times nn×n matrices, let UiU_iUi​ be the complex-linear span of all unit vectors x∈Cdx\in\mathbb C^dx∈Cd satisfying T(xx∗)=siT(xx^*)=s_iT(xx∗)=si​, and let V=∑i<kUiV=\sum_{i<k}U_iV=∑i<k​Ui​, where (xx∗)ab=xaxb‾(xx^*)_{ab}=x_a\overline{x_b}(xx∗)ab​=xa​xb​​. Then CanonicalDecomposition⁡(T,s)\operatorname{CanonicalDecomposition}(T,s)CanonicalDecomposition(T,s) means that every UiU_iUi​ has positive complex dimension; distinct Ui,UjU_i,U_jUi​,Uj​ are orthogonal, meaning ⟨x,y⟩=0\langle x,y\rangle=0⟨x,y⟩=0 for every x∈Uix\in U_ix∈Ui​ and y∈Ujy\in U_jy∈Uj​; V+V⊥=CdV+V^\perp=\mathbb C^dV+V⊥=Cd; there exist an orthonormal basis e0,…,er−1e_0,\ldots,e_{r-1}e0​,…,er−1​ of VVV, with r=dim⁡CVr=\dim_{\mathbb C}Vr=dimC​V, and complex n×nn\times nn×n matrices b0,…,br−1b_0,\ldots,b_{r-1}b0​,…,br−1​ such that T(A)=∑j<rtr⁡(ejej∗A)bjT(A)=\sum_{j<r}\operatorname{tr}(e_je_j^*A)b_jT(A)=∑j<r​tr(ej​ej∗​A)bj​ whenever PVAPV=AP_VAP_V=APV​APV​=A; and, for every complex d×dd\times dd×d matrix AAA, both T(A)=T(PVAPV)+T(PV⊥APV⊥)T(A)=T(P_VAP_V)+T(P_{V^\perp}AP_{V^\perp})T(A)=T(PV​APV​)+T(PV⊥​APV⊥​) and T(PVAPV)=∑i<ktr⁡(PUiA)siT(P_VAP_V)=\sum_{i<k}\operatorname{tr}(P_{U_i}A)s_iT(PV​APV​)=∑i<k​tr(PUi​​A)si​ hold. Every PWP_WPW​ here denotes orthogonal projection onto WWW. No channel assumption on TTT, density assumption on the listed matrices, or restriction to positive AAA is imposed. The case k=0k=0k=0 is included: then V={0}V=\{0\}V={0}, the indexed conditions are vacuous, and the remaining requirements reduce to T(0)=0T(0)=0T(0)=0; if d=0d=0d=0 and k>0k>0k>0, the positive-dimension requirement cannot hold.

QAlgorithms.Papers.Independent.Intakenext100.P01.DimensionGeometry

For any natural numbers d,nd,nd,n and any function TTT from complex d×dd\times dd×d matrices to complex n×nn\times nn×n matrices, let C={T(ρ):ρ⪰0, tr⁡ρ=1}\mathcal C=\{T(\rho):\rho\succeq0,\ \operatorname{tr}\rho=1\}C={T(ρ):ρ⪰0, trρ=1}. This property states that, for every positive integer kkk and every injective family (si)i<k(s_i)_{i<k}(si​)i<k​ such that C=conv⁡R{si:i<k}\mathcal C=\operatorname{conv}_{\mathbb R}\{s_i:i<k\}C=convR​{si​:i<k} and the real extreme points of C\mathcal CC are exactly the sis_isi​, one has

dim⁡R(direction⁡(aff⁡RC))≤k−1≤d−1.\dim_{\mathbb R}\bigl(\operatorname{direction}(\operatorname{aff}_{\mathbb R}\mathcal C)\bigr) \le k-1\le d-1.dimR​(direction(affR​C))≤k−1≤d−1.

Both subtractions are natural number subtraction, truncated at zero; in particular, d−1=0d-1=0d−1=0 when d=0d=0d=0. No linearity or channel assumption is made on TTT, and the condition is vacuous if no such nonempty vertex family exists.

QAlgorithms.Papers.Independent.Intakenext100.P01.FibreSpanGeometry

For any natural numbers d,nd,nd,n and any function TTT from complex d×dd\times dd×d matrices to complex n×nn\times nn×n matrices, let Px=xx†P_x=xx^\daggerPx​=xx† and C={T(ρ):ρ⪰0, tr⁡ρ=1}\mathcal C=\{T(\rho):\rho\succeq0,\ \operatorname{tr}\rho=1\}C={T(ρ):ρ⪰0, trρ=1}. A matrix sss is a “vertex” here when s∈Cs\in\mathcal Cs∈C and {Y:for every nonzero real linear functional f, (∀Z∈C, f(Z)≤f(s))⇒f(Y)=f(s)}={s}\{Y:\text{for every nonzero real linear functional }f,\ (\forall Z\in\mathcal C,\ f(Z)\le f(s))\Rightarrow f(Y)=f(s)\}=\{s\}{Y:for every nonzero real linear functional f, (∀Z∈C, f(Z)≤f(s))⇒f(Y)=f(s)}={s}, with YYY ranging over all complex n×nn\times nn×n matrices. The property states that for every such vertex sss, every natural number kkk, and every family (xi)i=0k−1(x_i)_{i=0}^{k-1}(xi​)i=0k−1​ of unit vectors in Cd\mathbb C^dCd satisfying T(Pxi)=sT(P_{x_i})=sT(Pxi​​)=s for every iii, every unit vector y∈span⁡C{xi:i<k}y\in\operatorname{span}_{\mathbb C}\{x_i:i<k\}y∈spanC​{xi​:i<k} also satisfies T(Py)=sT(P_y)=sT(Py​)=s. The function TTT need not be linear or a channel. The case k=0k=0k=0 is included: its span is {0}\{0\}{0}, so the conclusion has no unit vector to quantify over.

QAlgorithms.Papers.Independent.Intakenext100.P01.HasCQRepresentation

For any natural numbers d,nd,nd,n and any function TTT from complex d×dd\times dd×d matrices to complex n×nn\times nn×n matrices, this property means that there exist an orthonormal basis (ei)i<d(e_i)_{i<d}(ei​)i<d​ of Cd\mathbb C^dCd and matrices (si)i<d(s_i)_{i<d}(si​)i<d​ with si⪰0s_i\succeq0si​⪰0 and tr⁡si=1\operatorname{tr}s_i=1trsi​=1 for every iii, such that every complex d×dd\times dd×d matrix AAA satisfies

T(A)=∑i<dtr⁡(eiei†A) si,(eiei†)ab=(ei)a(ei)b‾.T(A)=\sum_{i<d}\operatorname{tr}(e_ie_i^\dagger A)\,s_i, \qquad (e_ie_i^\dagger)_{ab}=(e_i)_a\overline{(e_i)_b}.T(A)=i<d∑​tr(ei​ei†​A)si​,(ei​ei†​)ab​=(ei​)a​(ei​)b​​.

There is no separate linearity or channel assumption on TTT. The case d=0d=0d=0 is included, with an empty basis and empty sum, so the representation then requires TTT to be zero. If d>0d>0d>0 and n=0n=0n=0, the required trace one output matrices cannot exist.

QAlgorithms.Papers.Independent.Intakenext100.P01.HasHolevoRepresentation

For any finite type III, any type JJJ, any natural number kkk, any function TTT from complex matrices indexed by I×II\times II×I to complex matrices indexed by J×JJ\times JJ×J, and any families of matrices (Mi)i<k(M_i)_{i<k}(Mi​)i<k​ on III and (si)i<k(s_i)_{i<k}(si​)i<k​ on JJJ, this property means that every complex matrix AAA on III satisfies

T(A)=∑i=0k−1tr⁡(MiA) si.T(A)=\sum_{i=0}^{k-1}\operatorname{tr}(M_iA)\,s_i.T(A)=i=0∑k−1​tr(Mi​A)si​.

The coefficients are complex traces. There are no positivity, normalization, measurement, or density assumptions on either family, and no prior linearity assumption on TTT. Empty III and k=0k=0k=0 are included; for k=0k=0k=0, the property says that T(A)=0T(A)=0T(A)=0 for every AAA.

QAlgorithms.Papers.Independent.Intakenext100.P01.HasVertices

For any natural numbers n,kn,kn,k, any set CCC of complex n×nn\times nn×n matrices, and any indexed family s0,…,sk−1s_0,\ldots,s_{k-1}s0​,…,sk−1​ of such matrices, HasVertices⁡(C,s)\operatorname{HasVertices}(C,s)HasVertices(C,s) means that the family is injective, CCC is the real convex hull of {si:0≤i<k}\{s_i:0\le i<k\}{si​:0≤i<k}, and the set of extreme points of CCC, with respect to real convexity, is exactly {si:0≤i<k}\{s_i:0\le i<k\}{si​:0≤i<k}. No positivity or trace condition is imposed. The case k=0k=0k=0 is included and gives C=∅C=\varnothingC=∅; n=0n=0n=0 is also allowed.

QAlgorithms.Papers.Independent.Intakenext100.P01.IsEssentialCQ

For any finite types I,JI,JI,J, with decidable equality on III, and any function TTT from complex matrices on III to complex matrices on JJJ, this property means that there exist a natural number kkk and families (Mi)i<k(M_i)_{i<k}(Mi​)i<k​ on III and (si)i<k(s_i)_{i<k}(si​)i<k​ on JJJ such that

Mi⪰0,∑i<kMi=II,∥Mi∥op=1,si⪰0,tr⁡si=1M_i\succeq0,\qquad \sum_{i<k}M_i=I_I,\qquad \|M_i\|_{\mathrm{op}}=1, \qquad s_i\succeq0,\qquad \operatorname{tr}s_i=1Mi​⪰0,i<k∑​Mi​=II​,∥Mi​∥op​=1,si​⪰0,trsi​=1

for every iii, and, for every complex matrix AAA on III,

T(A)=∑i<ktr⁡(MiA) si.T(A)=\sum_{i<k}\operatorname{tr}(M_iA)\,s_i.T(A)=i<k∑​tr(Mi​A)si​.

Here ∥⋅∥op\|\cdot\|_{\mathrm{op}}∥⋅∥op​ is the operator norm for the Euclidean norms. No separate channel or linearity assumption is imposed on TTT. The existential quantifier permits k=0k=0k=0; then the measurement sum condition requires II=0I_I=0II​=0, which holds for empty III, and the representation requires TTT to be zero. For nonempty III, k=0k=0k=0 cannot satisfy the conditions.

QAlgorithms.Papers.Independent.Intakenext100.P01.IsImageAdditive

For any finite types I,JI,JI,J with decidable equality, any types K,LK,LK,L, and any functions TTT from complex matrices on III to complex matrices on KKK and SSS from complex matrices on JJJ to complex matrices on LLL, define DI={ρ:ρ⪰0, tr⁡ρ=1}\mathcal D_I=\{\rho:\rho\succeq0,\ \operatorname{tr}\rho=1\}DI​={ρ:ρ⪰0, trρ=1}, and similarly DJ\mathcal D_JDJ​ and DI×J\mathcal D_{I\times J}DI×J​. Define T\mathcal TT on matrices on I×JI\times JI×J by

T(A)(a,b),(a′,b′)=∑i,j∈I∑k,l∈JA(i,k),(j,l) T(EijI)a,a′ S(EklJ)b,b′,\mathcal T(A)_{(a,b),(a',b')} = \sum_{i,j\in I}\sum_{k,l\in J} A_{(i,k),(j,l)}\,T(E^I_{ij})_{a,a'}\,S(E^J_{kl})_{b,b'},T(A)(a,b),(a′,b′)​=i,j∈I∑​k,l∈J∑​A(i,k),(j,l)​T(EijI​)a,a′​S(EklJ​)b,b′​,

where each EijE_{ij}Eij​ has a single entry 111 at (i,j)(i,j)(i,j). The property states the exact set equality

{T(ρ):ρ∈DI×J}=conv⁡R{T(ρ)⊗S(σ):ρ∈DI, σ∈DJ},\{\mathcal T(\rho):\rho\in\mathcal D_{I\times J}\} = \operatorname{conv}_{\mathbb R} \{T(\rho)\otimes S(\sigma):\rho\in\mathcal D_I,\ \sigma\in\mathcal D_J\},{T(ρ):ρ∈DI×J​}=convR​{T(ρ)⊗S(σ):ρ∈DI​, σ∈DJ​},

where (B⊗C)(a,b),(a′,b′)=Ba,a′Cb,b′(B\otimes C)_{(a,b),(a',b')}=B_{a,a'}C_{b,b'}(B⊗C)(a,b),(a′,b′)​=Ba,a′​Cb,b′​. No linearity or channel assumptions are made on T,ST,ST,S, and K,LK,LK,L need not be finite. Empty input types are allowed; if either III or JJJ is empty, the corresponding density matrix sets and both sides of the asserted equality are empty.

QAlgorithms.Papers.Independent.Intakenext100.P01.IsPolytopic

For any type JJJ and any set CCC of complex matrices indexed by J×JJ\times JJ×J, IsPolytopic⁡(C)\operatorname{IsPolytopic}(C)IsPolytopic(C) means that there exist a natural number kkk and matrices s0,…,sk−1s_0,\ldots,s_{k-1}s0​,…,sk−1​ such that CCC is their real convex hull. The index type JJJ need not be finite, and the matrices need not be distinct, positive, or normalized. The choice k=0k=0k=0 is permitted, so the empty set satisfies this definition.

QAlgorithms.Papers.Independent.Intakenext100.P01.IsSupportedOn

For any natural number ddd, any complex-linear subspace V⊆CdV\subseteq\mathbb C^dV⊆Cd, and any complex d×dd\times dd×d matrix AAA, IsSupportedOn⁡(V,A)\operatorname{IsSupportedOn}(V,A)IsSupportedOn(V,A) means exactly PVAPV=AP_VAP_V=APV​APV​=A, where PVP_VPV​ is the orthogonal projection onto VVV for the standard Euclidean inner product. No Hermitian, positivity, or trace assumption is imposed on AAA. In particular, for V={0}V=\{0\}V={0} this condition requires A=0A=0A=0; d=0d=0d=0 is included.

QAlgorithms.Papers.Independent.Intakenext100.P01.IsUniversalImageAdditive

For natural numbers d,nd,nd,n, possibly zero, and an arbitrary function T:Md(C)→Mn(C)T:M_d(\mathbb C)\to M_n(\mathbb C)T:Md​(C)→Mn​(C), this property means that for every pair of positive natural numbers a,ba,ba,b and every channel S:Ma(C)→Mb(C)S:M_a(\mathbb C)\to M_b(\mathbb C)S:Ma​(C)→Mb​(C),

{(T⊗S)(ρ):ρ≥0, tr⁡ρ=1}=conv⁡R{T(α)⊗S(β):α,β≥0, tr⁡α=tr⁡β=1}.\{(T\otimes S)(\rho):\rho\ge0,\ \operatorname{tr}\rho=1\} = \operatorname{conv}_{\mathbb R} \{T(\alpha)\otimes S(\beta):\alpha,\beta\ge0,\ \operatorname{tr}\alpha=\operatorname{tr}\beta=1\}.{(T⊗S)(ρ):ρ≥0, trρ=1}=convR​{T(α)⊗S(β):α,β≥0, trα=trβ=1}.

Here a channel means a function admitting a finite representation S(X)=∑jEjXEj†S(X)=\sum_j E_jXE_j^\daggerS(X)=∑j​Ej​XEj†​ with ∑jEj†Ej=Ia\sum_jE_j^\dagger E_j=I_a∑j​Ej†​Ej​=Ia​, and the function denoted T⊗ST\otimes ST⊗S is defined entrywise by

(T⊗S)(X)(u,v),(u′,v′)=∑i,j=0d−1∑k,l=0a−1X(i,k),(j,l) T(Eij)u,u′ S(Ekl)v,v′,(T\otimes S)(X)_{(u,v),(u',v')} =\sum_{i,j=0}^{d-1}\sum_{k,l=0}^{a-1} X_{(i,k),(j,l)}\,T(E_{ij})_{u,u'}\,S(E_{kl})_{v,v'},(T⊗S)(X)(u,v),(u′,v′)​=i,j=0∑d−1​k,l=0∑a−1​X(i,k),(j,l)​T(Eij​)u,u′​S(Ekl​)v,v′​,

where EijE_{ij}Eij​ denotes a matrix unit. No linearity, positivity, or channel assumption is imposed on TTT.

QAlgorithms.Papers.Independent.Intakenext100.P01.IsVertex

For any natural number nnn, any set CCC of complex n×nn\times nn×n matrices, and any complex n×nn\times nn×n matrix xxx, IsVertex⁡(C,x)\operatorname{IsVertex}(C,x)IsVertex(C,x) means that x∈Cx\in Cx∈C and that the set of all complex n×nn\times nn×n matrices yyy satisfying the following condition is exactly {x}\{x\}{x}: for every nonzero real-linear functional f:Cn×n→Rf:\mathbb C^{n\times n}\to\mathbb Rf:Cn×n→R, if f(z)≤f(x)f(z)\le f(x)f(z)≤f(x) for every z∈Cz\in Cz∈C, then f(y)=f(x)f(y)=f(x)f(y)=f(x). Here yyy is unrestricted and need not belong to CCC, and the functionals act on the entire real vector space of complex matrices. If no such nonzero functional is maximized at xxx, the condition on yyy is vacuous. The definition includes n=0n=0n=0, when the matrix space has just one element.

QAlgorithms.Papers.Independent.Intakenext100.P01.PolytopeGeometry

For any natural numbers d,nd,nd,n and any function TTT from complex d×dd\times dd×d matrices to complex n×nn\times nn×n matrices, write Px=xx†P_x=xx^\daggerPx​=xx†, Dd={ρ:ρ⪰0, tr⁡ρ=1}\mathcal D_d=\{\rho:\rho\succeq0,\ \operatorname{tr}\rho=1\}Dd​={ρ:ρ⪰0, trρ=1}, C=T(Dd)\mathcal C=T(\mathcal D_d)C=T(Dd​), and CW={T(ρ):ρ∈Dd, ΠWρΠW=ρ}\mathcal C_W=\{T(\rho):\rho\in\mathcal D_d,\ \Pi_W\rho\Pi_W=\rho\}CW​={T(ρ):ρ∈Dd​, ΠW​ρΠW​=ρ}, where ΠW\Pi_WΠW​ is the orthogonal projection onto a complex subspace W⊆CdW\subseteq\mathbb C^dW⊆Cd. This property is the conjunction of two requirements. First, for every positive integer kkk and family (si)i<k(s_i)_{i<k}(si​)i<k​ that is injective, satisfies C=conv⁡R{si:i<k}\mathcal C=\operatorname{conv}_{\mathbb R}\{s_i:i<k\}C=convR​{si​:i<k}, and has range exactly the real extreme points of C\mathcal CC, define Ui=span⁡C{x:∥x∥=1, T(Px)=si}U_i=\operatorname{span}_{\mathbb C}\{x:\|x\|=1,\ T(P_x)=s_i\}Ui​=spanC​{x:∥x∥=1, T(Px​)=si​} and V=∑iUiV=\sum_iU_iV=∑i​Ui​. Then each UiU_iUi​ has positive complex dimension, distinct UiU_iUi​ are orthogonal, V+V⊥=CdV+V^\perp=\mathbb C^dV+V⊥=Cd, and there exist an orthonormal basis (ej)j<dim⁡CV(e_j)_{j<\dim_{\mathbb C}V}(ej​)j<dimC​V​ of VVV and arbitrary complex n×nn\times nn×n matrices rjr_jrj​ such that T(A)=∑jtr⁡(PejA)rjT(A)=\sum_j\operatorname{tr}(P_{e_j}A)r_jT(A)=∑j​tr(Pej​​A)rj​ whenever ΠVAΠV=A\Pi_VA\Pi_V=AΠV​AΠV​=A. Every complex d×dd\times dd×d matrix AAA must also satisfy

T(A)=T(ΠVAΠV)+T(ΠV⊥AΠV⊥),T(ΠVAΠV)=∑itr⁡(ΠUiA)si.T(A)=T(\Pi_VA\Pi_V)+T(\Pi_{V^\perp}A\Pi_{V^\perp}), \qquad T(\Pi_VA\Pi_V)=\sum_i\operatorname{tr}(\Pi_{U_i}A)s_i.T(A)=T(ΠV​AΠV​)+T(ΠV⊥​AΠV⊥​),T(ΠV​AΠV​)=i∑​tr(ΠUi​​A)si​.

Furthermore, CV⊥⊆CV\mathcal C_{V^\perp}\subseteq\mathcal C_VCV⊥​⊆CV​ and si∉CV⊥s_i\notin\mathcal C_{V^\perp}si​∈/CV⊥​ for every iii. Second, for every positive integer kkk, every family (si)i<k(s_i)_{i<k}(si​)i<k​ that is injective and whose range is exactly the extreme points of its real convex hull, and every family of positive dimensional, pairwise orthogonal complex subspaces (Ui)i<k(U_i)_{i<k}(Ui​)i<k​, put V=∑iUiV=\sum_iU_iV=∑i​Ui​. If, for every complex matrix AAA,

T(A)=∑itr⁡(ΠUiA)si+T(ΠV⊥AΠV⊥),T(A)=\sum_i\operatorname{tr}(\Pi_{U_i}A)s_i+T(\Pi_{V^\perp}A\Pi_{V^\perp}),T(A)=i∑​tr(ΠUi​​A)si​+T(ΠV⊥​AΠV⊥​),

and if CV⊥⊆CV\mathcal C_{V^\perp}\subseteq\mathcal C_VCV⊥​⊆CV​ and every sis_isi​ lies outside CV⊥\mathcal C_{V^\perp}CV⊥​, then C=conv⁡R{si}\mathcal C=\operatorname{conv}_{\mathbb R}\{s_i\}C=convR​{si​} and its extreme points are exactly the sis_isi​. No linearity or channel assumption is imposed on TTT; zero dimensions are permitted, and any conditional requirement whose hypotheses cannot hold is vacuous.

QAlgorithms.Papers.Independent.Intakenext100.P01.TwoPureGeometry

For any natural numbers d,nd,nd,n and any function TTT from complex d×dd\times dd×d matrices to complex n×nn\times nn×n matrices, this property means the following. Write Px=xx†P_x=xx^\daggerPx​=xx†, whose entries are (Px)ij=xixj‾(P_x)_{ij}=x_i\overline{x_j}(Px​)ij​=xi​xj​​, and let C={T(ρ):ρ⪰0, tr⁡ρ=1}\mathcal C=\{T(\rho):\rho\succeq0,\ \operatorname{tr}\rho=1\}C={T(ρ):ρ⪰0, trρ=1}. Here a matrix sss is a “vertex” of C\mathcal CC precisely when s∈Cs\in\mathcal Cs∈C and the only matrix YYY satisfying f(Y)=f(s)f(Y)=f(s)f(Y)=f(s) for every nonzero real linear functional fff such that f(Z)≤f(s)f(Z)\le f(s)f(Z)≤f(s) for all Z∈CZ\in\mathcal CZ∈C is Y=sY=sY=s; YYY is not restricted to C\mathcal CC. For every pair of unit vectors x,y∈Cdx,y\in\mathbb C^dx,y∈Cd with Px≠PyP_x\ne P_yPx​=Py​, if T(Px)T(P_x)T(Px​) is such a vertex, then, setting H=span⁡C{x,y}H=\operatorname{span}_{\mathbb C}\{x,y\}H=spanC​{x,y}, there exists a unit vector z∈Hz\in Hz∈H with ⟨x,z⟩=0\langle x,z\rangle=0⟨x,z⟩=0 such that every complex matrix AAA satisfying ΠHAΠH=A\Pi_HA\Pi_H=AΠH​AΠH​=A, where ΠH\Pi_HΠH​ is the orthogonal projection onto HHH, obeys

T(A)=tr⁡(PxA) T(Px)+tr⁡(PzA) T(Pz).T(A)=\operatorname{tr}(P_xA)\,T(P_x)+\operatorname{tr}(P_zA)\,T(P_z).T(A)=tr(Px​A)T(Px​)+tr(Pz​A)T(Pz​).

In addition, if T(Py)T(P_y)T(Py​) is a vertex and differs from T(Px)T(P_x)T(Px​), then ⟨x,y⟩=0\langle x,y\rangle=0⟨x,y⟩=0. No linearity or channel assumption is imposed on TTT. Zero dimensions are included; when no qualifying pair x,yx,yx,y exists, the requirements are vacuous.

QAlgorithms.Papers.Independent.Intakenext100.P01.VertexDecompositionGeometry

For any natural numbers d,nd,nd,n and any function TTT from complex d×dd\times dd×d matrices to complex n×nn\times nn×n matrices, put Px=xx†P_x=xx^\daggerPx​=xx† and C={T(ρ):ρ⪰0, tr⁡ρ=1}\mathcal C=\{T(\rho):\rho\succeq0,\ \operatorname{tr}\rho=1\}C={T(ρ):ρ⪰0, trρ=1}. A “vertex” sss means s∈Cs\in\mathcal Cs∈C and that the only ambient matrix YYY satisfying f(Y)=f(s)f(Y)=f(s)f(Y)=f(s) for every nonzero real linear functional fff maximized at sss over C\mathcal CC is Y=sY=sY=s. This property requires that, for every natural number kkk and every injective family (si)i<k(s_i)_{i<k}(si​)i<k​ of such vertices, the following holds. Define

Ui=span⁡C{x∈Cd:∥x∥=1, T(Px)=si},V=∑i<kUi,U_i=\operatorname{span}_{\mathbb C}\{x\in\mathbb C^d:\|x\|=1,\ T(P_x)=s_i\}, \qquad V=\sum_{i<k}U_i,Ui​=spanC​{x∈Cd:∥x∥=1, T(Px​)=si​},V=i<k∑​Ui​,

and write ΠW\Pi_WΠW​ for the orthogonal projection onto a subspace WWW. Each UiU_iUi​ has positive complex dimension, distinct Ui,UjU_i,U_jUi​,Uj​ are orthogonal, and V+V⊥=CdV+V^\perp=\mathbb C^dV+V⊥=Cd. There exist an orthonormal basis (ej)j<dim⁡CV(e_j)_{j<\dim_{\mathbb C}V}(ej​)j<dimC​V​ of VVV and complex n×nn\times nn×n matrices rjr_jrj​ such that, for every complex d×dd\times dd×d matrix AAA with ΠVAΠV=A\Pi_VA\Pi_V=AΠV​AΠV​=A,

T(A)=∑jtr⁡(PejA) rj.T(A)=\sum_j\operatorname{tr}(P_{e_j}A)\,r_j.T(A)=j∑​tr(Pej​​A)rj​.

Moreover, every complex d×dd\times dd×d matrix AAA satisfies

T(A)=T(ΠVAΠV)+T(ΠV⊥AΠV⊥),T(ΠVAΠV)=∑i<ktr⁡(ΠUiA) si.T(A)=T(\Pi_VA\Pi_V)+T(\Pi_{V^\perp}A\Pi_{V^\perp}), \qquad T(\Pi_VA\Pi_V)=\sum_{i<k}\operatorname{tr}(\Pi_{U_i}A)\,s_i.T(A)=T(ΠV​AΠV​)+T(ΠV⊥​AΠV⊥​),T(ΠV​AΠV​)=i<k∑​tr(ΠUi​​A)si​.

There is no assumption that TTT is linear or a channel, and no density requirement on the rjr_jrj​. The quantifier includes k=0k=0k=0, when V={0}V=\{0\}V={0} and all displayed sums over iii or jjj are empty.

QAlgorithms.Papers.Independent.Intakenext100.P01.affineDimension

For any natural number nnn and any set CCC of complex n×nn\times nn×n matrices, affineDimension⁡(C)\operatorname{affineDimension}(C)affineDimension(C) is the dimension over R\mathbb RR of the direction subspace of the real affine span of CCC. Thus complex matrices are treated as a real vector space. The definition applies to arbitrary CCC, including the empty set, whose value is 000, and to n=0n=0n=0.

QAlgorithms.Papers.Independent.Intakenext100.P01.blochBall

For any real number rrr, this defines the set

{12(1+w2w0−iw1w0+iw11−w2):w∈R3, w02+w12+w22≤r}.\left\{ \frac12 \begin{pmatrix} 1+w_2&w_0-\mathrm i w_1\\ w_0+\mathrm i w_1&1-w_2 \end{pmatrix} :w\in\mathbb R^3,\ \sqrt{w_0^2+w_1^2+w_2^2}\le r \right\}.{21​(1+w2​w0​+iw1​​w0​−iw1​1−w2​​):w∈R3, w02​+w12​+w22​​≤r}.

Negative radii give the empty set, and radius zero gives {I2/2}\{I_2/2\}{I2​/2}. No upper bound on rrr or separate positivity requirement is included.

QAlgorithms.Papers.Independent.Intakenext100.P01.blochDisc

For any real number rrr and any real linear subspace L⊆R3L\subseteq\mathbb R^3L⊆R3, this defines the set

{12(1+w2w0−iw1w0+iw11−w2):w∈L, w02+w12+w22≤r}.\left\{ \frac12 \begin{pmatrix} 1+w_2&w_0-\mathrm i w_1\\ w_0+\mathrm i w_1&1-w_2 \end{pmatrix} :w\in L,\ \sqrt{w_0^2+w_1^2+w_2^2}\le r \right\}.{21​(1+w2​w0​+iw1​​w0​−iw1​1−w2​​):w∈L, w02​+w12​+w22​​≤r}.

There is no dimension restriction on LLL or upper bound on rrr. For r<0r<0r<0 the set is empty, and for r=0r=0r=0 it is {I2/2}\{I_2/2\}{I2​/2}; positivity is not imposed separately.

QAlgorithms.Papers.Independent.Intakenext100.P01.cesaroAverage

For any natural numbers d,Nd,Nd,N, any function T:Md(C)→Md(C)T:M_d(\mathbb C)\to M_d(\mathbb C)T:Md​(C)→Md​(C), and any matrix A∈Md(C)A\in M_d(\mathbb C)A∈Md​(C), this defines

1N∑j=0N−1T j+1(A),\frac1N\sum_{j=0}^{N-1}T^{\,j+1}(A),N1​j=0∑N−1​Tj+1(A),

where TkT^kTk means kkk-fold function iteration. Thus the summands begin with T(A)T(A)T(A). When N=0N=0N=0, the sum is empty and the reciprocal of zero is defined as zero, so the result is the zero matrix. The dimension d=0d=0d=0 is allowed, and no channel or linearity assumption is imposed on TTT.

QAlgorithms.Papers.Independent.Intakenext100.P01.cesaroLimit

For any natural number ddd, any function T:Md(C)→Md(C)T:M_d(\mathbb C)\to M_d(\mathbb C)T:Md​(C)→Md​(C), and any matrix AAA, this defines a matrix BBB chosen from those satisfying

lim⁡N→∞1N∑j=0N−1T j+1(A)=B\lim_{N\to\infty}\frac1N\sum_{j=0}^{N-1}T^{\,j+1}(A)=BN→∞lim​N1​j=0∑N−1​Tj+1(A)=B

if such a matrix exists, and defines the result to be the zero matrix otherwise. Convergence is in the usual finite-dimensional matrix topology, and TkT^kTk denotes function iteration. The average at N=0N=0N=0 is zero. No convergence, linearity, positivity, or channel hypothesis is required, and d=0d=0d=0 is included.

QAlgorithms.Papers.Independent.Intakenext100.P01.channelImage

For any finite type III, any type JJJ, and any function T:CI×I→CJ×JT:\mathbb C^{I\times I}\to\mathbb C^{J\times J}T:CI×I→CJ×J, the set channelImage⁡(T)\operatorname{channelImage}(T)channelImage(T) consists of all matrices T(A)T(A)T(A) where AAA is positive semidefinite and tr⁡(A)=1\operatorname{tr}(A)=1tr(A)=1. No linearity, positivity, or trace preservation is required of TTT. The type JJJ need not be finite; if III is empty, no such AAA exists and this image is empty.

QAlgorithms.Papers.Independent.Intakenext100.P01.compressToSubspace

For any natural number ddd, any complex-linear subspace V⊆CdV\subseteq\mathbb C^dV⊆Cd equipped with the standard Euclidean inner product, and any complex d×dd\times dd×d matrix AAA, compressToSubspace⁡(V,A)\operatorname{compressToSubspace}(V,A)compressToSubspace(V,A) is the matrix PVAPVP_VAP_VPV​APV​, where PVP_VPV​ is the orthogonal projection onto VVV. The result is still a d×dd\times dd×d matrix on the ambient space. No positivity or normalization of AAA is required; d=0d=0d=0 and V={0}V=\{0\}V={0} are allowed.

QAlgorithms.Papers.Independent.Intakenext100.P01.conjugateMap

For arbitrary types I,JI,JI,J and any function T:MI(C)→MJ(C)T:M_I(\mathbb C)\to M_J(\mathbb C)T:MI​(C)→MJ​(C), this defines the function

A⟼T(A‾)‾,A\longmapsto \overline{T(\overline A)},A⟼T(A)​,

where both conjugations act entrywise, without transposing the matrices. The types need not be finite, and TTT need not be linear, positive, or a channel.

QAlgorithms.Papers.Independent.Intakenext100.P01.cqMap

For any natural numbers d,nd,nd,n, any orthonormal basis (ei)i<d(e_i)_{i<d}(ei​)i<d​ of Cd\mathbb C^dCd, and any family (si)i<d(s_i)_{i<d}(si​)i<d​ of complex n×nn\times nn×n matrices, this defines the function on complex d×dd\times dd×d matrices given by

A⟼∑i<dtr⁡(eiei†A) si,(eiei†)ab=(ei)a(ei)b‾.A\longmapsto\sum_{i<d}\operatorname{tr}(e_ie_i^\dagger A)\,s_i, \qquad (e_ie_i^\dagger)_{ab}=(e_i)_a\overline{(e_i)_b}.A⟼i<d∑​tr(ei​ei†​A)si​,(ei​ei†​)ab​=(ei​)a​(ei​)b​​.

The matrices sis_isi​ are unrestricted: positivity and trace one are not required. Zero dimensions are allowed; when d=0d=0d=0, the empty sum gives the zero output matrix.

QAlgorithms.Papers.Independent.Intakenext100.P01.diagonalBlockSum

For any types I,J,KI,J,KI,J,K and any functions TTT from complex matrices on III to complex matrices on KKK and SSS from complex matrices on JJJ to complex matrices on KKK, this defines a function on complex matrices AAA indexed by the disjoint union I⊔JI\sqcup JI⊔J by

A⟼T(AII)+S(AJJ),A\longmapsto T(A_{II})+S(A_{JJ}),A⟼T(AII​)+S(AJJ​),

where (AII)ij=Ainl⁡(i),inl⁡(j)(A_{II})_{ij}=A_{\operatorname{inl}(i),\operatorname{inl}(j)}(AII​)ij​=Ainl(i),inl(j)​ and (AJJ)ij=Ainr⁡(i),inr⁡(j)(A_{JJ})_{ij}=A_{\operatorname{inr}(i),\operatorname{inr}(j)}(AJJ​)ij​=Ainr(i),inr(j)​. Thus only the two diagonal blocks are supplied to the given functions. No finiteness, linearity, positivity, or channel assumptions are required, and any of the index types may be empty.

QAlgorithms.Papers.Independent.Intakenext100.P01.fixedOperators

For any natural number ddd, including zero, and any function T:Md(C)→Md(C)T:M_d(\mathbb C)\to M_d(\mathbb C)T:Md​(C)→Md​(C), this defines the set

{A∈Md(C):T(A)=A}.\{A\in M_d(\mathbb C):T(A)=A\}.{A∈Md​(C):T(A)=A}.

The matrices are unrestricted: they need not be Hermitian, positive, or normalized, and no linearity or channel assumption is imposed on TTT.

QAlgorithms.Papers.Independent.Intakenext100.P01.minimumOutputRenyiEntropy

For finite types I,JI,JI,J, with decidable equality on JJJ, any real number ppp, and any function T:MI(C)→MJ(C)T:M_I(\mathbb C)\to M_J(\mathbb C)T:MI​(C)→MJ​(C), this defines

inf⁡{Hp(T(ρ)):ρ≥0, tr⁡ρ=1},\inf\{H_p(T(\rho)):\rho\ge0,\ \operatorname{tr}\rho=1\},inf{Hp​(T(ρ)):ρ≥0, trρ=1},

where, writing f(X)f(X)f(X) for the continuous functional calculus used in the definition,

Hp(X)={log⁡2 ⁣(Re⁡tr⁡f0(X)),p=0,f0(t)={0t=0,1t≠0,−Re⁡tr⁡f1(X),p=1,f1(t)=tlog⁡2t,log⁡2 ⁣(Re⁡tr⁡fp(X))1−p,p≠0,1,fp(t)=tp.H_p(X)= \begin{cases} \log_2\!\bigl(\operatorname{Re}\operatorname{tr}f_0(X)\bigr), & p=0,\quad f_0(t)=\begin{cases}0&t=0,\\1&t\ne0,\end{cases}\\ -\operatorname{Re}\operatorname{tr}f_1(X), & p=1,\quad f_1(t)=t\log_2t,\\ \dfrac{\log_2\!\bigl(\operatorname{Re}\operatorname{tr}f_p(X)\bigr)}{1-p}, & p\ne0,1,\quad f_p(t)=t^p. \end{cases}Hp​(X)=⎩⎨⎧​log2​(Retrf0​(X)),−Retrf1​(X),1−plog2​(Retrfp​(X))​,​p=0,f0​(t)={01​t=0,t=0,​p=1,f1​(t)=tlog2​t,p=0,1,fp​(t)=tp.​

No channel assumption on TTT, restriction on ppp, or density-matrix condition on its outputs is required; the functional calculus, real powers, and logarithms are the total functions appearing in these formulas. The infimum is the real-valued infimum, which returns 000 for an empty set or a set unbounded below; in particular, the set is empty when III is empty.

QAlgorithms.Papers.Independent.Intakenext100.P01.qubitDensityFromBloch

For every vector w=(w0,w1,w2)∈R3w=(w_0,w_1,w_2)\in\mathbb R^3w=(w0​,w1​,w2​)∈R3, regarded as a real Euclidean vector, this defines the complex matrix indexed by 0,10,10,1

12(1+w2w0−iw1w0+iw11−w2).\frac12 \begin{pmatrix} 1+w_2&w_0-\mathrm i w_1\\ w_0+\mathrm i w_1&1-w_2 \end{pmatrix}.21​(1+w2​w0​+iw1​​w0​−iw1​1−w2​​).

The indexing identifies 000 with false and 111 with true in the underlying Boolean-indexed Pauli matrices. There is no restriction on ∥w∥\|w\|∥w∥, and the definition imposes no positivity condition on the resulting matrix.

QAlgorithms.Papers.Independent.Intakenext100.P01.qubitDepolarizing

For every real number rrr, this defines the function on complex 2×22\times22×2 matrices

X⟼rX+1−r2tr⁡(X)I2.X\longmapsto rX+\frac{1-r}{2}\operatorname{tr}(X)I_2.X⟼rX+21−r​tr(X)I2​.

Both rrr and the input matrix XXX are unrestricted; the definition does not require XXX to be a density matrix or assume that the resulting function is a channel.

QAlgorithms.Papers.Independent.Intakenext100.P01.restrictedImage

For any natural numbers d,nd,nd,n, any function T:Cd×d→Cn×nT:\mathbb C^{d\times d}\to\mathbb C^{n\times n}T:Cd×d→Cn×n, and any complex-linear subspace V⊆CdV\subseteq\mathbb C^dV⊆Cd, restrictedImage⁡(T,V)\operatorname{restrictedImage}(T,V)restrictedImage(T,V) consists of all matrices T(A)T(A)T(A) such that AAA is positive semidefinite, tr⁡(A)=1\operatorname{tr}(A)=1tr(A)=1, and PVAPV=AP_VAP_V=APV​APV​=A, where PVP_VPV​ is the orthogonal projection onto VVV. No channel or linearity assumption is imposed on TTT. Both dimensions may be zero; if V={0}V=\{0\}V={0}, including when d=0d=0d=0, the defining input set is empty.

QAlgorithms.Papers.Independent.Intakenext100.P01.tensorOnFunctions

For any finite types I,JI,JI,J with decidable equality, any types K,LK,LK,L, and any functions TTT from complex matrices on III to complex matrices on KKK and SSS from complex matrices on JJJ to complex matrices on LLL, this defines a function taking a complex matrix AAA on I×JI\times JI×J to the matrix on K×LK\times LK×L whose entries are

(T(A))(a,b),(a′,b′)=∑i,j∈I∑k,l∈JA(i,k),(j,l) T(EijI)a,a′ S(EklJ)b,b′.\bigl(\mathcal T(A)\bigr)_{(a,b),(a',b')} = \sum_{i,j\in I}\sum_{k,l\in J} A_{(i,k),(j,l)} \,T(E^I_{ij})_{a,a'} \,S(E^J_{kl})_{b,b'}.(T(A))(a,b),(a′,b′)​=i,j∈I∑​k,l∈J∑​A(i,k),(j,l)​T(EijI​)a,a′​S(EklJ​)b,b′​.

Here EijIE^I_{ij}EijI​ and EklJE^J_{kl}EklJ​ are the matrices with entry 111 at their indicated position and 000 elsewhere. The output index types need not be finite, and neither TTT nor SSS is assumed linear or a channel. If either input index type is empty, the sum is empty and the defined output is zero.

QAlgorithms.Papers.Independent.Intakenext100.P01.trineCircle

This defines the set of complex 3×33\times33×3 matrices consisting exactly of the diagonal matrices

diag⁡j=0,1,2 ⁣(13+acos⁡(4π(j+1)/3)+bsin⁡(4π(j+1)/3)3)\operatorname{diag}_{j=0,1,2}\!\left( \frac13+ \frac{a\cos(4\pi(j+1)/3)+b\sin(4\pi(j+1)/3)}{3} \right)diagj=0,1,2​(31​+3acos(4π(j+1)/3)+bsin(4π(j+1)/3)​)

for real numbers a,ba,ba,b satisfying a2+b2≤1a^2+b^2\le1a2+b2≤1; the displayed real entries are regarded as complex numbers. The quantification includes the entire closed unit disk, including its boundary and its center.

QAlgorithms.Papers.Independent.Intakenext100.P01.trineEffect

For each index j∈{0,1,2}j\in\{0,1,2\}j∈{0,1,2}, writing θj=2π(j+1)/3\theta_j=2\pi(j+1)/3θj​=2π(j+1)/3, this defines the complex 2×22\times22×2 matrix

23 vjvj†=23(cos⁡2θjcos⁡θjsin⁡θjsin⁡θjcos⁡θjsin⁡2θj),vj=(cos⁡θjsin⁡θj).\frac23\,v_jv_j^\dagger = \frac23 \begin{pmatrix} \cos^2\theta_j&\cos\theta_j\sin\theta_j\\ \sin\theta_j\cos\theta_j&\sin^2\theta_j \end{pmatrix}, \qquad v_j= \begin{pmatrix}\cos\theta_j\\\sin\theta_j\end{pmatrix}.32​vj​vj†​=32​(cos2θj​sinθj​cosθj​​cosθj​sinθj​sin2θj​​),vj​=(cosθj​sinθj​​).

QAlgorithms.Papers.Independent.Intakenext100.P01.trineMap

This defines a map from arbitrary complex 2×22\times22×2 matrices to complex 3×33\times33×3 matrices. For j∈{0,1,2}j\in\{0,1,2\}j∈{0,1,2}, put θj=2π(j+1)/3\theta_j=2\pi(j+1)/3θj​=2π(j+1)/3 and vj=(cos⁡θj,sin⁡θj)Tv_j=(\cos\theta_j,\sin\theta_j)^{\mathsf T}vj​=(cosθj​,sinθj​)T. The map is

T(A)=∑j=02tr⁡ ⁣(23vjvj†A)ejej†,T(A)=\sum_{j=0}^{2}\operatorname{tr}\!\left(\frac23v_jv_j^\dagger A\right)e_je_j^\dagger,T(A)=j=0∑2​tr(32​vj​vj†​A)ej​ej†​,

where eje_jej​ is the jjj-th standard basis vector of C3\mathbb C^3C3. Thus T(A)T(A)T(A) is diagonal with jjj-th diagonal entry tr⁡(23vjvj†A)\operatorname{tr}(\frac23v_jv_j^\dagger A)tr(32​vj​vj†​A). The input AAA is not required to be Hermitian, positive semidefinite, or normalized, and the trace coefficient is complex-valued, without taking its real part.

QAlgorithms.Papers.Independent.Intakenext100.P01.trineVector

For each index j∈{0,1,2}j\in\{0,1,2\}j∈{0,1,2}, this defines the vector in C2\mathbb C^2C2

vj=(cos⁡ ⁣(2π(j+1)3)sin⁡ ⁣(2π(j+1)3)),v_j= \begin{pmatrix} \cos\!\left(\dfrac{2\pi(j+1)}3\right)\\ \sin\!\left(\dfrac{2\pi(j+1)}3\right) \end{pmatrix},vj​=​cos(32π(j+1)​)sin(32π(j+1)​)​​,

with the real coordinates embedded into C\mathbb CC and equipped with the Euclidean norm.

QAlgorithms.Papers.Independent.Intakenext100.P01.vertexFibre

For any natural numbers d,nd,nd,n, any function T:Cd×d→Cn×nT:\mathbb C^{d\times d}\to\mathbb C^{n\times n}T:Cd×d→Cn×n, and any complex n×nn\times nn×n matrix sss, vertexFibre⁡(T,s)\operatorname{vertexFibre}(T,s)vertexFibre(T,s) is the complex-linear span of all vectors x∈Cdx\in\mathbb C^dx∈Cd with Euclidean norm 111 for which T(xx∗)=sT(xx^*)=sT(xx∗)=s, where (xx∗)ab=xaxb‾(xx^*)_{ab}=x_a\overline{x_b}(xx∗)ab​=xa​xb​​. Neither a channel property of TTT nor a vertex or density property of sss is assumed. If no such vector exists, the span is {0}\{0\}{0}; this occurs in particular when d=0d=0d=0.

QAlgorithms.Papers.Independent.Intakenext100.P01.vertexSpace

For any natural numbers d,n,kd,n,kd,n,k, any function T:Cd×d→Cn×nT:\mathbb C^{d\times d}\to\mathbb C^{n\times n}T:Cd×d→Cn×n, and any family s0,…,sk−1s_0,\ldots,s_{k-1}s0​,…,sk−1​ of complex n×nn\times nn×n matrices, vertexSpace⁡(T,s)\operatorname{vertexSpace}(T,s)vertexSpace(T,s) is the smallest complex-linear subspace of Cd\mathbb C^dCd containing, for every i<ki<ki<k, all unit vectors xxx satisfying T(xx∗)=siT(xx^*)=s_iT(xx∗)=si​, with (xx∗)ab=xaxb‾(xx^*)_{ab}=x_a\overline{x_b}(xx∗)ab​=xa​xb​​. Equivalently, it is the sum of the complex spans of those sets of vectors. No channel, density, distinctness, or vertex assumptions are imposed. For k=0k=0k=0, or if all those sets are empty, the result is {0}\{0\}{0}; zero dimensions are allowed.

Human review
  • Endorsed by Shuze Chen · Oct 31, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Gohan · Oct 31, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me