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.