Quantum, Qiskit, Quantum Mechanics, Python, Programming.
#kinetic propagator psi=np.fft.ifft(psi_p) #shift back to spatial basis psi*=Vprop #1/2 step of potential propagator return psi The algorithm is finished! Taking the initial wavefunction and updating it with the splitOperator() function for the desired number of iterations will simulate the