Skip to content

Prepare 1.0.0 release - #258

Merged
rafaelha merged 5 commits into
mainfrom
release-1.0.0
Nov 4, 2026
Merged

rafaelha merged 5 commits into
mainfrom
release-1.0.0

Conversation

@rafaelha

@rafaelha rafaelha commented Nov 4, 2026 •

Copy link
Copy Markdown
Collaborator

Prepares the 1.0.0 release.

  • Bump the version to 1.0.0 and mark the package as stable. Point the docs URL to Mintlify.
  • Turn the Unreleased notes into the 1.0.0 changelog entry, rewritten against 0.1.5, with credits for outside contributors and issue reporters.
  • Remove the "pyzx", "pyzx-dets" and "pyzx-meas" diagram aliases, which now raise ValueError naming the "zx*" replacement. Under semver they could otherwise only be removed in 2.0.
  • Add upgrade notes for 0.1 users to the README.
  • Raise the numpy (>=2.0) and equinox (>=0.11.5) lower bounds to versions Tsim works with, and the cuda13 extra to jax>=0.7.0.

Tests: 2493 passed locally.

🤖 Generated with Claude Code

Copilot AI balanced review requested due to automatic review settings November 4, 2026 01:12
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 4, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-04T01:13:56.674151Z f093611 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@github-actions

github-actions Bot commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor
PR Preview Action v1.8.2
Preview removed because the pull request was closed.
2026-11-04 14:40 UTC

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Documentation still gives an incorrect acceptance-rate formula for separate observables and omits the component-count threshold for component-based error bits, potentially misleading callers.

2 open issues
What changed in this PR

Prepares Tsim 1.0.0 by aligning release metadata and documenting changes from 0.1.5.

Changes:

  • Sets the package, runtime and lockfile versions to 1.0.0, marks the package stable, and aligns its description with the README.
  • Publishes release notes covering breaking changes, features and fixes, with updated references and contributor credits.
  • Expands upgrade guidance for postselection behavior and minimum Python and Stim versions.
File Description
uv.lock Updates the local package version to 1.0.0.
src/​tsim/​__init__.py Updates the runtime version to 1.0.0.
README.md Adds postselection and dependency upgrade guidance.
pyproject.toml Updates the version, description and stability classifier.
CHANGELOG.md Publishes and reorganizes the 1.0.0 release notes.

Review effort: Balanced

Comment thread CHANGELOG.md Resolved
Comment thread README.md Resolved
@github-actions

github-actions Bot commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

☂️ Code Coverage

current status: ✅

Overall Coverage

Statements Covered Coverage Threshold Status
4782 4149 87% 0% 🟢

New Files

No new covered files...

Modified Files

File Coverage Status
src/tsim/_init_.py 100% 🟢
src/tsim/circuit.py 95% 🟢
TOTAL 97% 🟢

updated for commit: cc05ab2 by action🐍

Copilot AI balanced review requested due to automatic review settings November 4, 2026 08:52

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

The README’s acceptance-rate guidance is incorrect for separate_observables=True, where callers must unpack the returned tuple and use len(detectors) / shots.

2 open issues

Review effort: Balanced

Bump the version to 1.0.0, mark the package as stable, and publish the
Unreleased notes as the 1.0.0 changelog entry, rewritten against 0.1.5
with credits for outside contributors and issue reporters.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Copilot AI balanced review requested due to automatic review settings November 4, 2026 13:29

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

The documented acceptance-rate formula incorrectly counts tuple elements rather than surviving detector rows when separate_observables=True.

2 open issues

Review effort: Balanced

Comment thread CHANGELOG.md Outdated
- `Circuit.append` raises `ValueError` when `targets`, `arg` or `tag` are
passed with a `stim.CircuitInstruction`, `stim.CircuitRepeatBlock` or
`stim.Circuit`. They used to be silently ignored. (#254)
- An `E`/`ELSE_CORRELATED_ERROR` chain whose links repeat Pauli components

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don’t think this is a breaking change, just an internal change.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed. I removed it from Breaking and shortened the Fixed entry to what users see: long chains that share Pauli components compile instead of failing. (d39e57c)

Comment thread CHANGELOG.md Outdated
- Compiling a sampler is faster: ZX reduction and stabilizer-rank
decomposition run in zxparam's Rust core (#205), and channel validation,
the noise sampling tables, the GF(2) error basis and detector placement do
less work; `cultivation_d5_end2end` compiles about 2.5x faster. (#207)

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do not mention this specific circuit here, keep it more general

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed the cultivation_d5_end2end number; the entry now only says compilation does less work. (d39e57c)

Comment thread CHANGELOG.md Outdated
- The `"pyzx"`, `"pyzx-dets"` and `"pyzx-meas"` diagram types. They still work as aliases for `"zx"`, `"zx-dets"` and `"zx-meas"` but emit a `DeprecationWarning`.
- The `"pyzx"`, `"pyzx-dets"` and `"pyzx-meas"` diagram types. They still work
as aliases for `"zx"`, `"zx-dets"` and `"zx-meas"` but emit a
`DeprecationWarning`. (#194)

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it okay to remove these in 1.1 according to semver?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No: Circuit.diagram is public API, so semver would keep the aliases until 2.0. I removed them in 1.0.0 instead. "pyzx", "pyzx-dets" and "pyzx-meas" now raise ValueError naming the "zx*" replacement. They are listed with the other zxparam changes under Breaking and in the README upgrade notes, and Deprecated is gone. (d39e57c)

Comment thread CHANGELOG.md Outdated
- The `pyzx-param` dependency.
- Internals: the `track_classical_wires` argument of `parse_stim_circuit`, the `tsim.compile.stabrank` module, and `ConnectedComponent`, `connected_components`, `get_params` and `evaluate_graph` from `tsim.core.graph`.
- The `pyzx-param` dependency. (#194)
- Internals: `GraphRepresentation` (`tsim.core.instructions`) is now

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do not mention internals here to keep the changelog more readable. This points can just be removed.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed both Internals entries. (d39e57c)

- Drop the internal E/ELSE_CORRELATED_ERROR error-bit numbering from
  Breaking, and shorten its Fixed entry.
- Give the acceptance rate for separate_observables=True.
- Drop the benchmark circuit and the Internals entries.
- Remove the pyzx, pyzx-dets and pyzx-meas diagram aliases instead of
  deprecating them, since semver would keep them until 2.0. The old
  names raise ValueError with their replacement.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Copilot AI balanced review requested due to automatic review settings November 4, 2026 13:44

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues block the 1.0.0 release preparation.

No open issues 🎉

2 resolved since last review

Review effort: Balanced

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Copilot AI balanced review requested due to automatic review settings November 4, 2026 13:51
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues are identified for the 1.0.0 release changes.

No open issues 🎉

Review effort: Balanced

Copilot AI balanced review requested due to automatic review settings November 4, 2026 13:54

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

There are no active review issues blocking approval.

No open issues 🎉

Review effort: Balanced

- Raise the numpy and equinox lower bounds to versions Tsim works with,
  and the cuda13 extra's jax bound to the first jax with that extra.
- Add the missing changelog entries for #266 and #267, and rewrap the
  postselection entry.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Copilot AI balanced review requested due to automatic review settings November 4, 2026 14:16

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues remain for the 1.0.0 release preparation, including metadata, documentation, and legacy-alias updates.

No open issues 🎉

Review effort: Balanced

@rafaelha
rafaelha merged commit 136bcc6 into main Nov 4, 2026
11 checks passed
@rafaelha
rafaelha deleted the release-1.0.0 branch November 4, 2026 14:38
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