|
TRIQS/TRIQS 4.0.0
Researching Interacting Quantum Systems
|
#include <triqs/operators/many_body_operator.hpp>
Second quantization creation/annihilation operator.
A canonical second quantization operator, \( \hat{c}_{\alpha_i} \) or \( \hat{c}_{\alpha_i}^\dagger \), is defined by
Definition at line 87 of file many_body_operator.hpp.
Public Member Functions | |
| void | deserialize (auto &ar) |
| Deserialize the canonical operator from a generic archive. | |
| auto | operator<=> (canonical_ops_t const &b) const |
| Three-way comparison operator for canonical operators. | |
| bool | operator== (canonical_ops_t const &b) const |
| Equality operator for canonical operators. | |
| void | serialize (auto &ar) const |
| Serialize the canonical operator to a generic archive. | |
Public Attributes | |
| bool | dagger {false} |
| True for creation ( \( \hat{c}_{\alpha_i}^{\dagger} \)), false for annihilation ( \( \hat{c}_{\alpha_i} \)) operators. | |
| indices_t | indices {} |
| Single particle state index \( \alpha_i \). | |
|
inline |
Deserialize the canonical operator from a generic archive.
| ar | Archive to deserialize from. |
Definition at line 161 of file many_body_operator.hpp.
|
inline |
Three-way comparison operator for canonical operators.
The ordering is defined as follows:
| b | Right hand side operator. |
Definition at line 117 of file many_body_operator.hpp.
|
inline |
Equality operator for canonical operators.
| b | Right hand side operator. |
Definition at line 149 of file many_body_operator.hpp.
|
inline |
Serialize the canonical operator to a generic archive.
| ar | Archive to serialize to. |
Definition at line 155 of file many_body_operator.hpp.