Skip to content

Update versions of Stim and PyMatching used#29

Merged
mhucka merged 4 commits intoquantumlib:mainfrom
mhucka:mh-update-stim-pymatching
Oct 14, 2025
Merged

Update versions of Stim and PyMatching used#29
mhucka merged 4 commits intoquantumlib:mainfrom
mhucka:mh-update-stim-pymatching

Conversation

@mhucka
Copy link
Contributor

@mhucka mhucka commented Oct 5, 2025

This updates the versions of PyMatching and Stim used by Chromobius to the highest versions I could get to work without running into more API differences. These versions work with NumPy 2, pass the Chromobius tests (running chromobius_test), and the only API adjustment needed was in 3 files to add a 3rd parameter to Stim's append_detector_instruction().

This updates the versions of PyMatching and Stim used by Chromobius to
the highest versions I could get to work without running into more
significant API differences. These versions work with NumPy 2, pass the
Chromobius tests (running `chromobius_test`), and only needed minimal
code changes in 3 files to add a 3rd parameter to Stim's
`append_detector_instruction()`.
@mhucka mhucka added the dependencies Pull requests that update a dependency file label Oct 5, 2025
@mhucka mhucka marked this pull request as ready for review October 5, 2025 22:09
Per [review comment by
@Strilanc](quantumlib#29 (comment)),
don't lock the minor version of Stim because that will prevent users
from upgrading Stim past 1.14.x.
@mhucka mhucka requested a review from Strilanc October 13, 2025 19:30
@mhucka mhucka merged commit bb2fcaa into quantumlib:main Oct 14, 2025
47 checks passed
mhucka added a commit that referenced this pull request Dec 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants