Skip to content

Is it possible to use MetropolisHamiltonian sampler in dissipative models? #877

Answered by PhilipVinc
GillianGrayson asked this question in Q&A
Discussion options

You must be logged in to vote

Yes your intuition was correct (though you will have extremely bad performance, because MetropolisHamiltonian is slow and becomes even slower the more complex the operator is... and Lindlab operators are quite slow. They could use some love.
I think a better take would be to create the graph for MetropolisExchange manually)

Anyhow, that's an interesting error...
This line

  File "/home/user/anaconda3/envs/py38/lib/python3.8/site-packages/netket/vqs/mc_mixed_state.py", line 156, in __init__
    self._diagonal = MCState(

Is telling you that it is erroring during the initialisation of the internal MCState used to sample the diagonal of the density matrix.

For ease of use, when you don't spe…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by PhilipVinc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #876 on August 22, 2021 15:51.