pygsti.tools.optools.minimal_kraus_decomposition#
- minimal_kraus_decomposition(op_x, op_basis, error_tol=1e-06, trunc_tol=1e-07)#
The array op_x represents a completely positive superoperator X on Hilbert-Schmidt space, using op_basis as the basis for that space.
A Kraus decomposition of X is a set of square matrices, {K_i}_i, that satisfy
X(ρ) = sum_i K_i ρ K_i^dagger.
The matrices appearing in any such set are called Kraus operators of X.
This function returns a minimal-length list of Kraus operators of X.
- Parameters:
op_x (ndarray)
op_basis (Basis)
error_tol (float)
trunc_tol (float)
- Return type:
list[ndarray]