def wait(
    *target: cirq.Qid,
    duration: cirq.DURATION_LIKE = None,
    picos: cirq.TParamVal = 0,
    nanos: cirq.TParamVal = 0,
    micros: cirq.TParamVal = 0,
    millis: cirq.TParamVal = 0,
) -> raw_types.Operation:
    """Creates a WaitGate applied to all the given qubits.

    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).
    """
    return WaitGate(
        duration=value.Duration(duration, picos=picos, nanos=nanos, micros=micros, millis=millis),
        qid_shape=protocols.qid_shape(target),
    ).on(*target)
Creates a WaitGate applied to all the given qubits.

    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).
    
cirq-core/cirq/ops/wait_gate.py