If I have a Hamiltonian
$$\mathcal{H} = \prod_j^N Z_j$$
where $j$'s are different sites on a lattice and $Z$'s are Pauli $Z$ operators does that mean that the Hamiltonian can also be written as
$$\mathcal{H} = Z_1 \otimes Z_2 \otimes \cdot \cdot \cdot Z_N$$
and if they are all Pauli operators could it just be
$$\mathcal{H} = Z ^{\otimes N}$$