WaveFunctionOnGrid#
- class scqubits.core.storage.WaveFunctionOnGrid(gridspec, amplitudes, energy=None)[source]#
Container for wave function amplitudes defined on a coordinate grid (arbitrary dimensions). Optionally, a corresponding eigenenergy is saved as well.
- Parameters:
gridspec (GridSpec) – grid specifications for the stored wave function
amplitudes (
ndarray
) – wave function amplitudes on each grid pointenergy (
Optional
[float
]) – energy corresponding to the wave function
Methods
WaveFunctionOnGrid.__init__
(gridspec, amplitudes)