TRIQS/TRIQS 4.0.0
Researching Interacting Quantum Systems
Loading...
Searching...
No Matches
fundamental_operator_set.cpp
#include "./fundamental_operator_set.hpp"
#include "../utility/exceptions.hpp"
#include <fmt/format.h>
#include <fmt/ranges.h>
#include <h5/h5.hpp>
#include <itertools/itertools.hpp>
#include <string>
#include <string_view>
#include <variant>
#include <vector>

Detailed Description

Go to the source code of this file.

Functions

std::string triqs::hilbert_space::format_indices (indices_t const &alpha, std::string_view sep=",", std::string_view prefix="", std::string_view suffix="")
 String representation of a single particle state index \( \alpha_i \).
void triqs::hilbert_space::h5_read_attribute (h5::object obj, std::string const &name, fundamental_operator_set &fops)
void triqs::hilbert_space::h5_write_attribute (h5::object obj, std::string const &name, fundamental_operator_set const &fops)

Function Documentation

◆ h5_read_attribute()

void triqs::hilbert_space::h5_read_attribute ( h5::object obj,
std::string const & name,
fundamental_operator_set & fops )
Parameters
objh5::object the attribute belongs to.
nameName of the attribute.
fopsFundamental operator set to be read into.

Definition at line 126 of file fundamental_operator_set.cpp.

◆ h5_write_attribute()

void triqs::hilbert_space::h5_write_attribute ( h5::object obj,
std::string const & name,
fundamental_operator_set const & fops )
Parameters
objh5::object the attribute belongs to.
nameName of the attribute.
fopsFundamental operator set to be written.

Definition at line 122 of file fundamental_operator_set.cpp.