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

State vector sampler #317

Merged
merged 12 commits into from Feb 20, 2024
Merged

State vector sampler #317

merged 12 commits into from Feb 20, 2024

Conversation

dchung0741
Copy link
Contributor

  • A StateSampler interfaces is added as a type alias as to sample on either CircuitQuantumState and QuantumStateVector
  • (ideal_)sample_from_state_vector is added in quri_parts.core.sampling to perform sampling from a 1-d numpy array.
  • create_qulacs_(ideal)_vector_state_sampler is added in quri_parts.qulacs.simulator for using Qulacs to perform circuit execution and sample the resulting state with (ideal_)sample_from_state_vector.

Copy link

@github-actions github-actions bot temporarily deployed to pull request February 19, 2024 10:59 Inactive
Copy link
Contributor

@toru4838 toru4838 left a comment

Choose a reason for hiding this comment

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

👍👍👍

@toru4838 toru4838 merged commit 98ae22c into main Feb 20, 2024
8 checks passed
@toru4838 toru4838 deleted the state_vector_sampler branch February 20, 2024 05:27
@github-actions github-actions bot locked and limited conversation to collaborators Feb 20, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants