CostFunctionResult

class CostFunctionResult(*, parameters, cost, cost_uncertainty=0.0)

Result from evaluating the user-defined cost function.

Variables:
  • parameters (List[float]) – The parameters at which the cost function was evaluated.

  • cost (float) – The evaluated cost from the cost function.

  • cost_uncertainty (float, optional) – The standard deviation in the value of the cost. For example, if the cost represents an average over several measurements, the uncertainty would be the standard error of those measurements. Defaults to 0.