Skip to content

[na] Let transfer weight change the chosen schedule - #530

Merged
cursor[bot] merged 1 commit into
mainfrom
cursor/transfer-weight-choice-aa1b
Oct 1, 2026
Merged

cursor[bot] merged 1 commit into
mainfrom
cursor/transfer-weight-choice-aa1b

Conversation

@arniber21

Copy link
Copy Markdown
Owner

Summary

Next slice of issue 484. Stage, movement, and idle weights stay fixed and positive. trap_transfer_weight then changes which verified one-gate orientation is chosen. A transfer weight below the one-atom move's extra movement and idle cost keeps the two-atom move (4 transfers, shorter move). A transfer weight above that cost keeps the one-atom move (2 transfers). Each verified total is lower under the weights that chose it.

Issue 484 stays open.

What changed

  • The one-gate orientation fixture already scores transfer weight. This test holds the other three weights fixed, so the flip is the transfer weight crossing that cost rather than movement weight turning off.

Still open on issue 484

  • Document cost_model fields, units, the canonical formula, and schema versioning.
  • Movement weight and idle weight still lack a held-fixed proof of the same kind. Their existing test turns the competing weights off.
  • Error-budget mode and the placeholder time objective still do not read arbitrary target weights.
  • Diagnostics for unsupported or inconsistent weights beyond non-finite and negative values.
  • Stats echoing the effective objective.
  • A documented migration for time-only and error-budget CLI modes.
  • Tests that omitted optional weights keep the documented default.

Test

cargo test -p quon_na --features mlir --lib -- trap_transfer_weight_selects

Open in Web Open in Cursor 

Stage, movement, and idle stay positive and fixed. A transfer weight
below the long one-atom move's extra cost keeps the two-atom move. A
transfer weight above it keeps the one-atom move. Each verified total
is lower under the weights that chose it.

Co-authored-by: Arnab Ghosh <ag2583@cornell.edu>
@vercel

vercel Bot commented Oct 1, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
quon Ready Ready Preview Oct 1, 2026 7:27am UTC

@cursor
cursor Bot marked this pull request as ready for review October 1, 2026 07:29
@cursor
cursor Bot merged commit a630994 into main Oct 1, 2026
22 of 23 checks passed

This branch was successfully deployed

1 active deployment
Preview — bb0e0f84 Deployed Oct 1, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants