Dear Joseph
At first thank you for kwant team. My problem for zigzag nanoribbon with
defect (hole) was solved with your help. Now I have a bit problem with
armchair nanoribbon. I have changed zigzag nanoribbon according to making
the armchair nanoribbon. It is OK when we have no defect on the system but
when I try to make hole on the scattering region and leads I have a
problem. The shape of holes on the scattering region and leads are not
same. My code is as the following. That is very king of you if you help me
where is the problem.
Thanks In advance for your help.
Beat wishes,
Nafise
import kwant
from math import sqrt
import matplotlib.pyplot as plt
import tinyarray
import numpy as np
import math
import cmath
#import scipy.linalg as la
import matplotlib
d=1.42;
a1=d*math.sqrt(3);
#on-site energy...................................................
t=-2.7;
latt = kwant.lattice.general([(0,a1),(a1*math.sqrt(3)/2,a1*0.5)],
[(-d/2,a1/2),(d/2,a1/2)])
a,b = latt.sublattices
syst= kwant.Builder()
def rectangle(pos):
x, y = pos
z=x**2+y**2
return -2.4*a1