Skip to content
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

Remove hardware inefficient rz-sx decomposition for TK1 #1643

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

sjdilkes
Copy link
Contributor

@sjdilkes sjdilkes commented Oct 30, 2024

Description

A 3 SX gate alternative construction in _tk1_to_rzsx is actually expected to be less efficient on hardware than the default case with two Rz gates and one SX gate. This PR removes the alternative construction. See #1631 (comment)

Related issues

Please mention any github issues addressed by this PR.

Checklist

  • I have performed a self-review of my code.
  • I have commented hard-to-understand parts of my code.
  • I have made corresponding changes to the public API documentation.
  • I have added tests that prove my fix is effective or that my feature works.
  • I have updated the changelog with any user-facing changes.

Copy link
Contributor

@yao-cqc yao-cqc left a comment

Choose a reason for hiding this comment

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

Looks good!

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