Replies: 1 comment 1 reply
-
You need to define a NN Module using flax. from flax import linen as nn
class MyNet(nn.Module):
@nn.compact
def __call__(self, r):
r_dim = r.shape
....
# return some array with shape r.shape[:-1] |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I have a query regarding Variational Monte Carlo.
I'm working with a weakly interacting Bose gas system and have formulated a trial wavefunction as shown below:
In order to fulfill:
I aim to achieve convergence utilizing Variational Monte Carlo (VMC) within NetKet. Furthermore, I aim to script this trial wavefunction and compute the ground state energy using VMC without employing the pre-existing Jastrow wave function in NetKet. How can I proceed with this process?
Additionally, I'm particularly interested in implementing this for a one-dimensional system. Any guidance on this aspect would be greatly appreciated. Also, could you provide me with the code for this? I'd greatly appreciate having the wave function code so I can utilize it as a model for VMC and obtain the ground state energy. Thank you!
Beta Was this translation helpful? Give feedback.
All reactions