qiskit_noise_learning.analysis.CurveFitObservables
class qiskit_noise_learning.analysis.CurveFitObservables
Bases: AnalysisStage
Fit observable data to exponential decays of the form a * f**fragment_depth, and average any remaining observables over randomizations.
This stage will curve fit data for any unbound paths in fit.paths. If fit.paths is None, any path in the data with multiple fragment depths will be curve fit. In both cases, any remaining paths will be averaged.
Each curve-fit row carries the following per-row metadata, which the averaged rows do not have:
"spam_fidelity","spam_fidelity_std": the fitted prefactor and its1-sigma uncertainty."chi_squared": the raw chi-squared of the fit."reduced_chi_squared": the raw chi-squared divided by the degrees of freedom, that is the number of fragment depths minus the two fit parameters, ornanif there are none.
__init__
__init__()
Methods
Column 1 | Column 2 |
|---|---|
__init__() | |
run(fit) | Run this stage, returning a new Fit with the output level populated. |
Attributes
Column 1 | Column 2 |
|---|---|
input_level | The data level this stage reads. |
output_level | The data level this stage writes. |
input_level
The data level this stage reads.
output_level
The data level this stage writes.
Was this page helpful?
Report a bug, typo, or request content on GitHub.