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[, ir])

Saves a quantum program to a Blackbird .xbb or an XIR .xir file.

load(f[, ir])

Load a quantum program from a Blackbird .xbb or an XIR .xir file.

about()

Strawberry Fields information.

cite()

Prints the BibTeX citation for Strawberry Fields.

Classes

Engine(backend, *[, backend_options])

Local quantum program executor engine.

RemoteEngine(target[, connection, …])

A quantum program executor engine that provides a simple interface for running remote jobs in a blocking or non-blocking manner.

Program(num_subsystems[, name])

Represents a photonic quantum circuit.

TDMProgram(N[, name])

Represents a photonic quantum circuit in the time domain encoding.

Device(spec[, cert])

The representation of a specific remote device.

Result(result, **kwargs)

Result of a quantum computation.

Contents