const_vec
def
The normalized constant vector of the real Euclidean space on ι.
Statement
noncomputable def const_vec (ι : Type*) [Fintype ι] : EuclideanSpace ℝ ι
- Source
- step towards commuting_quantum_efficiency_classical_lower_bound
- Verified
- 07 Nov 2026
- Axioms
- none listed
Lean source view module on GitHub
/-- The constant vector with all coordinates (√(card ι))⁻¹ in EuclideanSpace ℝ ι. -/ noncomputable def const_vec (ι : Type*) [Fintype ι] : EuclideanSpace ℝ ι := WithLp.toLp 2 (fun _ => (Real.sqrt (Fintype.card ι))⁻¹)