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

extract version only looking at first non-comment line #140

Merged
merged 6 commits into from
Feb 14, 2025
Merged

Conversation

ryanhill1
Copy link
Member

Summary of changes

Re-wrote the QasmAnalyzer.extract_qasm_version method so that it extracts the program version just by looking at the first non-comment line, instead of parsing the entire program.

@ryanhill1 ryanhill1 marked this pull request as ready for review February 14, 2025 22:44
@ryanhill1 ryanhill1 linked an issue Feb 14, 2025 that may be closed by this pull request
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

📢 Thoughts on this report? Let us know!

@ryanhill1 ryanhill1 merged commit ef34299 into main Feb 14, 2025
25 checks passed
@ryanhill1 ryanhill1 deleted the parse-version branch February 14, 2025 22:51
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.

Optimize extracting the qasm version
2 participants