Function QCM::density_wave¶
Defined in File QCM.cpp
Function Documentation¶
-
void QCM::density_wave(const string &name, vector3D<int64_t> &link, complex<double> amplitude, int orb, vector3D<double> Q, double phase, const string &type)¶
Defines a density wave on the lattice.
Defines a density-wave operator.
- 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
orb – index of the first site of the pair (from 1 to nband, the number of lattice orbitals). 0 if all orbitals.
Q – wavevector ($\times\pi$) of the density wave
phase – constant phase (see general documentation for the formula)
type – type of pairing: cdw, X, Z, singlet, dx, dy, dz