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

Use run_batch in cirq.Sampler #678

Merged
merged 2 commits into from
Apr 7, 2022
Merged

Conversation

Cynocracy
Copy link
Contributor

This allows for more efficient implementations of running a batch (for example parallelization).

run_batch delegates to run_sweep in the default implementation, so this should be drop-in equivalent, AIUI.

This allows for more efficient implementations of running a batch (for example parallelization).
@Cynocracy
Copy link
Contributor Author

@zaqqwerty 👋 Saw your TODO and think it should be possible now, what do you think?

@zaqqwerty
Copy link
Contributor

Yeah this seems to clear up that TODO, thanks for taking care of it!

Copy link
Contributor

@zaqqwerty zaqqwerty left a comment

Choose a reason for hiding this comment

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

LGTM

@zaqqwerty zaqqwerty merged commit 5ddde16 into tensorflow:master Apr 7, 2022
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.

2 participants