The wavefunction should be a probability amplitude depending on \boldsymbol{x} . The RBM model is given by the joint distribution of \boldsymbol{x} and \boldsymbol{h}
\begin{align*} F_{rbm}(\boldsymbol{x},\mathbf{h}) = \frac{1}{Z} e^{-\frac{1}{T_0}E(\boldsymbol{x},\mathbf{h})} \end{align*}To find the marginal distribution of \boldsymbol{x} we set:
\begin{align*} F_{rbm}(\mathbf{x}) &= \sum_\mathbf{h} F_{rbm}(\mathbf{x}, \mathbf{h}) \\ &= \frac{1}{Z}\sum_\mathbf{h} e^{-E(\mathbf{x}, \mathbf{h})} \end{align*}