qib.operator.field_operator.FieldOperator¶
- class qib.operator.field_operator.FieldOperator(terms: Sequence[FieldOperatorTerm] | None = None)[source]¶
Bases:
AbstractOperatorField operator in second quantized form.
Methods
Construct the adjoint (conjugate transpose) field operator.
Generate the (sparse) matrix representation of the operator.
List of all fields appearing in the operator.
Whether the operator is Hermitian.
Whether the operator is unitary.