naturemath said:
I've always wondered about this notation: <ej|A|ei>.
I understand the pairing involved in <A ei,ej> but what does this <ej|A|ei> mean?
micromass said:
In my understanding, it just means <e_i,Ae_j>.
It's
equal to that, but I wouldn't say that that's what the notation
means.
In bra-ket notation, members of a Hilbert space ##\mathcal H## are written as ##|\alpha\rangle,\ |\beta\rangle##, or ##|\psi\rangle,\ |\phi\rangle##, instead of as x,y. And they're called "kets" instead of (or rather in addition to) "vectors". Members of the dual space ##\mathcal H^*## are called "bras". So far, it's just a weird notation and terminology.
I will use the notation (x,y) for the inner product of x and y, and I will use the convention that the inner product is linear in the
second variable. For each ##x\in\mathcal H##, I will denote the map ##y\mapsto (x,y)## from ##\mathcal H## into ##\mathbb C## by ##(x,\cdot)##. The Riesz representation theorem for Hilbert spaces says that ##x\mapsto (x,\cdot)## is an antilinear (=conjugate linear) bijection from ##\mathcal H## onto the dual space ##\mathcal H^*##. In bra-ket notation, the member of ##\mathcal H^*## that corresponds to ##|\alpha\rangle## via this antilinear bijection is denoted by ##\langle\alpha|##. So ##\langle\alpha|=\big(|\alpha\rangle,\cdot\big)##, and the result of ##\langle\alpha|## acting on ##|\beta\rangle## is
$$\langle\alpha|\,|\beta\rangle = \big(|\alpha\rangle,\cdot\big)|\beta\rangle =\big(|\alpha\rangle,|\beta\rangle\big).$$
The right-hand side is the inner product of ##|\alpha\rangle## and ##|\beta\rangle##. It's conventional to simplify the notation for the thing on the left-hand side to ##\langle\alpha|\beta\rangle##. This can be pretty confusing, since now it looks like the inner product of ##\alpha## and ##\beta##, but this would be nonsense, since ##\alpha## is undefined. The vector we've been talking about is denoted by ##|\alpha\rangle##, not ##\alpha##.
In order to make this notation easier to deal with, several other definitions are made. For example, the "product" of a bra and a linear operator is defined by
$$\big(\langle\alpha|A\big)|\beta\rangle =\langle\alpha|\big(A|\beta\rangle\big).$$ This is why parentheses are unnecessary in the expression ##\langle\alpha|A|\beta\rangle##. What I just said should make it clear that the notation can be interpreted as two different things, both of which are equal to ##\big(|\alpha\rangle,A|\beta\rangle\big)##. It's either the bra ##\langle\alpha|A## acting on the ket ##|\beta\rangle## or the bra ##\langle\alpha|## acting on the ket ##A|\beta\rangle##.
Another definition that's made out of convenience is to define the "product" of a ket and a bra by
$$|\alpha\rangle\langle\beta|\, |\gamma\rangle =\big(\langle\beta|\gamma\rangle\big) |\alpha\rangle.$$ We also define the product of a ket and a complex number (with the number on the right) by ##|\alpha\rangle a =a|\alpha\rangle##. This enables us to rewrite the previous equality as
$$\big(|\alpha\rangle\langle\beta|\big) |\gamma\rangle = |\alpha\rangle\big(\langle\beta|\,| \gamma\rangle\big) = |\alpha\rangle\big(\langle\beta| \gamma\rangle\big).$$ This is why no parentheses are needed in the expression ##|\alpha\rangle\langle\beta|\gamma\rangle##. It can be interpreted as the operator ##|\alpha\rangle\langle\beta|## acting on the ket ##|\gamma\rangle##, or as the product of the ket ##|\alpha\rangle## and the number ##\langle\beta|\gamma\rangle##.
As you can see, the definitions are chosen so that all the "products" one might want to form are defined, and also associative.
Now consider the equality that would be written as ##x=\sum_i (e_i,x)e_i## in the traditional (not bra-ket) notation. In bra-ket notation, we would write it as ##|\alpha\rangle=\sum_i|i\rangle\langle i|\alpha\rangle##. This means that the identity operator can be written as ##1=\sum_i|i\rangle\langle i|##. This observation makes many problems significantly easier to solve.