-
Notifications
You must be signed in to change notification settings - Fork 32
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
Support SparsePauliOp
observables in estimator workflow
#157
Comments
I've added this to the 0.2.0 milestone as it's something we'd love to have in that release, but we can bump it to 0.3.0 if it's not ready. |
This is going to require a slight modification to the |
The way I envision this is that a user may use CKT to conduct a workflow for one observable. Currently we treat Due to this, I think we can move from I don't see much value in over-complicating our source code to support multiple observables when creating experiments and reconstructing them for a given observable is fairly straight forward and can be done in a loop for many observables. Running the experiments for each observable group will take some time, and users should be at liberty to perform their own grouping across the observables and intelligently collecting results and disseminating them back to the observable terms they correspond to. In other words, I think CKT being a single-observable workflow is fairly natural. It makes the devs' lives easier and is a natural interface for end-users. Implementing support for a single |
After coding up an implementation of this, I am starting to feel like the easiest and correct thing to do is let end-users do the near-trivial task of compiling the expvals output from CKT into a single expval using some operator coefficients they have locally. If users pass in #523 shows users how to use CKT to estimate expvals of |
Just adding -- and this is consistent with our offline discussion -- that I think actually if a user has multiple |
The text was updated successfully, but these errors were encountered: