cirq.wait
Creates a WaitGate applied to all the given qubits.
cirq.wait(
*target,
duration: 'cirq.DURATION_LIKE' = None,
picos: Union[int, float, sympy.Expr] = 0,
nanos: Union[int, float, sympy.Expr] = 0,
micros: Union[int, float, sympy.Expr] = 0,
millis: Union[int, float, sympy.Expr] = 0
) -> cirq.Operation
The duration can be specified as a DURATION_LIKE or using keyword args with
numbers in the appropriate units. See Duration for details.
Args |
*target
|
The qubits that should wait.
|
duration
|
Wait duration (see Duration).
|
picos
|
Picoseconds to wait (see Duration).
|
nanos
|
Nanoseconds to wait (see Duration).
|
micros
|
Microseconds to wait (see Duration).
|
millis
|
Milliseconds to wait (see Duration).
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-06-27 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-06-27 UTC."],[],[]]