class cirq.Device[source]

Hardware constraints for validating circuits and schedules.


Initialize self. See help(type(self)) for accurate signature.


can_add_operation_into_moment(operation, moment) Determines if it’s possible to add an operation into a moment.
decompose_operation(operation) Returns a device-valid decomposition for the given operation.
validate_circuit(circuit) Raises an exception if a circuit is not valid.
validate_moment(moment) Raises an exception if a moment is not valid.
validate_operation(operation) Raises an exception if an operation is not valid.
validate_schedule(schedule) Raises an exception if a schedule is not valid.
validate_scheduled_operation(schedule, …) Raises an exception if the scheduled operation is not valid.