Final: Remove redundant parts to 4.3
This commit is contained in:
@ -1350,22 +1350,6 @@
|
|||||||
" return c"
|
" return c"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"cell_type": "code",
|
|
||||||
"execution_count": null,
|
|
||||||
"metadata": {},
|
|
||||||
"outputs": [],
|
|
||||||
"source": [
|
|
||||||
"tau = .1\n",
|
|
||||||
"t = np.arange(100)*tau\n",
|
|
||||||
"H = np.array([[1,2],[-2,4]])\n",
|
|
||||||
"U = getU_exact(tau, H)\n",
|
|
||||||
"\n",
|
|
||||||
"c0 = np.array([2,2], dtype=np.complex128)\n",
|
|
||||||
"\n",
|
|
||||||
"timePropagate(U, c0, t)"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"cell_type": "markdown",
|
"cell_type": "markdown",
|
||||||
"metadata": {
|
"metadata": {
|
||||||
@ -1466,29 +1450,6 @@
|
|||||||
"\n"
|
"\n"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"cell_type": "code",
|
|
||||||
"execution_count": null,
|
|
||||||
"metadata": {},
|
|
||||||
"outputs": [],
|
|
||||||
"source": [
|
|
||||||
"psi\n",
|
|
||||||
"\n",
|
|
||||||
"# This cell can be deleted!\n",
|
|
||||||
"x = np.linspace(-1, 11, 150)\n",
|
|
||||||
"xi = atomic_positions(n, a)\n",
|
|
||||||
"#t = 2\n",
|
|
||||||
"bas = atomic_basis(x, xi, sigma)\n",
|
|
||||||
"psi = c@bas.T\n",
|
|
||||||
"#atomic_basis(x, xi, sigma).T.shape\n",
|
|
||||||
"#print(x.shape, xi.shape, c[t].shape, bas.shape)\n",
|
|
||||||
"#print(psi)\n",
|
|
||||||
"psi.shape\n",
|
|
||||||
"#psi[t][x]\n",
|
|
||||||
"plt.plot(x, psi[20])\n",
|
|
||||||
"print(psi[100].shape, x.shape)"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"cell_type": "code",
|
"cell_type": "code",
|
||||||
"execution_count": null,
|
"execution_count": null,
|
||||||
|
|||||||
Reference in New Issue
Block a user