sf.physics.gaussian.partition_cov¶
- mrmustard.physics.gaussian.partition_cov(cov, Amodes)[source]¶
Partitions the covariance matrix into the
A
andB
subsystems and the AB coherence block.- Parameters:
cov (Matrix) – the covariance matrix
Amodes (Sequence[int]) – the modes of system
A
- Returns:
the cov of
A
, the cov ofB
and the AB block- Return type:
Tuple[Matrix, Matrix, Matrix]
code/api/mrmustard.physics.gaussian.partition_cov
Download Python script
Download Notebook
View on GitHub