pith. machine review for the scientific record. sign in
structure definition def or abbrev

QuantumState

show as:
view Lean formalization →

No prose has been written for this declaration yet. The Lean source and graph data below render without it.

generate prose now

formal statement (Lean)

  60structure QuantumState (n : ℕ) where
  61  /-- Amplitude for each basis state. -/
  62  amplitudes : Fin n → Amplitude
  63  /-- Normalization: |ψ|² = 1. -/
  64  normalized : (Finset.univ.sum fun i => ‖amplitudes i‖^2) = 1
  65
  66/-- A superposition state: multiple basis states with non-zero amplitude. -/

used by (24)

From the project-wide theorem graph. These declarations reference this one in their body.

depends on (14)

Lean names referenced from this declaration's body.