Compiler.compile

Compiler.compile(circuit, workflow, request_data=False, logging_level=None, max_logging_depth=-1, data=None)[source]
Overloads:
  • self, circuit (Circuit), workflow (WorkflowLike), request_data (Literal[False]), logging_level (int | None), max_logging_depth (int), data (MutableMapping[str, Any] | None) → Circuit

  • self, circuit (Circuit), workflow (WorkflowLike), request_data (Literal[True]), logging_level (int | None), max_logging_depth (int), data (MutableMapping[str, Any] | None) → tuple[Circuit, PassData]

  • self, circuit (Circuit), workflow (WorkflowLike), request_data (bool), logging_level (int | None), max_logging_depth (int), data (MutableMapping[str, Any] | None) → Circuit | tuple[Circuit, PassData]

Submit a task, wait for its results; see submit() for more.