The wavefunction should be a probability amplitude depending on x. The RBM model is given by the joint distribution of x and h
To find the marginal distribution of x we set: