Skip to content

observables#

Includes the methods to calculate density and current from Green's functions.

Functions:

density #

density(x: DSDBSparse, overlap: DSDBSparse | None = None) -> NDArray

Computes the density from Green's function and overlap matrix.

Parameters:

  • x (DSDBSparse) –

    The Green's function.

  • overlap (DSDBSparse, default: None ) –

    The overlap matrix, by default None.

Returns:

  • NDArray –

    The density, i.e. the imaginary part of the diagonal of the Green's function.

current_conservation #

current_conservation(x_lesser: DSDBSparse, x_greater: DSDBSparse, se_int_lesser: DSDBSparse, se_int_greater: DSDBSparse) -> NDArray

Checks current conservation. See eq. (12.34) in H. Haug and A.-P. Jauho, "Quantum Kinetics in Transport and Optics of Semiconductors"

\[ \int dE dk sum_{ij} sigma_{ij}^< * G_{ji}^> - sigma_{ij}^> * G_{ji}^< = 0 \]

We can use the skew-symmetric property of the Green's functions \(G_{ji}^< = -[G_{ij}^<]^*\) such that we don't have to communicate the greater Green's function.

Parameters:

  • x_lesser (DSDBSparse) –

    The lesser Green's function.

  • x_greater (DSDBSparse) –

    The greater Green's function.

  • se_int_lesser (DSDBSparse) –

    The lesser interaction self-energy.

  • se_int_greater (DSDBSparse) –

    The greater interaction self-energy.

Returns:

  • tuple[NDArray, NDArray] –

    The absolute value of the current conservation and the relative value of the current conservation.