Quantum, Qiskit, Quantum Mechanics, Python, Programming.
np.fft.ifft apply a fast Fourier transform and inverse fast Fourier transform respectively. '''function for one step of split operator method''' def splitOperator(psi,Vprop=Vprop,Tprop=Tprop): psi*=Vprop #1/2 step of potential propagator psi_p=np.fft.fft(psi) #shift to momentum basis psi_p*=Tprop