Spanish
Languages
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.providers.ibmq.experiment.IBMExperimentService.create_figure

IBMExperimentService.create_figure(experiment_id, figure, figure_name=None, sync_upload=True)[fuente]

Store a new figure in the database.

Nota

Currently only SVG figures are supported.

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

  • figure (Union[str, bytes]) – Name of the figure file or figure data to store.

  • figure_name (Optional[str]) – Name of the figure. If None, the figure file name, if given, or a generated name is used.

  • sync_upload (bool) – If True, the plot will be uploaded synchronously. Otherwise the upload will be asynchronous.

Tipo del valor devuelto

Tuple[str, int]

Devuelve

A tuple of the name and size of the saved figure.

Muestra