Update calculation_of_Chern_number_by_efficient_method_for_degenerate_case.py
This commit is contained in:
parent
8d593a0047
commit
b6bd868ea2
@ -96,7 +96,7 @@ def calculate_chern_number_for_square_lattice_with_efficient_method_for_degenera
|
||||
i0 += 1
|
||||
dot_matrix = np.linalg.det(dot_matrix)/abs(np.linalg.det(dot_matrix))
|
||||
det_value = det_value*dot_matrix
|
||||
# four dot product
|
||||
# fourth dot product
|
||||
dot_matrix = np.zeros((dim , dim), dtype=complex)
|
||||
i0 = 0
|
||||
for dim1 in index_of_bands:
|
||||
|
Loading…
x
Reference in New Issue
Block a user