qit.utils.nullspace_hermitian

qit.utils.nullspace_hermitian(A, tol=None)

Kernel of a superoperator matrix restricted to the Hermitian subspace.

Solves the intersection of the kernel of the superop A and the Hermitian subspace. A maps d*d matrices to whatever.

Singular values <= tol are considered zero.