Result

class qctrl.dynamic.types.closed_loop_optimization_step.Result(*, test_points=None, state=None, metadata=None, action=None, errors=None)

Result from the optimizer.

Variables
  • test_points (List[qctrl.dynamic.types.closed_loop_optimization_step.TestPoint], optional) – New test points at which the cost function should be evaluated for the next optimization step.

  • state (str, optional) – The encoded optimizer state to be passed back in the next step.

  • metadata (dict, optional) – Metadata about the optimizer at the current step. No guarantees are made about the contents of this metadata dictionary; the contained information is intended purely to help interpret the results of the optimization on a one-off basis.

  • action (qctrl.dynamic.types.CoreAction, optional) – Metadata about the execution of the function.

  • errors (List[qctrl.dynamic.types.Error], optional) – Related validation errors.