qiskit.providers.ibmq.experiment.IBMExperimentService.figure¶
- IBMExperimentService.figure(experiment_id, figure_name, file_name=None)[소스]¶
Retrieve an existing figure.
- 매개변수
experiment_id (
str
) – Experiment ID.figure_name (
str
) – Name of the figure.file_name (
Optional
[str
]) – Name of the local file to save the figure to. IfNone
, the content of the figure is returned instead.
- 반환 형식
Union
[int
,bytes
]- 반환
The size of the figure if file_name is specified. Otherwise the content of the figure in bytes.
- 예외 발생
IBMExperimentEntryNotFound – If the figure does not exist.
IBMQApiError – If the request to the server failed.