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

Add checks for parameter expressions with gen3-turbo runtime. #2046

Merged
merged 3 commits into from
Nov 19, 2024

Conversation

blakejohnson
Copy link
Contributor

Adds client-side checks to the Sampler and Estimator to ensure that circuits with ParameterExpressions are not used in combination with "execution_path": "gen3-turbo".

@blakejohnson
Copy link
Contributor Author

The linting failures appear spurious to me. I will need to look into how to get pylint to accept these lines.

Copy link
Collaborator

@ihincks ihincks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These changes and tests look correct to me, thanks @blakejohnson .

At some point we'll need to profile all of these isinstance checks that are piling up through validation...out of scope.

@ihincks ihincks merged commit ade2cb4 into Qiskit:main Nov 19, 2024
19 checks passed
@kt474 kt474 added the Changelog: New Feature Include in the Added section of the changelog label Nov 20, 2024
@kt474 kt474 added this to the 0.34.0 milestone Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Changelog: New Feature Include in the Added section of the changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants