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

as_field_operator

Represent the Hamiltonian as FieldOperator.

as_matrix

Generate the (sparse) matrix representation of the Hamiltonian.

fields

List of fields the Hamiltonian acts on.

is_hermitian

Whether the Hamiltonian is Hermitian.

is_unitary

Whether the Hamiltonian is unitary.

Attributes

nsites

Number of underlying lattice sites.

as_field_operator()[source]

Represent the Hamiltonian as FieldOperator.

as_matrix()[source]

Generate the (sparse) matrix representation of the Hamiltonian.

fields()[source]

List of fields the Hamiltonian acts on.

is_hermitian()[source]

Whether the Hamiltonian is Hermitian.

is_unitary()[source]

Whether the Hamiltonian is unitary.

property nsites: int

Number of underlying lattice sites.