Skip to content

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

Merged
msoeken merged 1 commit intofeature/qrefrom
brlackey/magnets-models-additional-features
Feb 27, 2026
Merged

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

Conversation

@brad-lackey
Copy link
Copy Markdown

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

@msoeken msoeken merged commit 674124f into feature/qre Feb 27, 2026
9 checks passed
@msoeken msoeken deleted the brlackey/magnets-models-additional-features branch February 27, 2026 07:43
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.

2 participants