Why the sampler only use the real part of the proposed pdf? #1314
-
Hi, there, I'm reading the sampler part the document, there is one thing I am curious about is why the netket only takes the real part of the proposed pdf to sample. Suppose we use the NN to construct the amplitude, such as However, when I read the source code and the document about the sampler. I found you are only using the real part to calculate, proposal_log_prob = sampler.machine_pow * machine.apply(parameters, σp).real Thus, I am curious about how to handle that our proposed amplitude contains the imaginary part. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
Beta Was this translation helpful? Give feedback.
machine.apply
returns the logarithm of the wave function, that's why we take the real part, it would not be possible to sample from a complex probability distribution...