sisl.physics.RecursiveSI
- class sisl.physics.RecursiveSI
Bases:
SemiInfiniteSelf-energy object using the Lopez-Sancho Lopez-Sancho algorithm
Methods
broadening_matrix(*args, **kwargs)Calculate the broadening matrix by first calculating the self-energy
green(E[, k, dtype, atol])Return a dense matrix with the bulk Green function at energy E and k-point k (default Gamma).
se2broadening(SE)Calculate the broadening matrix from the self-energy
self_energy(E[, k, dtype, atol, bulk])Return a dense matrix with the self-energy at energy E and k-point k (default Gamma).
self_energy_lr(E[, k, dtype, atol, bulk])Return two dense matrices with the left/right self-energy at energy E and k-point k (default Gamma).
- broadening_matrix(*args, **kwargs)
Calculate the broadening matrix by first calculating the self-energy
Any arguments that is passed to this method is directly passed to
self_energy.See
self_energyfor details.This corresponds to:
\[\boldsymbol\Gamma = i(\boldsymbol\Sigma - \boldsymbol \Sigma ^\dagger)\]Examples
Calculating both the self-energy and the broadening matrix.
>>> SE = SelfEnergy(...) >>> self_energy = SE.self_energy(0.1) >>> gamma = SE.broadening_matrix(0.1)
For a huge performance boost, please do:
>>> SE = SelfEnergy(...) >>> self_energy = SE.self_energy(0.1) >>> gamma = SE.se2broadening(self_energy)
Notes
When using both the self-energy and the broadening matrix please use
se2broadeningafter having calculated the self-energy, this will be much, MUCH faster!See also
se2broadeningconverting the self-energy to the broadening matrix
self_energythe used routine to calculate the self-energy before calculating the broadening matrix
- Return type:
- green(E, k=(0, 0, 0), dtype=np.complex128, atol=1e-14, **kwargs)[source]
Return a dense matrix with the bulk Green function at energy E and k-point k (default Gamma).
- Parameters:
E (complex) – energy at which the calculation will take place
k (KPoint) – k-point at which the Green function should be evaluated. the k-point should be in units of the reciprocal lattice vectors.
dtype (np.dtype) – the resulting data type.
atol (float) – convergence criteria for the recursion
**kwargs (
dict, optional) – arguments passed directly to theself.parent.Pkmethod (notself.parent.Sk), for instancespin
- Returns:
the self-energy corresponding to the semi-infinite direction
- Return type:
- static se2broadening(SE)
Calculate the broadening matrix from the self-energy
\[\boldsymbol\Gamma = i(\boldsymbol\Sigma - \boldsymbol \Sigma ^\dagger)\]- Parameters:
SE (
matrix) – self-energy matrix- Return type:
- self_energy(E, k=(0, 0, 0), dtype=np.complex128, atol=1e-14, bulk=False, **kwargs)[source]
Return a dense matrix with the self-energy at energy E and k-point k (default Gamma).
- Parameters:
E (complex) – energy at which the calculation will take place
k (KPoint) – k-point at which the self-energy should be evaluated. the k-point should be in units of the reciprocal lattice vectors.
dtype (np.dtype) – the resulting data type
atol (float) – convergence criteria for the recursion
bulk (bool) – if true, \(E\cdot \mathbf S - \mathbf H -\boldsymbol\Sigma\) is returned, else \(\boldsymbol\Sigma\) is returned (default).
**kwargs (
dict, optional) – arguments passed directly to theself.parent.Pkmethod (notself.parent.Sk), for instancespin
- Returns:
the self-energy corresponding to the semi-infinite direction
- Return type:
- self_energy_lr(E, k=(0, 0, 0), dtype=np.complex128, atol=1e-14, bulk=False, **kwargs)[source]
Return two dense matrices with the left/right self-energy at energy E and k-point k (default Gamma).
Note calculating the LR self-energies simultaneously requires that their chemical potentials are the same. I.e. only when the reference energy is equivalent in the left/right schemes does this make sense.
- Parameters:
E (complex) – energy at which the calculation will take place, if complex, the hosting
etawon’t be used.k (KPoint) – k-point at which the self-energy should be evaluated. the k-point should be in units of the reciprocal lattice vectors.
dtype (np.dtype) – the resulting data type.
atol (float) – convergence criteria for the recursion
bulk (bool) – if true, \(E\cdot \mathbf S - \mathbf H -\boldsymbol\Sigma\) is returned, else \(\boldsymbol\Sigma\) is returned (default).
**kwargs (
dict, optional) – arguments passed directly to theself.parent.Pkmethod (notself.parent.Sk), for instancespin
- Returns:
left (
numpy.ndarray) – the left self-energyright (
numpy.ndarray) – the right self-energy
- Return type:
Tuple[np.ndarray, np.ndarray]