Quantum, Qiskit, Quantum Mechanics, Python, Programming.
psi=(1/(sigma*np.sqrt(2*np.pi)))*np.exp(-.5*((x-x0)/sigma)**2)*np.exp(1j*k0*x) Graphing psi with matplotlib gives us the following: Next, we have to define the propagators used in each iteration of the algorithm, beginning with the potential propagator. The potential energy of the system can be