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

Implementing SamplerV2 #2090

Merged
merged 10 commits into from
Apr 1, 2024
Merged

Implementing SamplerV2 #2090

merged 10 commits into from
Apr 1, 2024

Conversation

doichanj
Copy link
Collaborator

Summary

This PR adds implementation of SamplerV2 in qiskit_aer.primitives #2078

Details and comments

This is based on qiskit.primitives.StatevectorSampler
I think we need further optimization for simulator in the next release.

@doichanj doichanj added the Changelog: New Feature Include in the Added section of the changelog label Mar 29, 2024
@doichanj doichanj requested a review from hhorii March 29, 2024 08:29
hhorii
hhorii previously approved these changes Mar 29, 2024
Copy link
Collaborator

@hhorii hhorii left a comment

Choose a reason for hiding this comment

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

LGTM

hhorii
hhorii previously approved these changes Mar 29, 2024
@doichanj doichanj mentioned this pull request Mar 29, 2024
hhorii
hhorii previously approved these changes Mar 29, 2024
def __init__(
self,
*,
backend: AerSimulator = None,
Copy link
Collaborator

Choose a reason for hiding this comment

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

Could you consider the options class and backend_options adopted by estimator for consistency. I am not sure which is better. Perhaps the Estimator side should be changed to match this specification.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Note that this option class comes from BackendSampler/Estimator.

@hhorii hhorii merged commit a29e7c9 into Qiskit:main Apr 1, 2024
38 checks passed
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.

3 participants