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

Spec compliance: change num_required_* to required_num_* #251

Merged
merged 2 commits into from
Oct 18, 2023

Conversation

bmhowe23
Copy link
Contributor

As described in Issue #250, the Base Profile spec specifies that required_num_qubits and required_num_results must be used in the entry point function. This change updates the pyqir project to use those attributes in all places. I think it also maintains ability to parse old num_required_* attributes in order to maintain as much backwards compatibility as possible, but please let me know if I've missed anything there.

Also maintain ability to parse old required_num_* attributes in order to
maintain as much backwards compatibility as possible.
@bmhowe23
Copy link
Contributor Author

@microsoft-github-policy-service agree [company="NVIDIA"]

@bmhowe23
Copy link
Contributor Author

@microsoft-github-policy-service agree company="NVIDIA"

@idavis idavis merged commit ec98409 into qir-alliance:main Oct 18, 2023
10 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.

None yet

2 participants