Skip to content

Commit

Permalink
FigureData wrapper for figures (qiskit-community#814)
Browse files Browse the repository at this point in the history
* Added FigureData wrapper for figures
* FigureData is now kept when adding the figure into a composite analysis result
* Update qiskit_experiments/database_service/db_experiment_data.py

Co-authored-by: Yael Ben-Haim <[email protected]>
Co-authored-by: Christopher J. Wood <[email protected]>
  • Loading branch information
3 people committed Jun 29, 2022
1 parent 719bf5e commit beaaf1d
Show file tree
Hide file tree
Showing 4 changed files with 769 additions and 842 deletions.
10 changes: 8 additions & 2 deletions qiskit_experiments/framework/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,7 @@
AnalysisConfig
ExperimentEncoder
ExperimentDecoder
FigureData
.. _composite-experiment:
Expand Down Expand Up @@ -248,8 +249,13 @@
.. _create-experiment:
"""
from qiskit.providers.options import Options
from qiskit_experiments.framework.analysis_result import AnalysisResult

from qiskit_experiments.database_service.db_analysis_result import DbAnalysisResultV1
from qiskit_experiments.database_service.db_experiment_data import (
ExperimentStatus,
JobStatus,
AnalysisStatus,
FigureData,
)
from .base_analysis import BaseAnalysis
from .base_experiment import BaseExperiment
from .configs import ExperimentConfig, AnalysisConfig
Expand Down
Loading

0 comments on commit beaaf1d

Please sign in to comment.