TRIQS/TRIQS 4.0.0
Researching Interacting Quantum Systems
Loading...
Searching...
No Matches
fundamental_operator_set.hpp
1// Copyright (c) 2015-2018 Commissariat à l'énergie atomique et aux énergies alternatives (CEA)
2// Copyright (c) 2015-2018 Centre national de la recherche scientifique (CNRS)
3// Copyright (c) 2018-2023 Simons Foundation
4//
5// This program is free software: you can redistribute it and/or modify
6// it under the terms of the GNU General Public License as published by
7// the Free Software Foundation, either version 3 of the License, or
8// (at your option) any later version.
9//
10// This program is distributed in the hope that it will be useful,
11// but WITHOUT ANY WARRANTY; without even the implied warranty of
12// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13// GNU General Public License for more details.
14//
15// You may obtain a copy of the License at
16// https://www.gnu.org/licenses/gpl-3.0.txt
17//
18// Authors: Olivier Parcollet, Nils Wentzell
19
20#pragma once
22
23namespace cpp2py {
24
25 // converters to/from a vector<vector<variant<int,string>>> using existing converters and the
26 // reduction of fundamental_operator_set to/from it.
27 template <>
28 struct py_converter<triqs::hilbert_space::fundamental_operator_set>
29 : py_converter_generic_cast_construct<triqs::hilbert_space::fundamental_operator_set, triqs::hilbert_space::fundamental_operator_set::data_t> {};
30} // namespace cpp2py
Provides a fundamental operator set class.
Additional converters for gf.