-
Notifications
You must be signed in to change notification settings - Fork 30
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
✨ DDSIM version of Estimator primitive #327
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #327 +/- ##
=======================================
+ Coverage 92.6% 92.7% +0.1%
=======================================
Files 34 35 +1
Lines 2584 2702 +118
Branches 348 348
=======================================
+ Hits 2393 2505 +112
- Misses 191 197 +6
*This pull request uses carry forward flags. Click here to find out more.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is looking good! So let's get it in before Christmas 🎉
I just applied some minor corrections to the docs and merged the latest changes from main
in.
Many thanks for this contribution.
Creating a DDSIM version of the second qiskit primitive: The "Estimator". This primitive calculates expectation values of observables with respect to the output state of a
QuantumCircuit
object.Code is adapted from the BackendEstimator class from https://qiskit.org/documentation/stubs/qiskit.primitives.BackendEstimator.html, which in turn is a child class of the more general BaseEstimator class https://qiskit.org/documentation/stubs/qiskit.primitives.BaseEstimator.html.