Skip to content

Resolve the merge conflict in #14351 #14357

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

yoshum
Copy link
Contributor

@yoshum yoshum commented May 13, 2025

Summary

This PR resolves the merge conflict in #14351, which is the backport PR of #14345. I opened this PR, as per the comment, because I didn't have permission to push to the PR.

Details and comments

In the main branch, from which the commit in the backport PR was cherry-picked, py_run_main_loop has been renamed to run_unitary_synthesis and made public during the process of reorganizing the crates. This change seems irrelevant to stable/2.0, so I have undone the name change.

@yoshum yoshum requested a review from a team as a code owner May 13, 2025 15:14
@qiskit-bot qiskit-bot added the Community PR PRs from contributors that are not 'members' of the Qiskit repo label May 13, 2025
@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

Copy link
Member

@alexanderivrii alexanderivrii left a comment

Choose a reason for hiding this comment

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

Thanks for taking care of this.

@alexanderivrii alexanderivrii merged commit 4f436a2 into Qiskit:mergify/bp/stable/2.0/pr-14345 May 13, 2025
14 checks passed
github-merge-queue bot pushed a commit that referenced this pull request May 13, 2025
* Fix UnitarySynthesis to respect synth_gates (#14345)

* Fix UnitarySynthesis to respect synth_gates

This commit fixes UnitarySynthesis. It has a parameter `synth_gates`,
which is meant to be a list of gates that are synthesized. However,
the previous implementation did not respect this parameter, and only
synthesized the gates named `unitary`. This commit fixes this issue by
checking if gate's name is in `synth_gates`.

* Add tests for UnitarySynthesis' synth_gates

* Fix the default Rust impl of UnitarySynthesis

* Add the release note for #14345

(cherry picked from commit 0c2ce64)

# Conflicts:
#	crates/accelerate/src/unitary_synthesis.rs

* Resolve the merge conflict (#14357)

---------

Co-authored-by: Shuhei M. Yoshida <17794644+yoshum@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Community PR PRs from contributors that are not 'members' of the Qiskit repo
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants