Skip to main content

Interaction

Base class: Object

Represents a interaction in a model storing a coefficient name, a list of functions to produce an operator product, and the name of a neighbourhood rule.

Factories

interaction(const Function<Boxed_Value(integer)> factory, const string neighbourhood_name) -> Interaction

Constructs an interaction that can be added to a model.

Parameters

  • factory: A single site operator factory.
  • neighbourhood_name: The name of the neighbourhood on which the interaction is defined.

interaction(const string coefficient_name, const Function<Boxed_Value(integer)> factory, const string neighbourhood_name) -> Interaction

Constructs a interaction that can be added to a model.

Parameters

  • coefficient_name: The name of the coefficient multiplying this interaction.
  • factory: A single site operator factory.
  • neighbourhood_name: The name of the neighbourhood on which the interaction is defined.

interaction(const string coefficient_name, const List<AlephSingleSiteOperatorFactory> factories, const string neighbourhood_name) -> Interaction

Constructs a interaction that can be added to a model.

Parameters

  • coefficient_name: The name of the coefficient multiplying this interaction.
  • factories: The single site operator factories whose output is multiplied together to produce the interaction.
  • neighbourhood_name: The name of the neighbourhood on which the interaction is defined.

Constructors

Interaction(const Interaction arg) -> Interaction

Copy constructor for a Interaction.

Parameters

Symbols

NameDescription
=Copy constructor for Interaction.