mm.physics.gaussian.physical_partial_transpose¶
- mrmustard.physics.gaussian.physical_partial_transpose(cov, modes)[source]¶
Returns the covariance matrix that corresponds to applying the partial transposition on the density matrix of a given set of modes.
Reference: https://arxiv.org/abs/quant-ph/9909044, Equation 1, 5.
- Parameters:
cov (Matrix) – the covariance matrix
modes (Sequence[int]) – the modes of system on which transposition is applied
- Returns:
the covariance matrix corresponding to the partially transposed state
- Return type:
Matrix
code/api/mrmustard.physics.gaussian.physical_partial_transpose
Download Python script
Download Notebook
View on GitHub