-
Notifications
You must be signed in to change notification settings - Fork 109
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add
stim.Circuit.insert
and numpy 2 compat (#787)
- Also fix an issue where enormous stats cause sinter to fail to plot - Also fix an issue where circuits with the same blocks could be considered not equal if their internal representation was different - Also bump pybind version to make numpy 2 start working - Also fix an issue where the scipy linear regression type was accessed from a private module; use the public API as a fallback Fixes #780 Fixes #779
- Loading branch information
Showing
13 changed files
with
504 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,12 @@ | ||
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") | ||
load("@pybind11_bazel//:python_configure.bzl", "python_configure") | ||
|
||
http_archive( | ||
name = "pybind11", | ||
build_file = "@pybind11_bazel//:pybind11.BUILD", | ||
sha256 = "d475978da0cdc2d43b73f30910786759d593a9d8ee05b1b6846d1eb16c6d2e0c", | ||
strip_prefix = "pybind11-2.11.1", | ||
urls = ["https://github.com/pybind/pybind11/archive/refs/tags/v2.11.1.tar.gz"], | ||
sha256 = "bf8f242abd1abcd375d516a7067490fb71abd79519a282d22b6e4d19282185a7", | ||
strip_prefix = "pybind11-2.12.0", | ||
urls = ["https://github.com/pybind/pybind11/archive/refs/tags/v2.12.0.tar.gz"], | ||
) | ||
load("@pybind11_bazel//:python_configure.bzl", "python_configure") | ||
|
||
python_configure(name = "local_config_python") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.