Function ED::new_operator(const string&, const string&, const string&, const vector<matrix_element<double>>&)

Function Documentation

void ED::new_operator(const string &model_name, const string &name, const string &type, const vector<matrix_element<double>> &elements)

function that adds an operator to the Hamiltonian

model_name : name of the model the operator belongs to name : name of the operator type : type of the operator (e.g. one-body, anomalous, interaction, etc.) elements : a vector of one-body matrix elements that defines the operator