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

Updated Accelerator and VQE to work with measurement bases #12

Merged
merged 1 commit into from
Jun 24, 2024

Conversation

danclaudino
Copy link
Member

This PR:

  • Defines Accelerator::execute(buffer, baseState, rotationBasis) and implements it for qsim. This is more efficient because avoids calling Observable::observe() multiple times, effectively calling it only once.
  • Updated VQE to work with measurement basis rotations, which is enabled via the cache-measurement-basis key in the VQE parameters, and take a bool as value.

Signed-off-by: Daniel Claudino <claudinodc@ornl.gov>
@danclaudino danclaudino merged commit ac6ef6a into ORNL-QCI:master Jun 24, 2024
13 of 16 checks passed
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