Note

This is the documentation for the current state of the development branch of Qiskit Experiments. The documentation or APIs here can change prior to being released.

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