Consider SWAP operator for qubits. It is written in terms of Pauli operators as:
$ SWAP= \frac{1}{2}(\mathbf{I} + \sum_{a\in\{x,y,z\}} \sigma^{a}_{1}\sigma^{a}_{2}) $
I have "verified" that above representation is correct. Basically what I did was consider basis states as: $| \uparrow \uparrow \rangle, | \uparrow \downarrow \rangle, | \downarrow \uparrow \rangle,| \downarrow \downarrow \rangle $ and used the action of SWAP opertor on these basis states. For eg. $SWAP | \downarrow \uparrow \rangle = | \uparrow \downarrow \rangle$ (i.e. it swaps the two qubits).
I now want to generalise it for the qutrit case (they are also called clock-states). For this case one will have analogous $\sigma^{z}$ and $\sigma^{x}$ operators as \begin{equation} Z=\left(\begin{array}{ccc} 1 & 0 & 0 \\ 0 & \omega & 0 \\ 0 & 0 & \omega^2 \end{array}\right), \quad X=\left(\begin{array}{ccc} 0 & 1 & 0 \\ 0 & 0 & 1 \\ 1 & 0 & 0 \end{array}\right) . \end{equation} The above operators are unitary and have eigenvalues $1, \omega, \omega^{2}$; $\omega= e^{2 \pi i /3}$.
To be noticed that I can easily derive the matrix form of the SWAP operator for this case as well by considering the basis states. What I want is an analogous formula for the operator in terms of $Z$ and $X$ operators. To understand it, I was trying to understand how the form of the SWAP operator could be derived for the qubit case (I could only verify it and not derive it). Any help in this matter is appreciated, maybe some references where I can get more information related to this.