diff --git a/CHANGELOG.md b/CHANGELOG.md index b7114a298..ae9aa34b8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.4.0](https://github.com/QuEraComputing/ppvm/compare/v0.3.1...v0.4.0) - 2026-11-19 + +### Added + +- *(stim-parser)* fuse consecutive compatible instructions like Stim ([#291](https://github.com/QuEraComputing/ppvm/pull/291)) ([#301](https://github.com/QuEraComputing/ppvm/pull/301)) +- *(stim)* CSS frame sampler with exact loss and leakage ([#306](https://github.com/QuEraComputing/ppvm/pull/306)) + +### Other + +- Upgrade ppvm-vihaco to vihaco v0.7.0 ([#289](https://github.com/QuEraComputing/ppvm/pull/289)) + ## [0.3.1](https://github.com/QuEraComputing/ppvm/compare/v0.3.0...v0.3.1) - 2026-11-17 ### Added diff --git a/Cargo.lock b/Cargo.lock index 7d589c483..b6c938c04 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2167,7 +2167,7 @@ dependencies = [ [[package]] name = "ppvm" -version = "0.3.1" +version = "0.4.0" dependencies = [ "ppvm-pauli-sum", "ppvm-sym", @@ -2176,7 +2176,7 @@ dependencies = [ [[package]] name = "ppvm-cli" -version = "0.3.1" +version = "0.4.0" dependencies = [ "clap", "eyre", @@ -2187,7 +2187,7 @@ dependencies = [ [[package]] name = "ppvm-lindblad" -version = "0.3.1" +version = "0.4.0" dependencies = [ "approx", "criterion 0.7.0", @@ -2216,7 +2216,7 @@ dependencies = [ [[package]] name = "ppvm-pauli-sum" -version = "0.3.1" +version = "0.4.0" dependencies = [ "approx", "bon", @@ -2236,7 +2236,7 @@ dependencies = [ [[package]] name = "ppvm-pauli-word" -version = "0.3.1" +version = "0.4.0" dependencies = [ "anyhow", "bincode", @@ -2252,7 +2252,7 @@ dependencies = [ [[package]] name = "ppvm-pauli-word-2" -version = "0.3.1" +version = "0.4.0" dependencies = [ "bitvec", "bytemuck", @@ -2273,7 +2273,7 @@ dependencies = [ [[package]] name = "ppvm-python-native" -version = "0.3.1" +version = "0.4.0" dependencies = [ "bnum", "mimalloc", @@ -2301,7 +2301,7 @@ dependencies = [ [[package]] name = "ppvm-stim" -version = "0.3.1" +version = "0.4.0" dependencies = [ "bitvec", "bnum", @@ -2319,7 +2319,7 @@ dependencies = [ [[package]] name = "ppvm-sym" -version = "0.3.1" +version = "0.4.0" dependencies = [ "anyhow", "fxhash", @@ -2330,7 +2330,7 @@ dependencies = [ [[package]] name = "ppvm-tableau" -version = "0.3.1" +version = "0.4.0" dependencies = [ "bitvec", "bnum", @@ -2350,7 +2350,7 @@ dependencies = [ [[package]] name = "ppvm-tableau-sum" -version = "0.3.1" +version = "0.4.0" dependencies = [ "bitvec", "bytemuck", @@ -2370,7 +2370,7 @@ dependencies = [ [[package]] name = "ppvm-traits" -version = "0.3.1" +version = "0.4.0" dependencies = [ "ahash", "bitvec", @@ -2387,14 +2387,14 @@ dependencies = [ [[package]] name = "ppvm-traits-2" -version = "0.3.1" +version = "0.4.0" dependencies = [ "num", ] [[package]] name = "ppvm-tui" -version = "0.3.1" +version = "0.4.0" dependencies = [ "eyre", "ppvm-vihaco", @@ -2404,7 +2404,7 @@ dependencies = [ [[package]] name = "ppvm-vihaco" -version = "0.3.1" +version = "0.4.0" dependencies = [ "bitvec", "bnum", @@ -3148,7 +3148,7 @@ checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" [[package]] name = "stim-parser" -version = "0.3.1" +version = "0.4.0" dependencies = [ "ariadne", "chumsky 0.12.0", @@ -3514,7 +3514,7 @@ dependencies = [ [[package]] name = "vihaco-circuit-isa" -version = "0.3.1" +version = "0.4.0" dependencies = [ "chumsky 0.10.1", "eyre", diff --git a/Cargo.toml b/Cargo.toml index d0ade8902..e0410d99f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,9 +6,9 @@ edition.workspace = true publish = false [dependencies] -ppvm-pauli-sum = { version = "0.3.1", path = "crates/ppvm-pauli-sum" } -ppvm-tableau = { version = "0.3.1", path = "crates/ppvm-tableau" } -ppvm-sym = { version = "0.3.1", path = "crates/ppvm-sym" } +ppvm-pauli-sum = { version = "0.4.0", path = "crates/ppvm-pauli-sum" } +ppvm-tableau = { version = "0.4.0", path = "crates/ppvm-tableau" } +ppvm-sym = { version = "0.4.0", path = "crates/ppvm-sym" } [workspace] members = [ @@ -36,7 +36,7 @@ members = [ # Single version for every crate and the `bloqade-ppvm` Python package # (via ppvm-python-native); bumped by release-plz. [workspace.package] -version = "0.3.1" +version = "0.4.0" edition = "2024" license = "Apache-2.0" repository = "https://github.com/QuEraComputing/ppvm" diff --git a/crates/ppvm-cli/Cargo.toml b/crates/ppvm-cli/Cargo.toml index 94936db82..5d1fcc810 100644 --- a/crates/ppvm-cli/Cargo.toml +++ b/crates/ppvm-cli/Cargo.toml @@ -9,8 +9,8 @@ description = "Command-line tool and TUI for parsing, running and stepping throu [dependencies] clap = { version = "4.6.1", features = ["derive"] } eyre = "0.6.12" -ppvm-tui = { version = "0.3.1", path = "../ppvm-tui" } -ppvm-vihaco = { version = "0.3.1", path = "../ppvm-vihaco", features = ["rayon"] } +ppvm-tui = { version = "0.4.0", path = "../ppvm-tui" } +ppvm-vihaco = { version = "0.4.0", path = "../ppvm-vihaco", features = ["rayon"] } ratatui = "0.29.0" [[bin]] diff --git a/crates/ppvm-lindblad/Cargo.toml b/crates/ppvm-lindblad/Cargo.toml index e5b157766..de7831b47 100644 --- a/crates/ppvm-lindblad/Cargo.toml +++ b/crates/ppvm-lindblad/Cargo.toml @@ -11,9 +11,9 @@ description = "Direct Heisenberg-picture Lindbladian evolution on an adaptive Pa fxhash = "0.2.1" ndarray = "0.17" num = "0.4.3" -ppvm-traits = { version = "0.3.1", path = "../ppvm-traits" } -ppvm-pauli-word = { version = "0.3.1", path = "../ppvm-pauli-word" } -ppvm-pauli-sum = { version = "0.3.1", path = "../ppvm-pauli-sum" } +ppvm-traits = { version = "0.4.0", path = "../ppvm-traits" } +ppvm-pauli-word = { version = "0.4.0", path = "../ppvm-pauli-word" } +ppvm-pauli-sum = { version = "0.4.0", path = "../ppvm-pauli-sum" } rayon = "1.11" # Matrix-exponential action (Al-Mohy & Higham). QuSpin-rust is MIT-licensed; # the pinned rev is the commit that added the LICENSE file. diff --git a/crates/ppvm-pauli-sum/Cargo.toml b/crates/ppvm-pauli-sum/Cargo.toml index ec8b2a83d..569d611f9 100644 --- a/crates/ppvm-pauli-sum/Cargo.toml +++ b/crates/ppvm-pauli-sum/Cargo.toml @@ -7,8 +7,8 @@ repository.workspace = true description = "Pauli-propagation engine for ppvm: `PauliSum`, truncation strategies and ready-made configs." [dependencies] -ppvm-traits = { version = "0.3.1", path = "../ppvm-traits" } -ppvm-pauli-word = { version = "0.3.1", path = "../ppvm-pauli-word" } +ppvm-traits = { version = "0.4.0", path = "../ppvm-traits" } +ppvm-pauli-word = { version = "0.4.0", path = "../ppvm-pauli-word" } bytemuck = { version = "1", features = ["min_const_generics"] } fxhash = "0.2.1" num = "0.4.3" diff --git a/crates/ppvm-pauli-word/Cargo.toml b/crates/ppvm-pauli-word/Cargo.toml index 1f309504d..286422e88 100644 --- a/crates/ppvm-pauli-word/Cargo.toml +++ b/crates/ppvm-pauli-word/Cargo.toml @@ -7,7 +7,7 @@ repository.workspace = true description = "Packed Pauli-string types (plain, phased, lossy and pattern) for the ppvm simulators." [dependencies] -ppvm-traits = { version = "0.3.1", path = "../ppvm-traits" } +ppvm-traits = { version = "0.4.0", path = "../ppvm-traits" } bitvec = "1.0.1" bytemuck = { version = "1", features = ["min_const_generics"] } fxhash = "0.2.1" diff --git a/crates/ppvm-python-native/Cargo.toml b/crates/ppvm-python-native/Cargo.toml index 2ea1d063d..f6f89128e 100644 --- a/crates/ppvm-python-native/Cargo.toml +++ b/crates/ppvm-python-native/Cargo.toml @@ -24,10 +24,10 @@ num = "0.4.3" numpy = "0.29" paste = "1.0.15" ppvm-lindblad = { path = "../ppvm-lindblad" } -ppvm-pauli-sum = { version = "0.3.1", path = "../ppvm-pauli-sum" } -ppvm-stim = { version = "0.3.1", path = "../ppvm-stim", features = ["rayon"] } -ppvm-tableau = { version = "0.3.1", path = "../ppvm-tableau" } -ppvm-tableau-sum = { version = "0.3.1", path = "../ppvm-tableau-sum", features = ["rayon"] } +ppvm-pauli-sum = { version = "0.4.0", path = "../ppvm-pauli-sum" } +ppvm-stim = { version = "0.4.0", path = "../ppvm-stim", features = ["rayon"] } +ppvm-tableau = { version = "0.4.0", path = "../ppvm-tableau" } +ppvm-tableau-sum = { version = "0.4.0", path = "../ppvm-tableau-sum", features = ["rayon"] } # abi3-py311: build a single stable-ABI wheel that loads on CPython 3.11+, # instead of one wheel per Python version. pyo3 = { version = "0.29.0", features = [ diff --git a/crates/ppvm-stim/Cargo.toml b/crates/ppvm-stim/Cargo.toml index 86032df90..c71b9b264 100644 --- a/crates/ppvm-stim/Cargo.toml +++ b/crates/ppvm-stim/Cargo.toml @@ -12,15 +12,15 @@ default = [] rayon = ["dep:rayon"] [dependencies] -ppvm-pauli-sum = { version = "0.3.1", path = "../ppvm-pauli-sum" } -ppvm-tableau = { version = "0.3.1", path = "../ppvm-tableau" } +ppvm-pauli-sum = { version = "0.4.0", path = "../ppvm-pauli-sum" } +ppvm-tableau = { version = "0.4.0", path = "../ppvm-tableau" } bitvec = "1.0.1" itertools = "0.14" num = "0.4.3" rand = { version = "0.10.1", default-features = false } smallvec = "1.15" thiserror = "2" -stim-parser = { version = "0.3.1", path = "../stim-parser" } +stim-parser = { version = "0.4.0", path = "../stim-parser" } # rayon needs OS threads — native only. [target.'cfg(not(target_arch = "wasm32"))'.dependencies] diff --git a/crates/ppvm-sym/Cargo.toml b/crates/ppvm-sym/Cargo.toml index 6e894edb0..95e41158a 100644 --- a/crates/ppvm-sym/Cargo.toml +++ b/crates/ppvm-sym/Cargo.toml @@ -10,5 +10,5 @@ description = "Symbolic, parametric Pauli propagation for ppvm." anyhow = "1.0.100" fxhash = "0.2.1" num = "0.4.3" -ppvm-traits = { version = "0.3.1", path = "../ppvm-traits", default-features = false } -ppvm-pauli-sum = { version = "0.3.1", path = "../ppvm-pauli-sum", default-features = false } +ppvm-traits = { version = "0.4.0", path = "../ppvm-traits", default-features = false } +ppvm-pauli-sum = { version = "0.4.0", path = "../ppvm-pauli-sum", default-features = false } diff --git a/crates/ppvm-tableau-sum/Cargo.toml b/crates/ppvm-tableau-sum/Cargo.toml index 644decc6c..a691bac8e 100644 --- a/crates/ppvm-tableau-sum/Cargo.toml +++ b/crates/ppvm-tableau-sum/Cargo.toml @@ -11,12 +11,12 @@ bitvec = "1.0.1" bytemuck = { version = "1", features = ["min_const_generics"] } fxhash = "0.2.1" num = "0.4.3" -ppvm-traits = { version = "0.3.1", path = "../ppvm-traits" } -ppvm-pauli-sum = { version = "0.3.1", path = "../ppvm-pauli-sum" } -ppvm-tableau = { version = "0.3.1", path = "../ppvm-tableau" } +ppvm-traits = { version = "0.4.0", path = "../ppvm-traits" } +ppvm-pauli-sum = { version = "0.4.0", path = "../ppvm-pauli-sum" } +ppvm-tableau = { version = "0.4.0", path = "../ppvm-tableau" } rand = "0.10.1" smallvec = "1.15" -ppvm-pauli-word = { version = "0.3.1", path = "../ppvm-pauli-word" } +ppvm-pauli-word = { version = "0.4.0", path = "../ppvm-pauli-word" } # Native-only dep: rayon (OS threads). Pruned on wasm32. [target.'cfg(not(target_arch = "wasm32"))'.dependencies] diff --git a/crates/ppvm-tableau/Cargo.toml b/crates/ppvm-tableau/Cargo.toml index 113055725..11bbdb6df 100644 --- a/crates/ppvm-tableau/Cargo.toml +++ b/crates/ppvm-tableau/Cargo.toml @@ -16,11 +16,11 @@ fxhash = "0.2.1" bnum = { version = "0.13.0", features = ["numtraits"] } itertools = "0.14.0" num = "0.4.3" -ppvm-traits = { version = "0.3.1", path = "../ppvm-traits" } -ppvm-pauli-sum = { version = "0.3.1", path = "../ppvm-pauli-sum" } +ppvm-traits = { version = "0.4.0", path = "../ppvm-traits" } +ppvm-pauli-sum = { version = "0.4.0", path = "../ppvm-pauli-sum" } rand = "0.10.1" smallvec = "1.15" -ppvm-pauli-word = { version = "0.3.1", path = "../ppvm-pauli-word" } +ppvm-pauli-word = { version = "0.4.0", path = "../ppvm-pauli-word" } # rayon needs OS threads — native only. [target.'cfg(not(target_arch = "wasm32"))'.dependencies] diff --git a/crates/ppvm-tui/Cargo.toml b/crates/ppvm-tui/Cargo.toml index 4d13f9fb0..ac4489ecb 100644 --- a/crates/ppvm-tui/Cargo.toml +++ b/crates/ppvm-tui/Cargo.toml @@ -12,5 +12,5 @@ eyre = "0.6.12" # don't declare it directly — that keeps a single crossterm version in the tree # and unifies event types with any host ratatui app. ratatui = "0.29.0" -ppvm-vihaco = { version = "0.3.1", path = "../ppvm-vihaco" } +ppvm-vihaco = { version = "0.4.0", path = "../ppvm-vihaco" } vihaco = "0.8.0" diff --git a/crates/ppvm-vihaco/Cargo.toml b/crates/ppvm-vihaco/Cargo.toml index 3cb952868..b8eb2a17a 100644 --- a/crates/ppvm-vihaco/Cargo.toml +++ b/crates/ppvm-vihaco/Cargo.toml @@ -19,12 +19,12 @@ chumsky = "0.10.0" eyre = "0.6.12" num = "0.4.3" rayon = { version = "1.10", optional = true } -ppvm-tableau = { version = "0.3.1", path = "../ppvm-tableau" } +ppvm-tableau = { version = "0.4.0", path = "../ppvm-tableau" } smallvec = "1.15.1" vihaco = { version = "0.8.0", features = ["program-image-execution"] } vihaco-stdlib = { version = "0.8.0", features = ["program-image-execution"] } vihaco-parser = "0.8.0" -vihaco-circuit-isa = { version = "0.3.1", path = "../vihaco-circuit-isa" } -ppvm-pauli-sum = { version = "0.3.1", path = "../ppvm-pauli-sum" } +vihaco-circuit-isa = { version = "0.4.0", path = "../vihaco-circuit-isa" } +ppvm-pauli-sum = { version = "0.4.0", path = "../ppvm-pauli-sum" } rand = "0.10.3" vihaco-cpu = { version = "0.8.0", features = ["program-image-execution"] } diff --git a/skills/ppvm-usage/examples/rust/Cargo.toml b/skills/ppvm-usage/examples/rust/Cargo.toml index 244cf4424..f99fa045d 100644 --- a/skills/ppvm-usage/examples/rust/Cargo.toml +++ b/skills/ppvm-usage/examples/rust/Cargo.toml @@ -14,7 +14,7 @@ edition = "2024" publish = false [dependencies] -ppvm-pauli-sum = { version = "0.3.1", path = "../../../../crates/ppvm-pauli-sum" } -ppvm-tableau = { version = "0.3.1", path = "../../../../crates/ppvm-tableau" } -ppvm-sym = { version = "0.3.1", path = "../../../../crates/ppvm-sym" } -ppvm-stim = { version = "0.3.1", path = "../../../../crates/ppvm-stim" } +ppvm-pauli-sum = { version = "0.4.0", path = "../../../../crates/ppvm-pauli-sum" } +ppvm-tableau = { version = "0.4.0", path = "../../../../crates/ppvm-tableau" } +ppvm-sym = { version = "0.4.0", path = "../../../../crates/ppvm-sym" } +ppvm-stim = { version = "0.4.0", path = "../../../../crates/ppvm-stim" }