edge#
The module contains definitions for edges.
Module Contents#
Classes#
Create an Edge. |
- class Edge(parent_element_name: str, child_element_name: str, **kwargs)[source]#
Bases:
quantify_scheduler.yaml_utils.YAMLSerializable,quantify_scheduler.json_utils.JSONSerializable,qcodes.instrument.base.InstrumentCreate 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_edgefor an example edge implementation.- classmethod from_yaml(constructor: ruamel.yaml.Constructor, node: ruamel.yaml.MappingNode) qcodes.instrument.base.Instrument[source]#
YAML loading logic.
- property parent_device_element: qcodes.instrument.base.Instrument[source]#
The parent DeviceElement connected by the edge.