|
MPQC
3.0.0-alpha
|
Public Member Functions | |
| template<typename Int > | |
| FermionBasicNCOper (Int t, Int f) | |
| size_t | to () const |
| reports the state to which this operator places a particle | |
| size_t | from () const |
| reports the state from which this operator removes a particle | |
| void | apply (FermionOccupationBitString< Ns > &os) const |
| applies this operator to_ FermionOccupationBitString os. | |
| bool | apply_sign (FermionOccupationBitString< Ns > &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 | |
| std::pair< bool, FermionOccupationBitString< Ns > > | operator() (const FermionOccupationBitString< Ns > &os) const |
| similar to_ apply_sign(), but keeps the argument unchanged | |
| void sc::FermionBasicNCOper< 1, FermionOccupationBitString< Ns > >::apply | ( | FermionOccupationBitString< Ns > & | os | ) | const [inline] |
applies this operator to_ FermionOccupationBitString os.
to_==from_ is allowed.
| os | the FermionOccupationBitString object |
References sc::FermionOccupationBitString< Ns >::remove(), and sc::FermionOccupationBitString< Ns >::reset().
| bool sc::FermionBasicNCOper< 1, FermionOccupationBitString< Ns > >::apply_sign | ( | FermionOccupationBitString< Ns > & | os | ) | const [inline] |
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
| os | the FermionOccupationBitString object |
References sc::FermionOccupationBitString< Ns >::count(), sc::FermionOccupationBitString< Ns >::remove(), and sc::FermionOccupationBitString< Ns >::reset().
| size_t sc::FermionBasicNCOper< 1, FermionOccupationBitString< Ns > >::from | ( | ) | const [inline] |
reports the state from which this operator removes a particle
| std::pair<bool,FermionOccupationBitString<Ns> > sc::FermionBasicNCOper< 1, FermionOccupationBitString< Ns > >::operator() | ( | const FermionOccupationBitString< Ns > & | os | ) | const [inline] |
similar to_ apply_sign(), but keeps the argument unchanged
| os | the FermionOccupationBitString object |
| size_t sc::FermionBasicNCOper< 1, FermionOccupationBitString< Ns > >::to | ( | ) | const [inline] |
reports the state to which this operator places a particle