exa.core.plotting.topology.topology_plot_for_chad#
- topology_plot_for_chad(chad, chip_label, observations, observation_type, split_dut_field=<function decode_dut_field>, qb_colormap=None, tc_colormap=None, cr_colormap=None, save_path=None, include_component_names=True, **kwargs)#
Draw the topology plot for the given chip label.
- Parameters:
chad (CHAD) – The chip architecture definition (CHAD).
chip_label (str) – This will label the figure too.
observations (list[ObservationData]) – Data to plot.
observation_type (str) – Type of data to plot.
split_dut_field (Callable[[str], tuple[str, str]]) – Function to extract component name and observation type from DUT field.
qb_colormap (ListedColormap | None) – For qubits.
tc_colormap (ListedColormap | None) – For tunable couplers.
cr_colormap (ListedColormap | None) – For computational resonators.
save_path (Path | None) – If given, the resulting plot is saved in the path.
include_component_names (bool) – Include the names of the components.
**kwargs – kwargs for create topology plot methods.
- Returns:
The topology map as Matplotlib figure.
- Raises:
ValueError if chip type not supported. –
- Return type: