Release 0.4.1 - #297
Conversation
… limits and restored the previous code (no user warning left)
…son, bugfixes on toctree
PML-243 citations
…mes, hidden files and directories are excluded
Merging main into release/0.4.1
✅ Coverage ReportOverall Coverage: 85.47% Coverage Status
Coverage reports are informational and do not block PRs. |
|
@claude review |
|
Claude finished @CassNot's task in 6m 55s —— View job Code review: Release 0.4.1
Reviewed the ~2.6k changed lines under Findings below, most important first. I could not execute Python in this environment, so the reasoning is static — items marked (verify) need a run to confirm. 1. Fixed entangling-layer phases are unseeded and unrecoverable —
|
…urn a correctly shaped tensor without submitting work
Fix release/0.4.1
|
I fixed points 1 to 6 and doc formatting issues |
|
Claude finished @CassNot's task in 4m 57s —— View job Re-review: Release 0.4.1 — post-fix pass, prioritized
Part 1 — verification of the fixes
Residual on #1.
Residual on #5. The extraction into Part 2 — remaining findings, prioritized for the next releaseP0 — silent wrong resultsA. The processor path never applies the layer's angle encoding. (new — found while verifying #5, and it subsumes #7's π question)
Both cases are invisible today because CI exercises the default B. C. P1 — resource / consistencyD. Job-registry leak on cancel and timeout — E. F. Opposite mass policies for local vs remote distributions. G. P2 — maintainability / scalingH. Unbounded global I. J. K. L. P3 — nits, batch them whenever
Verdict for tagging 0.4.1The three silent-wrong-result items I flagged as blocking (1, 2, 6) are resolved and covered by tests. Nothing in Part 2 is a regression introduced by this PR — A, B, C, D, E and H all predate it or arrived with the refactor in an already-latent form. A is the one I would want a release note for, since "run the same model on a processor" is the headline feature of this release and a non-default Suggested next-release order: A → B → C (correctness), then D, E, F (resource/consistency), then the rest as cleanup. Static review only — I could not execute Python or the test suite in this environment, so items marked as verified were confirmed by reading the fix commits and current sources, not by running them. |
Summary
This brings the 0.4.1 release work into the main development branch, including processor execution refactoring, noise-model improvements, measurement fixes, model updates, documentation, benchmarks, and expanded regression coverage.
Main changes
PercevalAdapter.g2, detector/readout occupancy, photon-loss renormalization, and partial-measurement behavior.return_objectregression coverage.Testing
Added and expanded tests across:
Run the Python test suite
Run linting and type checks
Build the documentation with warnings treated as errors