3.1.1
Welcome
TRIQS School 2023
TRIQS applications
Python & C++
Where to start?
Installation
Packaged Versions of TRIQS
Ubuntu Debian packages
Anaconda
Docker
Singularity
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/h5]
The HDF5 format
Reference documentation/manual
HDFArchive
HDFArchiveGroup
HDFArchiveInert
Hdf-compliant objects
HDF5
HDF5 archives
Green’s function and HDF5 files
[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/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::evaluate
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::flatten_2d
triqs::det_manip
Classes
triqs::det_manip::det_manip
triqs::mc_tools
Type aliases
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::monitor
Functions
mpi::is_initialized
mpi::broadcast
mpi::map_C_function
mpi::map_add
mpi::chunk
itertools
Classes
itertools::range
Functions
itertools::transform
itertools::enumerate
itertools::zip
itertools::zip_with
itertools::product
itertools::slice
itertools::stride
itertools::product_range
itertools::chunk_range
itertools::foreach
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.atom_diag.atom_diag_desc
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.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.make_gf_from_fourier
triqs.gf.gf_factories.make_hermitian
triqs.gf.gf_factories.make_real_in_tau
triqs.gf.gf_factories_desc
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.GfIndices
triqs.gf.gf_fnt_desc
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.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.GfLegendreDomain
triqs.gf.meshes.MeshBrZone
triqs.gf.meshes.MeshCycLat
triqs.gf.meshes.MeshImFreq
triqs.gf.meshes.MeshImTime
triqs.gf.meshes.MeshLegendre
triqs.gf.meshes.MeshReFreq
triqs.gf.meshes.MeshReTime
triqs.gf.meshes_desc
triqs.gf.meshes_desc.make_mesh
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_2
triqs.gf.wrapped_aux.CallProxyBrZone_3
triqs.gf.wrapped_aux.CallProxyBrZone_4
triqs.gf.wrapped_aux.CallProxyBrZone_x_ImFreq_0
triqs.gf.wrapped_aux.CallProxyBrZone_x_ImTime_0
triqs.gf.wrapped_aux.CallProxyBrZone_x_ReFreq_0
triqs.gf.wrapped_aux.CallProxyBrZone_x_ReTime_0
triqs.gf.wrapped_aux.CallProxyCycLat_0
triqs.gf.wrapped_aux.CallProxyCycLat_2
triqs.gf.wrapped_aux.CallProxyCycLat_3
triqs.gf.wrapped_aux.CallProxyCycLat_4
triqs.gf.wrapped_aux.CallProxyCycLat_x_ImFreq_0
triqs.gf.wrapped_aux.CallProxyCycLat_x_ImTime_0
triqs.gf.wrapped_aux.CallProxyCycLat_x_ReFreq_0
triqs.gf.wrapped_aux.CallProxyCycLat_x_ReTime_0
triqs.gf.wrapped_aux.CallProxyImFreq_0
triqs.gf.wrapped_aux.CallProxyImFreq_2
triqs.gf.wrapped_aux.CallProxyImFreq_3
triqs.gf.wrapped_aux.CallProxyImFreq_4
triqs.gf.wrapped_aux.CallProxyImTime_0
triqs.gf.wrapped_aux.CallProxyImTime_2
triqs.gf.wrapped_aux.CallProxyImTime_3
triqs.gf.wrapped_aux.CallProxyImTime_4
triqs.gf.wrapped_aux.CallProxyReFreq_0
triqs.gf.wrapped_aux.CallProxyReFreq_2
triqs.gf.wrapped_aux.CallProxyReFreq_3
triqs.gf.wrapped_aux.CallProxyReFreq_4
triqs.gf.wrapped_aux.CallProxyReTime_0
triqs.gf.wrapped_aux.CallProxyReTime_2
triqs.gf.wrapped_aux.CallProxyReTime_3
triqs.gf.wrapped_aux.CallProxyReTime_4
triqs.gf.wrapped_aux_desc
triqs.gf.wrapped_aux_desc.all_calls
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.energies_on_bz_grid
triqs.lattice.lattice_tools.energies_on_bz_path
triqs.lattice.lattice_tools.energy_matrix_on_bz_path
triqs.lattice.lattice_tools.hopping_stack
triqs.lattice.lattice_tools.BravaisLattice
triqs.lattice.lattice_tools.BrillouinZone
triqs.lattice.lattice_tools.TightBinding
triqs.lattice.lattice_tools_desc
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.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.n
triqs.operators.operators.Operator
triqs.operators.operators_desc
triqs.operators.util
triqs.operators.util.U_matrix
triqs.operators.util.extractors
triqs.operators.util.extractors_desc
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.random_generator.random_generator_desc
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.stat.histograms_desc
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
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
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
User guide
Why use TRIQS?
Dynamical mean-field theory on a Bethe lattice
A quick tour in Python
Local Green’s functions
A simple example
A slightly more complicated example
Lattice Green’s functions
Defining the meshes
Definition of the Green’s function
Various plots
Multivariable Green’s functions
HDF5 archives
Example 1: Storing basic data types
Example 2: Storing Green’s functions
Example 3: Using the dictionary interface of the archive
A tight-binding model on a square lattice
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
Determinants for Continuous-Time Monte-Carlo
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
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
Version compatibility
TRIQS version numbering
TRIQS applications version numbering
How to determine the version of the installed TRIQS library
Changelog
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
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
triqs.atom_diag
triqs.atom_diag.atom_diag
triqs.atom_diag.atom_diag.AtomDiagReal
triqs.atom_diag.atom_diag.AtomDiagReal.__init__
View page source
triqs.atom_diag.atom_diag.AtomDiagReal.__init__
AtomDiagReal.
__init__
(
*
args
,
**
kwargs
)