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

Add execution_span.TwirledSliceSpan #2011

Merged
merged 7 commits into from
Nov 1, 2024

Conversation

ihincks
Copy link
Collaborator

@ihincks ihincks commented Nov 1, 2024

Summary

This new ExecutionSpan subclass is added explicitly for the case where a sampler is called with twirling enabled.

Details and comments

SliceSpan and DoubleSliceSpan are insufficient because data from twirled experiments is not contiguous in the right way to make them work, especially when batching constants don't magically align with num_randomizations.

@ihincks ihincks requested a review from joshuasn November 1, 2024 15:18
@jyu00 jyu00 added the Changelog: New Feature Include in the Added section of the changelog label Nov 1, 2024
@ihincks ihincks merged commit a287ecb into Qiskit:main Nov 1, 2024
19 checks passed
@ihincks ihincks deleted the feature/twirled-slice-span branch November 1, 2024 23:43
@kt474 kt474 added this to the 0.33.0 milestone Nov 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Changelog: New Feature Include in the Added section of the changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants