Repository navigation
[na] Let stage weight change the chosen schedule - #526
Merged
Merged
Conversation
A weighted layer keeps today's assignment unless moving one placed gate into a follow-up layer is a strictly cheaper section-9 cost. That lets rydberg_stage_weight change the verified stage count. Co-authored-by: Arnab Ghosh <ag2583@cornell.edu>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
The stage-count fixture turned movement weight on and off, so the long move was free under stage-only weights. Keep movement, transfer, and idle fixed and put the stage weight on either side of that cost. Co-authored-by: Arnab Ghosh <ag2583@cornell.edu>
This branch was successfully deployed
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.
Summary
Next slice of issue 484. A weighted zoned layer can defer one placed gate into a later Rydberg stage when that is a strictly cheaper §9 cost.
rydberg_stage_weightthen changes which verified schedule is chosen. Movement, transfer, and idle weights already change a one-gate orientation; this slice is the stage-count choice.Issue 484 stays open.
What changed
PlacementCostModel::Weightedcompares keeping every placed gate against moving one gate into the follow-up layer. The split is taken only when the follow-up can place every deferred gate and the total is strictly lower.TimeandErrorBudgetschedules are unchanged. Placeholder weights still selectTime.Still open on issue 484
cost_modelfields, units, the canonical formula, and schema versioning.The resource report already records each component, weight, and total from the verified schedule.
Test
cargo test -p quon_na --features mlir --lib -- rydberg_stage_weight_selects changing_target_weights_selects