parallel_utils

parallel_utils#

Full path: exa.core.experiment.utils.parallel_utils

Utils for experiment parallelization.

Functions

color_grouped_analysis(run_result, ...)

Perform the full color grouped analysis by applying the group-wise function to each group and color group.

get_2qb_gate_groups([all_pairs, ...])

Returns groups of qubit pairs for which 2QB gates can be performed simultaneously.

get_color_grouped_sweeps(components, ...)

Generate sweeps using a group-wise sweep generation function.

get_coupler_from_mapping(qubits, mapping)

Get coupler from a given mapping.

get_data_color(dataset, circuit_index, n_colors)

Select data collected for a particular circuit.

get_run_components_for_one_colour_group(...)

Gets run components and subscribed components for just one of the colour groups.

group_is_subscribed(group, properties, ...)

Utility for testing if a component group has been subscribed.

plot_with_circuit_index(plotting_function, ...)

Handles the circuit_index==1 case for plotting.

process_components_to_pairs(components, ...)

Processes the run arg components into a list of parallelly runnable lists of pairs of a qubit and a computational resonator or two qubits.

process_groups_to_colors(components, ...)

Process generic groups into colors if not yet colored.

process_probe_lines(components, ...)

Process probe lines (a special case of process_singular_run_components()).

process_singular_run_components(components, ...)

Process components into "groups" of just a single component.

wrap_2qb_plot_for_circuit_dimension(...)

Handles the circuit_index==1 case for plotting.