pygsti.evec_penalty¶
-
pygsti.
evec_penalty
(EVec)¶ - Penalty assigned to a POVM effect vector EVec. Effects
- must have eigenvalues between 0 and 1. A positive return value indicates this criterion is not met and the E-vector is invalid.
Parameters: EVec (numpy array) – effect vector array of shape (N,1) for some N. Returns: Return type: float