cirq.NeutralAtomDevice.validate_moment

NeutralAtomDevice.validate_moment(moment: cirq.ops.moment.Moment)[source]

Raises an error if the given moment is invalid on this device

Parameters

moment – The moment to validate

Raises

ValueError – If the given moment is invalid