sf.tdm

This package contains classes and functions for creating time-domain algorithms in Strawberry Fields.

Functions

input_check(args, copies)

Checks the input arguments have consistent dimensions.

reshape_samples(all_samples, modes, N)

Reshapes the samples dict so that they have the expected correct shape.

shift_by(l, n)

Convenience function to shift a list by a number of steps.

Contents