Unless you are a Strawberry Fields developer, you likely do not need to use these classes directly.

See the general Engine class for details on creating a Strawberry Fields engine.

This module implements BaseEngine and its subclasses that are responsible for communicating quantum programs represented by Program objects to a backend that could be e.g., a simulator or a hardware quantum processor. One can think of each BaseEngine instance as a separate quantum computation.


BaseEngine(backend[, backend_options])

Abstract base class for quantum program executor engines.

LocalEngine(backend, *[, backend_options])

Local quantum program executor engine.


Result of a quantum computation.

Class Inheritance Diagram

Inheritance diagram of strawberryfields.engine.BaseEngine, strawberryfields.engine.LocalEngine, strawberryfields.engine.Result