qp.concurrency.executors.ExecBackends¶
- class ExecBackends(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]¶
Bases:
EnumSupported 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.
Attributes
- 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'>¶
code/api/pennylane.concurrency.executors.ExecBackends
Download Python script
Download Notebook
View on GitHub