Skip to content

Commit

Permalink
Fix reference to run_batch in run_batch_async docs (quantumlib#5740)
Browse files Browse the repository at this point in the history
Follow-up to quantumlib#5555 to fix docs.
  • Loading branch information
maffoo authored Jul 12, 2022
1 parent 11e77cf commit 8de6868
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cirq/work/sampler.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 [
Expand Down

0 comments on commit 8de6868

Please sign in to comment.