This method is also to be inherited by vqe and vqe_energy subclasses to allow for algorithm-specific implementation.
This superclass method always generates a .csv file with measured expectation values for each kernel and calculated energy of each iteration.
Parameters:
inputParams : dictionary
a dictionary of input parameters obtained from .ini file
buffer : XACC AcceleratorBuffer
AcceleratorBuffer containing VQE results to be analyzed
Options used (in inputParams):
'readout-error': generate .csv file with readout-error corrected expectation values and calculated energy for each kernel and iteration.
'richardson-extrapolation': run Richardson-Extrapolation on the resulting Accelerator buffer (generating 4 more .csv files of expectation values and energies)
'rich-extra-iter': the number of iterations of Richardson-Extrapolation