Skip to content

docs!: add a migration guide from 0.1 to 1.0 - #16

Closed
sevetseh28 wants to merge 1 commit into
mainfrom
docs/migration-1.0
Closed

sevetseh28 wants to merge 1 commit into
mainfrom
docs/migration-1.0

Conversation

@sevetseh28

Copy link
Copy Markdown
Owner

Summary

Adds a migration guide from 0.1 to 1.0 (docs/migration.md, linked from the docs nav and the README).

The commit also carries the BREAKING CHANGE footer for the 1.0 release. The empty commit that carried it in #15 was dropped when #15 was rebase-merged, so the release dry run computed 0.2.0. Because this commit changes files, it survives any merge method, and a local semantic-release dry run on main plus this commit computes 1.0.0.

Testing

  • mkdocs build --strict passes and the new page renders.
  • semantic-release --noop version --print on main + this commit prints 1.0.0.

BREAKING CHANGE: scores now mean something different and some calls
return or raise differently than in 0.1.0. See the migration guide.

- CircuitScore.score is the estimated probability that the circuit runs
  without error, from 0 to 1, including gate, readout and idle error.
  Thresholds passed as min_score must use this scale, e.g. 0.9 for at
  least a 90% success probability.
- CircuitScore.score defaults to 1.0 instead of 100, and the new
  log_success_probability field is what backends are ranked by.
- rank_backends returns incompatible backends too, last, with
  compatible=False and a score of 0. Filter on score_data.compatible if
  you only want usable backends.
- A backend that fails to transpile or is not operational is reported
  as incompatible instead of being dropped.
- BackendAnalyzer and BackendSelector.clear_cache were removed.
@sevetseh28

Copy link
Copy Markdown
Owner Author

Replaced by a smaller change that marks the package as stable.

@sevetseh28 sevetseh28 closed this Oct 27, 2026
@sevetseh28
sevetseh28 deleted the docs/migration-1.0 branch October 27, 2026 21:12
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.

1 participant