|View source on GitHub|
Generates two-body positivity constraints on fermionic RDMs.
openfermion.measurements.two_body_fermion_constraints( n_orbitals, n_fermions )
The specific constraints implemented are known positivity constraints on the two-fermion reduced density matrices. Constraints are generated in the form of FermionOperators whose expectation value is known to be zero for any N-Representable state. Generators are used for efficiency.
number of spin-orbitals on which operators act.
number of fermions in the system.
|Constraint is a FermionOperator with zero expectation value.|