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

[Optimizer] Do not modulo 2pi at circuit input #177

Merged
merged 1 commit into from
Jun 13, 2024
Merged

Conversation

xumingkuan
Copy link
Collaborator

Some parameters may not have a range [0, 2pi). We should not normalize them.

We still normalize to [0, 2pi) in rotation merging. We may need to fix further if a parameter expression is involved in both rotation merging and another gate with the parameter range not [0, 2pi).

@xumingkuan xumingkuan requested a review from zikun-li May 29, 2024 00:09
@xumingkuan xumingkuan merged commit 66c8d23 into master Jun 13, 2024
2 checks passed
@xumingkuan xumingkuan deleted the param-2pi branch June 13, 2024 00:52
@xumingkuan xumingkuan mentioned this pull request Jun 13, 2024
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.

1 participant