I will start to answer some of your questions:
Gayles, Jacob Davis wrote:
- I would like to know what is the simplest way the number of
sites, the positions, and the tuples of these sites. I would like to print them all out.
For a builder or for a finalized builder?
- In this graphene flake example
(http://kwant-project.org/doc/latest/tutorial/tutorial4 http://kwant-project.org/doc/latest/tutorial/tutorial4) if i wanted to make a hall bar setup, how would I exactly attach the leads purely in the x-axis and purely only the y-axis. (more of an aesthetic question).
Kwant chooses the unit cells of leads according to a rule that does not always lead (pun intended) to aesthetically pleasing results and also sometimes degrades performance by adding sites to the scattering region without a real need. You can, however, choose the direction in which leads are “sliced” yourself by using “add_site_family” method of your symmetry and its “other_vectors” parameter before you start adding sites to your lead. See here for an example:
- in terms of the hopping, when one has sys[lat.neighbors(1)]
=t sys[lat.neighbors(2)] =t is the hopping mediated by the distance i.e. t_1=t/a_1 and t_2=t/a_2.
The bits of the Hamiltonian (includling the hoppings) are what you set them to. The lattice constant is only used for plotting.
So long, Christoph