Update GUAN_package_learning.ipynb

This commit is contained in:
guanjihuan 2024-01-26 00:19:20 +08:00
parent 57bb0aa536
commit c0bec3ddda

View File

@ -126,7 +126,10 @@
"h01 = np.identity(N2)\n",
"LDOS = guan.local_density_of_states_for_square_lattice_using_dyson_equation(fermi_energy, h00=h00, h01=h01, N2=N2, N1=N1)\n",
"print(LDOS, '\\n\\n')\n",
"LDOS2 = guan.local_density_of_states_for_square_lattice_using_dyson_equation_with_second_method(fermi_energy, h00, h01, N2, N1, internal_degree=1, broadening=0.01)\n",
"print(LDOS2, '\\n\\n')\n",
"guan.plot_contour(range(N1), range(N2), LDOS, fontfamily=None)\n",
"guan.plot_contour(range(N1), range(N2), LDOS2, fontfamily=None)\n",
"\n",
"N1 = 3\n",
"N2 = 4\n",