sf.io.to_program

to_program(bb)[source]

Convert a Blackbird Program to a Strawberry Fields Program.

Parameters

bb (blackbird.BlackbirdProgram) – the input Blackbird program object

Returns

corresponding SF program

Return type

Program