PyMatching v2.2.0
Changes made for v2.2.0
Support added for using pymatching as a C++ dependency (see changes in #77)
Renamed retworkx
to rustworkx
(since the retworkx package name has been deprecated):
- Added methods
Matching.load_from_rustworkx
andMatching.to_rustworkx
- DeprecationWarning added to
Matching.load_from_retworkx
andMatching.to_retworkx
retworkx
dependency removed.rustworkx
has not been added as a dependency, and instead anImportError
is raised ifMatching.load_from_rustworkx
orMatching.to_rustworkx
are used withoutrustworkx
installed.
PyMatching now requires Python>=3.7
(rather than Python>=3.6
)
Fixes an issue where multiple boundary nodes could sometimes lead to boundary edges being merged incorrectly (issue #81, fixed in #86)