kwant.solvers.default.
smatrix
(sys, energy=0, args=(), out_leads=None, in_leads=None, check_hermiticity=True, *, params=None)[source]¶Compute the scattering matrix of a system.
An alias exists for this common name: kwant.smatrix
.
Parameters:  sys :
energy : number
args : tuple, defaults to empty
out_leads : sequence of integers or
in_leads : sequence of integers or
check_hermiticity :
params : dict, optional


Returns:  output :

Notes
This function can be used to calculate the conductance and other
transport properties of a system. See the documentation for its output
type, SMatrix
.
The returned object contains the scattering matrix elements from the in_leads to the out_leads as well as information about the lead modes.
Both in_leads and out_leads must be sorted and may only contain unique entries.