|
template<typename Int > |
| FermionBasicNCOper (const std::array< Int, Rank > &t, const std::array< Int, Rank > &f) |
|
const std::array< state_index_type, Rank > & | cre () const |
| reports the states in which particles are created More...
|
|
const std::array< state_index_type, Rank > & | ann () const |
| reports the states in which particles are annihilated More...
|
|
void | apply (FString &os) const |
| applies this operator to_ FermionOccupationNBitString os. More...
|
|
bool | apply_sign (FString &os) const |
| same as apply(), but returns whether application operator changes the sign of the state; the sign changes if the number of occupied states "crossed" by the operator is odd More...
|
|
std::pair< bool, FString > | operator() (const FString &os) const |
| similar to_ apply_sign(), but keeps the argument unchanged More...
|
|
template<size_t Nb, typename FString>
class sc::FermionBasicNCOper< Nb, FString >
basic Nb-body number-conserving (nc) operator in sp representation
- Template Parameters
-
Nb | rank of the operator (number of particles that possibly change states) |