Definitions for On the dimension of subspaces with bounded Schmidt rank
DefinitionQAlgorithms_Papers_Independent_Intake100_P43The objects the formalized statements of On the dimension of subspaces with bounded Schmidt rank (arXiv:0706.0705) are stated in. Each was checked against the paper by a blind read-back and a moderator.
coefficientEquiv: PDF pp.1–2: the full complex-linear coefficient identification in the fixed ordered local computational bases; no normalization or conjugation.HasLowerSchmidtRank: PDF p.1, notation: every nonzero vector of S has Schmidt rank at least r.HasUpperSchmidtRank: PDF p.1, notation: every nonzero vector of S has Schmidt rank at most r.HasConstantSchmidtRank: PDF pp.1,3: constant Schmidt rank means equality for all nonzero vectors.TotallyNonsingular: PDF p.2, Definition 7: every square minor is nonzero. Embeddings select distinct rows and columns. The order-zero minor is included and equals one.antisymmetricSubspace: PDF p.3: the completely antisymmetric subspace. The coefficient condition is transpose = minus itself, without complex conjugation.normalizedProjector: PDF p.4: the canonical normalized orthogonal projector onto S, computed from S itself. Its total-function value for the zero subspace is zero; all physical applications below have strictly positive dimension.schmidtMeasure: PDF p.1: the mixed-state Schmidt measure is the least achievable bound on ranks of positive-weight components, without taking a logarithm. Countable decompositions are written directly using weights and vectors; the imported PureEnsemble is the distinct finite interface used for witnesses. For physical density matrices the candidate set is nonempty (spectral ensemble) and bounded below in N. On an invalid rho with no ensemble this definition has Mathlib's Nat.sInf empty default zero; no theorem uses that default.
import Mathlib
import Definitions.Def_QAlgorithms_Defs_Information
import Definitions.Def_QAlgorithms_Defs_Ensemble
import Definitions.Def_QAlgorithms_Papers_Independent_Dependency50_P50
import Definitions.Def_QAlgorithms_Papers_Independent_Information100_P03
/-!
Cubitt, Montanaro and Winter, arXiv:0706.0705v1, PDF pp.1–4.
Finite complex bipartite spaces use the accepted product computational basis.
A source state is NONZERO, without a normalization requirement (PDF p.1).
Only the vectors in mixed-state decompositions are required to have unit norm.
The accepted Dependency50.P50 module supplies Bipartite and schmidtNumber;
its coefficient rank extends Schmidt rank to zero by zero.
All additions in this module are local to this paper. Compilation is pending.
-/
noncomputable section
open scoped BigOperators Matrix ComplexConjugate
namespace QAlgorithms.Papers.Independent.Intake100.P43
open QAlgorithms.Papers.Independent.Dependency50.P50 (Bipartite schmidtNumber)
open QAlgorithms.Papers.Independent.Information100.P03 (PureEnsemble)
/-- PDF pp.1–2: the full complex-linear coefficient identification in the
fixed ordered local computational bases; no normalization or conjugation. -/
def coefficientEquiv {dA dB : ℕ} :
Bipartite dA dB ≃ₗ[ℂ] Matrix (Fin dA) (Fin dB) ℂ where
toFun v := fun i j => v (i, j)
invFun M := WithLp.toLp 2 (fun p => M p.1 p.2)
left_inv v := by ext p; rfl
right_inv M := by ext i j; rfl
map_add' v w := by ext i j; rfl
map_smul' c v := by ext i j; rfl
/-- PDF p.1, notation: every nonzero vector of S has Schmidt rank at least r. -/
def HasLowerSchmidtRank {dA dB : ℕ}
(S : Submodule ℂ (Bipartite dA dB)) (r : ℕ) : Prop :=
∀ v ∈ S, v ≠ 0 → r ≤ schmidtNumber v
/-- PDF p.1, notation: every nonzero vector of S has Schmidt rank at most r. -/
def HasUpperSchmidtRank {dA dB : ℕ}
(S : Submodule ℂ (Bipartite dA dB)) (r : ℕ) : Prop :=
∀ v ∈ S, v ≠ 0 → schmidtNumber v ≤ r
/-- PDF pp.1,3: constant Schmidt rank means equality for all nonzero vectors. -/
def HasConstantSchmidtRank {dA dB : ℕ}
(S : Submodule ℂ (Bipartite dA dB)) (r : ℕ) : Prop :=
∀ v ∈ S, v ≠ 0 → schmidtNumber v = r
/-- PDF p.2, Definition 7: every square minor is nonzero. Embeddings select
distinct rows and columns. The order-zero minor is included and equals one. -/
def TotallyNonsingular {n : ℕ} (M : Matrix (Fin n) (Fin n) ℂ) : Prop :=
∀ (k : ℕ) (rows cols : Fin k ↪ Fin n),
(M.submatrix rows cols).det ≠ 0
/-- PDF p.3: the completely antisymmetric subspace. The coefficient condition
is transpose = minus itself, without complex conjugation. -/
def antisymmetricSubspace : Submodule ℂ (Bipartite 3 3) where
carrier := {v | ∀ i j, v (i, j) = -v (j, i)}
zero_mem' := by intro i j; simp
add_mem' := by
intro v w hv hw i j
change v (i, j) + w (i, j) = -(v (j, i) + w (j, i))
rw [hv i j, hw i j, neg_add]
smul_mem' := by
intro c v hv i j
change c * v (i, j) = -(c * v (j, i))
rw [hv i j, mul_neg]
/-- PDF p.4: the canonical normalized orthogonal projector onto S, computed
from S itself. Its total-function value for the zero subspace is zero;
all physical applications below have strictly positive dimension. -/
def normalizedProjector {dA dB : ℕ} (S : Submodule ℂ (Bipartite dA dB)) :
Matrix (Fin dA × Fin dB) (Fin dA × Fin dB) ℂ :=
(Module.finrank ℂ S : ℂ)⁻¹ •
(fun i j => (S.starProjection (QAlgorithms.ket j)) i)
/-- PDF p.1: the mixed-state Schmidt measure is the least achievable bound
on ranks of positive-weight components, without taking a logarithm.
Countable decompositions are written directly using weights and vectors; the
imported PureEnsemble is the distinct finite interface used for witnesses.
For physical density matrices the candidate set is nonempty (spectral ensemble)
and bounded below in N. On an invalid rho with no ensemble this definition has
Mathlib's Nat.sInf empty default zero; no theorem uses that default. -/
def schmidtMeasure {dA dB : ℕ}
(rho : Matrix (Fin dA × Fin dB) (Fin dA × Fin dB) ℂ) : ℕ :=
sInf {k : ℕ | ∃ (weight : ℕ → ℝ) (vector : ℕ → Bipartite dA dB),
(∀ i, 0 ≤ weight i) ∧ HasSum weight 1 ∧
(∀ i, ‖vector i‖ = 1) ∧
(∀ a b, HasSum
(fun i => (weight i : ℂ) * QAlgorithms.pureDensity (vector i) a b) (rho a b)) ∧
∀ i, 0 < weight i → schmidtNumber (vector i) ≤ k}
/-- Sanity: one coefficient is read in the ordered product basis. -/
example (v : Bipartite 2 3) : coefficientEquiv v (0 : Fin 2) (1 : Fin 3) =
v ((0 : Fin 2), (1 : Fin 3)) := rfl
/-- Sanity: the zero subspace has no nonzero vectors to constrain. -/
example (r : ℕ) : HasLowerSchmidtRank (⊥ : Submodule ℂ (Bipartite 1 1)) r := by
intro v hv hne
exact (hne (by simpa using hv)).elim
/-- Sanity: the upper/constant predicates also exclude the zero vector. -/
example (r : ℕ) : HasUpperSchmidtRank (⊥ : Submodule ℂ (Bipartite 1 1)) r ∧
HasConstantSchmidtRank (⊥ : Submodule ℂ (Bipartite 1 1)) r := by
constructor <;> intro v hv hne <;> exact (hne (by simpa using hv)).elim
/-- Sanity: the order-zero determinant in the minor predicate equals one. -/
example {n : ℕ} (M : Matrix (Fin n) (Fin n) ℂ)
(rows cols : Fin 0 ↪ Fin n) : (M.submatrix rows cols).det = 1 := by
simp
/-- Sanity: antisymmetry permits zero, as a linear subspace must. -/
example : (0 : Bipartite 3 3) ∈ antisymmetricSubspace := by
intro i j
simp
/-- Sanity: normalization on the zero subspace returns zero, never a density. -/
example : normalizedProjector (⊥ : Submodule ℂ (Bipartite 1 1)) = 0 := by
simp [normalizedProjector] <;> rfl
/-- Sanity: the imported finite ensemble has total weight one. -/
example {dA dB : ℕ} (E : PureEnsemble (Fin dA × Fin dB)) :
∑ i, E.weight i = 1 := E.total
/-- Sanity: a convergent decomposition with all positive-weight ranks at most
one supplies a candidate in the countable Schmidt-measure definition. -/
example {rho : Matrix (Fin 1 × Fin 1) (Fin 1 × Fin 1) ℂ}
(weight : ℕ → ℝ) (vector : ℕ → Bipartite 1 1)
(hw : ∀ i, 0 ≤ weight i) (hs : HasSum weight 1)
(hv : ∀ i, ‖vector i‖ = 1)
(he : ∀ a b, HasSum
(fun i => (weight i : ℂ) * QAlgorithms.pureDensity (vector i) a b) (rho a b))
(hr : ∀ i, 0 < weight i → schmidtNumber (vector i) ≤ 1) :
1 ∈ {k : ℕ | ∃ (w : ℕ → ℝ) (v : ℕ → Bipartite 1 1),
(∀ i, 0 ≤ w i) ∧ HasSum w 1 ∧ (∀ i, ‖v i‖ = 1) ∧
(∀ a b, HasSum
(fun i => (w i : ℂ) * QAlgorithms.pureDensity (v i) a b) (rho a b)) ∧
∀ i, 0 < w i → schmidtNumber (v i) ≤ k} :=
⟨weight, vector, hw, hs, hv, he, hr⟩
end QAlgorithms.Papers.Independent.Intake100.P43
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
QAlgorithms.Papers.Independent.Intake100.P43.HasConstantSchmidtRank
For natural numbers and a complex-linear subspace of the Euclidean space of arrays with and , this predicate means that every nonzero has coefficient-matrix rank exactly :
No normalization is required, and no nonzero vector is required to exist in . In particular, the zero subspace satisfies this predicate for every , including when either ambient dimension is zero; for , only the zero subspace satisfies it.
QAlgorithms.Papers.Independent.Intake100.P43.HasLowerSchmidtRank
For natural numbers and a complex-linear subspace of the Euclidean space of arrays with and , this predicate means that every nonzero has coefficient-matrix rank at least :
No normalization of is required. The predicate holds vacuously for , including every possible subspace when either ambient dimension is zero; for , it holds for every .
QAlgorithms.Papers.Independent.Intake100.P43.HasUpperSchmidtRank
For natural numbers and a complex-linear subspace of the Euclidean space of arrays with and , this predicate means that every nonzero satisfies
No normalization is required. The predicate holds vacuously for , including every possible subspace when either ambient dimension is zero. When , it can hold only for the zero subspace.
QAlgorithms.Papers.Independent.Intake100.P43.TotallyNonsingular
For every natural number and complex matrix , this predicate means that, for every natural number and every two injective maps , the square matrix with entries has nonzero determinant. Thus every square submatrix obtained by independently selecting and ordering distinct rows and distinct columns must have nonzero determinant. The case is included and has determinant ; for , there are no such injections. Consequently, the unique matrix satisfies the predicate.
QAlgorithms.Papers.Independent.Intake100.P43.antisymmetricSubspace
This defines the complex-linear subspace of the Euclidean space consisting exactly of vectors satisfying for every . Equivalently, their coefficient matrices are skew-symmetric under ordinary transpose, without complex conjugation; in particular, all diagonal coordinates are zero. The zero vector is included, and the stated coordinate condition is preserved by addition and multiplication by any complex scalar.
QAlgorithms.Papers.Independent.Intake100.P43.coefficientEquiv
For every pair of natural numbers , including zero, this defines a complex-linear equivalence from the Euclidean space to the space of complex matrices: a vector is sent to the matrix with , and a matrix is sent back to the vector with coordinates . These maps are inverse and preserve addition and complex scalar multiplication. If either dimension is zero, both spaces consist only of zero.
QAlgorithms.Papers.Independent.Intake100.P43.normalizedProjector
For every pair of natural numbers and every complex-linear subspace of the Euclidean space indexed by , this defines the complex matrix
where is the orthogonal projection onto and has coordinate at and elsewhere. The dimension is converted to a complex scalar before taking its inverse. Division by zero is interpreted as multiplication by zero, so this definition gives the zero matrix when , including when either ambient dimension is zero.
QAlgorithms.Papers.Independent.Intake100.P43.schmidtMeasure
For natural numbers and any complex matrix indexed by , where , this defines the infimum in of all natural numbers for which there exist sequences and vectors , indexed by every , such that , , every has Euclidean norm , and
with each displayed sum required to converge to its stated value, and with whenever . Unit norm is required even for vectors with zero weight. No density-matrix hypothesis is imposed on . If any admissible exists, the value is the least such ; if none exists, the natural-number infimum is . In particular, if either ambient dimension is zero, unit vectors cannot exist and the value is .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.