exa.core.util.topology.validate_components#
- validate_components(components, layout_graph, chip_topology)#
Validate each experiment specification to be possible using the layout graph.
For each tuple of computational elements, check whether they correspond to a subset of qubits on the chip connected in a correct way and are given in the correct order.
- Parameters:
components (list[tuple[str, ...]]) – A single layer of parallel components.
layout_graph (Graph) – The layout graph corresponding to the specific experiment.
chip_topology (ChipTopology) – Topology of the chip context.
- Raises:
ValueError if anything is invalid. –
- Return type:
None