Note
This is the documentation for the current state of the development branch of Qiskit Experiments. The documentation or APIs here can change prior to being released.
CrossResonanceHamiltonianAnalysis¶
- class CrossResonanceHamiltonianAnalysis[source]¶
A class to analyze cross resonance Hamiltonian tomography experiment.
Fit model
This is the curve fitting analysis. The following equation(s) are used to represent curve(s).
This analysis performs
BlochTrajectoryAnalysis
on the target qubit with the control qubit states in .Based on the fit result, cross resonance Hamiltonian coefficients can be determined by
where
is a fit parameter ofBlochTrajectoryAnalysis
for the projection axis with the control qubit state .Analysis options
These are the keyword arguments of
run()
method.- Options
Defined in the class
CompositeCurveAnalysis
:plotter (BasePlotter)
Default value: Instance ofCurvePlotter
A plotter instance to visualize the analysis result.plot (bool)
Default value:True
SetTrue
to create figure for fit result. This isTrue
by default.return_fit_parameters (bool)
Default value:True
SetTrue
to return all fit model parameters with details of the fit outcome. Default toTrue
.return_data_points (bool)
Default value:False
SetTrue
to include in the analysis result the formatted data points given to the fitter. Default toFalse
.extra (Dict[str, Any])
Default value: {}A dictionary that is appended to all database entries as extra information.
Defined in the class
BaseAnalysis
:figure_names (str or List[str])
Default value:None
Identifier of figures that appear in the experiment data to sort figures by name.
See also
Initialization
Initialize the analysis object.
Attributes
A short-cut for curve drawer instance, if set.
Return fit models.
Return name of this analysis.
Return the analysis options for
run()
method.Return parameters of this curve analysis.
A short-cut to the plotter instance.
Methods
Return curve analysis instance.
Return the config dataclass for this analysis
Return a copy of the analysis
Initialize an analysis class from analysis config
CrossResonanceHamiltonianAnalysis.run
(...[, ...])Run analysis and update ExperimentData with analysis result.
Set the analysis options for
run()
method.