ModelType

class fireopal.types.ModelType(hopping_amplitude, on_site_interaction, chemical_potential, name='Fermi-Hubbard', lattice_type='1D')

Definition of the model to simulate.

Parameters

  • hopping_amplitude (list [ float ]) – Hopping amplitude between sites.
  • on_site_interaction (list [ float ]) – On-site interaction strength.
  • chemical_potential (list [ float ]) – Chemical potential at each site.
  • name (str , optional) – Name of the model (for example, “Fermi-Hubbard”). Defaults to “Fermi-Hubbard”.
  • lattice_type (str , optional) – Type of the lattice. Currently only 1D is supported. Defaults to “1D”.

Raises

QctrlArgumentsValueError – If any field has an invalid type or value.

Methods

from_dictDeserialize the model from a dictionary.
to_dictSerialize the model to a dictionary.

Attributes

lattice_type
name
hopping_amplitude
on_site_interaction
chemical_potential

Was this useful?