3.3.1
Welcome
TRIQS applications
Core libraries
Numerical Algorithms
TRIQS Community
Where to start?
Installation
Packaged Versions of TRIQS
Ubuntu Debian packages
Anaconda
Docker
Apptainer
Binder
Compiling TRIQS from source using EasyBuild
Compiling TRIQS from source (Advanced)
Prerequisites
A complete list of requirements
C++ compilers
Tools and Libraries
Building the TRIQS documentation
Installing required libraries on Ubuntu
Issues
Prerequisites for the TRIQS Compilation on Mac OS X
Disclaimer
Installation of the dependencies
Installation steps
Environment setup
Further reading
Customizing your installation
cmake options
Unix environment variables
Common environment variables
Environment variables for software developement
Environment variables affecting OpenMP
Python Virtual Environments
Usage
Compiling a package from source
Using the clang compiler
Get and install clang on linux
Usage
libclang
Documentation
Manual
[triqs/atom_diag]
Lightweight exact diagonalization solver and tools
[atom_diag] Exact diagonalization of an atomic problem
Template parameters
Member types
Member functions
[atom_diag_functions] Utility functions for atom_diag
triqs::atom_diag::partition_function
triqs::atom_diag::atomic_density_matrix
triqs::atom_diag::trace_rho_op
triqs::atom_diag::act
triqs::atom_diag::quantum_number_eigenvalues
triqs::atom_diag::quantum_number_eigenvalues_checked
triqs::atom_diag::atomic_g_iw
triqs::atom_diag::atomic_g_l
triqs::atom_diag::atomic_g_lehmann
triqs::atom_diag::atomic_g_tau
triqs::atom_diag::atomic_g_w
Example of use: Python
Example of use: C++
[triqs/clef]
Clef: Compile-time lazy expressions and functions
Motivation: a little tour of CLEF
Forming CLEF expressions
Placeholders
Forming an expression
Storage of expressions [advanced]
Evaluating CLEF expressions
Complete evaluation
Partial evaluation
Automatic assignment of containers
Overloading functions and methods for CLEF arguments
Overloading functions
Overloading operator() and other methods
Transform CLEF expressions into functions
make_function
clef::function
Examples
More complex examples
A lazy sum
Manipulations of determinants
The det_manip class
Parameter & construction
Public types
Public member functions
Synopsis
Under the hood …
Full documentation/manual/triqs
Example
How does it work ?
Cofactors
The Sherman-Morrison formula
Addition of a line and a column, or more
Removal of a line and a column, or more
Change of a column
Change of a line
Change of a line and a column
Green’s functions
Concepts
Domain
PureFunctionOnDomain
Mesh
MeshPoint
Basic notions
Types of Green’s functions
Fourier and Legendre transforms
High-frequency tail
c++
gf and views
Specializations
Interaction with CLEF expressions
Fourier transforms
High-Frequency moments of the Green’s function
Concepts
Implementation notes
py
The blocks: matrix-valued Green’s functions
BlockGf
: The complete Green’s function
Fourier and Legendre to Matsubara transforms
High-Frequency moments of the Green’s function
Tools for GFs
[triqs/hilbert_space]
Many-body states and Hilbert spaces
[fundamental_operator_set] Fundamental operator set
Member types
Member functions
Non Member functions
[hilbert_space] Full Hilbert space
Member functions
Non Member functions
[sub_hilbert_space] Hilbert subspace
Member functions
Non Member functions
[state] Many-body state
Template parameters
[imperative_operator] Imperative operator
Template parameters
Member functions
[autopartition] Automatic partitioning algorithm
Template parameters
Member types
Member functions
Non Member functions
Example of use
[triqs/lattice]
Lattice tools
Introductory example
Reference documentation/manual
Bravais Lattice
The BravaisLattice and TightBinding classes: definitions and example
Density of state and related tools
Hilbert Transform
Sums over Brillouin zone
Tools for Monte Carlo
Introduction
The Monte Carlo loop
C++ variable names
Monte Carlo loop and connection with moves and measures
Tutorial
The C++ code for this problem
Initializing the MPI
Constructing the Monte Carlo simulation
Moves and measures
The move
The measure
Starting the Monte Carlo simulation
End of the simulation - gathering results
Writing your own Monte Carlo simulation
Concepts
Introduction & Motivations
The Move concept
The Measure concept
Full documentation/manual/triqs
Random number generator
Generic use
Getting a list of random number generators
Accessing the random number generator from the Monte Carlo class
Example: the Ising chain in a magnetic field
The configuration
The move
Measure
Main program
[triqs/operators]
Second-quantization operators and many-body Hamiltonians
Second-quantization operators
Template parameters
Construction/factories
Overloaded operations
Member types
Methods
Free functions
Iteration over monomials
Serialization & HDF5
Python
Hamiltonians
U matrix construction
Observables
Helper functions
Coefficient extraction
C++
Python
Plotting protocols
Plotting TRIQS objects
A thin layer above matplotlib
Multiple panels figures
Plot protocol [Advanced]
Fitting data
A simple example
Reference
Reproducibility, provenance
TRIQS code version
Saving the script in the data archive
From the data to the figures
Random number generators
Usage
Example
Complete documentation/manual/triqs
random_generator_names_list()
[triqs/stat]
Statistical Analysis
Introduction
Processing Correlated Data
Averages and Standard Errors
[triqs/utility]
Utilities: exceptions, tuple-tools, etc.
1. Exceptions
2. Tuple tools
2.1. apply
2.2. for_each
2.3. for_each_zip
2.4. map
2.5. fold
2.6. reverse
2.7. called_on_tuple
3. Python include warnings
Notations and documentation conventions
Notation
Documentation conventions for C++ code
add
Template parameters
Parameters
Return value
[triqs/h5]
The HDF5 format
Reference documentation/manual
HDFArchive
HDFArchiveGroup
HDFArchiveInert
Hdf-compliant objects
Green’s function and HDF5 files
HDF5 Archives
Writing to an archive
Reading from an archive
triqs/MPI
Introduction
MPI documentation/manual/triqs
Supported functions and types
Basic usage
Headers
MPI example
Cpp2Py: a C++/Python interfacing tool
Convertion vs wrapping
Wrapping classes from C++ to Python
Convertion
General Principle
Python API of the desc file
The module_ class
The cfunction class
The class_ class
C++ API
triqs::gfs
Type aliases
Classes
triqs::gfs::gf
triqs::gfs::gf_view
triqs::gfs::gf_const_view
triqs::gfs::impl_tag
triqs::gfs::block_gf
Functions
triqs::gfs::get_mesh
triqs::gfs::h5_read_gf_struct
triqs::gfs::mpi_reduce
triqs::gfs::make_block_gf
triqs::gfs::make_block_gf_view
triqs::gfs::make_block2_gf
triqs::gfs::inverse
triqs::gfs::reinterpret_scalar_valued_gf_as_matrix_valued
triqs::gfs::make_gf_from_fourier
triqs::gfs::make_gf_from_inverse_fourier
triqs::gfs::fit_tail
triqs::gfs::fit_hermitian_tail
triqs::gfs::make_zero_tail
triqs::gfs::is_gf_real
triqs::gfs::real
triqs::gfs::imag
triqs::gfs::make_gf_from_real_gf
triqs::gfs::positive_freq_view
triqs::gfs::is_gf_hermitian
triqs::gfs::is_gf_real_in_tau
triqs::gfs::make_hermitian
triqs::gfs::make_real_in_tau
triqs::gfs::density
triqs::gfs::make_gf_dlr
triqs::gfs::fit_gf_dlr
triqs::gfs::make_gf_dlr_imtime
triqs::gfs::make_gf_dlr_imfreq
triqs::gfs::make_gf_imtime
triqs::gfs::make_gf_imfreq
triqs::gfs::tau_L2_norm
triqs::gfs::flatten_2d
triqs::gfs::unflatten_2d
triqs::gfs::flatten_gf_2d
triqs::gfs::unflatten_gf_2d
triqs::det_manip
Classes
triqs::det_manip::det_manip
triqs::mc_tools
Classes
triqs::mc_tools::random_generator
triqs::mc_tools::move_set
triqs::mc_tools::mc_generic
Functions
triqs::mc_tools::random_generator_names
triqs::hilbert_space
Type aliases
Classes
triqs::hilbert_space::fundamental_operator_set
triqs::hilbert_space::hilbert_space
triqs::hilbert_space::sub_hilbert_space
triqs::hilbert_space::state
triqs::hilbert_space::state<HilbertSpace,ScalarType,true>
triqs::hilbert_space::state<HilbertSpace,ScalarType,false>
triqs::hilbert_space::imperative_operator
triqs::hilbert_space::space_partition
Functions
triqs::hilbert_space::make_zero_state
triqs::atom_diag
Type aliases
Classes
triqs::atom_diag::atom_diag
Functions
triqs::atom_diag::partition_function
triqs::atom_diag::atomic_density_matrix
triqs::atom_diag::trace_rho_op
triqs::atom_diag::act
triqs::atom_diag::quantum_number_eigenvalues
triqs::atom_diag::quantum_number_eigenvalues_checked
triqs::atom_diag::atomic_g_lehmann
triqs::atom_diag::atomic_g_tau
triqs::atom_diag::atomic_g_iw
triqs::atom_diag::atomic_g_l
triqs::atom_diag::atomic_g_w
triqs::stat
Classes
triqs::stat::accumulator
triqs::stat::histogram
Functions
triqs::stat::mean
triqs::stat::mean_mpi
triqs::stat::mean_and_err
triqs::stat::mean_and_err_mpi
triqs::stat::tau_estimate_from_errors
triqs::stat::jackknife
triqs::stat::jackknife_mpi
triqs::stat::pdf
triqs::stat::cdf
mpi
Classes
mpi::environment
mpi::communicator
mpi::mpi_type
mpi::mpi_type<constT>
mpi::mpi_type<std::tuple<T…>>
mpi::mpi_type_from_tie
mpi::lazy
mpi::monitor
Functions
mpi::is_initialized
mpi::chunk_length
mpi::chunk
mpi::get_mpi_type
mpi::broadcast
mpi::reduce
mpi::reduce_in_place
mpi::scatter
mpi::gather
mpi::all_reduce
mpi::all_reduce_in_place
mpi::all_gather
mpi::mpi_broadcast
mpi::mpi_reduce
mpi::mpi_reduce_in_place
mpi::map_C_function
mpi::map_add
mpi::mpi_scatter
mpi::mpi_gather
itertools
Classes
itertools::iterator_facade
itertools::iterator_facade<Iter,Value,std::forward_iterator_tag,Reference,Difference>
itertools::sentinel_t
itertools::enum_iter
itertools::enumerated
itertools::prod_iter
itertools::multiplied
itertools::range
itertools::sliced
itertools::stride_iter
itertools::strided
itertools::transform_iter
itertools::transformed
itertools::zip_iter
itertools::zipped
Functions
itertools::make_sentinel
itertools::enumerate
itertools::product
itertools::make_product
itertools::product_range
itertools::foreach
itertools::distance
itertools::make_vector_from_range
itertools::chunk_range
itertools::slice
itertools::stride
itertools::transform
itertools::zip
Python API
triqs.atom_diag
triqs.atom_diag.AtomDiag
AtomDiag()
triqs.atom_diag.atom_diag
triqs.atom_diag.atom_diag.act
triqs.atom_diag.atom_diag.atomic_density_matrix
triqs.atom_diag.atom_diag.atomic_g_iw
triqs.atom_diag.atom_diag.atomic_g_l
triqs.atom_diag.atom_diag.atomic_g_tau
triqs.atom_diag.atom_diag.atomic_g_w
triqs.atom_diag.atom_diag.partition_function
triqs.atom_diag.atom_diag.quantum_number_eigenvalues
triqs.atom_diag.atom_diag.quantum_number_eigenvalues_checked
triqs.atom_diag.atom_diag.trace_rho_op
triqs.atom_diag.atom_diag.AtomDiagComplex
triqs.atom_diag.atom_diag.AtomDiagReal
triqs.dos
triqs.dos.dos
triqs.dos.dos.dos_from_file
triqs.dos.dos.DOS
triqs.dos.dos.DOSFromFunction
triqs.dos.hilbert_transform
triqs.dos.hilbert_transform.HilbertTransform
triqs.fit
triqs.fit.fit
triqs.fit.fit.Fit
triqs.gf
triqs.gf.backwd_compat
triqs.gf.backwd_compat.gf_imfreq
triqs.gf.backwd_compat.gf_imtime
triqs.gf.backwd_compat.gf_legendre
triqs.gf.backwd_compat.gf_refreq
triqs.gf.backwd_compat.gf_retime
triqs.gf.block2_gf
triqs.gf.block2_gf.Block2Gf
triqs.gf.block_gf
triqs.gf.block_gf.call_factory_from_dict
triqs.gf.block_gf.fix_gf_struct_type
triqs.gf.block_gf.BlockGf
triqs.gf.descriptor_base
triqs.gf.descriptor_base.convert_scalar_to_const
triqs.gf.descriptor_base.is_lazy
triqs.gf.descriptor_base.is_scalar
triqs.gf.descriptor_base.Base
triqs.gf.descriptor_base.BaseBlock
triqs.gf.descriptor_base.Const
triqs.gf.descriptor_base.Function
triqs.gf.descriptor_base.LazyCTX
triqs.gf.descriptor_base.Omega_
triqs.gf.descriptors
triqs.gf.descriptors.semi
triqs.gf.descriptors.Flat
triqs.gf.descriptors.Fourier
triqs.gf.descriptors.LegendreToMatsubara
triqs.gf.descriptors.MatsubaraToLegendre
triqs.gf.descriptors.OneFermionInTime
triqs.gf.descriptors.SemiCircular
triqs.gf.descriptors.Wilson
triqs.gf.dlr_crm_dyson_solver
triqs.gf.dlr_crm_dyson_solver.minimize_dyson
triqs.gf.gf
triqs.gf.gf.add_method_helper
triqs.gf.gf.bckwd
triqs.gf.gf.call_factory_from_dict
triqs.gf.gf.AddMethod
triqs.gf.gf.CallProxyNone
triqs.gf.gf.Gf
triqs.gf.gf.Idx
triqs.gf.gf_factories
triqs.gf.gf_factories.fit_gf_dlr
triqs.gf.gf_factories.make_gf_dlr
triqs.gf.gf_factories.make_gf_dlr_imfreq
triqs.gf.gf_factories.make_gf_dlr_imtime
triqs.gf.gf_factories.make_gf_from_fourier
triqs.gf.gf_factories.make_gf_imfreq
triqs.gf.gf_factories.make_gf_imtime
triqs.gf.gf_factories.make_hermitian
triqs.gf.gf_factories.make_real_in_tau
triqs.gf.gf_fnt
triqs.gf.gf_fnt.density
triqs.gf.gf_fnt.enforce_discontinuity
triqs.gf.gf_fnt.fit_hermitian_tail
triqs.gf.gf_fnt.fit_hermitian_tail_on_window
triqs.gf.gf_fnt.fit_tail
triqs.gf.gf_fnt.fit_tail_on_window
triqs.gf.gf_fnt.is_gf_hermitian
triqs.gf.gf_fnt.is_gf_real_in_tau
triqs.gf.gf_fnt.rebinning_tau
triqs.gf.gf_fnt.replace_by_tail
triqs.gf.gf_fnt.replace_by_tail_in_fit_window
triqs.gf.gf_fnt.set_from_fourier
triqs.gf.gf_fnt.set_from_imfreq
triqs.gf.gf_fnt.set_from_imtime
triqs.gf.gf_fnt.set_from_legendre
triqs.gf.gf_fnt.set_from_pade
triqs.gf.gf_fnt.tau_L2_norm
triqs.gf.lazy_expressions
triqs.gf.lazy_expressions.all_terminals
triqs.gf.lazy_expressions.eval_expr
triqs.gf.lazy_expressions.eval_expr_with_context
triqs.gf.lazy_expressions.lazy_function
triqs.gf.lazy_expressions.make_lazy
triqs.gf.lazy_expressions.transform
triqs.gf.lazy_expressions.LazyExpr
triqs.gf.lazy_expressions.LazyExprTerminal
triqs.gf.map_block
triqs.gf.matsubara_freq
triqs.gf.matsubara_freq.MatsubaraFreq
triqs.gf.mesh_point
triqs.gf.mesh_point.MeshPoint
triqs.gf.mesh_point.MeshValueGenerator
triqs.gf.mesh_product
triqs.gf.mesh_product.call_factory_from_dict
triqs.gf.mesh_product.MeshProduct
triqs.gf.meshes
triqs.gf.meshes.make_adjoint_mesh
triqs.gf.meshes.MeshBrZone
triqs.gf.meshes.MeshCycLat
triqs.gf.meshes.MeshDLR
triqs.gf.meshes.MeshDLRImFreq
triqs.gf.meshes.MeshDLRImTime
triqs.gf.meshes.MeshImFreq
triqs.gf.meshes.MeshImTime
triqs.gf.meshes.MeshLegendre
triqs.gf.meshes.MeshReFreq
triqs.gf.meshes.MeshReTime
triqs.gf.plot
triqs.gf.plot.dispatcher
triqs.gf.plot.bz
triqs.gf.plot.bz_x_x
triqs.gf.plot.one_var
triqs.gf.plot.plot_base
triqs.gf.plot.select_indices
triqs.gf.tools
triqs.gf.tools.conjugate
triqs.gf.tools.delta
triqs.gf.tools.discretize_bath
triqs.gf.tools.dyson
triqs.gf.tools.fit_legendre
triqs.gf.tools.inverse
triqs.gf.tools.make_delta
triqs.gf.tools.make_zero_tail
triqs.gf.tools.read_gf_from_txt
triqs.gf.tools.transpose
triqs.gf.tools.write_gf_to_txt
triqs.gf.wrapped_aux
triqs.gf.wrapped_aux.set_from_gf_data_mul_LR
triqs.gf.wrapped_aux.CallProxyBrZone_0
triqs.gf.wrapped_aux.CallProxyBrZone_1
triqs.gf.wrapped_aux.CallProxyBrZone_2
triqs.gf.wrapped_aux.CallProxyBrZone_3
triqs.gf.wrapped_aux.CallProxyBrZone_4
triqs.gf.wrapped_aux.CallProxyBrZone_x_DLR_0
triqs.gf.wrapped_aux.CallProxyBrZone_x_DLR_1
triqs.gf.wrapped_aux.CallProxyBrZone_x_DLR_2
triqs.gf.wrapped_aux.CallProxyBrZone_x_DLR_3
triqs.gf.wrapped_aux.CallProxyBrZone_x_DLR_4
triqs.gf.wrapped_aux.CallProxyBrZone_x_ImFreq_0
triqs.gf.wrapped_aux.CallProxyBrZone_x_ImFreq_1
triqs.gf.wrapped_aux.CallProxyBrZone_x_ImFreq_2
triqs.gf.wrapped_aux.CallProxyBrZone_x_ImFreq_3
triqs.gf.wrapped_aux.CallProxyBrZone_x_ImFreq_4
triqs.gf.wrapped_aux.CallProxyBrZone_x_ImTime_0
triqs.gf.wrapped_aux.CallProxyBrZone_x_ImTime_0_R
triqs.gf.wrapped_aux.CallProxyBrZone_x_ImTime_1
triqs.gf.wrapped_aux.CallProxyBrZone_x_ImTime_1_R
triqs.gf.wrapped_aux.CallProxyBrZone_x_ImTime_2
triqs.gf.wrapped_aux.CallProxyBrZone_x_ImTime_2_R
triqs.gf.wrapped_aux.CallProxyBrZone_x_ImTime_3
triqs.gf.wrapped_aux.CallProxyBrZone_x_ImTime_3_R
triqs.gf.wrapped_aux.CallProxyBrZone_x_ImTime_4
triqs.gf.wrapped_aux.CallProxyBrZone_x_ImTime_4_R
triqs.gf.wrapped_aux.CallProxyBrZone_x_Legendre_0
triqs.gf.wrapped_aux.CallProxyBrZone_x_Legendre_1
triqs.gf.wrapped_aux.CallProxyBrZone_x_Legendre_2
triqs.gf.wrapped_aux.CallProxyBrZone_x_Legendre_3
triqs.gf.wrapped_aux.CallProxyBrZone_x_Legendre_4
triqs.gf.wrapped_aux.CallProxyBrZone_x_ReFreq_0
triqs.gf.wrapped_aux.CallProxyBrZone_x_ReFreq_1
triqs.gf.wrapped_aux.CallProxyBrZone_x_ReFreq_2
triqs.gf.wrapped_aux.CallProxyBrZone_x_ReFreq_3
triqs.gf.wrapped_aux.CallProxyBrZone_x_ReFreq_4
triqs.gf.wrapped_aux.CallProxyBrZone_x_ReTime_0
triqs.gf.wrapped_aux.CallProxyBrZone_x_ReTime_1
triqs.gf.wrapped_aux.CallProxyBrZone_x_ReTime_2
triqs.gf.wrapped_aux.CallProxyBrZone_x_ReTime_3
triqs.gf.wrapped_aux.CallProxyBrZone_x_ReTime_4
triqs.gf.wrapped_aux.CallProxyCycLat_0
triqs.gf.wrapped_aux.CallProxyCycLat_1
triqs.gf.wrapped_aux.CallProxyCycLat_2
triqs.gf.wrapped_aux.CallProxyCycLat_3
triqs.gf.wrapped_aux.CallProxyCycLat_4
triqs.gf.wrapped_aux.CallProxyCycLat_x_DLR_0
triqs.gf.wrapped_aux.CallProxyCycLat_x_DLR_1
triqs.gf.wrapped_aux.CallProxyCycLat_x_DLR_2
triqs.gf.wrapped_aux.CallProxyCycLat_x_DLR_3
triqs.gf.wrapped_aux.CallProxyCycLat_x_DLR_4
triqs.gf.wrapped_aux.CallProxyCycLat_x_ImFreq_0
triqs.gf.wrapped_aux.CallProxyCycLat_x_ImFreq_1
triqs.gf.wrapped_aux.CallProxyCycLat_x_ImFreq_2
triqs.gf.wrapped_aux.CallProxyCycLat_x_ImFreq_3
triqs.gf.wrapped_aux.CallProxyCycLat_x_ImFreq_4
triqs.gf.wrapped_aux.CallProxyCycLat_x_ImTime_0
triqs.gf.wrapped_aux.CallProxyCycLat_x_ImTime_0_R
triqs.gf.wrapped_aux.CallProxyCycLat_x_ImTime_1
triqs.gf.wrapped_aux.CallProxyCycLat_x_ImTime_1_R
triqs.gf.wrapped_aux.CallProxyCycLat_x_ImTime_2
triqs.gf.wrapped_aux.CallProxyCycLat_x_ImTime_2_R
triqs.gf.wrapped_aux.CallProxyCycLat_x_ImTime_3
triqs.gf.wrapped_aux.CallProxyCycLat_x_ImTime_3_R
triqs.gf.wrapped_aux.CallProxyCycLat_x_ImTime_4
triqs.gf.wrapped_aux.CallProxyCycLat_x_ImTime_4_R
triqs.gf.wrapped_aux.CallProxyCycLat_x_Legendre_0
triqs.gf.wrapped_aux.CallProxyCycLat_x_Legendre_1
triqs.gf.wrapped_aux.CallProxyCycLat_x_Legendre_2
triqs.gf.wrapped_aux.CallProxyCycLat_x_Legendre_3
triqs.gf.wrapped_aux.CallProxyCycLat_x_Legendre_4
triqs.gf.wrapped_aux.CallProxyCycLat_x_ReFreq_0
triqs.gf.wrapped_aux.CallProxyCycLat_x_ReFreq_1
triqs.gf.wrapped_aux.CallProxyCycLat_x_ReFreq_2
triqs.gf.wrapped_aux.CallProxyCycLat_x_ReFreq_3
triqs.gf.wrapped_aux.CallProxyCycLat_x_ReFreq_4
triqs.gf.wrapped_aux.CallProxyCycLat_x_ReTime_0
triqs.gf.wrapped_aux.CallProxyCycLat_x_ReTime_1
triqs.gf.wrapped_aux.CallProxyCycLat_x_ReTime_2
triqs.gf.wrapped_aux.CallProxyCycLat_x_ReTime_3
triqs.gf.wrapped_aux.CallProxyCycLat_x_ReTime_4
triqs.gf.wrapped_aux.CallProxyDLR_0
triqs.gf.wrapped_aux.CallProxyDLR_1
triqs.gf.wrapped_aux.CallProxyDLR_2
triqs.gf.wrapped_aux.CallProxyDLR_3
triqs.gf.wrapped_aux.CallProxyDLR_4
triqs.gf.wrapped_aux.CallProxyDLR_x_BrZone_0
triqs.gf.wrapped_aux.CallProxyDLR_x_BrZone_1
triqs.gf.wrapped_aux.CallProxyDLR_x_BrZone_2
triqs.gf.wrapped_aux.CallProxyDLR_x_BrZone_3
triqs.gf.wrapped_aux.CallProxyDLR_x_BrZone_4
triqs.gf.wrapped_aux.CallProxyDLR_x_CycLat_0
triqs.gf.wrapped_aux.CallProxyDLR_x_CycLat_1
triqs.gf.wrapped_aux.CallProxyDLR_x_CycLat_2
triqs.gf.wrapped_aux.CallProxyDLR_x_CycLat_3
triqs.gf.wrapped_aux.CallProxyDLR_x_CycLat_4
triqs.gf.wrapped_aux.CallProxyImFreq_0
triqs.gf.wrapped_aux.CallProxyImFreq_1
triqs.gf.wrapped_aux.CallProxyImFreq_2
triqs.gf.wrapped_aux.CallProxyImFreq_3
triqs.gf.wrapped_aux.CallProxyImFreq_4
triqs.gf.wrapped_aux.CallProxyImFreq_x_BrZone_0
triqs.gf.wrapped_aux.CallProxyImFreq_x_BrZone_1
triqs.gf.wrapped_aux.CallProxyImFreq_x_BrZone_2
triqs.gf.wrapped_aux.CallProxyImFreq_x_BrZone_3
triqs.gf.wrapped_aux.CallProxyImFreq_x_BrZone_4
triqs.gf.wrapped_aux.CallProxyImFreq_x_CycLat_0
triqs.gf.wrapped_aux.CallProxyImFreq_x_CycLat_1
triqs.gf.wrapped_aux.CallProxyImFreq_x_CycLat_2
triqs.gf.wrapped_aux.CallProxyImFreq_x_CycLat_3
triqs.gf.wrapped_aux.CallProxyImFreq_x_CycLat_4
triqs.gf.wrapped_aux.CallProxyImTime_0
triqs.gf.wrapped_aux.CallProxyImTime_0_R
triqs.gf.wrapped_aux.CallProxyImTime_1
triqs.gf.wrapped_aux.CallProxyImTime_1_R
triqs.gf.wrapped_aux.CallProxyImTime_2
triqs.gf.wrapped_aux.CallProxyImTime_2_R
triqs.gf.wrapped_aux.CallProxyImTime_3
triqs.gf.wrapped_aux.CallProxyImTime_3_R
triqs.gf.wrapped_aux.CallProxyImTime_4
triqs.gf.wrapped_aux.CallProxyImTime_4_R
triqs.gf.wrapped_aux.CallProxyImTime_x_BrZone_0
triqs.gf.wrapped_aux.CallProxyImTime_x_BrZone_0_R
triqs.gf.wrapped_aux.CallProxyImTime_x_BrZone_1
triqs.gf.wrapped_aux.CallProxyImTime_x_BrZone_1_R
triqs.gf.wrapped_aux.CallProxyImTime_x_BrZone_2
triqs.gf.wrapped_aux.CallProxyImTime_x_BrZone_2_R
triqs.gf.wrapped_aux.CallProxyImTime_x_BrZone_3
triqs.gf.wrapped_aux.CallProxyImTime_x_BrZone_3_R
triqs.gf.wrapped_aux.CallProxyImTime_x_BrZone_4
triqs.gf.wrapped_aux.CallProxyImTime_x_BrZone_4_R
triqs.gf.wrapped_aux.CallProxyImTime_x_CycLat_0
triqs.gf.wrapped_aux.CallProxyImTime_x_CycLat_0_R
triqs.gf.wrapped_aux.CallProxyImTime_x_CycLat_1
triqs.gf.wrapped_aux.CallProxyImTime_x_CycLat_1_R
triqs.gf.wrapped_aux.CallProxyImTime_x_CycLat_2
triqs.gf.wrapped_aux.CallProxyImTime_x_CycLat_2_R
triqs.gf.wrapped_aux.CallProxyImTime_x_CycLat_3
triqs.gf.wrapped_aux.CallProxyImTime_x_CycLat_3_R
triqs.gf.wrapped_aux.CallProxyImTime_x_CycLat_4
triqs.gf.wrapped_aux.CallProxyImTime_x_CycLat_4_R
triqs.gf.wrapped_aux.CallProxyLegendre_0
triqs.gf.wrapped_aux.CallProxyLegendre_1
triqs.gf.wrapped_aux.CallProxyLegendre_2
triqs.gf.wrapped_aux.CallProxyLegendre_3
triqs.gf.wrapped_aux.CallProxyLegendre_4
triqs.gf.wrapped_aux.CallProxyLegendre_x_BrZone_0
triqs.gf.wrapped_aux.CallProxyLegendre_x_BrZone_1
triqs.gf.wrapped_aux.CallProxyLegendre_x_BrZone_2
triqs.gf.wrapped_aux.CallProxyLegendre_x_BrZone_3
triqs.gf.wrapped_aux.CallProxyLegendre_x_BrZone_4
triqs.gf.wrapped_aux.CallProxyLegendre_x_CycLat_0
triqs.gf.wrapped_aux.CallProxyLegendre_x_CycLat_1
triqs.gf.wrapped_aux.CallProxyLegendre_x_CycLat_2
triqs.gf.wrapped_aux.CallProxyLegendre_x_CycLat_3
triqs.gf.wrapped_aux.CallProxyLegendre_x_CycLat_4
triqs.gf.wrapped_aux.CallProxyReFreq_0
triqs.gf.wrapped_aux.CallProxyReFreq_1
triqs.gf.wrapped_aux.CallProxyReFreq_2
triqs.gf.wrapped_aux.CallProxyReFreq_3
triqs.gf.wrapped_aux.CallProxyReFreq_4
triqs.gf.wrapped_aux.CallProxyReFreq_x_BrZone_0
triqs.gf.wrapped_aux.CallProxyReFreq_x_BrZone_1
triqs.gf.wrapped_aux.CallProxyReFreq_x_BrZone_2
triqs.gf.wrapped_aux.CallProxyReFreq_x_BrZone_3
triqs.gf.wrapped_aux.CallProxyReFreq_x_BrZone_4
triqs.gf.wrapped_aux.CallProxyReFreq_x_CycLat_0
triqs.gf.wrapped_aux.CallProxyReFreq_x_CycLat_1
triqs.gf.wrapped_aux.CallProxyReFreq_x_CycLat_2
triqs.gf.wrapped_aux.CallProxyReFreq_x_CycLat_3
triqs.gf.wrapped_aux.CallProxyReFreq_x_CycLat_4
triqs.gf.wrapped_aux.CallProxyReTime_0
triqs.gf.wrapped_aux.CallProxyReTime_1
triqs.gf.wrapped_aux.CallProxyReTime_2
triqs.gf.wrapped_aux.CallProxyReTime_3
triqs.gf.wrapped_aux.CallProxyReTime_4
triqs.gf.wrapped_aux.CallProxyReTime_x_BrZone_0
triqs.gf.wrapped_aux.CallProxyReTime_x_BrZone_1
triqs.gf.wrapped_aux.CallProxyReTime_x_BrZone_2
triqs.gf.wrapped_aux.CallProxyReTime_x_BrZone_3
triqs.gf.wrapped_aux.CallProxyReTime_x_BrZone_4
triqs.gf.wrapped_aux.CallProxyReTime_x_CycLat_0
triqs.gf.wrapped_aux.CallProxyReTime_x_CycLat_1
triqs.gf.wrapped_aux.CallProxyReTime_x_CycLat_2
triqs.gf.wrapped_aux.CallProxyReTime_x_CycLat_3
triqs.gf.wrapped_aux.CallProxyReTime_x_CycLat_4
triqs.lattice
triqs.lattice.bz_patch
triqs.lattice.bz_patch.BZPatch
triqs.lattice.lattice_tools
triqs.lattice.lattice_tools.dos
triqs.lattice.lattice_tools.dos_patch
triqs.lattice.lattice_tools.BravaisLattice
triqs.lattice.lattice_tools.BrillouinZone
triqs.lattice.lattice_tools.TightBinding
triqs.lattice.point
triqs.lattice.point.LatticePoint
triqs.lattice.super_lattice
triqs.lattice.super_lattice.TBSuperLattice
triqs.lattice.tight_binding
triqs.lattice.tight_binding.dos
triqs.lattice.tight_binding.dos_patch
triqs.lattice.tight_binding.TBLattice
triqs.lattice.utils
triqs.lattice.utils.TB_from_pythTB
triqs.lattice.utils.TB_from_wannier90
triqs.lattice.utils.TB_to_sympy
triqs.lattice.utils.extend_wannier90_to_spin
triqs.lattice.utils.k_space_path
triqs.lattice.utils.parse_hopping_from_wannier90_hr_dat
triqs.lattice.utils.parse_lattice_vectors_from_wannier90_wout
triqs.operators
triqs.operators.operators
triqs.operators.operators.c
triqs.operators.operators.c_dag
triqs.operators.operators.dagger
triqs.operators.operators.is_op_hermitian
triqs.operators.operators.n
triqs.operators.operators.Operator
triqs.operators.util
triqs.operators.util.U_matrix
triqs.operators.util.extractors
triqs.operators.util.hamiltonians
triqs.operators.util.observables
triqs.operators.util.op_struct
triqs.plot
triqs.plot.mpl_interface
triqs.plot.mpl_interface.oplot
triqs.plot.mpl_interface.oploti
triqs.plot.mpl_interface.oplotr
triqs.plot.mpl_interface.use_amsmath
triqs.plot.protocol
triqs.plot.protocol.clip_array
triqs.plot.protocol.plot_protocol_apply
triqs.random_generator
triqs.random_generator.RandomGenerator
RandomGenerator
triqs.random_generator.RandomGenerator.__init__
triqs.random_generator.random_generator
triqs.random_generator.random_generator.random_generator_names_list
triqs.stat
triqs.stat.histogram
triqs.stat.histogram.plot
triqs.stat.histograms
triqs.stat.histograms.cdf
triqs.stat.histograms.pdf
triqs.stat.histograms.Histogram
triqs.sumk
triqs.sumk.sumk_discrete
triqs.sumk.sumk_discrete.SumkDiscrete
triqs.sumk.sumk_discrete_from_lattice
triqs.sumk.sumk_discrete_from_lattice.SumkDiscreteFromLattice
triqs.utility
triqs.utility.bound_and_bisect
triqs.utility.bound_and_bisect.bound_and_bisect
triqs.utility.bound_and_bisect.determine_bounds
triqs.utility.capture_stdout
triqs.utility.comparison_tests
triqs.utility.comparison_tests.assert_array_close_to_scalar
triqs.utility.comparison_tests.assert_arrays_are_close
triqs.utility.comparison_tests.assert_block2_gfs_are_close
triqs.utility.comparison_tests.assert_block_gfs_are_close
triqs.utility.comparison_tests.assert_gfs_are_close
triqs.utility.dichotomy
triqs.utility.dichotomy.dichotomy
triqs.utility.dist_on_nodes
triqs.utility.dist_on_nodes.DistributionOnNodes
triqs.utility.dist_on_nodes.DistributionOnNodesOneStack
triqs.utility.dist_on_nodes.DistributionOnNodesTest
triqs.utility.h5diff
triqs.utility.h5diff.compare
triqs.utility.h5diff.h5diff
triqs.utility.mpi
triqs.utility.mpi.check_for_mpi
triqs.utility.mpi_mpi4py
triqs.utility.mpi_mpi4py.all_reduce
triqs.utility.mpi_mpi4py.barrier
triqs.utility.mpi_mpi4py.bcast
triqs.utility.mpi_mpi4py.is_master_node
triqs.utility.mpi_mpi4py.master_gets_host_names
triqs.utility.mpi_mpi4py.myprint_err
triqs.utility.mpi_mpi4py.myprint_out
triqs.utility.mpi_mpi4py.recv
triqs.utility.mpi_mpi4py.report
triqs.utility.mpi_mpi4py.send
triqs.utility.mpi_mpi4py.slice_array
triqs.utility.mpi_mpi4py.slice_inf
triqs.utility.mpi_mpi4py.slice_sup
triqs.utility.mpi_nompi
triqs.utility.mpi_nompi.all_reduce
triqs.utility.mpi_nompi.barrier
triqs.utility.mpi_nompi.bcast
triqs.utility.mpi_nompi.is_master_node
triqs.utility.mpi_nompi.master_gets_host_names
triqs.utility.mpi_nompi.myprint_err
triqs.utility.mpi_nompi.myprint_out
triqs.utility.mpi_nompi.recv
triqs.utility.mpi_nompi.report
triqs.utility.mpi_nompi.send
triqs.utility.mpi_nompi.slice_array
triqs.utility.redirect
triqs.utility.redirect.start_redirect
triqs.utility.redirect.stop_redirect
triqs.utility.redirect.T
User guide
Why use TRIQS?
Dynamical mean-field theory on a Bethe lattice
Python Tutorials
Basics
Introducing python and the ipython notebook
Script mode
Interactive shell mode
The ipython notebook
A very short introduction to python
Calculating
Simple loops / indentation
If statements
Defining a function
Importing modules
Lists
The numpy library
Defining a new class
Getting help
Matplotlib Examples
Goal of this tutorial
Inline plots
Making the plot prettier
Subplots
Histograms and text
Python-like approach to matplotlib
More examples
TRIQS Green’s functions
Matrix-Valued Green’s functions
Block Green’s functions
Additional Initialization Descriptors
Imaginary-frequency Green’s functions
Arithmetic Operations
Obtaining the density
Fourier transforms
Compact meshes for imaginary time / frequency: DLR Green’s function
Pade analytical continuation
Exercises
HDF5 Archives
Writing to an archive
Reading from an archive
Manipulating fermionic operators
Fundamental operators
Number operator
Operations with operators
Exact Diagonalization
Introduction to multivariable Green’s functions
Imports and parameters
Constructing and Initializing a Lattice Green’s function
Numpy Broadcasting
Evaluate the Green function
Partial evaluation
Defining a Tight-Binding Hamiltonian
Model DMFT
A first DMFT calculation
The iterated perturbation theory
Dynamical mean-field theory
Bethe lattice DMFT
Visualizing the Mott transition
Comparison with the literature
General reminder: Anderson impurity model and CTHYB solver
The TRIQS/CTHYB impurity solver
Setting up the impurity solver
Visualizing the imaginary time sampled
\(G(\tau)\)
Visualizing the Matsubara-frequency results
Single-orbital Hubbard model
Solution 1
Solution 2
Solution 3
Solution 4
Solution 5
Solution 6
Two-orbital Hubbard model
Solution 1
Solution 2
Solution of exercise 3
Valence-Bond DMFT solution of the Hubbard model
Analyzing the precomputed results
Two-particle Response
Fermions on the square lattice & perfect nesting
Square lattice with nearest-neighbour hopping
Non-interacting lattice Green’s function
Fermi surface nesting
Susceptibility
\(\chi_0\)
of non-interacting fermions
Theory
Fast calculation using Fourier transform
Goals and questions
Compute the susceptibility
\(\chi_0(\mathbf{q}, i\omega_n)\)
Static susceptibility
\(\chi_0(\mathbf{q}, \omega=0)\)
and perfect nesting
The random phase approximation (RPA)
RPA solver
Two-particle self consistency (TPSC)
Theory
Behaviour of
\(U_{sp}\)
and
\(U_{ch}\)
vs.
\(U\)
Finite temperature antiferromagnetism in two dimensional systems
Mermin-Wagner theorem
TPSC and the Mermin-Wagner theorem
Code from previous notebooks
\(\chi_0\)
calculator for arbitrary
\(\beta\)
RPA spin structure factor
\(S_{RPA}\)
as a function of temperature
\(T\)
TPSC spin structure factor
\(S_{TPSC}\)
as a function of temperature
Questions
Remarks
Learn more about Python, ipython and the notebook
A quick tour in C++
Green’s functions
Matsubara Green’s functions
Creation of a simple Green’s function
\(G(i\omega)\)
Two-frequency Green’s function
\(G(i\omega,i\nu)\)
Imaginary-time Green’s functions
\(G(\tau)\)
Real-time Green’s functions
\(G(t)\)
Creation of a two real time GF
\(G(t,t')\)
How to fill a GF with placeholders
How to interpolate the GF value at a point of the domain
Multidimensional arrays
Declaring and printing an array
Simple operations
HDF5 Archiving
Views: ranges and slices
Matrices and vectors
Defining through a lazy expression
Linear algebra
Map and fold
det_manip: Determinant manipulations for CTQMC
Creation of an empty det_manip class
Creation of a non empty det_manip class
Get information about a det_manip class
Add a line and a column
Remove a line and a column
Add two lines and two columns
Remove two lines and two columns
Remove/add the one/two last lines and columns
Replace one line and column
Green’s function and HDF5 files
Using TRIQS in your own C++ project
Writing you own C++ code with TRIQS
A simple C++ project, with its tests and documentation
A mixed C++/Python project
Conventions for TRIQS applications
Source structure
Install structure
Build structure
Applications based on TRIQS
Impurity Solvers
Hybridization-expansion solver
Hubbard I solver
Hartree Fock solver
PYED - Exact diagonalization for finite quantum systems (external)
Interface to the pomerol exact diagonalization solver (external)
Interface to the w2dynamics impurity solver
Interface to the NRG Ljubljana impurity solver
Ab-Initio Tools
DFT tools - Toolbox for ab initio calculations of correlated materials
solid_dmft - Python wrapper to perform DFT+DMFT calculations using TRIQS
Analytic Continuation
Maxent
Nevanlinna Analytic Continuation
SOM - Stochastic Optimization Method for Analytic Continuation (external)
Interface to Omegamaxent
Other Applications
TPRF - The Two-Particle Response Function tool box
TRIQS Solver benchmarks
App4Triqs Application Skeleton
Cpp2Py
Version compatibility
TRIQS version numbering
TRIQS applications version numbering
How to determine the version of the installed TRIQS library
Changelog
Version 3.3.1
General
doc
Version 3.3.0
General
Gf
atom_diag
doc
cmake
jenkins
Version 3.2.1
General
doc
jenkins
cmake
Version 3.2.0
Porting Script
API Changes
General
Gf
Meshes
DLR
Lattice
det_manip
mc_generic
MPI
Fixes
doc
cmake
jenkins
Version 3.1.1
cmake
doc
gf
Meshes
Version 3.1.0
Porting Script
Deprecate use of string indices for Green functions
Change in gf_struct objects
Green function meshes (C++)
Move multi-array into TRIQS/nda library
triqs::stat Rework
Bath discretization function
Jenkins Sanitizer Checks
New website theme
TightBinding and TBLattice improvements
Require C++20 capable compiler
General
atom_diag
cmake
cpp2py
doc
gf
jenkins
lattice
mc_generic
mesh
mpi
nda
Version 3.0.2
atom_diag
gf
cmake
Python 3.10
c++20
Version 3.0.1
Issue 819 - Atom Diag
General
array
Gf
cmake
jenkins
doc
Version 3.0.0
Renamings
Dependency Management
h5py dependency
Removal of deprecated API
General
atom_diag
cmake
detmanip
doc
gf
jenkins
operators
packaging
Version 2.2.3
General
cmake
cpp2py
gf
jenkins
Version 2.2.2
doc
gf
cmake
General
Version 2.2.1
doc
cmake
General
Version 2.2.0
Make range and itertools functionality standalone
Make mpi functionality standalone and change namespace
Non-owning views (C++)
Dynamic Analyzer Checks (ASAN, UBSAN)
No longer install googletest
app4triqs
arrays
cmake
doc
fourier
gf
h5
itertools
jenkins
mc_generic
mpi
lattice
operators
packaging
pytriqs
General
Version 2.1.1
jenkins
doc
cmake
General
Version 2.1.0
gf
array
clef
BlockGf
cmake
lapack
lattice
tail
det_manip
atom_diag
mc_tools
doc
General
pytriqs
fourier
Version 2.0.0
fourier,tail
cmake
hdf5
arrays
doc
gf/py
py
General
travis
gf
tail
pytriqs
pytriqs/gf
test
tail,fourier
Version 1.5
API changes
Version 1.4
Documentation
Installation
Many-body operators
Green’s functions
Tests
Version 1.3
Installation
Green functions
Many-body operators
Monte-Carlo tools
Determinant manipulation
HDF5
c++2py
Tests
Miscellaneous
Version 1.2
C++
Python
Green Functions
Version 1.1
Version 1.0
Python classes
Archives
Contributing
Issues and feature requests
Contributing to code and documentation
How to make a pull request?
Setting up your fork repository
Making your pull request
How to contribute to documentation?
Who should write documentation?
Building the documentation
Editing the documentation
Github discussions
About TRIQS
Authors & contributors
Citation
License
Disclaimer
Logo files
Frequently-asked questions
Q: How do I write my GF data to text files, e.g. to plot using other plotting tools?
Q: How do I save the triqs hash and script for debugging purposes?
TRIQS
Documentation
<no title>
[triqs/clef]
Clef: Compile-time lazy expressions and functions
More complex examples
View page source
More complex examples
Warning
To be written.
A lazy sum