View source on GitHub |
An edge of an undirected graph device on which every operation is allowed and has the same duration.
Inherits From: UndirectedGraphDeviceEdge
cirq.contrib.graph_device.FixedDurationUndirectedGraphDeviceEdge(
duration: cirq.Duration
) -> None
Methods
duration_of
duration_of(
operation: cirq.Operation
) -> cirq.Duration
validate_operation
validate_operation(
operation: cirq.Operation
) -> None
__eq__
__eq__(
other: _SupportsValueEquality
) -> bool
__ne__
__ne__(
other: _SupportsValueEquality
) -> bool