cirq.NeutralAtomDevice.duration_of

NeutralAtomDevice.duration_of(operation: cirq.ops.raw_types.Operation)[source]

Provides the duration of the given operation on this device.

Parameters

operation – the operation to get the duration of

Returns

The duration of the given operation on this device

Raises

ValueError – If the operation provided doesn’t correspond to a native gate