pygsti.tools.optools.rootconj_superop#
- rootconj_superop(effect_superket, basis, abstol_warn=1e-10, abstol_error=1e-08)#
Let E denote the Hermitian matrix representation effect_superket, where 0 ≤ E ≤ 1.
This function returns the array representation (in basis) of the map that takes a Hermitian matrix ρ to the Hermitian matrix E½ ρ E½.
abstol_warn and abstol_error set how far an eigenvalue of E may fall outside [0, 1] before a warning or a ValueError (respectively) is raised.
- Parameters:
effect_superket (ndarray)
basis (Basis)
abstol_warn (float)
abstol_error (float)
- Return type:
ndarray