sf.physics.gaussian.compose_channels_XYd¶
- mrmustard.physics.gaussian.compose_channels_XYd(X1, Y1, d1, X2, Y2, d2)[source]¶
Returns the combined
X,Y, anddfor two CPTP channels.- Parameters:
X1 (Matrix) – the
Xmatrix of the first CPTP channelY1 (Matrix) – the
Ymatrix of the first CPTP channeld1 (Vector) – the displacement vector of the first CPTP channel
X2 (Matrix) – the
Xmatrix of the second CPTP channelY2 (Matrix) – the
Ymatrix of the second CPTP channeld2 (Vector) – the displacement vector of the second CPTP channel
- Returns:
the combined
X,Y, anddmatrices- Return type:
Tuple[Matrix, Matrix, Vector]
code/api/mrmustard.physics.gaussian.compose_channels_XYd
Download Python script
Download Notebook
View on GitHub