qiskit-experiments icon indicating copy to clipboard operation
qiskit-experiments copied to clipboard

Error in the plotter if there is no valid fitter error

Open dcmckayibm opened this issue 1 year ago • 0 comments

Informations

  • Qiskit Experiments version:
  • Python version:
  • Operating system:

What is the current behavior?

Error in line 159 of curve_plotter if y_interp_err is not a float.

I fixed this locally with if type(y_interp_err) is not float: y_interp_err = 0

however, not sure that's the best way to do this... because there should be some awareness that the interp_err is not getting calculated right

Steps to reproduce the problem

Try to fit a curve to some absurd data

What is the expected behavior?

Suggested solutions

dcmckayibm avatar Feb 18 '24 05:02 dcmckayibm