From 8de6868b036f85acfe3c31ccc1eaad68b7b2738c Mon Sep 17 00:00:00 2001 From: Matthew Neeley Date: Tue, 12 Jul 2022 14:18:32 -0700 Subject: [PATCH] Fix reference to `run_batch` in `run_batch_async` docs (#5740) Follow-up to https://github.com/quantumlib/Cirq/pull/5555 to fix docs. --- cirq/work/sampler.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cirq/work/sampler.py b/cirq/work/sampler.py index 751ab3459e8..ee02e01bedc 100644 --- a/cirq/work/sampler.py +++ b/cirq/work/sampler.py @@ -287,9 +287,9 @@ async def run_batch_async( params_list: Optional[Sequence['cirq.Sweepable']] = None, repetitions: Union[int, Sequence[int]] = 1, ) -> Sequence[Sequence['cirq.Result']]: - """Runs the supplied circuits. + """Runs the supplied circuits asynchronously. - This is an asynchronous version of `run_batch`; see full docs there. + See docs for `cirq.Sampler.run_batch`. """ params_list, repetitions = self._normalize_batch_args(programs, params_list, repetitions) return [