You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It currently depends on some Sunny internals that are subject to change. For example, extracting the net magnetic moment from an SU(N) coherent state will depend on information that is stored inside System. We should investigate whether there is some simple API that could be moved into core Sunny such that eigenmode_viewer.jl can be protected from breaking changes. I am not sure what that API will look like, or if it needs to be exported into the user-facing API. Let's revisit this issue after the entangled units development work has matured.
The text was updated successfully, but these errors were encountered:
kbarros
changed the title
Expose public functions for excitation (eigenmode) viewer
Expose semi-stable API for excitation (eigenmode) viewer
Jan 17, 2024
Sunny 0.7 exports the excitations function that provides both eigenvectors and eigenvalues of the dynamical matrix. Interpreting them properly requires accessing the field swt.data.local_unitaries or swt.data.local_rotations for SU(N) and dipole modes, respectively. Although that is an internal field, I think it's likely to be quite stable.
A prototype eigenmode viewer is available in SunnyContributed: https://github.com/SunnySuite/SunnyContributed/blob/main/initiatives/Sam-GT/eigenmodes/eigenmode_viewer.jl
It currently depends on some Sunny internals that are subject to change. For example, extracting the net magnetic moment from an SU(N) coherent state will depend on information that is stored inside System. We should investigate whether there is some simple API that could be moved into core Sunny such that
eigenmode_viewer.jl
can be protected from breaking changes. I am not sure what that API will look like, or if it needs to be exported into the user-facing API. Let's revisit this issue after the entangled units development work has matured.The text was updated successfully, but these errors were encountered: