Function ED::new_model_instance

Function Documentation

void ED::new_model_instance(const string &model_name, map<string, double> &param, const string &sec, size_t label)

defines an instance of a model, i.e., with particular values of the coefficients of the operators in the Hamiltonian, and with a set of Hilbert space sectors.

model_name : name of the model the Hamiltonian is based upon param : values of the coefficients of the operators making up the Hamiltonian opt : string of options, to be interpreted differently by each solver. sec : The sectors of Hilbert space to build the Hamiltonian(s) upon (in string format). label : label of the instance (globally, not only for the model in question)