If I want to derive the matrix representation for operator Q in the |S1=1/2 ,m1> |S2=1/2 ,m2 > basis, where |Si,mi> are common eigenstates of S2 , Si,z for the ith particle.
And I do it in this way:
<↑↑|Q|↑↑> <↑↑|Q|↑↓> <↑↓|Q|↓↑> <↑↑|Q|↓↓>
<↑↓|Q|↑↑> <↑↓|Q|↑↓> <↑↓|Q|↓↑> <↑↓|Q|↓↓>
...