qib.operator.field_operator.FieldOperatorTerm¶
- class qib.operator.field_operator.FieldOperatorTerm(opdesc: Sequence[IFODesc], coeffs)[source]¶
Bases:
objectField operator term in second quantization, e.g., \(\sum_{j,k} h_{j,k} a^{\dagger}_j a_k\).
Each summation index is associated with a field and the operator type (e.g., fermionic creation operator).
Methods
Construct the adjoint (conjugate transpose) field operator term.
List of all fields appearing in the term.
Whether the field operator term is Hermitian.