Skip to content

Conversation

@shohamjac
Copy link

Starting from sinter 1.14 sinter.collect with postselection is raising the following error:

ValueError: predictions.shape[0] != num_shots

An example can be seen here.

I have fixed the assertion (predictions.shape[0] != num_shots - num_discards_1) and added a post-selection test test_collect_postselection.

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.

1 participant