Re: [Kwant] Plotting energy as a function of magnetic field in 3D.

2019-09-12 Thread Naveen Yadav
Dear sir, That is exactly what I am looking for. But in my case Hamiltonian is not polynomial in k. It contains Sine and Cosine terms. It's a tight binding Hamiltonian having coupling terms like sigma_x *Sin(kx)+ sigma_y *sin(ky) and mass term in the trignometric form. So, can I proceed by writin

Re: [Kwant] Plotting energy as a function of magnetic field in 3D.

2019-09-12 Thread Naveen Yadav
The second problem is solved. I got the landau fan for BHZ model. Thank you for the support. On Thu, Sep 12, 2019, 12:46 Naveen Yadav wrote: > Dear sir, > > I have updated KWANT, but it shows the *AttributeError: module > 'kwant.continuum' has no attribute 'discretize_landau'.* And in browser >

Re: [Kwant] Plotting energy as a function of magnetic field in 3D.

2019-09-12 Thread Naveen Yadav
Dear sir, I have updated KWANT, but it shows the *AttributeError: module 'kwant.continuum' has no attribute 'discretize_landau'.* And in browser also, it is showing the same error. I have downloaded the landau_levels.py file and put it into the continuum folder. But it is not working. On Wed, Se

Re: [Kwant] Plotting energy as a function of magnetic field in 3D.

2019-09-12 Thread Anton Akhmerov
Great, Just to add a concluding remark: Landau fan requires a continuum approximation of the Hamiltonian. If you start with a tight-binding Hamiltonian you'd get fractal spectrum and the Hofstadter butterfly instead. Happy Kwanting, Anton On Thu, 12 Sep 2019 at 10:09, Naveen Yadav wrote: > > Th