sf.api

Warning

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

This package contains the modules for the low-level Strawberry Fields program execution API. The Connection class mediates the network connection to, and exposes operations provided by, a remote program execution backend. The Job and Result classes provide interfaces for managing program execution jobs and job results respectively.

Classes

Connection([token, host, port, use_ssl, verbose])

Manages remote connections to the remote job execution platform and exposes various job operations.

Job(id_, status, connection[, meta])

Represents a remote job that can be queried for its status or result.

Result(samples[, is_stateful])

Result of a quantum computation.

Contents