sf.physics.gaussian.compose_channels_XYd

mrmustard.physics.gaussian.compose_channels_XYd(X1, Y1, d1, X2, Y2, d2)[source]

Returns the combined X, Y, and d for two CPTP channels.

Parameters:
  • X1 (Matrix) – the X matrix of the first CPTP channel

  • Y1 (Matrix) – the Y matrix of the first CPTP channel

  • d1 (Vector) – the displacement vector of the first CPTP channel

  • X2 (Matrix) – the X matrix of the second CPTP channel

  • Y2 (Matrix) – the Y matrix of the second CPTP channel

  • d2 (Vector) – the displacement vector of the second CPTP channel

Returns:

the combined X, Y, and d matrices

Return type:

Tuple[Matrix, Matrix, Vector]