qp.concurrency.executors.ExecBackends

class ExecBackends(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]

Bases: Enum

Supported executor backends.

The enumerated options provide a mapping to the implementation-defined classes for task-based executor backends.

Note

Not all backends are guaranteed to be instantiable without additional package installations.

MP_Pool

CF_ProcPool

CF_ThreadPool

Serial

Dask

MPI_PoolEx

MPI_CommEx

MP_Pool = <class 'pennylane.concurrency.executors.native.multiproc.MPPoolExec'>
CF_ProcPool = <class 'pennylane.concurrency.executors.native.conc_futures.ProcPoolExec'>
CF_ThreadPool = <class 'pennylane.concurrency.executors.native.conc_futures.ThreadPoolExec'>
Serial = <class 'pennylane.concurrency.executors.native.serial.SerialExec'>
Dask = <class 'pennylane.concurrency.executors.external.dask.DaskExec'>
MPI_PoolEx = <class 'pennylane.concurrency.executors.external.mpi.MPIPoolExec'>
MPI_CommEx = <class 'pennylane.concurrency.executors.external.mpi.MPICommExec'>