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
Columna « 1 » | Columna « 2 » |
|---|---|
__init__() | |
run(fit) | Run this stage, returning a new Fit with the output level populated. |
Attributes
Columna « 1 » | Columna « 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.
¿Le ha resultado útil esta página?
Informe de un error, de una errata o solicite contenido en GitHub.