Function QCM::current_operator¶
Defined in File QCM.cpp
Function Documentation¶
-
void QCM::current_operator(const string &name, vector3D<int64_t> &link, double amplitude, int orb1, int orb2, int dir, bool pau)¶
Defines a current operator on the lattice.
Defines a current operator.
The operator, given two sites labelled 1 and 2, is defined as: $(r_1-r_2)c^\dagger_{is}\tau^2_{ij}c_{js}$
- Parameters:
name – name given to 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)
dir – component of the current (0,1,2) standing for (x,y,z)
pau – true if from real hopping, false if from imaginary hopping