qib.operator.fermi_hubbard_hamiltonian.FermiHubbardHamiltonian¶
- class qib.operator.fermi_hubbard_hamiltonian.FermiHubbardHamiltonian(field: Field, t: float, u: float, spin=True)[source]¶
Bases:
AbstractOperator- Fermi-Hubbard Hamiltonian with
kinetic hopping coefficient t
potential interaction strength u
on a lattice.
Methods
Represent the Hamiltonian as FieldOperator.
Generate the (sparse) matrix representation of the Hamiltonian.
List of fields the Hamiltonian acts on.
Whether the Hamiltonian is Hermitian.
Whether the Hamiltonian is unitary.
Attributes
Number of underlying lattice sites.