Skip to content

Understanding the states in constrained Hilbert spaces #1795

Answered by PhilipVinc
waleed-sh asked this question in Q&A
Discussion options

You must be logged in to vote

For example, a constraint function which looks like

This seems a valid choice.

how do I understand the variational state now? Would I be really working only in a subspace of the entire Hilbert space for example when taking expectation values, etc.?

Yes. The idea is that your network can take over any value outside the subspace of interest, because we will only be evaluating it inside of the subspace when evaluating expectation values.

using the .states_to_numbers() method with a state which does not satisfy this condition still returns a a number for it.

I think this is a bug. It will be fixed in the upcoming version of netket, and will give an hard error.

One additional question r…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@waleed-sh
Comment options

@PhilipVinc
Comment options

@PhilipVinc
Comment options

@waleed-sh
Comment options

Answer selected by waleed-sh
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