This commit is contained in:
2022-05-16 05:58:21 +08:00
parent ca30d29476
commit 0209b30e76
5 changed files with 51 additions and 47 deletions

View File

@@ -9,7 +9,7 @@ from math import *
import cmath
def hamiltonian(k1, k2, t1=2.82*sqrt(3)/2, a=1/sqrt(3)): # 石墨烯哈密顿量a为原子间距不赋值的话默认为1/sqrt(3)
def hamiltonian(k1, k2, t1=2.82, a=1/sqrt(3)): # 石墨烯哈密顿量a为原子间距不赋值的话默认为1/sqrt(3)
h = np.zeros((2, 2))*(1+0j)
h[0, 0] = 0.28/2
h[1, 1] = -0.28/2

View File

@@ -9,7 +9,7 @@ from math import *
import cmath
def hamiltonian(k1, k2, t1=2.82*sqrt(3)/2, a=1/sqrt(3)): # 石墨烯哈密顿量a为原子间距不赋值的话默认为1/sqrt(3)
def hamiltonian(k1, k2, t1=2.82, a=1/sqrt(3)): # 石墨烯哈密顿量a为原子间距不赋值的话默认为1/sqrt(3)
h = np.zeros((2, 2))*(1+0j)
h[0, 0] = 0.28/2
h[1, 1] = -0.28/2

View File

@@ -9,7 +9,7 @@ from math import *
import cmath
def hamiltonian(k1, k2, t1=2.82*sqrt(3)/2, a=1/sqrt(3)): # 石墨烯哈密顿量a为原子间距不赋值的话默认为1/sqrt(3)
def hamiltonian(k1, k2, t1=2.82, a=1/sqrt(3)): # 石墨烯哈密顿量a为原子间距不赋值的话默认为1/sqrt(3)
h = np.zeros((2, 2))*(1+0j)
h[0, 0] = 0.28/2
h[1, 1] = -0.28/2