Define the operator on a qudit system as \begin{align} o &= \sum_{s, s^\prime=1}^d o_{s,s^\prime}\vert s\rangle\langle s \vert \otimes \vert s^\prime\rangle \langle s^\prime \vert. \tag{1} \end{align} Then I want to compute the composite operator of $N$ qudit systems, which is \begin{align} O &= o^{\otimes N} = \sum_{\textbf{s}, \textbf{s}^\prime} O_{\textbf{s}, \textbf{s}^\prime} \vert \textbf{s} \rangle \langle \textbf{s} \vert \otimes \vert \textbf{s}^\prime \rangle \langle \textbf{s}^\prime \vert, \tag{2} \end{align} where \begin{align} \vert \textbf{s} \rangle = \bigotimes_{i=1}^N \vert s_i \rangle, \vert \textbf{s}^\prime \rangle = \bigotimes_{i=1}^N \vert s_i^\prime \rangle \tag{3} \end{align} are the computational basis states and $i$ is the index of the qudit system.
I derive a result that is different from eq. (2). How to obtain eq. (2)? This problem originates in eq. (30) of this paper