TRIQS/triqs_cthyb 4.0.0
A TRIQS application
Loading...
Searching...
No Matches
triqs_cthyb::solver_core

#include <triqs_cthyb/solver_core.hpp>

Detailed Description

Continuous-time hybridization-expansion quantum Monte Carlo solver.

Definition at line 41 of file solver_core.hpp.

Inheritance diagram for triqs_cthyb::solver_core:
triqs_cthyb::container_set_t

Public Member Functions

 solver_core (constr_parameters_t const &p)
double auto_corr_time () const
 Auto-correlation time in units of MC cycles.
bool auto_corr_time_converged () const
 Whether the auto-correlation time estimate has saturated (false: it is only a lower bound, run longer).
double average_order () const
 Average perturbation order.
mc_weight_t average_sign () const
 Monte Carlo average sign.
 C2PY_PROPERTY_GET (performance_analysis) histo_map_t get_performance_analysis() const
 Histograms related to the performance analysis.
std::vector< matrix< dcomplex > > Delta_infty ()
 \( G_0^{-1}(i\omega_n = \infty) \) in Matsubara frequencies.
block_gf_view< imtime > Delta_tau ()
 Hybridization function \( \Delta(\tau) \) in imaginary time.
std::vector< matrix_t > density_matrix () const
 Atomic :math:G(\tau) in imaginary time.
block_gf_view< imfreq > G0_iw ()
 Non-interacting Green's function \( G_0(i\omega) \) in Matsubara frequencies.
many_body_op_t h_loc () const
 The local Hamiltonian \( H_{loc} \) used in the last solve.
many_body_op_t h_loc0 () const
 The noninteracting part of the local Hamiltonian.
atom_diag const & h_loc_diagonalization () const
 Diagonalization of \( H_{loc} \).
bool hybridisation_is_complex () const
 Is the solver compiled with support for complex hybridization?
std::optional< configurationlast_configuration () const
 Final configuration of the last solve call.
constr_parameters_t last_constr_parameters () const
 Parameters used for constructing the solver.
solve_parameters_t last_solve_parameters () const
 Parameters used in the last solve.
bool local_hamiltonian_is_complex () const
 Is the solver compiled with support for a complex local Hamiltonian?
void solve (solve_parameters_t const &p)
int solve_status () const
 Status of the solve on exit.

Public Attributes

constr_parameters_t constr_parameters
 Parameters used for constructing the solver.
solve_parameters_t solve_parameters
 Parameters passed to the solve method.
Public Attributes inherited from triqs_cthyb::container_set_t
std::optional< G_tau_G_target_t > asymmetry_G_tau
 Violation of the property \( G_{ij}(\tau) = G_{ji}^*(\tau) \) after the measurement.
std::optional< G2_iw_t > G2_iw
 Two-particle Green's function \( G^{(2)}(i\nu,i\nu',i\nu'') \) with three fermionic frequencies.
std::optional< G2_iw_t > G2_iw_nfft
 Two-particle Green's function \( G^{(2)}(i\nu,i\nu',i\nu'') \) with three fermionic frequencies.
std::optional< G2_iw_t > G2_iw_ph
 Two-particle Green's function \( G^{(2)}(i\omega,i\nu,i\nu') \) in the particle-hole channel.
std::optional< G2_iw_t > G2_iw_ph_nfft
 Two-particle Green's function \( G^{(2)}(i\omega,i\nu,i\nu') \) in the particle-hole channel.
std::optional< G2_iw_t > G2_iw_pp
 Two-particle Green's function \( G^{(2)}(i\omega,i\nu,i\nu') \) in the particle-particle channel.
std::optional< G2_iw_t > G2_iw_pp_nfft
 Two-particle Green's function \( G^{(2)}(i\omega,i\nu,i\nu') \) in the particle-particle channel.
std::optional< G2_iwll_t > G2_iwll_ph
 Two-particle Green's function \( G^{(2)}(i\omega,l,l') \) in the particle-hole channel.
std::optional< G2_iwll_t > G2_iwll_pp
 Two-particle Green's function \( G^{(2)}(i\omega,l,l') \) in the particle-particle channel.
std::optional< G2_tau_t > G2_tau
 Two-particle Green's function \( G^{(2)}(\tau_1,\tau_2,\tau_3) \) with three fermionic times.
std::optional< G_l_t > G_l
 Single-particle Green's function \( G_l \) in the Legendre representation.
std::optional< G_tau_t > G_tau
 Single-particle Green's function \( G(\tau) \) in imaginary time.
std::optional< G_tau_G_target_t > G_tau_accum
 Intermediate Green's function used to accumulate \( G(\tau) \) (real or complex).
std::optional< gf< imtime, scalar_valued > > O_tau
 General operator Green's function \( O(\tau) \) in imaginary time.
std::optional< histo_map_t > perturbation_order
 Histograms of the perturbation order for each block.
std::optional< histogram > perturbation_order_total
 Histogram of the total perturbation order.

Constructor & Destructor Documentation

◆ solver_core()

triqs_cthyb::solver_core::solver_core ( constr_parameters_t const & p)

Construct a CTHYB solver.

Parameters
pParameters used for constructing the solver.

Definition at line 63 of file solver_core.cpp.

Member Function Documentation

◆ density_matrix()

std::vector< matrix_t > triqs_cthyb::solver_core::density_matrix ( ) const
inline

Atomic :math:G(\tau) in imaginary time.

Accumulated density matrix.

Definition at line 129 of file solver_core.hpp.

◆ solve()

void triqs_cthyb::solver_core::solve ( solve_parameters_t const & solve_parameters_)

Solve the impurity problem.

Parameters
pParameters controlling the Monte Carlo simulation and measurements.

Definition at line 78 of file solver_core.cpp.


The documentation for this class was generated from the following files: