From 50ae8395f9bb9a65ec61b34e8723bd5d7152ac93 Mon Sep 17 00:00:00 2001 From: guanjihuan <34735497+guanjihuan@users.noreply.github.com> Date: Mon, 5 Jul 2021 17:00:04 +0800 Subject: [PATCH] Update 2D_graphene.py --- .../2019.10.23_Hamiltonian_and_bands_of_graphene/2D_graphene.py | 1 - 1 file changed, 1 deletion(-) diff --git a/academic_codes/2019.10.23_Hamiltonian_and_bands_of_graphene/2D_graphene.py b/academic_codes/2019.10.23_Hamiltonian_and_bands_of_graphene/2D_graphene.py index 9e0b94d..8614ec4 100755 --- a/academic_codes/2019.10.23_Hamiltonian_and_bands_of_graphene/2D_graphene.py +++ b/academic_codes/2019.10.23_Hamiltonian_and_bands_of_graphene/2D_graphene.py @@ -14,7 +14,6 @@ def hamiltonian(k1, k2, M, t1, a=1/sqrt(3)): # Haldane哈密顿量(a为原子 # 初始化为零矩阵 h0 = np.zeros((2, 2), dtype=complex) h1 = np.zeros((2, 2), dtype=complex) - h2 = np.zeros((2, 2), dtype=complex) # 质量项(mass term),用于打开带隙 h0[0, 0] = M