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 and rht committed May 1, 2023
1 parent 97e8357 commit fbea1b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cirq-core/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 fbea1b4

Please sign in to comment.