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

Combine counters #103

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Combine counters #103

wants to merge 4 commits into from

Conversation

timmintam
Copy link
Collaborator

Add an option for the post-processors to combine the counts associated with different parameter values that were submitted in the same POVM sampler PUB.

@timmintam timmintam requested a review from mrossinek as a code owner August 30, 2024 14:33
@timmintam timmintam added the enhancement New feature or request label Aug 30, 2024
@timmintam timmintam requested a review from mrossinek September 9, 2024 08:40
Comment on lines +75 to +77
combine_counts: indicates, when applicable, whether to combine the counts associated
with different parameter values that were submitted for a single parametrized
circuit.
Copy link
Member

Choose a reason for hiding this comment

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

I think this explanation has to be extended further:

  • we should clarify what "when applicable" means
  • we should clarify that and how we use np.ndarray.flatten
  • we should have a clear example what this implies for 0d-, 1d-, and Nd- arrays of parameters in the original job

We can either do that in the docs here, or in a how-to guide and link to that from here (which may be better as it gives us more space for explanations).

Comment on lines +94 to +96
combine_counts: indicates, when applicable, whether to combine the counts associated
with different parameter values that were submitted for a single parametrized
circuit.
Copy link
Member

Choose a reason for hiding this comment

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

This needs to be aligned with whatever updates we apply based on the previous comment.

Comment on lines +4 to +5
Add an option for the post-processors to combine the counts associated with different parameter
values that were submitted in the same POVM sampler PUB.
Copy link
Member

Choose a reason for hiding this comment

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

If we do end up with a new how-to guide, we should link to that from here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants