-
Notifications
You must be signed in to change notification settings - Fork 682
Offset support in Wigner and other visualizations #1417
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
Comments
Hi @Krastanov still this issue in the working period ? |
This issue still hasn't been fixed. |
Hey @Ericgig could you please assign this issue to me? I'd love to take it on! |
We don't really assign issue, just make a PR. |
Hey @Ericgig, I’m having trouble locating these two functions: qutip.wigner.wigner and qutip.visualization.plot_wigner_fock_distribution. Could you point me to the right folder? I know how to solve this once I find them. |
|
Is your feature request related to a problem? Please describe.
For coherent states of large average photon number it is convenient to use the
offset
parameter as in http://qutip.org/docs/latest/apidoc/functions.html?highlight=wigner#qutip.states.coherentHowever,
wigner
and others do not support that parameter and would just give wrong results.Describe the solution you'd like
Functions like http://qutip.org/docs/latest/apidoc/functions.html?highlight=wigner#qutip.wigner.wigner , http://qutip.org/docs/latest/apidoc/functions.html?highlight=wigner#qutip.visualization.plot_wigner_fock_distribution , and others could support an
offset
parameter or theoffset
parameter can be stored in the qobject.Describe alternatives you've considered
Calculating these functions manually. It works but it is pretty annoying.
The text was updated successfully, but these errors were encountered: