Curve Analysis (qiskit_experiments.curve_analysis)¶
Curve analysis provides the analysis base class for a variety of experiments with a single experimental parameter sweep. This analysis subclasses can override several class attributes to customize the behavior from data processing to post-processing, including providing systematic initial guess for parameters tailored to the experiment.
Base Classes¶
Abstract superclass of curve analysis base classes.  | 
|
  | 
Base class for curve analysis with single curve group.  | 
  | 
Composite Curve Analysis.  | 
Data Classes¶
A table-like dataset for the intermediate data used for curve fitting.  | 
|
  | 
A dataclass to describe the definition of the curve.  | 
  | 
A dataclass that manages the multiple arrays comprising the dataset for fitting.  | 
  | 
Result of Qiskit Experiment curve analysis.  | 
  | 
Detailed description of fitting parameter.  | 
  | 
Collection of fitting options.  | 
Visualization¶
Abstract class for the serializable Qiskit Experiments curve drawer.  | 
|
Curve drawer for MatplotLib backend.  | 
Standard Analysis Library¶
  | 
A class to analyze a trajectory of the Bloch vector of a single qubit.  | 
  | 
A class to analyze general exponential decay curve.  | 
  | 
A class to analyze general exponential decay curve with sinusoidal oscillation.  | 
  | 
Oscillation analysis class based on a fit of the data to a cosine function.  | 
  | 
A class to analyze a resonance peak with a square rooted Lorentzian function.  | 
  | 
A class to analyze a resonance, typically seen as a peak.  | 
  | 
Error amplification analysis class based on a fit to a cosine function.  | 
Fit Functions¶
  | 
Cosine function.  | 
  | 
Cosine function with exponential decay.  | 
  | 
Exponential function  | 
  | 
Gaussian function  | 
  | 
Square-root Lorentzian function for spectroscopy.  | 
  | 
Sine function.  | 
  | 
Sine function with exponential decay.  | 
Initial Guess Estimators¶
Get constant offset of sinusoidal signal.  | 
|
  | 
Get constant offset of spectral baseline.  | 
  | 
Get exponential decay parameter from monotonically increasing (decreasing) curve.  | 
  | 
Get base of exponential decay function which is assumed to be close to 1.  | 
  | 
Get full width half maximum value of the peak.  | 
  | 
Get frequency of oscillating signal.  | 
  | 
Get maximum value of y curve and its index.  | 
  | 
Get minimum value of y curve and its index.  | 
  | 
Get exponential decay parameter from oscillating signal.  | 
Utilities¶
  | 
Check if the standard error of given value is not significant.  | 
  | 
A helper function to create string representation from analysis result data object.  | 
  | 
A helper function to convert LMFIT   | 
  | 
Compute Y values with error propagation.  | 
  | 
Return the list of filtered data  | 
  | 
Return (x, y_mean, sigma) data.  | 
  | 
Take mean of multi series data set.  | 
  | 
Sort data.  | 
  | 
Return the outcome probability mean and variance.  | 
  | 
Return probability data processor callback used by the analysis classes.  |