This commit is contained in:
2022-08-12 11:37:37 +08:00
parent 627c50634f
commit 4677ff429d
4 changed files with 68 additions and 5 deletions

View File

@@ -1,5 +1,6 @@
import guan
import math
# Module 1: basic functions
@@ -245,7 +246,9 @@ guan.print_or_write_scattering_matrix(fermi_energy, h00, h01, length=100, print_
chern_number = guan.calculate_chern_number_for_square_lattice(hamiltonian_function, precision=100, print_show=0)
chern_number = guan.calculate_chern_number_for_square_lattice_with_Wilson_loop(hamiltonian_function, precision_of_plaquettes=10, precision_of_Wilson_loop=100, print_show=0)
chern_number = guan.calculate_chern_number_for_square_lattice_with_Wilson_loop(hamiltonian_function, precision_of_plaquettes=20, precision_of_Wilson_loop=5, print_show=0)
chern_number = guan.calculate_chern_number_for_square_lattice_with_Wilson_loop_for_degenerate_case(hamiltonian_function, num_of_bands=[0, 1], precision_of_plaquettes=20, precision_of_Wilson_loop=5, print_show=0)
chern_number = guan.calculate_chern_number_for_honeycomb_lattice(hamiltonian_function, a=1, precision=300, print_show=0)