Class LbfgsMLP

Inheritance Relationships

Base Type

Class Documentation

class LbfgsMLP : public qb::vqee::VqeOpt

L-BFGS algorithm from the mlpack library L-BFGS is a gradient-based algorithm (quasi-Newton)

Public Functions

inline LbfgsMLP()

Default constructor - calls the base class and sets the provider name and algorithm name.

inline LbfgsMLP(const std::vector<double> &in_initial_parameters, const int in_maxeval = 500000, const double in_ftol = 1.0e-4, const YAML::Node &in_node = YAML::Load(""))

Constructor that shows all defaults.

virtual std::shared_ptr<xacc::Optimizer> get() override

Getters.

Private Members

std::set<std::string> integer_valued_fields_ = {}

Integer-valued fields.

std::set<std::string> string_valued_fields_ = {}

String-valued fields.

std::set<std::string> boolean_valued_fields_ = {}

Boolean-valued fields.

std::set<std::string> double_valued_fields_ = {}

Double-valued fields.

std::set<std::string> vector_double_valued_fields_ = {}

Vector of double fields.

std::map<std::string, std::string> all_valid_fields_yaml_xacc_ = {}

Union of all the above fields. Conversion of keys from YAML -> XACC.