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

Fix result shots #70

Merged

Conversation

jcjaskula-aws
Copy link
Collaborator

@jcjaskula-aws jcjaskula-aws commented Nov 23, 2022

Summary

This PR updates the way we construct ExperimentResult by filling the shots field by the value extracted from task metadata.

Details and comments

This changes the private API: _get_result_from_aws_tasks does not require the shots arguments anymore.

It also reverts a change from #68 (where measurements was wrongly changed to list(array)).

Copy link
Member

@IceKhan13 IceKhan13 left a comment

Choose a reason for hiding this comment

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

LGTM!

@IceKhan13 IceKhan13 merged commit 63d612a into qiskit-community:main Nov 23, 2022
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.

2 participants