kwant.solvers.default.
greens_function
(sys, energy=0, args=(), out_leads=None, in_leads=None, check_hermiticity=True)¶Compute the retarded Green’s function of the system between its leads.
Parameters: | sys :
energy : number
args : tuple, defaults to empty
out_leads : sequence of integers or
in_leads : sequence of integers or
check_hermiticity :
|
---|---|
Returns: | output :
|
Notes
This function can be used to calculate the conductance and other
transport properties of a system. It is often slower and less stable
than the scattering matrix-based calculation executed by
smatrix
, and is currently provided mostly for testing
purposes and compatibility with RGF code.
It returns an object encapsulating the Green’s function elements between the system sites interfacing the leads in in_leads and those interfacing the leads in out_leads. The returned object also contains a list with self-energies of the leads.
Both in_leads and out_leads must be sorted and may only contain unique entries.