View source on GitHub |
Return a normal ordered QuadOperator corresponding to single term.
openfermion.transforms.normal_ordered_quad_term(
term, coefficient, hbar=1.0
)
Returns | |
---|---|
ordered_term
|
QuadOperator
The normal ordered form of the input. Note that this might have more terms. |
In our convention, normal ordering implies terms are ordered from highest tensor factor (on left) to lowest (on right). Also, q operators come first.