Function QCM::interaction_operator

Function Documentation

void QCM::interaction_operator(const string &name, vector3D<int64_t> &link, double amplitude, int orb1, int orb2, const string &type)

defines an interaction operator

Defines an interaction operator (Hubbard, Hund, Heisenberg, or X/Y/Z).

Parameters:
  • name – name of the operator

  • link – bond vector on which the operator is defined

  • amplitude – default amplitude of the operator, that multiplies all matrix elements and its given value

  • orb1 – index of the first orbital (from 1 to nband)

  • orb2 – index of the second orbital (from 1 to nband)

  • type – type of interaction operator