Skip to content

Issue with Quantum Phase Transition for Ising Model in NetKet #1939

Answered by gcarleo
mahmudams asked this question in Q&A
Discussion options

You must be logged in to vote

the main limitation here is that you cannot take a function of a local operator (as far as I remember) so If you try to to take the abs of the magnetization in the Vmc code it will complain. this is in general because computing functions of operators is highly nontrivial, since they are generally off diagonal in the computational basis. A quick and dirty solution is to use the samples generated by the Variational State sampler and compute the abs of the magnetization manually on those samples + average them

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@gcarleo
Comment options

@mahmudams
Comment options

@gcarleo
Comment options

@gcarleo
Comment options

Answer selected by mahmudams
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