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

Add rotation gates to stabilizer #1938

Merged
merged 5 commits into from
Sep 19, 2023
Merged

Add rotation gates to stabilizer #1938

merged 5 commits into from
Sep 19, 2023

Conversation

doichanj
Copy link
Collaborator

Summary

This PR adds rotation gates (rx, ry and rz gates) to stabilizer if input theta is multiple of pi/2.
#1928

Details and comments

stabilizer method is automatically selected by method=automatic when all the input thetas of rotation gates are multiple of pi/2. Or if `method=stabilizer is set, Aer raises and exception when invalid thetas are passed.

@doichanj doichanj added the enhancement New feature or request label Sep 14, 2023
@doichanj doichanj added this to the Aer 0.13.0 milestone Sep 14, 2023
Copy link
Collaborator

@hhorii hhorii left a comment

Choose a reason for hiding this comment

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

LGTM

@hhorii hhorii merged commit 343b119 into Qiskit:main Sep 19, 2023
30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants