This commit is contained in:
2022-02-21 13:36:48 +08:00
parent 6b84da5e77
commit aac766afbe
8 changed files with 3 additions and 15 deletions

View File

@@ -1,7 +1,6 @@
import guan
import numpy as np
# Hamiltonian of models in the reciprocal space / calculate band structures / plot figures
k_array = np.linspace(-np.pi, np.pi, 100)
eigenvalue_array = guan.calculate_eigenvalue_with_one_parameter(k_array, guan.hamiltonian_of_square_lattice_in_quasi_one_dimension)
guan.plot(k_array, eigenvalue_array, xlabel='k', ylabel='E', type='-k')