# CostFunctionResult¶

class qctrl.dynamic.types.closed_loop_optimization_step.CostFunctionResult(*, parameters, cost, cost_uncertainty=None)

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.