sf.physics.gaussian.log_negativity

mrmustard.physics.gaussian.log_negativity(cov)[source]

Returns the log_negativity of a Gaussian state.

Reference: https://arxiv.org/abs/quant-ph/0102117 , Equation 57, 61.

Parameters:

cov (Matrix) – the covariance matrix

Returns:

the log-negativity

Return type:

float