Skip to content

New curve fit acceptance criteria #417

Open
@nkanazawa1989

Description

@nkanazawa1989

What is the expected behavior?

Currently we evaluate the curve fit quality with chi-squared:= sum(residuals / sigma^2) / dof. Though this is meaningful value, sometime it is not practical because this is quite sensitive to outlier.

image

image

For example, both of above fit curves look agree well with the measured Rabi data, but the second result shows larger chi-squared value. According to the current criteria, this data will be rejected, i.e. chi-squared < 3. This difference is caused by the non-linear effect at larger amplitude (you can see tiny offset in |x| > 0.75), which is not considered in the fit model (chi-squared captures this really well).

The parameter of interest here is rabi_rate and indeed its difference is larger than estimated standard error. However, the value from the second experiment is still acceptable to estimate pi amplitude.

  • from the experiment 1: pi_amp = 0.1904
  • from the experiment 2: pi_amp = 0.1952

Thus we need to develop new quantity to evaluate practicability of fit parameters.

Relevant issue: #397 and PR #401 (closed)

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requesthelp wantedExtra attention is needed

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions