QVFitter.add_data

QVFitter.add_data(new_backend_result, rerun_fit=True)[source]

Add a new result. Re calculate fit

Parameters
  • new_backend_result (list) – list of qv results

  • rerun_fit (bool) – re calculate the means and fit the result

Raises

QiskitError – If the ideal distribution isn’t loaded yet

Additional information:

Assumes that ‘result’ was executed is the output of circuits generated by qv_circuits,