-
-
Notifications
You must be signed in to change notification settings - Fork 163
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 observable=None
in Quantum Subspace Expansion (QSE)
#1813
Comments
Regarding the adding observable=None in the QSE, I thought the approach would be as follows. In this case, the executor returns a float (so it already returns some expectation value). In QSE, you solve a minimization problem for a projector Write Does this make sense? @natestemen |
The above approach looks to be incorrect, because |
Hi @bubakazouba, I know you have worked on implementing QSE in Mitiq and so I am curious about what you think about the above approach and if it makes sense at all. As QSE is implemented right now, you compute the expectation value I guess the hard part is obtaining the RHS of this expression |
hi @FarLab, sorry for the late reply. I haven't worked on this in a while so I can't remember all details of the implementation. But the general idea you wrote here makes sense. I'm not sure how you would obtain the projected state in terms of the |
observable=None
in Quantum Subspace Expansion (QSE)
Based on this information, it seems like GSE resolves this issue and thus it might be easier to merge this feature request with the implementation of GSE... Assuming that we want to compute the expectation value of some observable A, given by According to the GSE paper, the most general subspace can then be implemented as A basis element which spans the noisy subspace can then be constructed using these general operators, which can be used to construct the generalized subspace. The Ansatz for an error mitigated state is given in the form Note how A is set to identity since the basis elements are powers of the noisy quantum state |
And for reference, we already have an issue opened for Generalized Subspace Expansion: #2377. |
Thanks @Death0004 for your comment. I need to read and and think in more detail about your approach, but I already have a few basic questions.
|
This is an optional improvement to QSE:
observabe=None
by appending Paulis to circuits instead of absorbing them into theObservable
object.This is useful to apply QSE when the
executor
defined by the user returns an expectation value asfloat
instead of bitstrings (MeasurementResult
).This is a sub-issue of #818
Useful links:
Mitiq documentation: https://mitiq.readthedocs.io/en/stable/guide/qse.html
Quantum Subspace Expansion paper: https://arxiv.org/pdf/1903.05786.pdf
The text was updated successfully, but these errors were encountered: