-
Notifications
You must be signed in to change notification settings - Fork 127
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
6 changed files
with
48 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
31 changes: 31 additions & 0 deletions
31
releasenotes/notes/cleanup-curve-analysis-96d7ff706cae5b4e.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
--- | ||
developer: | ||
- | | ||
:class:`CurveAnalysis` is now a subclass of :class:`BaseCurveAnalysis`. | ||
This change has been made to introduce multi-grouped curve analysis, | ||
see qiskit-experiments/#737 for details. | ||
According to this update, several protected methods that are | ||
originally designed to be overridden by subclass have been deprecated or upgraded. | ||
Check the following list of changes you may need to upgrade your analysis subclass. | ||
- :meth:`CurveAnalysis._generate_fit_guesses` | ||
The signature of method has been upgraded. Now this method should be called with | ||
``curve_data`` and calling ``self._data()`` to get curve data has been deprecated. | ||
- :meth:`CurveAnalysis._data` | ||
This method has been deprecated. | ||
- :meth:`CurveAnalysis._extra_database_entry` | ||
This method has been deprecated. You can directly override | ||
new method :meth:`CurveAnalysis._create_analysis_results`. | ||
- :class:`FitData` | ||
Fit data dataclass is now created with :attr:`x_data` and :attr:`y_data` | ||
so that you can retrieve the data used for the fitting along with the outcome parameters. | ||
See :ref:`curve_analysis_overview` for the overview of new curve analysis base class. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters