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

Param sampler #367

Merged
merged 17 commits into from
Oct 24, 2024
Merged

Param sampler #367

merged 17 commits into from
Oct 24, 2024

Conversation

dchung0741
Copy link
Contributor

  • Functions to convert (concurrent) (state) sampler into (concurrent) parametric (state) sampler implemented.
  • GeneralSampler is implemented. It takes any of the following:
    • general_sampler(NonParametricQuantumCircuit, int)
    • general_sampler(UnboundParametricQuantumCircuitProtocol, int, Sequence[float])
    • general_sampler(UnboundParametricQuantumCircuitProtocol, Iterable[tuple[int, Sequence[float]]])
    • general_sampler(_StateT, int)
    • general_sampler(_ParametricStateT, int, Sequence[float])
    • general_sampler(_ParametricStateT, Iterable[tuple[int, Sequence[float]]])
    • a sequence of mixed combinations of (NonParametricQuantumCircuit, int), (UnboundParametricQuantumCircuitProtocol, int, Sequence[float]), (_StateT, int), (_ParametricStateT, Iterable[tuple[int, Sequence[float]]])

Copy link

@github-actions github-actions bot temporarily deployed to pull request October 24, 2024 02:39 Inactive
Copy link
Contributor

@kwkbtr kwkbtr left a comment

Choose a reason for hiding this comment

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

👍

@kwkbtr kwkbtr merged commit 2dfce57 into main Oct 24, 2024
6 checks passed
@kwkbtr kwkbtr deleted the param_sampler branch October 24, 2024 02:46
@github-actions github-actions bot locked and limited conversation to collaborators Oct 24, 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.

2 participants