Skip to content

Instantly share code, notes, and snippets.

@animesh-77
animesh-77 / quantum1.py
Last active November 13, 2020 20:44
alkesh
import numpy as np
import matplotlib.pyplot as plt
z=1j
x=np.linspace(-30,30,1000) # 1000 equidistant points in [-30,30]
x0=19 #position of the barrier
psi0=np.sin(x0)