- class ExecutionMode(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)
Configuration for the execution mode of the calculation.
COMPILED – Compiled execution mode, where the graph you provide is compiled into an executable that can run operations in parallel and with low overhead (at the expense of compilation time). This mode can be faster for simulations of open system dynamics, large systems, or systems described by sampleable tensor function (Stf) objects.
EAGER – Eager execution mode, where the graph nodes you provide are executed sequentially immediately as they are encountered. This mode can be faster for simulations of systems described by piecewise-constant Hamiltonians with a large number (more than roughly 1000) of segments.