-
Notifications
You must be signed in to change notification settings - Fork 174
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding Heavy-hex lattice #1530
Comments
Do you want the exact structure in Fig.2 here? I suspect that would need additional work because at least the black dots at the very top and very bottom don't match the periodic structure in the bulk |
Yeah. Idk what the best way of constructing this would be - quite possibly just a snaking chain + vertical bonds added by hand |
do they have a map of the connectivy that can be just downloaded? I think it's much easier to define a custom graph and that's it, then all symmetries should be still doable automatically |
retworkx , IBM's reimplementation of |
if that code generates an adjacency list... I think we don't need to implement it in netket, I would just call that code and put the adjacency list in one of our graph-based objects ? |
and erroring if the user has not installed retworkx? indeed that's the simplest option. |
I think this structure has at most a 180° rotation symmetry, so there's not a whole lot to be gained from the lattice code anyway |
No I mean I think we shouldn't even support it, it's oo specialized/not a standard lattice I think, if someone wants to use this lattice they can call the IBM library and convert it I to a graph we can use? Maybe we can add an example, not sure |
I would like to add the heavy hex lattice as a built-in one in netket to make it easy to look at ibm's stuff.
This is relatively easy to do, thanks to @attila-i-szabo implementation of lattice, and I think can be done by adding two new sites to the unit cell
but this gives the following graph
which is correct, but does not really match the way that IBM does it (also, the 'unit' used by ibm corresponds to 2 unit cells in this representation.
But the way IBM uses this lattice is that... they have a certain number of unit cells plus some extra sites.
I'm unsure how to do it exactly if we want to keep using a Lattice...
Indeed we could just hardcode the same graph structure that they use, but maybe I'm missing something...
The text was updated successfully, but these errors were encountered: