Result

class qctrl.dynamic.types.graph.Result(*, output=None, errors=None, action=None)

The result of a graph evaluation. It includes the evaluated outputs.

Variables
  • output (dict) – The dictionary giving the value of each requested output node. The keys of the dictionary are the names \(\{s_j\}\) of the output nodes.

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

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