TRIQS/TRIQS 4.0.0
Researching Interacting Quantum Systems
Loading...
Searching...
No Matches
many_body_operator.cpp
#include "./many_body_operator.hpp"
#include "../hilbert_space/fundamental_operator_set.hpp"
#include "../utility/real_or_complex.hpp"
#include <fmt/ostream.h>
#include <h5/h5.hpp>
#include <hdf5.h>
#include <itertools/itertools.hpp>
#include <algorithm>
#include <array>
#include <cmath>
#include <complex>
#include <cstddef>
#include <ostream>
#include <string>
#include <vector>

Detailed Description

Implementation details for triqs/operators/many_body_operator.hpp.

Definition in file many_body_operator.cpp.

Go to the source code of this file.

Classes

class  triqs::operators::fundamental_operator_set
 Class representing a fundamental operator set. More...

Functions

void triqs::operators::h5_read (h5::group g, std::string const &name, many_body_operator &op, hilbert_space::fundamental_operator_set &fops)
void triqs::operators::h5_write (h5::group g, std::string const &name, many_body_operator const &op, hilbert_space::fundamental_operator_set const &fops)
bool triqs::operators::operator< (monomial_t const &m1, monomial_t const &m2)
 Less-than comparison operator for triqs::operators::monomial_t.
std::ostream & triqs::operators::operator<< (std::ostream &os, canonical_ops_t const &op)
 Write a triqs::operators::canonical_ops_t to a std::ostream.
std::ostream & triqs::operators::operator<< (std::ostream &os, monomial_t const &m)
 Write a triqs::operators::monomial_t to a std::ostream.

Function Documentation

◆ h5_read()

void triqs::operators::h5_read ( h5::group g,
std::string const & name,
many_body_operator & op,
hilbert_space::fundamental_operator_set & fops )
Parameters
gh5::group to be read from.
nameName of the subgroup.
opOperator to be read into.
fopsFundamental operator set associated with the operator.

Definition at line 139 of file many_body_operator.cpp.

◆ h5_write()

void triqs::operators::h5_write ( h5::group g,
std::string const & name,
many_body_operator const & op,
hilbert_space::fundamental_operator_set const & fops )
Parameters
gh5::group to be written to.
nameName of the subgroup.
opOperator to be written.
fopsFundamental operator set associated with the operator.

Definition at line 94 of file many_body_operator.cpp.