Skip to content

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Jun 5, 2025

Summary

The HLS plugins for PauliEvolutionGates were modifying the original circuit's gate.synthesis.preserve_order attribute, which would result in an unexpected behavior of the pass manager when run multiple times. The bug can be fixed by restoring the property in the plugin after it being used in .synthesize.

Details and comments


This is an automatic backport of pull request #14539 done by [Mergify](https://mergify.com).

(cherry picked from commit 2982004)
@mergify mergify bot requested a review from a team as a code owner June 5, 2025 15:01
@qiskit-bot
Copy link
Collaborator

Thank you for opening a new pull request.

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.

While you're waiting, please feel free to review other open PRs. While only a subset of people are authorized to approve pull requests for merging, everyone is encouraged to review open pull requests. Doing reviews helps reduce the burden on the core team and helps make the project's code better for everyone.

One or more of the following people are relevant to this code:

  • @Qiskit/terra-core

@github-actions github-actions bot added the Changelog: Bugfix Include in the "Fixed" section of the changelog label Jun 5, 2025
@github-actions github-actions bot added this to the 2.0.3 milestone Jun 5, 2025
@ElePT ElePT enabled auto-merge June 5, 2025 15:03
@coveralls
Copy link

Pull Request Test Coverage Report for Build 15470458859

Details

  • 8 of 8 (100.0%) changed or added relevant lines in 1 file are covered.
  • 10 unchanged lines in 3 files lost coverage.
  • Overall coverage increased (+0.01%) to 88.12%

Files with Coverage Reduction New Missed Lines %
crates/accelerate/src/unitary_synthesis.rs 1 94.81%
crates/qasm2/src/lex.rs 3 92.23%
crates/qasm2/src/parse.rs 6 96.68%
Totals Coverage Status
Change from base Build 15447701097: 0.01%
Covered Lines: 72942
Relevant Lines: 82776

💛 - Coveralls

@ElePT ElePT added this pull request to the merge queue Jun 5, 2025
Merged via the queue into stable/2.0 with commit b6f2801 Jun 5, 2025
27 checks passed
@jakelishman jakelishman deleted the mergify/bp/stable/2.0/pr-14539 branch June 9, 2025 15:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Changelog: Bugfix Include in the "Fixed" section of the changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants