Conversation
Part of quantinuum-dev/hugrverse#175 depends on: - Quantinuum/tket2#1170
RNG.random_advance
RNG.random_advanceRNG.random_advance()
|
| Branch | feat-random_advance |
| Testbed | Linux |
🚨 2 Alerts
| Benchmark | Measure Units | View | Benchmark Result (Result Δ%) | Upper Boundary (Limit %) |
|---|---|---|---|---|
| tests/benchmarks/test_big_array.py::test_big_array_compile | hugr_nodes nodes x 1e3 | 📈 plot 🚷 threshold 🚨 alert (🔔) | 6.59 x 1e3(+32.64%)Baseline: 4.97 x 1e3 | 5.02 x 1e3 (131.33%) |
| tests/benchmarks/test_big_array.py::test_big_array_compile | hugr_bytes bytes x 1e3 | 📈 plot 🚷 threshold 🚨 alert (🔔) | 135.90 x 1e3(+4.99%)Baseline: 129.44 x 1e3 | 130.74 x 1e3 (103.95%) |
Click to view all benchmark results
| Benchmark | hugr_bytes | Benchmark Result bytes x 1e3 (Result Δ%) | Upper Boundary bytes x 1e3 (Limit %) | hugr_nodes | Benchmark Result nodes (Result Δ%) | Upper Boundary nodes (Limit %) |
|---|---|---|---|---|---|---|
| tests/benchmarks/test_big_array.py::test_big_array_compile | 📈 view plot 🚷 view threshold 🚨 view alert (🔔) | 135.90 x 1e3(+4.99%)Baseline: 129.44 x 1e3 | 130.74 x 1e3 (103.95%) | 📈 view plot 🚷 view threshold 🚨 view alert (🔔) | 6,590.00(+32.64%)Baseline: 4,968.39 | 5,018.07 (131.33%) |
| tests/benchmarks/test_ctrl_flow.py::test_many_ctrl_flow_compile | 📈 view plot 🚷 view threshold | 19.77 x 1e3(-9.60%)Baseline: 21.86 x 1e3 | 22.08 x 1e3 (89.51%) | 📈 view plot 🚷 view threshold | 606.00(-11.94%)Baseline: 688.17 | 695.05 (87.19%) |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1295 +/- ##
=======================================
Coverage 93.44% 93.44%
=======================================
Files 123 123
Lines 11432 11435 +3
=======================================
+ Hits 10683 10686 +3
Misses 749 749 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
ss2165
left a comment
There was a problem hiding this comment.
Looks good. It would be nice if the rng test could be an execution test as well as validation (i.e. to check the number returned after stepping back is the same as the last one). I think this just involves pointing the hugr-qis compiler dependency also at the branch?
e207380 to
a0b78f9
Compare
This comment was marked as resolved.
This comment was marked as resolved.
Done. |
|
Probably best to make a new selene-hugr-qis-compiler release instead of trying to add LLVM deps to the CI. |
|
@ss2165 do we need any more work on this PR? Or is it ready for approval? |
|
Now, we wait until the following is merged |
| "selene-hugr-qis-compiler~=0.2.8", | ||
| "numpy~=2.0", | ||
| "selene-hugr-qis-compiler~=0.2.8", | ||
| "selene-sim~=0.2.3", |
🤖 I have created a release *beep* *boop* --- ## [0.21.6](guppylang-v0.21.5...guppylang-v0.21.6) (2025-10-29) ### Features * implement str() for PartialVector ([d85efc9](d85efc9)), closes [#1225](#1225) * **qsystem:** add `RNG.random_advance()` ([#1295](#1295)) ([f6271a2](f6271a2)) * Use `borrow_array` instead of `value_array` for array lowering ([#1166](#1166)) ([f9ef42b](f9ef42b)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --------- Co-authored-by: Seyon Sivarajah <seyon.sivarajah@quantinuum.com>
Part of https://github.com/quantinuum-dev/hugrverse/issues/175
depends on:
random_advanceplatform call tket2#1170borrow_arrayinstead ofvalue_arrayfor array lowering #1166