IBMExperimentService.device_components

IBMExperimentService.device_components(backend_name=None)[source]

Return the device components.

Parameters:

backend_name (Optional[str]) – Name of the backend whose components are to be retrieved.

Return type:

Union[Dict[str, List], List]

Returns:

A list of device components if backend_name is specified. Otherwise a dictionary whose keys are backend names the values are lists of device components for the backends.

Raises:

IBMApiError – If the request to the server failed.