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 memory format #68

Merged

Conversation

jcjaskula-aws
Copy link
Collaborator

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

Summary

The Braket result().measurement field returns shot results using np.array(). Qiskit expect memory to be a list of bitstring. This MR modifies how the results are passed to ExperimentResultData.

This PR also fixes test_braket_job unittest.

Details and comments

Closes #53
Closes #59 (as memory=True is not needed)

Closes #67

@CLAassistant
Copy link

CLAassistant commented Nov 22, 2022

CLA assistant check
All committers have signed the CLA.

@IceKhan13 IceKhan13 self-requested a review November 22, 2022 21:18
@IceKhan13 IceKhan13 added the bug Something isn't working label Nov 22, 2022
@IceKhan13 IceKhan13 added this to the Release 0.0.3 milestone Nov 22, 2022
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.

Thank you for PR @jcjaskula-aws !

Amazing job!

Only one tiny change, which will help close another issue!

tests/providers/test_braket_job.py Outdated Show resolved Hide resolved
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.

3-pointer PR :)

3pointer

@IceKhan13 IceKhan13 merged commit 7d99a9b into qiskit-community:main Nov 23, 2022
@jcjaskula-aws jcjaskula-aws mentioned this pull request Nov 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
3 participants