Skip to content

kumarjnc/PYTOP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PYTOP

Summary

This python module calculates the topological invarint of 2 dimensional quantum hall systems in a computationally efficient way. Addionaly it also gives the edge states. Bulk boundary correspondence can be varified.

Installation

git clone https://github.com/kumarjnc/PYTOP.git

Example

Topological invariant calculation

import qsh
import link
import field
import params
import numpy as np
energy, energy_val,nth_m , nky_m=qsh.bandstr(params.tx,params.ty,params.Nk,params.Ntheta,params.size_bzone,params.alpha,params.lmda,params.gama,square=True)
gap=np.min(abs(energy))
Nth, Nky, no_of_band_filled=energy.shape
no_of_band=int(no_of_band_filled/2)
evec=energy_val
U1, U2=link.link(params.Nk, params.Ntheta, no_of_band, evec)
mu=field.field(Nky, Nth, U1,U2)
if (gap > 0.01):
    muf=mu
else:
    muf=0.0
print('Z2 invariant %5.3f.' % muf)

About

This python module calculates the topological invariant of 2 dimensional quantum hall systems in a computationally efficient way. Additionally, it also gives the edge states. Bulk boundary correspondence can be verified.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors