Skip to content

Write public guide for using BitArray directly #2612

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

Closed
wants to merge 21 commits into from

Conversation

SamFerracin
Copy link
Contributor

This PR updates the guide about inputs and outputs of primitives to show how to make the best use of BitArray objects

Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@qiskit-bot
Copy link
Contributor

One or more of the following people are relevant to this code:

@ihincks
Copy link
Contributor

ihincks commented Jan 31, 2025

Thanks @SamFerracin , I will leave a review next week.

abbycross added a commit that referenced this pull request Feb 3, 2025
@@ -90,14 +90,22 @@
"metadata": {},
Copy link
Contributor

@ihincks ihincks Feb 19, 2025

Choose a reason for hiding this comment

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

I think this is a nice simplification/clarification in plainer english. I also think that one of the first things that should be said after BitArray is mentioned is that it is just a container for ordered shot data. Then, in the next paragraph, it can be emphasized, somehow, that get_counts is a convenience to change formats.


Reply via ReviewNB

Copy link
Contributor Author

Choose a reason for hiding this comment

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

github-merge-queue bot pushed a commit that referenced this pull request Apr 17, 2025
Closes #2650 

The improvements made by #2612 I think will also help a lot with the
feedback we've been getting about confusion around the `PrimitiveResult`
data structure.

---------

Co-authored-by: abbycross <[email protected]>
@SamFerracin SamFerracin closed this May 6, 2025
@SamFerracin SamFerracin reopened this May 6, 2025
@SamFerracin SamFerracin requested a review from ihincks May 21, 2025 13:38
github-merge-queue bot pushed a commit that referenced this pull request Jun 3, 2025
CC: @SamFerracin

---------

Co-authored-by: christopherporter1 <[email protected]>
Co-authored-by: Frank Harkins <[email protected]>
Co-authored-by: Samuele Ferracin <[email protected]>
@abbycross
Copy link
Collaborator

Work was finished in #3219

@abbycross abbycross closed this Jun 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

5 participants