qcs_api_client.models.edge
#
Module Contents#
Classes#
A degree-two logical connection in the quantum processor's architecture. |
Attributes#
- qcs_api_client.models.edge.T#
- class qcs_api_client.models.edge.Edge#
A degree-two logical connection in the quantum processor’s architecture.
The existence of an edge in the ISA Architecture does not necessarily mean that a given 2Q operation will be available on the edge. This information is conveyed by the presence of the two node_id values in instances of Instruction.
Note that edges are undirected in this model. Thus edge \((a, b)\) is equivalent to edge \((b, a)\).
- Attributes:
- node_ids (List[int]): The integer ids of the computational nodes at the two ends of the edge. Order is not
important; an architecture edge is treated as undirected.
- node_ids :List[int]#
- to_dict(pick_by_predicate: Optional[Callable[[Any], bool]] = is_not_none) Dict[str, Any] #
- classmethod from_dict(src_dict: Dict[str, Any]) T #