edge#

The module contains definitions for edges.

Module Contents#

Classes#

Edge

Create an Edge.

class Edge(parent_element_name: str, child_element_name: str, **kwargs)[source]#

Bases: qcodes.instrument.base.Instrument

Create an Edge.

This class encapsulates the connection information between DeviceElements in the QuantumDevice. It provides an interface for the QuantumDevice to generate the edge information for use in the device compilation step. See quantify_scheduler.device_under_test.composite_square_edge for an example edge implementation.

_parent_element_name[source]#
_child_element_name[source]#
property parent_device_element: qcodes.instrument.base.Instrument[source]#

The parent DeviceElement connected by the edge.

property child_device_element: qcodes.instrument.base.Instrument[source]#

The child DeviceElement connected by the edge.

abstract generate_edge_config() dict[str, dict[str, quantify_scheduler.backends.graph_compilation.OperationCompilationConfig]][source]#

Generate the device configuration for an edge.

This method is intended to be used when this object is part of a device object containing multiple elements.