kwant.physics.modes(h_cell, h_hop, tol=1000000.0, stabilization=None, *, discrete_symmetry=None, projectors=None, time_reversal=None, particle_hole=None, chiral=None)[source]¶Compute the eigendecomposition of a translation operator of a lead.
| Parameters: | h_cell : numpy array, real or complex, shape (N,N) The unit cell
h_hop : numpy array, real or complex, shape (N,M)
tol : float
stabilization : sequence of 2 booleans or None
particle_hole : sparse or dense square matrix
time_reversal : sparse or dense square matrix
chiral : sparse or dense square matrix
projectors : an iterable of sparse or dense matrices
|
|---|---|
| Returns: | propagating :
stabilized :
|
Notes
The sorting of the propagating modes is fully described in the
documentation for PropagatingModes. In simple cases where
bands do not cross, this ordering corresponds to “lowest modes first”. In
general, however, it is necessary to examine the band structure –
something this function is not doing by design.
Propagating modes with the same momentum are orthogonalized. All the propagating modes are normalized by current.
This function uses the most stable and efficient algorithm for calculating the mode decomposition that the Kwant authors are aware about. Its details are to be published.