mm.physics.gaussian.partition_means

mrmustard.physics.gaussian.partition_means(means, Amodes)[source]

Partitions the means vector into the A and B subsystems.

Parameters:
  • means (Vector) – the means vector

  • Amodes (Sequence[int]) – the modes of system A

Returns:

the means of A and the means of B

Return type:

Tuple[Vector, Vector]