-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Labels
questionFurther information is requestedFurther information is requested
Description
I have a question about this definition part.
/-- A ket as a vector of unit norm. We follow the convention in `Matrix` of vectors as simple functions
from a Fintype. Kets are distinctly not a vector space in our notion, as they represent only normalized
states and so cannot (in general) be added or scaled. -/
structure Ket where
vec : d → ℂ
normalized' : ∑ x, ‖vec x‖ ^ 2 = 1
--TODO: change to `vec : EuclideanSpace ℂ d` / `normalized' : ‖vec‖ = 1`My question is, what are the pros and cons of using this definition?
May I simply use a
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested