openfermion.measurements.one_body_fermion_constraints
Generates one-body positivity constraints on fermionic RDMs.
openfermion.measurements.one_body_fermion_constraints(
n_orbitals, n_fermions
)
The specific constraints implemented are known positivity constraints
on the one-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.
Args |
n_orbitals
|
int
number of spin-orbitals on which operators act.
|
n_fermions
|
int
number of fermions in the system.
|
Yields |
Constraint is a FermionOperator with zero expectation value.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-04-26 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-04-26 UTC."],[],[]]