Hi, Just take this example: https://kwant-project.org/doc/1.0/tutorial/tutorial4 and modify the hopping as sys[[kwant.builder.HoppingKind(*hopping) for hopping in hoppings]] = -1 change to sys[[kwant.builder.HoppingKind(*hopping) for hopping in hoppings]] = hops where you define hops analogously to potential: def hops(site1, site2): (x, y) = site1.pos if x*x + y*y >r**2 - 1: return |-1 + kwant.digest.||gauss|(/input/,/salt=''/) else: return -1 So, the idea is that when hopping close to the edge, it's modified by some random number. On 18/03/2019 16:48, kuangyia lee wrote:
Hi Sergey,
For what you mentioned in your reply, I prefer to add the hoppings near the edge because which seems more realistic. But since I am relatively new to kwant, could you please kindly show me in a concrete way or just lead me to a concrete example in kwant tutorial (at the moment I did not find such an example yet) ? Much appreciated for your help.
Thank you a lot.
Best, Kuangyia
On Mon, Mar 18, 2019 at 4:18 PM Sergey Slizovskiy
mailto:sereza@gmail.com> wrote: Hi, Just take a tutorial example of graphene with random potential noise added, and change the amplitude of random potential to be larger near the edge. You can also add a random correction to hoppings near the edge. Best wishes, Sergey
On 18/03/2019 15:13, kuangyia lee wrote: > Hi everyone, > > I am not excellent in using kwant. Recently I want to use kwant to > model the edge passivation to a ribbon structure (say a graphene > ribbon). Can anyone show me how to implement? Thanks a lot. > > Best, > Kuangyia