sf.program_utils.MergeFailure

exception MergeFailure[source]

Exception raised by strawberryfields.ops.Operation.merge() when an attempted merge fails.

E.g., trying to merge two gates of different families.