Skip to content

Minor changes to colorings and term representation; added Heisenberg …#2975

Open
brad-lackey wants to merge 1 commit intofeature/qrefrom
brlackey/magnets-models-additional-features
Open

Minor changes to colorings and term representation; added Heisenberg …#2975
brad-lackey wants to merge 1 commit intofeature/qrefrom
brlackey/magnets-models-additional-features

Conversation

@brad-lackey
Copy link

A small PR around the change in functionality of terms in the Model class.

  • Minor revisions on how edge coloring is presented
  • Terms are now dict[int, dict[int, int]], where the first index is the term and the second is the color, the value is the index of the interaction operator
  • Fixed IsingModel to use colorings properly
  • Added HeisenbergModel
  • Added tests

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant