Skip to content

electron#

Includes the electron solver, the self energy classes and related functions.

Modules:

  • solver –

    Includes the electron solver.

  • sse_coulomb_screening –

    Includes the scattering self-energy from the Coulomb screening.

  • sse_fock –

    Includes the scattering self-energy from the bare Fock interaction.

  • sse_phonon –

    Includes the scattering self-energy from the electron-phonon interaction.

  • sse_photon –

    Includes the scattering self-energy from the electron-photon interaction.

Classes:

ElectronSolver #

ElectronSolver(config: QuatrexConfig, device: SCBADevice, energies: NDArray)

Bases: SubsystemSolver

Solves the electron dynamics.

Parameters:

  • config (QuatrexConfig) –

    The quatrex simulation configuration.

  • device (SCBADevice) –

    The device for which to solve the subsystem.

  • energies (ndarray) –

    The energies at which to solve.

Methods:

  • solve –

    Solves for the electron Green's function.

solve #

solve(sse_lesser: DSDBSparse, sse_greater: DSDBSparse, sse_retarded_hermitian: DSDBSparse, out: tuple[DSDBSparse, ...])

Solves for the electron Green's function.

Parameters:

  • sse_lesser (DSDBSparse) –

    The lesser self-energy.

  • sse_greater (DSDBSparse) –

    The greater self-energy.

  • sse_retarded_hermitian (DSDBSparse) –

    The hermitian part of the retarded self-energy.

  • out (tuple[DSDBSparse, ...]) –

    The output matrices. The order is (lesser, greater, retarded).

SigmaCoulombScreening #

SigmaCoulombScreening(config: QuatrexConfig, electron_energies: NDArray)

Bases: ScatteringSelfEnergy

Computes the scattering self-energy from the Coulomb screening.

Parameters:

  • config (QuatrexConfig) –

    The Quatrex configuration.

  • electron_energies (NDArray) –

    The energies for the electron system.

Methods:

  • compute –

    Computes the GW self-energy.

compute #

compute(g_lesser: DSDBSparse, g_greater: DSDBSparse, w_lesser: DSDBSparse, w_greater: DSDBSparse, out: tuple[DSDBSparse, ...]) -> None

Computes the GW self-energy.

Parameters:

  • g_lesser (DSDBSparse) –

    The lesser Green's function.

  • g_greater (DSDBSparse) –

    The greater Green's function.

  • w_lesser (DSDBSparse) –

    The lesser screened Coulomb interaction.

  • w_greater (DSDBSparse) –

    The greater screened Coulomb interaction.

  • out (tuple[DSDBSparse, ...]) –

    The output matrices for the self-energy. The order is sigma_lesser, sigma_greater, sigma_retarded_hermitian.

SigmaFock #

SigmaFock(config: QuatrexConfig, coulomb_matrix: DSDBSparse, electron_energies: NDArray)

Bases: ScatteringSelfEnergy

Computes the bare Fock self-energy.

Parameters:

  • config (QuatrexConfig) –

    The Quatrex configuration.

  • electron_energies (NDArray) –

    The energies for the electron system.

Methods:

  • compute –

    Computes the Fock self-energy.

compute #

compute(g_lesser: DSDBSparse, out: tuple[DSDBSparse, ...]) -> None

Computes the Fock self-energy.

Parameters:

  • g_lesser (DSDBSparse) –

    The lesser Green's function.

  • out (tuple[DSDBSparse, ...]) –

    The output matrices for the self-energy. The order is sigma_retarded_hermitian.

SigmaPhonon #

SigmaPhonon(config: QuatrexConfig, electron_energies: NDArray | None = None)

Bases: ScatteringSelfEnergy

Computes the electron-phonon self-energy.

Parameters:

  • config (QuatrexConfig) –

    The configuration object.

  • electron_energies (NDArray, default: None ) –

    The electron energies.

Methods:

  • compute –

    Computes the electron-phonon self-energy.

compute #

compute(g_lesser: DSDBSparse, g_greater: DSDBSparse, out: tuple[DSDBSparse, ...]) -> None

Computes the electron-phonon self-energy.

Parameters:

  • g_lesser (DSDBSparse) –

    The lesser Green's function.

  • g_greater (DSDBSparse) –

    The greater Green's function.

  • out (tuple[DSDBSparse, ...]) –

    The output matrices for the self-energy. The order is sigma_lesser, sigma_greater, sigma_retarded_hermitian.