qit.utils.nullspace

qit.utils.nullspace(A, tol=None, spectrum=False)

Kernel of a matrix.

Given a matrix A (and optionally a tolerance tol), returns a basis for the kernel (null space) of A in the columns of Z.