qrisp.operators.qubit.QubitOperator.coeffs# QubitOperator.coeffs()[source]# Returns the coefficients of the operator. Returns: ndarrayThe coefficients. Examples >>> from qrisp.operators import X, Y, Z >>> H = X(0)*X(1)+Y(0)*Y(1)+0.5*Z(0)*Z(1) >>> H.coeffs() array([1. , 1. , 0.5])