sf.io.loads

loads(s)[source]

Load a quantum program from a string.

Parameters

s (str) – string containing the Blackbird circuit

Returns

Strawberry Fields program

Return type

prog (Program)