fh_comm.hamiltonian_ops.ZeroOp¶
- class fh_comm.hamiltonian_ops.ZeroOp[source]¶
Bases:
HamiltonianOpZero operator.
Methods
Represent the operator in terms of fermionic field operators.
Indicate whether the operator acts as zero operator.
Upper bound on the spectral norm of the operator.
Return a normalized copy of the operator together with its scalar prefactor.
Whether current operator is equal to 'other' up to a scalar factor.
Support of the operator: lattice sites which it acts on (including spin).
Translate by shift and return the translated operator.
Attributes
Maximum number of fermionic creation and annihilation operators multiplied together.
max_nmodes_exact_norm- property fermi_weight: int¶
Maximum number of fermionic creation and annihilation operators multiplied together.
- normalize() tuple[source]¶
Return a normalized copy of the operator together with its scalar prefactor.
- proportional(other) bool[source]¶
Whether current operator is equal to ‘other’ up to a scalar factor.