fh_comm.hamiltonian_ops.HoppingOp¶
- class fh_comm.hamiltonian_ops.HoppingOp(i: Sequence[int], j: Sequence[int], s: int, coeff: float)[source]¶
Bases:
HamiltonianOpHopping term \(a^{\dagger}_{i\sigma} a_{j\sigma} + h.c.\) between sites i and j with spin s.
Methods
Represent the operator in terms of fermionic field operators.
Interchange i <-> j, resulting in logically the same operator.
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.
Return the "standard form" of the operator, such that i <= j (lexicographical ordering).
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.
- standard_form()[source]¶
Return the “standard form” of the operator, such that i <= j (lexicographical ordering).