# cirq.WaitGate¶

class cirq.WaitGate(duration: cirq.DURATION_LIKE)[source]

A single-qubit idle gate that represents waiting.

In non-noisy simulators, this gate is just an identity gate. But noisy
simulators and noise models may insert more error for longer waits.
__init__(duration: cirq.DURATION_LIKE) → None[source]

Initialize a wait gate with the given duration.

Parameters

duration – A constant or parameterized wait duration. This can be an instance of datetime.timedelta or cirq.Duration.

Methods

 controlled([num_controls, control_values, …]) Returns a controlled version of this gate. If no arguments are The number of qubits this gate acts on. on(*qubits) Returns an application of this gate to the given qubits. validate_args(qubits) Checks if this gate can be applied to the given qubits. wrap_in_linear_combination([coefficient])