Skip to content

Commit fbea1b4

Browse files
maffoorht
authored andcommitted
Fix reference to run_batch in run_batch_async docs (quantumlib#5740)
Follow-up to quantumlib#5555 to fix docs.
1 parent 97e8357 commit fbea1b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: cirq-core/cirq/work/sampler.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -287,9 +287,9 @@ async def run_batch_async(
287287
params_list: Optional[Sequence['cirq.Sweepable']] = None,
288288
repetitions: Union[int, Sequence[int]] = 1,
289289
) -> Sequence[Sequence['cirq.Result']]:
290-
"""Runs the supplied circuits.
290+
"""Runs the supplied circuits asynchronously.
291291
292-
This is an asynchronous version of `run_batch`; see full docs there.
292+
See docs for `cirq.Sampler.run_batch`.
293293
"""
294294
params_list, repetitions = self._normalize_batch_args(programs, params_list, repetitions)
295295
return [

0 commit comments

Comments
 (0)