QOKit icon indicating copy to clipboard operation
QOKit copied to clipboard

add get_std() to simulators

Open HaoTy opened this issue 1 year ago • 1 comments

Added native implementation calculating the standard deviation to all simulators. Tried my best to support as large a scale as possible and avoid unnecessary duplicate computations. Bonus: get_qaoa_objective() now can accept a sequence of strings as its objective (see https://github.com/jpmorganchase/jpmc-argonne-quantum-optimization/issues/169), so no more "expectation and overlap". Also, #42 is addressed but has not been tested yet.

HaoTy avatar Feb 20 '24 08:02 HaoTy