Spanish
Languages
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.providers.ibmq.experiment.IBMExperimentService.create_analysis_result

IBMExperimentService.create_analysis_result(experiment_id, result_data, result_type, device_components=None, tags=None, quality=ResultQuality.UNKNOWN, verified=False, result_id=None, chisq=None, json_encoder=<class 'json.encoder.JSONEncoder'>, **kwargs)[fuente]

Create a new analysis result in the database.

Parámetros
  • experiment_id (str) – ID of the experiment this result is for.

  • result_data (Dict) – Result data to be stored.

  • result_type (str) – Analysis result type.

  • device_components (Union[List[Union[str, DeviceComponent]], str, DeviceComponent, None]) – Target device components, such as qubits.

  • tags (Optional[List[str]]) – Tags to be associated with the analysis result.

  • quality (Union[ResultQuality, str]) – Quality of this analysis.

  • verified (bool) – Whether the result quality has been verified.

  • result_id (Optional[str]) – Analysis result ID. It must be in the uuid4 format. One will be generated if not supplied.

  • chisq (Optional[float]) – chi^2 decimal value of the fit.

  • json_encoder (Type[JSONEncoder]) – Custom JSON encoder to use to encode the analysis result.

  • kwargs (Any) – Additional analysis result attributes that are not supported and will be ignored.

Tipo del valor devuelto

str

Devuelve

Analysis result ID.

Muestra
  • IBMExperimentEntryExists – If the analysis result already exits.

  • IBMQApiError – If the request to the server failed.