-
Notifications
You must be signed in to change notification settings - Fork 45
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_statevector support #95
Conversation
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.
feature: add notebook how to run on local
Lint fixed and add a simple notebook for local simulations and statevector calculation. Let me know if it is ok |
@dakk there is still one linter error. Check details on CI. Basically in braket backend class |
Sorry for that, now should be fixed; I surrounded map with list, so List as type is correct. I've some troubles with running mypy on my computer |
@@ -0,0 +1,128 @@ | |||
{ |
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.
Would it make sense to merge with this how-to, since the primary motivation is to show how to retrieve a specific result (state vector) here?
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'm not sure about that; the pull add statevector
to LocalBackend
only, while 2_how_to_retrieve_results_from_backend.ipynb
uses AWSBraketProvider
backends. LocalBackend
is never used in the HOW-TOs, so I thought a new notebook would be a fair solution. Let me know if these arguments makes sense also for you, otherwise I can integrate the code in the existing notebook
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.
Nice work @dakk! 🚀
Summary