qm_sim.plot.temporal
- qm_sim.plot.temporal(t: ndarray, psi: ndarray, Vt: Callable[[float], ndarray])[source]
Create an animation of the wave function, alongside the potential
- Parameters:
t (np.ndarray) – Times correspondind to the wave functions
psi (np.ndarray) – Wave funcions
Vt (Callable[[float], np.ndarray]) – Function of time, returning the potential at that time