Added Honeycomb_XC and Honeycomb_YC lattices in lattices.jl. #144
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
ITensors can be used to simulate quasi-2D systems using a cylindrical geometry. Before this PR ITensorMPS had functionalities for square and triangular lattices. I have added Honeycomb_XC (if the open edge of the cylinder has zigzag edges) and Honeycomb_YC (if the open edge has an armchair boundary). This can be useful for someone simulating the Kitaev-Heisenberg or other interesting models using MPS techniques.
Right now, the tests for the Honeycomb lattices are similar to the ones for square and triangular lattices. It checks if the length of the Lattice array is equal to the number of bonds.