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

Moved pauli operator parsing to regex #52

Merged
merged 2 commits into from
Oct 3, 2024

Conversation

danclaudino
Copy link
Member

This PR moves away from ANTLR in favor of simpler regex pattern matching. This has the added benefit of being about an order of magnitude faster (at least when parsing all 4^N strings up to N=10).

Signed-off-by: Daniel Claudino <claudinodc@ornl.gov>
Signed-off-by: Daniel Claudino <claudinodc@ornl.gov>
@danclaudino danclaudino merged commit 97c1dff into ORNL-QCI:master Oct 3, 2024
16 checks passed
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