Dear Patrik,
The line that fails is
> dn_lead.fill(template, lat1, lat1(0, 0, -2))
>
did you read the documentation for the "fill" method of builders? The
documentation says that the second argument, called "shape", should be a
function that takes a site and returns true or false depending on
Hi Adel,
Thanks for the fix!
Can you please report this as a bug on the Kwant Gitlab [1]? You'll have
to create an account, but we have gmail OAuth enabled (so you can log in
with your gmail account).
If you feel like it you can also submit proposed modifications either as
patches to the dev
Hi Patrik,
> I was trying to get up/down conductance through the system
> from one end to the other, similar to the conductance from lead 0 to
> lead 1.
>
> What would be the equivalent of conductance from lead 0 to lead 1 (in
> the 'if trans'), but for either up or down spin?
Ah, this is a
Hi Adel,
Thanks for the very astute observations! I admit this had me worried for
a little bit, but I'm now confident that I understand what is going on.
While this is not a bug in Kwant, it is confusing and the tutorial is
not showing what it is meant to, so thank you for pointing this out
>
Hi Tibor,
>
> on ordering of propagating modes. In the documentation
>
> https://kwant-project.org/doc/1/reference/generated/kwant.physics.PropagatingModes
>
> it says:
>
> "modes with negative velocity are ordered from larger to lower momenta"
>
> Shouldn't it be:
>
> "modes with negative
Hi Jonathan,
> In the documentation it is written thjat the tight binding
> approximation is good for all quantum states with a wave length
> considerably larger than the lattice constant a. Now, if you are
> dealing with a system made out of a single material, then you can just
> choose a to be
Hi Hosein,
> We have a collection of tools for working with continuum models in
> Kwant 1.3. If we give it a Dirac equation, can we get the honeycomb
> lattice?
Discretizer doesn't know anything about honeycomb lattices; it just uses
finite differences on a square lattice to construct the tight
Dear Hosein,
> How to define the number of orbitals when constructing the site
> families? In tutorial2.7, it is defined using: lat =
> kwant.lattice.square(norbs=2). For a new defined lattice with spin
> degree included, how to define the number of orbitals. For example,
> graphene =
> Dear Joe,
> Thanks a lot for clarifying these points for me. So the local
> densities and local currents in Tutorial 2.7 correspond to the
> scattering state incoming in mode 0 of lead 0.
> I still feel confused. Why we only consider a *single* scattering
> state from one lead?
Because you
HI Hosein,
> I want to use kwant to calculate the local densities and currents, but
> I do not understand some of the code lines. For the local density of
> states, we can obtain it from:
> wf = kwant.wave_function(sys, energy)
>
Hi again Tibor,
>
> If I use your example code, in the step where
>
> H = H_k(lead.finalized()),
>
> the matrix H is diagonal in k-space, and would be block-diagonal in
> (electron,hole)-space, where each block is N-by-N (generally not
> diagonal), where N is the number of sites in the unit cell
Hi Sverre,
> When I calculate the scattering matrix (kwant.smatrix()) it seems that only
> one CPU (I have 12 in total) is working, while the others are idle. Is there
> a (simple) way to make all the CPUs work together when using kwant.smatrix ?
> Maybe similar improvements can be done for
Hi Tibor,
> Hi all!
>
> I would like to plot bandstructure of a graphene lead with electron
> and hole structure (i.e. norbs=2),
> while distinguishing (e.g. with color) between electron and hole bands.
>
> ...
>
> Is there an easy way to get the bands just for electrons? Something like
>
>
Hi,
> I am trying to calculate and plot dispersion relation for a 4x4
> matrix model. But I want to use 4 different lattices with names a_up,
> b_up,a_down, B_down. That is my basis. But I am not able to reproduce
> the same structure when I am using four different lattices instead 4x4
>
Hi,
>
> I am so confused of the wave function we get from :
> wf = kwant.solvers.default.wave_function(some_sys, some_energy)
> and the eigen vector we can get form the;
> ham=sys.hamiltonian_submatrix(args=[Zeeman]) eval,evec=la.eigh(ham)
The first is a scattering state with energy
Hi Sebastiano,
> I have seen most of the examples of Kwant usage, but somehow I miss the
> usage of functions to define the on-site energy of lattice sites in the
> leads. I have attached a simple Kwant script which includes the following
> lines
>
> -
>
> sym =
Hi,
> Thank you Joseph for the highlight. It make sens since the tests on a
> square lattice seemed working fine.
>
> I checked the 'plot_2d_bands' function but could not identify the
> transformation you were mentioning. Could you help me in this please?
It requires a bit of reading but we
Hi,
> My question is about calculating total current for a finite bias in a
> nanowire.
> I looked at the Datta book and try to implement it in KWANT but I can not
> get
> a reliable answer, I think I made a mistake somewhere but I can not find it.
If you want help you are going to need to be
Hi Nefta,
> Seems like kwant could not link against the already installed MUMPS-devel
> libraries. To solve that, Joe and I removed kwant and installed it again
> but this time from source and created a build.conf file that contains the
> following lines:
>
> [mumps]
> libraries = zmumps
Hi John,
If I understand correctly you are trying to visualize the square
magnitude of some wavefunction of a 2D section of a 3D system.
This problem has 2 parts: first the relevant wavefunctions components
must be extracted from the wavefunction defined over the full (3D)
system, and then these
Hi,
Try searching the mailing list archive for "carbon nanotube":
https://www.mail-archive.com/search?l=kwant-discuss%40kwant-project.org=carbon+nanotube=0=0
It throws up quite a few hits.
Happy Kwanting,
Joe
signature.asc
Description: PGP signature
Hi,
You can just explicitly specify the Kwant version that you want:
pip install kwant==1.1
> I am a new user of kwant and I have some troubles in installing kwant on
> the Enthought Canopy environment.
> I have always used this environment for my numerical work with Python
> and it is
Dear Prof. Chan,
> Dear Kwant developer,
> Is it possible to combine the s matrices for two structures to obtain the s
> matrix of a large system? The evanescent modes in a lead can be excited, does
> the s matrix or some other object contain the evanescent mode information so
> that it can be
Hi,
> The error is not completely opague of course; something seems to be
> problematic about the lattice vectors and the proposed symmetry.
Indeed, the lattice and the symmetry you defined are not compatible:
> lat = kwant.lattice.general([(0, a, a), (a, 0, a), (a, a, 0)])
> ...
>
Hi Sam,
Thanks for the clarification.
> I'm trying to study a system where a contact has been patterned around the
> outer edge of a channel. Initially I have tried attaching one lead oriented
> along the z-direction (similar to the Hanle valve example in the Kwant
> paper), which allows me
Hi Sam,
> I am working on trying to create a system where there is a lead which wraps
> around the edge of a sample.
>
> For example, I have included a code which generates a square scattering
> region with two contacts, one extending vertically and the other extending
> horizontally. What I
Hi,
> OK... I think I should learn Python better. Could You point me to some
> Python's topic which explains why in the case of
> syst[graphene.shape(stripe, (0,0))] = onsite
> _U argument is passed to the 'potential' function,
> and in the case of
> lead1[graphene.shape(lead1_shape, (0, 0))] =
Hi,
> And how can I set lead1's potential correctly? What is wrong in my script
> zigzag.py? I have the same function onsite both for scattering region and
> for leads:
>
> def *potential*( site, _U ):
> x, y = site.pos
> return _U if x >= 0 else 0
>
> def *onsite*(
Hi,
> Joe, great thanks for Your explaination. It would be quite hard for me to
> understand from the code documentation that it is the submatrix method is
> the thing which I need. But could You say is the function below calculates
> averaged over all modes transparency adequately?
>
> tblock =
Hi again,
> But now my question it seems about Kwant's functional, i.e.
> is it possible to calculate with it the transmission (in the sense of
> probability) through the barrier (single and double)? So, if the Landauer's
> formula gives the conductivity as
> G=2e^2/h * T(E) * M(E) (for zero
Hi,
> This means that kwant takes into account also some regions outside the
> leads e.g. bulk metal contacts.
>
> As a result some dependence on E is obtained even for the case of zero
> depth of the potential whell and it is not identically one.
>
> So, is it possible to obtain in Kwant the
Hi Camilla,
> (am using the development version, 1.3)
>
>
> I am trying to plot the potential of my system and I want to use the
> hamiltonian(ind,ind,*args) function, but I don't understand how to use the
> args. Normally, I would give a vector with the values of the args as input,
> but
Hi,
> In the discussion thread about calculation of current density, it is
> mentioned for the function defined for current as follows only work for 1
> orbital per site. Does the expression work for system with spin? I guess the
> Hamiltonian matrix element for sites I and j will be a matrix
Hi Sergey,
> Dear Colleagues,
> There has already been a discussion on this subject back in 2014,
> (https://www.mail-archive.com/kwant-discuss@kwant-project.org/msg00124.html)
>
> but I am not quite sure I understand the proper solution.
> I made a lead with rectangular unit cell and naive
Hi,
I should probably preface this with the disclaimer that I am not a
Windows user. However, as nobody more knowledgeable has replied to this so far,
I will attempt to do so.
> I have a version of Kwant 1.02 installed for python 2.7 in a window computer.
> If I want to update it, do I need to
Hi again,
> I had already tried that, but I get extra bands that I would like to get
> rid of.
You could try using Christoph Groth's "wraparound" module [1] (just
download the "wraparound.py" module and put it next to your script to
be able to "import wraparound"). This will convert your Builder
Hi,
> When I plot the system, I see the hoppings have been added successfully,
> but the band structure calculation returns the following error:
>
> ValueError: Further-than-nearest-neighbor cells are connected by hopping
>
>
> Can you please give me some advice on how to fix this error?
Hi Camilla,
Thanks for the bug report!
> I am currently trying to write a program to try to calculate the spin Hall
> angle in a 4-terminal normal metal using Kwant 1.3 and the conservation law
> module. The scattering region is a square 40x40. I run in to a problem when
> trying to run it.
Hi,
> I am using kwant1.3, I have read the new two threads [1] and [2], and I
> have read [3]. However, I am still unable to compute and plot the local
> density current for my system in the scattering region.
In general you should aim to give more information about precisely what
it is that is
Hi again,
> I have now tried to calculate spin currents between sites via
> kwant.operator.Current() and by manually slicing out spin up/down parts of
> the wavefunction.
> The last part of code (from the last email) you suggested to use to get out
> the ordering of the spin currents would
Hi again,
> for (i, j), spin_current in zip(syst.graph, spin_current):
> print('spin current from site {} to {} is {}'
> .format(syst.sites[j].tag, syst.sites[j].tag))
This snippet should have read
for (i, j), J in zip(syst.graph, spin_current):
Hi,
> When I run a code on a single processor, it works fine. When I add more
> CPUs, each calculation takes longer time. Code builds a system with
> hopping, on-site repulsion and SOC, with leads, then I calculate the
> scattering matrix of it.
Did you make sure to set the number of threads
Hi Sverre,
> My goal is to calculate spin currents between sites,
Indeed this is something that you will have to do manually in Kwant 1.2.
In Kwant 1.3 we will introduce the concept of "operators" that will
allow you to easily define and evaluate spin currents on wavefunctions.
> - What is
Hi,
> I do not have Anaconda installed. It appears to be a major software (400MB
> size).
Indeed Anaconda is a large package. There is, however, a stripped down
version called Miniconda [1], which installs just the "conda" tool and a
version of Python (rather than the whole scientific Python
Hi,
To expand on Bas' answer I believe that this is related to the fact that
somehow Kwant has not been linked correctly against system libraries.
Indeed Bas' solution to use 'conda' may be the quickest way to
get kwant working (if you already have a working Anaconda
installation), however we
Hi,
> a) Regarding the edge disorder, I cannot remove the disorder in the edges
> with the leads (I saw your recent previous discussion)
I am not sure what you mean by this. From what I can see from your model
there is no disorder in your leads:
lead0 = kwant.Builder(sym0)
Hi again!
> > #m is the mode number
> > def Current(m,lead_nbr=0):
> > current=2* array([Wf(lead_nbr)[m]]).T *
> > tsys.hamiltonian_submatrix(args=[phi])*
> > (Wf(lead_nbr)[m].conj())
> > return current.imag
>
> Thanks a lot for the code snippet! I now understand why my code takes so
>
Hi,
> kwant.plotter.plot(sys_2['sys'],site_color=lambda site:
> sys_2['sys'][site],colorbar = True, cmap='gist_heat')
The line
lambda site: sys_2['sys'][site]
defines a function that takes a site and returns a **function** (i.e.
the onsite function). You actually want to return the **value
Hi,
> I modified the 1st tutorial code to include the rectangular barrier (see my
> code in [2]). I have attached the figures i got from the code
> (conductance.png and rect_trans.png). If i have understood correctly, then
> Kwant outputs the conductance depending on excitation energy. And the
>
Hi,
> I'm doing a self consistent calculation and I need the matrix element for a
> site when setting the coupling.
> I got it working but I wanted to know if there was a correct way.
> Here is my code which uses scipy.spatial.
>
> def onsite(site, Delta=None, coords=None):
> if (Delta is
Hi,
> So my final question is then. What is the unit cell? Doesn't a square lattice
> only have one site per unit cell? Or is it the number of interface sites?
The unit cell is whatever you define it to be with your choice of
translational symmetry and sites that you add to the system.
In the
Hi,
> I think I am getting there, so for a system with two bands each row has 4
> elements which corresponds to 2 left-going and 2 right-going modes. Is that
> correct?
If you evaluate the modes at an energy at which both bands are open, then yes.
You will need to refer to the documentation
Hi,
> Thank you. This might be a silly question, but what is the meaning of
> orbitals here? Is it not only 1?
When I say "orbitals" it's really a shorthand for "degrees of freedom".
If you have a lead with 2 sites in the unit cell, and each one has a
single degree of freedom associated with it
Hi Camilla,
> I have a question regarding the lead_info[x].wave_functions[x]. I am not sure
> what this is actually returning? I tried to run the function on your
> quantum_wire_revisited.py-system, like this
>
> prop = sm.lead_info[0]
> print(prop.wave_functions[0])
>
> with W = 2,
Hi again,
> I took the model where only nearest neighbor hopping exists.
>
> If I attach two leads (one at the Left and the other at the Right) for up
> spin only, and calculate smatrix(1,0), it shows step-like behaviour as a
> function of E. The same plot I got for the down spin only.
>
> If I
Hi,
> I'm trying to get the transmission coefficients for up and down spin
> channels in graphene with Kane-Mele Hamiltonian (including Rashba term).
> So it needs to write the Hamiltonian for up and down spin separately.
>
> I started with this,
> sys=kwant.Builder()
>
Hello,
> I encounter problems with running the code in [1]. I guess it is not quite
> related to kwant but caused by matplotlib and holoview. Since part of the
> code relies on the function "spectrum", I appreciate any idea for tackling
> the error, which is shown in the attached figure. Thanks.
Hi,
> Looking at the code you initially posted, it seems that you do not have
> any spin degree of freedom in your system. This is a necessary condition
> for Majoranas. Look again more closely at the Hamiltonians from the
> literature (e.g.
> https://arxiv.org/abs/1003.1145). You will see that
Hi,
> I want to implement a p-wave superconductor using two lattices (for electrons
> and holes). I've done that using Pauli matrices with no problem. The thing is
> that I expect to get Majorana zero energy modes, but I don't. I belive that
> the problem is the way that I am defining the
Hi,
(sending again, as I forgot to CC the mailing list in my reply)
> I am trying to make sense of the error message I get when trying to plot
> using kwant.plotter map(). The error message is "the reference distance a is
> too small", and a is the lattice spacing. What is the meaning of this
Hi, sorry for the late reply,
Can you point me to the correct direction of where to look at the
> documentation to figure out how to make a vorticity plot in kwant?
>
> Essentially, I want to attach leads to a graphene flake. I want to find
> the vorticity around each closed hexagon. Which
Hi,
Hi Kwant Users
>
> I notice an inconsistency in calculation result using Python IDLE (3.5.1,
> Anaconda3).
>
> The issue is that every time I execute the same code, it gives me a
> different result.The test code that I use is the example code for graphene
> quantum dot calculation (2.7.1) .
>
Hello Kamal,
Dear Joseph Weston,
> Very many thanks for your instruction to run my code successfully. But, it
> did not work, instead
> it sent message "run time error" after showing the system plot. Yes, I
> simply changed to
> kwant.plotter.bands(sys.leads[0],show=False
Dear Kamal,
I ran your code and got the following error:
TypeError: Expecting an instance of InfiniteSystem.
The reason is because you are passing a `FiniteSystem` (with
leads attached) to `kwant.plotter.bands`, however `bands` expects
an `InfiniteSystem`, i.e. *a finalized lead*. For
Whoops, I was a bit too hasty! in fact `filter` takes the filtering
function first
and the iterator to filter second, so
sites_to_join = filter(pairs_of_sites, crit)
should be
sites_to_join = filter(crit, pairs_of_sites)
Happy Kwanting,
Joe
Hi,
I ran your script and the first line output is:
SnakesStripe.py:31: RuntimeWarning: invalid value encountered in arctanh
return -exp(-0.5j * phi * (xi - xj) * arctanh(((yi +
yj)-2*45*sqrt(3))/smooth))
You are passing a number >1 to `arctanh`, most probably. You're using
Numpy's arctanh,
Hi again,
A colleague just pointed out this article [1] where they use different
discretization
schemes. I believe that your question is sufficiently broad (try
"nonuniform finite
differences" as a search term) that this will have been addressed in other
publications
too.
Happy Kwanting,
Joe
Hi,
I think there will probably be some interplay between physical effects (due
to the
abrupt interface between two materials with different effective masses)
and artificial effects (due to the discretization of the model).
It would not surprise me that you get unphysical effects for
Hi,
you can get the indices of all the sites in the finialized system by using
the `sites`
property of finalized systems. After that , it's just a case of writing a
function that
can filter this list based on whether a site is on the `edge` or not. You
would have
to define this filtering
Hi,
> I am brginner in kwant trying to investigate a graphene ribbon
with onsite Coulomb
> energy U, where the electron density at each site should be
determined
> self-consistently.
Firstly I should point out that currently Kwant can handle non-interacting
systems only.
Adding mean-field
Hi again,
- calculate the modes of the leads by solving a small linear system defined
> on a lead unit cell (equation 6 in the Kwant paper)
>
I was wrong about this step, it's actually a generalized eigenvalue problem
that needs to be solved for the eigenvalue of the translation operator and
Hi James,
For an understanding of how Kwant calculates scattering properties, I would
recommend
reading the Kwant paper:
http://iopscience.iop.org/1367-2630/16/6/063065/article
The basic idea can be summarized as follows:
- calculate the modes of the leads by solving a small linear system
Hello again,
And print(prob.shape), it returns (2,9686). 2 is the number of available
> modes and 9686 is the number of orbital elements.
>
This is correct. This is why your `reshape` confused me, because it would
mean that
you were mixing all your modes up.
> If I understand correctly, the
Hello,
If you read the documentation for `kwant.wave_function`, you'll see that it
returns a 2D array
where the first index numbers the modes. I would suggest that you print the
shape of the output
of `kwant.wave_function` and then think about what you're trying to achieve
with the `reshape`
in
Hi Kamal,
If you look in the source code for `kwant.lattice.general` you'll see that
the function returns a monatomic lattice when the `basis` argument is
`None`.
As you provided a (albeit single-site) basis, a Polyatomic lattice is
constructed.
Saying:
Hi Weiyuan,
> I want to consider a system with spin, so the hopping is a matrix. How to
> change the the kwant code to plot the eigenvectors of system that spin is
> considered.
The short answer is that you can't do it using `kwant.map`. `kwant.map`
plots a _scalar_ field defined over sites,
Yes, this is what the function `lattice.shape` is for:
http://kwant-project.org/doc/1/reference/generated/kwant.lattice.Polyatomic#kwant.lattice.Polyatomic.shape
Joe
On 9 December 2015 at 15:23, Sudin Ganguly wrote:
> The idea: 'cutting out the desired shape' is very
Hi,
> I wanted to create a Y-shaped 3 terminal structure. For that, I declared 3
> different type of lattices, namely lat_a,lat_b and lat_c.
Why do you have 3 different lattices? When I run your sample code I see
that the 3 different lattices are actually the same. What are you trying
to
Hi,
> Is there an easy way to produce band structure plot over certain high
> symmetry point in brillouin zone?
I'm not sure what you mean by this; could you expand?
> In order to calculate the bandstructure of certain lattice, graphene for
> example, One has to define a lead with periodicity
Hi,
> I was bit hasty in raising the issue. I apologize for that. I was
> missing an argument in the function the snippet is part of. I will try
> to remove this thread as it of not much value, expect for the fact that
> you should try to more careful before raising an issue :)
No need to
Hi,
This should work no problem, and it does work for me.
Can you attach a full example script that can be run?
Thanks,
Joe
On 22 October 2015 at 23:13, R Mathew wrote:
> Hi,
>
> I am trying to simulate a finite size quantum hall strip with periodic
> boundary in one
Hi,
Kwant is kind of general in terms of the type of tight-binding models
it can simulate. On one hand you can start from a discrete model
in terms of atoms and orbitals, but you can also take a continuous
model and get a tight-binding model by discretizing it (see here
Hi,
Did you already do a search on the mailing list for calculating Hall
conductance? I remember that a similar question has been asked before,
and you may get a more comprehensive answer there.
How to attach another pair of leads at 13 x 15 and 23 x 25 with
y = 10 and y =0?
I'm not
, Aug 8, 2015 at 11:26 PM, Joseph Weston
joseph.westo...@gmail.com wrote:
Dear all,
Here's an update on the progress. The Python 3 port is complete, all
tests
pass
(on my machine) and the docs build. You can find these changes on my
Github:
https://github.com/jbweston/kwant/tree
Dear all,
Here's an update on the progress. The Python 3 port is complete, all tests
pass
(on my machine) and the docs build. You can find these changes on my Github:
https://github.com/jbweston/kwant/tree/python3
Although the tests run on my machine, I haven't tested it anywhere else yet
Dear Kwant users,
I am looking to port Kwant 1.0.4 to Python 3 ahead of the development
work on
Kwant 2.0, which will begin soon. Kwant 2.0 will be fully Python 3 from the
start, and so it will be useful to have the existing Kwant 1.x as Python
3 to
serve as a base for Kwant 2.0. In addition, any
Hi Sam,
I've included an ipython notebook for anyone who might want to check it
out (hopefully it works):
http://nbviewer.ipython.org/github/samlagasse/LaGasse_QT/blob/master/QHE_currentdensity.ipynb
Neat! Thanks for sharing, it's really good to have some publicly available
examples of Kwant
Hi,
Dear Joe, I guess it should be [1] instead of [0] in your correction.
We need not Id , but a unit shift.
Well you first need to add all hoppings in a unit cell so we need to the
identity group element, [0], and then we want hoppings from one unit
cell to the next, so the group element
Hi,
Dear Developers, Could you help with defining the hopping in the
lead, please. My problem is that in the non-finalized system,
sites() contains only one copy on the lead unit cell and I fail to
write a correct hopping that would make the lead connected.
Yes, because the Builder that
Hi,
Kwant finalized systems have a graph which can be efficiently queried to
get the
neighbours of a site (neighbours here means that they are joined by a
hopping)
you can do:
...
lat = kwant.lattice.honeycomb()
sys = make_system(lat)
fsys = sys.finalized()
i =
a
patch.
Joe
From e31bc65a0812dcbcc69147bd17fa6b3feaf548cc Mon Sep 17 00:00:00 2001
From: Joseph Weston joseph.westo...@gmail.com
Date: Fri, 24 Jul 2015 22:27:30 +0200
Subject: [PATCH] initialize numpy arrays to zero
Before this commit, if there was a lead for which
the inter-cell hopping matrix
no attribute 'family'
I have read several examples using HoppingKind to define the hopping. I
don't know what's wrong in my case. Could you please help me with that?
Thank you very much.
Best,
T.C.
On 20 July 2015 at 17:01, Joseph Weston joseph.wes...@cea.fr wrote:
Hi,
I apologize
Hi,
I've defined the hopping function like
def hopx1(site1, site2, B, salt):
y1 = site1.pos[1]
y2 = site2.pos[1]
return 1j*(t2/4)*exp(-1j * B * (y2+y1)/2) *sigma_y
the salt argument, which also appears in the onsite term makes this
hopping function work. Though
Hi,
Hi Joe,
I've tried using something like
def onsite(site, B, salt):
return 0.05 * gauss(repr(site),salt='config1')*sigma_0-m*sigma_z
So, usually one would do:
def onsite(site, B, salt):
return 0.05 * gauss(repr(site),salt=salt)*sigma_0-m*sigma_z
Hi,
Dear all,
Since I used NEGF in my previous study, I want to use Green's function
in Kwant. I have tried a simple Kwant program to check my understanding
of kwant.greens_function and lead.selfenergy(energy), but it gives
wrong results. I used Fisher-Lee relation to calculate the
Hi,
Dear authors,
I found a description for the greens_function in the Kwant document:
This function can be used to calculate the conductance and other
transport properties of a system, so, we can also use the fisher-lee
relation to calculate the conductance in Kwant?
Absolutely! In fact,
Hi,
Thanks for letting us know about the problems with “pip”.
The state of python packaging has been messy, only recently there has
been some progress [1]. The way Kwant is packaged reflects the
documentation on Python packaging for Python 2.7. We’ll see how we can
improve things.
I think
Hi,
I'd like to add to Christoph's answer
Thanks for feedback, but I am still confused.
Let me make an example:
there are two leads 0 and 1, the lead 0 is filled more than lead 1;
from the leads 0 there is an outgoing mode exp(i k x), which is normalized
by flux in the leads;
the wave
Hi,
I am a researcher from UFT-Brazil. I am trying to calculate Hall and
longitudinal resistances at six terminal bar with antidots. I have some
doubts about the order assigned to the leads because i create them in
pairs. I sent part of the python code.
The lead numbering starts from 0 and
Hi Julien,
I'd like to add to Michael's response with respect to the randomness of
`kwant.digest`. You wrote:
- I get the same color for each atom when I run several times. Is this
because 'kwant.digest.uniform' is not so random?
It seems as if you are expecting that the site colours should
101 - 200 of 202 matches
Mail list logo