[Kwant] Help

2019-04-01 Thread Naveen Yadav
7 # sympy types.198 subs = {r: sympy.Symbol(str(r.func))(*r.args)--> 199 for r in hamiltonian.atoms(sympy.Function)}200 201 hamiltonian = hamiltonian.subs(subs) TypeError: 'Symbol' object is not callable Could you please help me in the above context. Thanks in

Re: [Kwant] Help

2019-04-01 Thread Naveen Yadav
; > > On Mon, Apr 1, 2019 at 8:00 AM Naveen Yadav naveengunwa...@gmail.com > <http://mailto:naveengunwa...@gmail.com> wrote: > > Dear all, >> >> I am tring to discretize the Hamiltonian containing the functional terms >> (like sin(k_x) ), but I am gettin

[Kwant] Want to know more about bulid_discretized

2019-03-29 Thread Naveen Yadav
I want to know more about the builid_discretized(tb_hamiltonian, coords). I did not undersand what should be the syntax to write the coords.Could you please help me by sending an example code for writing coords? Thanks in Advance. Naveen Department of Physics & Astrophysics

[Kwant] Density Operator & Current Operator for 3D systems

2019-06-09 Thread Naveen Yadav
Dear KWANT Depelopers, Following the Kwant documentation, it is easy to plot probability density for 2D systems. But on following the same procedure for the 3D systems it shows an *ValueError: Only 2D systems can be plotted this way.* Please suggest me if there is a way to plot probability

Re: [Kwant] Density Operator & Current Operator for 3D systems

2019-06-10 Thread Naveen Yadav
t) > current = J_0(psi) > lat2=kwant.lattice.square(norbs=1) > sys2=kwant.Builder() > sys2[(lat2(site.pos[0],site.pos[1]) for site in Sites if > site.pos[2]==z)]=0 > sys2[lat2.neighbors()]=-1 > sys2f=sys2.finalized() > kwant.plotter.current(sys2f, c

Re: [Kwant] [KWANT] Diagonalization of hamiltonian

2019-04-29 Thread Naveen Yadav
Thank you so much for your time. I will try it. Naveen Department of Physics & Astrophysics University of Delhi New Delhi-110007 On Mon, Apr 29, 2019, 16:32 Joseph Weston wrote: > > > > > I have build the system(discretized in x and y direction). The actual > > problem is that, "

Re: [Kwant] Peierls phase substitution on Tight-Binding Hamiltonian

2019-05-07 Thread Naveen Yadav
That is okay, but still something wrong. Naveen Department of Physics & Astrophysics University of Delhi New Delhi-110007 On Tue, May 7, 2019, 13:29 Joseph Weston wrote: > > > Dear Joseph, > > > > As per your instructions I have build the system, but the code is not > > giving the

Re: [Kwant] Peierls phase substitution on Tight-Binding Hamiltonian

2019-05-07 Thread Naveen Yadav
)pyplot.xlabel("magnetic field [arbitrary units]")pyplot.ylabel("energy [t]")pyplot.show()* *plot_spectrum(syst, [iB * 0.002 for iB in range(100)])* Best regards, Naveen On Tue, May 7, 2019 at 1:35 PM Naveen Yadav wrote: > That is okay, but still something wrong. > > &

Re: [Kwant] Peierls phase substitution on Tight-Binding Hamiltonian

2019-05-07 Thread Naveen Yadav
Thank you for the clarification. Naveen Department of Physics & Astrophysics University of Delhi New Delhi-110007 On Tue, May 7, 2019, 15:04 Joseph Weston wrote: > > And also, when I am plotting the spectrum in varing magnetic field with > the hamiltonian as a sparse matrix. I am

Re: [Kwant] Peierls phase substitution on Tight-Binding Hamiltonian

2019-05-06 Thread Naveen Yadav
? Please help me regarding this. Thanks for your help. Naveen Department of Physics & Astrophysics University of Delhi New Delhi-110007 On Mon, May 6, 2019, 13:18 Joseph Weston wrote: > Hi, > On 5/5/19 1:08 PM, Naveen Yadav wrote: > > Dear KWANT developers, > > I have

Re: [Kwant] Peierls phase substitution on Tight-Binding Hamiltonian

2019-05-06 Thread Naveen Yadav
Thanks, I'll check it out. Naveen Department of Physics & Astrophysics University of Delhi New Delhi-110007 On Mon, May 6, 2019, 15:10 Joseph Weston wrote: > > > > Then as you said I have to multiply the hopping in z direction by exp(2 * > pi * 1j * B * a* y). But how can I build

Re: [Kwant] Peierls phase substitution on Tight-Binding Hamiltonian

2019-05-06 Thread Naveen Yadav
('energy [E]') plt.show() analyze_system() best regards, Naveen On Mon, May 6, 2019 at 3:12 PM Naveen Yadav wrote: > Thanks, I'll check it out. > > > > > > > > > > > > > > Naveen > Department of Physics & Astrophysics > University of Delhi &

[Kwant] Peierls phase substitution on Tight-Binding Hamiltonian

2019-05-05 Thread Naveen Yadav
Dear KWANT developers, I have an Hamiltonian *H(k) = tx*σx* sin kx + ty*σy*sin ky + mk*σz + λ*σ0 *sin kz,* *mk = tz(cos β − cos kz) + t'(2 − cos kx − cos ky)* I am trying to introduce magnetic field in *x-direction* for a gauge *A = (0, 0, By),* Can I make a *template* for this hamiltonian

[Kwant] Phlead.py

2019-07-15 Thread Naveen Yadav
Dear all, Could anyone provide me the newer version of code *phlead.py* to calculate the conductance through majorana. The older vesion of code is not working well with latest version of kwant and it shows a lot of errors. Please help me in this regard. Thank you. Best regards Naveen

Re: [Kwant] Phlead.py

2019-07-16 Thread Naveen Yadav
Naveen Department of Physics & Astrophysics University of Delhi New Delhi-110007 On Mon, Jul 15, 2019, 17:03 Naveen Yadav wrote: > Thank you very much Sir. > > > > > > > > > > > > > > Naveen > Department of Physics & Astrophy

Re: [Kwant] 3D annulus cylinder

2019-08-13 Thread Naveen Yadav
Dear sir, Could we attach *circular leads* to the inner and outer circle of annulus geometry in 3D? Please suggest me if there is a way to do that. Thank you. Naveen On Fri, Aug 9, 2019 at 3:26 PM Naveen Yadav wrote: > Problem solved. Thanks a lot sir. > > On Fri, Aug 9, 2019 a

Re: [Kwant] 3D annulus cylinder

2019-08-13 Thread Naveen Yadav
> invariance. This makes one unable to compute a mode decomposition in > such a geometry, and therefore computing the conductance becomes > extremely difficult. Right now Kwant only implements the algorithms > that assume translationally invariant leads. > > Best, > Anton > > On

Re: [Kwant] 3D annulus cylinder

2019-08-13 Thread Naveen Yadav
lat(0, 0) is in the hole > of the annulus > > > Happy Kwanting, > > > Joe > > > [1]: > https://kwant-project.org/doc/1/reference/generated/kwant.builder.Builder#kwant.builder.Builder.attach_lead > -- With Best Regards NAVEEN YADAV Ph.D Research Scholar Deptt. Of Physics & Astrophysics University Of Delhi.

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

2019-09-05 Thread Naveen Yadav
syst = make_system() analyze_system()main()* -- With Best Regards NAVEEN YADAV Ph.D Research Scholar Deptt. Of Physics & Astrophysics University Of Delhi.

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

2019-09-12 Thread Naveen Yadav
> > https://gitlab.kwant-project.org/kwant/kwant/blob/master/kwant/continuum/landau_levels.py > > Let me know if that answers your question, > Anton > > On Wed, 11 Sep 2019 at 18:39, Naveen Yadav > wrote: > > > > Dear sir, > > > > I understood that this c

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

2019-09-12 Thread Naveen Yadav
, Sep 11, 2019, 23:47 Naveen Yadav wrote: > 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

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

2019-09-08 Thread Naveen Yadav
hesitate to put > some extra lines in your program to follow the progress when you think that > there is a problem. > > > I hope this helps. > Regards, > Adel > > On Thu, Sep 5, 2019 at 7:32 PM Naveen Yadav > wrote: > >> Dear Sir, >> >> I am trying

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

2019-09-11 Thread Naveen Yadav
tonian in kwant. You > may find it very useful [2] > I hope this helps. > > Regards, > Adel > > > [1] https://arxiv.org/pdf/1601.06507.pdf > [2] https://kwant-project.org/doc/1/tutorial/discretize > > On Sun, Sep 8, 2019 at 6:16 PM Naveen Yadav > wrote: > >> Dear

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

2019-09-13 Thread Naveen Yadav
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: > > > > The second problem is solved. I got the landau fan for BHZ model. &

Re: [Kwant] 3D annulus cylinder

2019-08-09 Thread Naveen Yadav
ential_shape#nontrivial-shapes. > The code will be almost exactly the same as the ring example in the > tutorial, except that you will have 3 coordinates instead of 2. > > > Happy Kwanting, > > > Joe > -- With Best Regards NAVEEN YADAV Ph.D Research Scholar Deptt. Of Physics & Astrophysics University Of Delhi.

Re: [Kwant] Phlead.py

2019-07-17 Thread Naveen Yadav
Problem solved. Naveen Department of Physics & Astrophysics University of Delhi New Delhi-110007 On Tue, Jul 16, 2019, 15:40 Naveen Yadav wrote: > Dear Sir, > > Actually, I wanted to plot the zero bias conductane peak for > majorana(topological) quantized at 2e^2

Re: [Kwant] Phlead.py

2019-07-16 Thread Naveen Yadav
g/doc/1/tutorial/superconductors > > That's the most up to date and systematic way. > > Best, > Anton > > On Mon, 15 Jul 2019 at 13:14, Naveen Yadav > wrote: > > > > Dear all, > > > > Could anyone provide me the newer version of code phlead.py to calcul

[Kwant] Adding long range hopping to the system

2020-03-02 Thread Naveen Yadav
Dear Kwant developers, I want to add second neighbour hoppings to the system in the similar way as I did for the first nearest neighbour *syst = kwant.Builder()lat = kwant.lattice.cubic(a)syst[(lat(z, y, x) for z in range(H) for y in range(W) for x in range(L))] = onsite*

Re: [Kwant] 3D Current Density

2020-03-25 Thread Naveen Yadav
Thank you for the clarification. Best Regards Naveen Yadav Research Scholar Department of Physics & Astrophysics University of Delhi New Delhi-110007 On Wed, Mar 25, 2020, 18:50 Ousmane LY wrote: > Dear Naveen, > if you want to use a 2d system to represent local properties of a 3

Re: [Kwant] discontinuity between lead and scattering region

2020-05-17 Thread Naveen Yadav
vectors will help you to calculate the density for a given mode. > > I hope this helps, > > Adel > > On Thu, May 7, 2020 at 9:46 PM Naveen Yadav > wrote: > >> Dear sir, >> Could you please provide me an working example of this type? >> >> Best R

[Kwant] discontinuity between lead and scattering region

2020-05-07 Thread Naveen Yadav
] As you can see from the plot there is a discontinuity in the plot at (W=20). Why it is so even if the scattering region and leads have same onsite and hopping and there is translation symmetry throughout ? -- Best Regards, Naveen Yadav Research Scholar Department of Physics & Astrophy

[Kwant] 3D Current Density

2020-03-23 Thread Naveen Yadav
Best Regards Naveen Yadav Ph.D Research Scholar Deptt. Of Physics & Astrophysics University Of Delhi.

Re: [Kwant] discontinuity between lead and scattering region

2020-05-07 Thread Naveen Yadav
Dear sir, I understand what you have said. But how can I maintain translation symmetry ?because my system is 3D and for plotting current I access the sites of 3D system using *list(sys.sites) *and plot the current for 2D slice. Please suggest me. Best Regards Naveen Yadav Research Scholar

Re: [Kwant] discontinuity between lead and scattering region

2020-05-07 Thread Naveen Yadav
Dear sir, Could you please provide me an working example of this type? Best Regards Naveen Yadav Research Scholar Department of Physics & Astrophysics University of Delhi New Delhi-110007 On Thu, May 7, 2020, 20:37 Abbout Adel wrote: > Hi again, > > I f you want translational