sf

The Strawberry Fields codebase includes a number of complementary components. These can be separated into frontend components, applications layer, and backend components (all found within the strawberryfields.backends submodule).

../_images/sfcomponents.svg

Functions

version()

Version number of Strawberry Fields.

save(f, prog)

Saves a quantum program to a Blackbird .xbb file.

load(f)

Load a quantum program from a Blackbird .xbb file.

about()

Strawberry Fields information.

cite()

Prints the BibTeX citation for Strawberry Fields.

Classes

Engine(backend, *[, backend_options])

Local quantum program executor engine.

LocalEngine(backend, *[, backend_options])

Local quantum program executor engine.

Program(num_subsystems[, name])

Represents a photonic quantum circuit.

Contents