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

feat: Phase struct #31

Merged
merged 2 commits into from
May 6, 2024
Merged

feat: Phase struct #31

merged 2 commits into from
May 6, 2024

Conversation

ABorgna
Copy link
Collaborator

@ABorgna ABorgna commented May 6, 2024

Adds a Phase struct instead of using Rational64 everywhere.

This lets us ensure that the phases are always normalized, and provide some helpers like is_clifford and similar.

@ABorgna ABorgna force-pushed the ab/phase branch 2 times, most recently from cce2175 to 56fe206 Compare May 6, 2024 13:18
@ABorgna ABorgna merged commit ff4fd88 into master May 6, 2024
9 checks passed
@ABorgna ABorgna deleted the ab/phase branch May 6, 2024 13:27
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