Consider first the one particle operator of the N-particle system, e.g.
and the matrix element of
becomes,
Secondly, consider the two-particle operator, e.g. the interaction between particles,
and the matrix element is written as,