Skip to content

Update samplomatic requirement from ~=0.20.0 to ~=0.21.0 in /scripts/nb-tester - #5585

Merged
abbycross merged 1 commit into
mainfrom
dependabot/pip/scripts/nb-tester/samplomatic-approx-eq-0.21.0
Aug 31, 2026
Merged

Update samplomatic requirement from ~=0.20.0 to ~=0.21.0 in /scripts/nb-tester#5585
abbycross merged 1 commit into
mainfrom
dependabot/pip/scripts/nb-tester/samplomatic-approx-eq-0.21.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 31, 2026

Copy link
Copy Markdown
Contributor

Updates the requirements on samplomatic to permit the latest version.

Release notes

Sourced from samplomatic's releases.

0.21.0

Added

  • Added the strategy argument to GroupGatesIntoBoxes to determine how to to assign two-qubit gates to boxes, allowing for new strategies like "alap". The default behavior has not changed and corresponds to the "asap" strategy. This can also be specified with the new boxing_strategy argument of generate_boxing_pass_manager. (#380)
  • Added support for delay in GroupGatesIntoBoxes, GroupMeasIntoBoxes, and AddTerminalRightDressedBoxes. Added support for reset in GroupGatesIntoBoxes and AddTerminalRightDressedBoxes. (#381)
  • Added support for Delay operations with Stretch durations. (#384)
  • Added decomposition argument to AddTerminalRightDressedBoxes. (#392)
  • Added samplomatic.quantum_program module to store QuantumProgram, QuantumProgramResults, and all the related classes. (#396)

Fixed

  • Fixed a crash in generate_boxing_pass_manager when the input circuit contained inline GlobalPhaseGate (or other zero-bit) instructions. The GroupGatesIntoBoxes and GroupMeasIntoBoxes passes now treat zero-qubit standard gates as pass-through and no longer fail on operations with empty qargs and cargs (such as a zero-width barrier). Note that, independently, build() does not and has never preserved QuantumCircuit.global_phase in the template circuit; this expected behavior is now documented in the build() docstring. (#377)
  • Fixed samplomatic.visualization.plot_graph() to draw straight lines between nodes when the edge data is missing. Prior to this fix, it used a spline that sometimes ended up curved in strange ways. (#378)
  • The decomposition argument now applies to terminal right dressed-boxes in generate_boxing_pass_manager. Previously, it would always use rzsx. (#392)
  • When the boxing pass manager encounters an instruction whose name starts with "meas", it treats it as a standard measurement instruction. (#399)
  • Named reset instructions, such as "reset_2", are now recognized by the boxing passes and by :class:~.BoxKey. (#400)
Changelog

Sourced from samplomatic's changelog.

0.21.0 - 2026-08-25

Added

  • Added the strategy argument to GroupGatesIntoBoxes to determine how to to assign two-qubit gates to boxes, allowing for new strategies like "alap". The default behavior has not changed and corresponds to the "asap" strategy. This can also be specified with the new boxing_strategy argument of generate_boxing_pass_manager. (#380)
  • Added support for delay in GroupGatesIntoBoxes, GroupMeasIntoBoxes, and AddTerminalRightDressedBoxes. Added support for reset in GroupGatesIntoBoxes and AddTerminalRightDressedBoxes. (#381)
  • Added support for Delay operations with Stretch durations. (#384)
  • Added decomposition argument to AddTerminalRightDressedBoxes. (#392)
  • Added samplomatic.quantum_program module to store QuantumProgram, QuantumProgramResults, and all the related classes. (#396)

Fixed

  • Fixed a crash in generate_boxing_pass_manager when the input circuit contained inline GlobalPhaseGate (or other zero-bit) instructions. The GroupGatesIntoBoxes and GroupMeasIntoBoxes passes now treat zero-qubit standard gates as pass-through and no longer fail on operations with empty qargs and cargs (such as a zero-width barrier). Note that, independently, build() does not and has never preserved QuantumCircuit.global_phase in the template circuit; this expected behavior is now documented in the build() docstring. (#377)
  • Fixed samplomatic.visualization.plot_graph() to draw straight lines between nodes when the edge data is missing. Prior to this fix, it used a spline that sometimes ended up curved in strange ways. (#378)
  • The decomposition argument now applies to terminal right dressed-boxes in generate_boxing_pass_manager. Previously, it would always use rzsx. (#392)
  • When the boxing pass manager encounters an instruction whose name starts with "meas", it treats it as a standard measurement instruction. (#399)
  • Named reset instructions, such as "reset_2", are now recognized by the boxing passes and by :class:~.BoxKey. (#400)

0.20.0 - 2026-06-23

Deprecated

  • The default value for the inject noise site for the generate_boxing_pass_manager, AddInjectNoise, and InjectNoise has been updated from 'before' to None, which results in a future warning and sets the value to 'before'. In a future release, the default will be updated to 'after'. (#372)

Added

  • Added support for propagating Pauli twirls past single-qubit Clifford gates (s, sx, sdg, sxdg, and compositions with h) and through single-qubit rotations (rz, p, rx) at Clifford angles when they appear between entangling gates inside a Twirl box. (#351)

  • Exposed three primitives that together let consumers of build() evaluate deterministic template parameters (e.g., RZZ angles) without invoking Samplex.sample:

    • Samplex.param_table — return the underlying ParameterExpressionTable.
    • Samplex.passthrough_params — a tuple (template_idxs, expression_idxs) mapping each passthrough template parameter to its expression-table index.
    • ParameterExpressionTable.evaluate — gained an optional indices argument so callers can evaluate only a chosen subset of the table's expressions.

    (#367)

  • Random phases are now applied to qubits after mid-circuit measurement twirling. (#369)

  • Added reset twirling. Rather than propagating virtual registers, a reset in a twirl‑annotated box discards them and instead samples and injects a new random phase following the reset. (#371)

Changed

  • Twirl emissions are now inserted at the easy-hard boundary of boxes with a Twirl annotation "left" dressing when building.

... (truncated)

Commits
  • 0c676fd Add changelog for release 0.21.0 (#404)
  • b9d213f Add missing TYPE_CHECKING (#405)
  • 49a535a Remove subsystem restrictions on local_pauli (#401)
  • c22a8b2 Change default of inject noise site to "after" (#403)
  • 85c1866 Fix hyperlink for Tag in docs (#402)
  • 87373dc Consider any gate name starting with "reset" as Reset (#400)
  • 4b93891 Add QuantumProgram and related classes (#396)
  • 22307c1 Add support for named measurements, such as "measure_2" (#399)
  • 4872028 Support reset and delay instructions in ALAP boxing strategy (#393)
  • 86c9a14 Add decomposition argument to AddTerminalRightDressedBoxes (#392)
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [samplomatic](https://github.com/Qiskit/samplomatic) to permit the latest version.
- [Release notes](https://github.com/Qiskit/samplomatic/releases)
- [Changelog](https://github.com/Qiskit/samplomatic/blob/main/CHANGELOG.md)
- [Commits](Qiskit/samplomatic@0.20.0...0.21.0)

---
updated-dependencies:
- dependency-name: samplomatic
  dependency-version: 0.21.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Aug 31, 2026
@qiskit-bot

Copy link
Copy Markdown
Contributor

Thanks for contributing to Qiskit documentation!

Before your PR can be merged, it will first need to pass continuous integration tests and be reviewed. Sometimes the review process can be slow, so please be patient. Thanks! 🙌

@dependabot @github

dependabot Bot commented on behalf of github Aug 31, 2026

Copy link
Copy Markdown
Contributor Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@abbycross abbycross reopened this Aug 31, 2026
@github-project-automation github-project-automation Bot moved this from Done to Todo in Docs Planning Aug 31, 2026
@abbycross
abbycross added this pull request to the merge queue Aug 31, 2026
Merged via the queue into main with commit 2157c85 Aug 31, 2026
12 of 13 checks passed
@abbycross
abbycross deleted the dependabot/pip/scripts/nb-tester/samplomatic-approx-eq-0.21.0 branch August 31, 2026 14:34
@github-project-automation github-project-automation Bot moved this from Todo to Done in Docs Planning Aug 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update python code

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants