QVFitter.add_statevectors

QVFitter.add_statevectors(new_statevector_result)[source]

Add the ideal results and convert to the heavy outputs.

Assume the result is from ‘statevector_simulator’

Parameters

new_statevector_result (list) – ideal results

Raises

QiskitError – If the result has already been added for the circuit