Skip to content

Add simple examples of wavefunctions #79

Description

@ohno

Add examples of wavefunctions without plotting.

using Antique
HO = HarmonicOscillator(k=1.0, m=1.0, ℏ=1.0)
julia> ψ(HO, 0.0)
0.7511255444649425

julia> ψ(HO, 0.0, n=0)
0.7511255444649425

julia> ψ(HO, 0.0, n=1)
0.0

julia> ψ(HO, 0.0, n=3)
0.0

Metadata

Metadata

Assignees

Labels

documentationImprovements or additions to documentation

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions