Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add get_std() to simulators #44

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

add get_std() to simulators #44

wants to merge 4 commits into from

Conversation

HaoTy
Copy link
Collaborator

@HaoTy HaoTy commented Feb 20, 2024

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
Copy link
Collaborator Author

HaoTy commented Feb 20, 2024

I did some simple tests; would appreciate unit tests to be added, as well as testing the mpi implementation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant