⚡ Use compact scalar RL observations - #784
Closed
flowerthrower wants to merge 3 commits into
Closed
flowerthrower wants to merge 3 commits into
flowerthrower wants to merge 3 commits into
Conversation
Signed-off-by: flowerthrower <flowerthrower@users.noreply.github.com>
Signed-off-by: flowerthrower <flowerthrower@users.noreply.github.com> Assisted-by: GPT 5.6 via Codex
12 tasks
Signed-off-by: flowerthrower <flowerthrower@users.noreply.github.com> Assisted-by: GPT 5.6 via Codex
flowerthrower
force-pushed
the
v3/compact-observation-encoding
branch
from
August 27, 2026 13:28
a608bc9 to
f514c31
Compare
Member
Author
|
🤖 AI text below 🤖\n\nFolded back into the already-reviewed #758 observation PR. |
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🤖 AI text below 🤖
Description
Moves the compact scalar portion of #758 into its own stacked PR.
The
num_qubitsanddepthRL observations become one-elementfloat32arrays in[0, 1]. Qubit count is scaled by the target device's qubit count; depth islog1p-scaled and capped at 999,999. Existing RL models must be retrained, and directPredictorEnvobservation consumers must handle the array values.This PR is stacked on #758 and contains only the compact scalar encoding, its existing focused tests, and the corresponding changelog and upgrade-guide text.
Validated with
uvx nox -s lintand the focused helper, environment-reset, and tracer tests (3 passed).Related to #674
Part of #664
Checklist
If PR contains AI-assisted content:
🤖 *AI text below* 🤖(titles are exempt).