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

Improve __pow__ for SingleQubitCliffordGate (issue #6327) #6919

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

codrut3
Copy link

@codrut3 codrut3 commented Jan 4, 2025

Compute the power in O(1) for integer exponents using the fact that single qubit Clifford gates form a group of size 24.

Add support for rational exponents k/2, where k is an integer.

Compute the power in O(1) using the fact that the single clifford gates are a group of size 24.
Add support for rational exponents k/2, where k is an integer.
@codrut3 codrut3 requested review from vtomole and a team as code owners January 4, 2025 17:14
@codrut3 codrut3 requested a review from maffoo January 4, 2025 17:14
@CirqBot CirqBot added the size: S 10< lines changed <50 label Jan 4, 2025
@codrut3
Copy link
Author

codrut3 commented Jan 4, 2025

The first part of issue #6327 was resolved in a previous commit (#6581). This commit implements the second improvement suggested in the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size: S 10< lines changed <50
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants