pygsti.stdmx_to_gmvec

pygsti.stdmx_to_gmvec(m)
Convert a matrix in the standard basis to
a vector in the Gell-Mann basis.
Parameters:m (numpy array) – The matrix, must be square.
Returns:The vector, length == number of elements in m
Return type:numpy array