retrieve_coefficients_from_service

retrieve_coefficients_from_service(service, backend_name, qubit)[source]

Retrieve StarkCoefficients object from experiment service.

Parameters:
  • service (IBMExperimentService) – IBM Experiment service instance interfacing with result database.

  • backend_name (str) – Name of target backend.

  • qubit (int) – Index of qubit.

Returns:

StarkCoefficients object.

Raises:

RuntimeError – When stark_coefficients entry doesn’t exist in the service.

Return type:

StarkCoefficients