|
TRIQS/TRIQS 4.0.0
Researching Interacting Quantum Systems
|
Concepts that specify the requirements for MC moves and measurements.
The MC framework is generic: any user type that satisfies the relevant concept can be plugged into triqs::mc_tools::mc_generic. The concepts in this group spell out the minimal interface those types must expose:
Because the framework relies on concepts rather than virtual inheritance, user moves and measurements remain plain, value-semantic types; the triqs::mc_tools::mc_generic engine wraps them through type erasure internally.
Concepts | |
| concept | triqs::mc_tools::DoubleOrComplex |
| Check if a type is either a double or a std::complex<double>. | |
| concept | triqs::mc_tools::MCMeasure |
| Check if a type can be used as a MC measure. | |
| concept | triqs::mc_tools::MCMove |
| Check if a type can be used as a MC move. | |