triqs_ctseg.solver.Solver.solve

Solver.solve(**kwargs)[source]

Solve the impurity problem.

Parameters

Parameter Name

Type

Default

Documentation

h_int

triqs::operators::many_body_operator

Quartic part of the local Hamiltonian

h_loc0

triqs::operators::many_body_operator

Quandratic part of the local Hamiltonian (including chemical potential)

n_tau_G

int

0

Number of points on which to measure G(tau)/F(tau) (defaults to n_tau)

n_tau_chi2

int

0

Number of points on which to measure 2-point functions (defaults to n_tau_bosonic)

n_cycles

int

Number of QMC cycles

length_cycle

int

50

Length of a single QMC cycle

n_warmup_cycles

int

5000

Number of cycles for thermalization

random_seed

int

34788+928374*mpi::communicator().rank()

Seed for random number generator

random_name

std::string

“”

Name of random number generator

max_time

int

-1

Maximum runtime in seconds, use -1 to set infinite

verbosity

int

mpi::communicator().rank()==0?3:0

Verbosity level

move_insert_segment

bool

true

Whether to perform the move insert segment

move_remove_segment

bool

true

Whether to perform the move remove segment

move_move_segment

bool

true

Whether to perform the move move segment

move_split_segment

bool

true

Whether to perform the move split segment

move_regroup_segment

bool

true

Whether to perform the move group into spin segment

move_insert_spin_segment

bool

true

Whether to perform the move insert spin segment

move_remove_spin_segment

bool

true

Whether to perform the move remove spin segment

move_split_spin_segment

bool

true

Whether to perform the move insert spin segment

move_regroup_spin_segment

bool

true

Whether to perform the move remove spin segment

move_swap_spin_lines

bool

true

Whether to perform the move swap spin lines

measure_pert_order

bool

true

Whether to measure the perturbation order histograms (order in Delta and Jperp)

measure_G_tau

bool

true

Whether to measure G(tau) (see measures/G_F_tau)

measure_F_tau

bool

false

Whether to measure F(tau) (see measures/G_F_tau)

measure_densities

bool

true

Whether to measure densities (see measures/densities)

measure_average_sign

bool

true

Whether to measure the average sign (see measures/average_sign)

measure_nn_static

bool

false

Whether to measure <n(0)n(0)> (see measures/nn_static)

measure_nn_tau

bool

false

Whether to measure <n(tau)n(0)> (see measures/nn_tau)

measure_Sperp_tau

bool

false

Whether to measure <S_x(tau)S_x(0)> (see measures/Sperp_tau)

measure_state_hist

bool

false

Whether to measure state histograms (see measures/state_hist)

det_init_size

int

100

The maximum size of the determinant matrix before a resize

det_n_operations_before_check

int

100

Max number of ops before the test of deviation of the det, M^-1 is performed.

det_precision_warning

double

1.e-8

Threshold for determinant precision warnings

det_precision_error

double

1.e-5

Threshold for determinant precision error

det_singular_threshold

double

-1

Bound for the determinant matrix being singular, abs(det) > singular_threshold. If <0, it is !isnormal(abs(det))

histogram_max_order

int

1000

Maximum order for the perturbation order histograms