Korean
언어
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

경고

The package qiskit-ibmq-provider is being deprecated and its repo is going to be archived soon. Please transition to the new packages. More information in https://ibm.biz/provider_migration_guide

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)[소스]

Create a new analysis result in the database.

매개변수
  • 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.

반환 형식

str

반환

Analysis result ID.

예외 발생
  • IBMExperimentEntryExists – If the analysis result already exits.

  • IBMQApiError – If the request to the server failed.