I'm a physicist trying to understand the concept of weight vectors in SU(3). In my professor's notes, weights are defined as the eigenvalues of the elements of the basis, which can be simultaneously diagonalized as $H_i$, i.e., they commute. It is stated that there exist some "weight vectors" formed by these weights, and their dimension is the rank of the Cartan subalgebra $l$. However, I don't understand this.
First of all, why is their dimension the rank of the Cartan subalgebra? I can understand that there are $l$ eigenvalues, but in this case, I think there will be only one "weight vector," and I know that there are 3 for SU(3).
Secondly, I don't see why $H_i\left|E_\alpha\right\rangle=\alpha_i\left|E_\alpha\right\rangle$ where $E_\alpha$ are the states not corresponding to the Cartan.
I would greatly appreciate any clarification; I'm a bit lost in the theory of group representations.
There seems to be some confusion about what a weight vector is as compared to the weight itself. I'll try to lay this all out in standard mathematical form but be aware that some of the physics notation/conventions will vary so you may have to translate. I am also going to start off working over $\mathbb{C}$ as for a compact Lie group/algebra the roots and root spaces are not real.
Let $\mathfrak{g}$ be a complex semisimple Lie algebra (in your example we would take $\mathfrak{g}=\mathfrak{sl}(3,\mathbb{C})$) and pick a Cartan subalgebra $\mathfrak{h}$. The crucial feature of a Cartan subalgebra is that it can be simultaneously diagonalised (for any representation of $\mathfrak{g}$). What that means in practical terms is that any representation $V$ has a basis where each element is an eigenvector for every single element of $\mathfrak{h}$. Let $v$ be such an element of $V$ so given $H\in \mathfrak{h}$ there is some $\lambda\in \mathbb{C}$ such that $H(v) = \lambda v$. Then let $\omega$ be a map from elements of $\mathfrak{h}$ to $\mathbb{C}$ (so $\omega \in \mathfrak{h}^*$)sending each element to its eigenvalue for $v$, i.e. $H(v) = \omega(H)v$. We call $\omega$ a weight and $v$ a weight vector corresponding to $\omega$. As I mentioned we can find a basis of weight vectors for $V$ but some of these can have the same weight. Note also that a scalar multiple of a weight vector will still be a weight vector as well.
Important distinction here: the weights are vectors in the mathematical sense (they live in a vector space $\mathfrak{h}^*$) but they are not the same as the weight vectors (which live in a different vector space $V$)
So the weights of a Lie algebra depend on a choice of representation but it turns out that all possible weights live on a nice lattice in $\mathfrak{h}^*$. That is they are integer linear combinations of certain "fundamental" weights. That takes us a bit far afield but to bring it back answering the first question: the weights span the whole of $\mathfrak{h}^*$ which has the same dimension as $\mathfrak{h}$. Meanwhile, the weight vectors span the representation $V$ instead which has whatever dimension it has.
The most important representation of a Lie algebra is the one it has on itself, usually known as the adjoint representation. Specifically this means that $X(Y)$ is now more usually written $[X,Y]$. First we should note that since the Cartan subalgebra is abelian all its elements are weight vectors for the $0$ weight: $[H_1, H_2] = 0$. The rest of the Lie algebra is spanned by non-zero weight vectors but when talking about the adjoint representation we usually call the non-zero weights roots. So the root vectors are the $E_\alpha$ that you refer to with corresponding weight (aka root) $\alpha$. Feeding that in to our definition above we are saying $$[H,E_\alpha] = \alpha(H)E_\alpha.$$ I think this is what your equation is supposed to be saying (although it is also throwing in bra-ket notation so I am not 100% sure).
Edit: The other possibility is that they are using the Killing form to identify $\mathfrak{h}$ with $\mathfrak{h}^*$. This is quite common and you often see roots referred to as elements of $\mathfrak{h}$ as a result. In that case I would assume that they have defined $H_i$ as the element such that $\alpha_i(H) = (H_i,H)$ for all $H\in \mathfrak{h}$. But this still doesn't really make that equation you have written make sense.