-
Notifications
You must be signed in to change notification settings - Fork 605
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
Showing observable or basis with draw_mpl() #6322
Comments
Thanks again for adding this here @YutoMorohoshi . We're looking into design options and possible next steps. |
Hi @YutoMorohoshi ! We looked into design options and we think the one below could be a good one to start with. We might look at better designs in the future but for now we should just take into account the following:
We don't have capacity to work on this right now but please let us know if you'd like to work on this yourself. |
Thanks @CatalinaAlbornoz for providing of concrete actions! |
Yes, go ahead and give it a try @YutoMorohoshi ! This blog post can give you a good guide to start. And feel free to ask here if you have any questions about the process! |
Feature details
(from https://discuss.pennylane.ai/t/can-draw-mpl-show-observable/5269)
I often need to change the observable (i.e. the basis for measurement) and investigate the effects of that.
I use qml.draw_mpl() for debugging because it is easy to use, but it does not seem to display the observable or basis.
Currently, if using qml.draw(), I can see which basis I am measuring on. If qml.draw_mpl() can do the same, it will make debugging even easier.
Implementation
No response
How important would you say this feature is?
1: Not important. Would be nice to have.
Additional information
The text was updated successfully, but these errors were encountered: