Update 1D_Haldane_model.py

This commit is contained in:
guanjihuan 2021-11-04 20:30:21 +08:00
parent e7e99d56a7
commit e94eb84241

View File

@ -31,7 +31,7 @@ def hamiltonian(k, N, M, t1, t2, phi): # Haldane哈密顿量N是条带的宽
h00[i*4+3, i*4+2] = t1
# 次近邻
h00[i*4+0, i*4+2] = t2*cmath.exp(-1j*phi) # 逆时针为正,顺时针为负
h00[i*4+0, i*4+2] = t2*cmath.exp(-1j*phi)
h00[i*4+2, i*4+0] = h00[i*4+0, i*4+2].conj()
h00[i*4+1, i*4+3] = t2*cmath.exp(-1j*phi)
h00[i*4+3, i*4+1] = h00[i*4+1, i*4+3].conj()