-
Notifications
You must be signed in to change notification settings - Fork 16
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
Change 3j phase factor #11
base: master
Are you sure you want to change the base?
Conversation
Just thought having two different ways of determining the order of the transitions is a bit odd. |
The negative inversion of q comes from the fact that the Clebsch Gordon coefficient describes the coupling of the angular momenta between the upper state and an emitted photon. This makes sense for when one is considering spontaneous emission where ml = mu + q (see figure below). It gets a bit weird (as you say) for absorption, as we calculate the absorption rate from the spontaneous emission rate, which leads to the q inversion. I have tried to derive your version starting from the standard Wigner-Eckart and Clebsch Gordon coefficient definitions, but can't get there without setting q -> -q. Do you have a derivation of it or a reference to look at? I'm happy to have it the other way around as it does make more sense for a user with regards absorption, as long as we understand the phase factors etc and that they are correct. |
Thanks for the clarification. To check we're on the same page here, there are two elements to the discussion: the definition of I think we agree that the definition of For the phase factors, you're saying that you've worked the maths through from first principles and think I've made a mistake. That's very plausible! To be clear, I put quite a bit of effort into code structure/interfaces and thinking about all the internal data manipulations. However, I didn't put much thought into the phase factors. For that we need some proper notes and, since I knew you were doing that I didn't bother to duplicate effort. All I did was: write code that calculated the scattering rates in the high field; write a test that compared my rates to the rates that DJS calculated in the low field; fudge the phase factors until the two agree. There was an explicit to do item here to come back and check those calculations, so I really appreciate you doing that! On the subject, I would also like to improve the docstring in the epole function to be clear about exactly what we're calculating and how it relates to the matrix elements/Rabi frequencies (there are some factors of constants and (Omega^whatever)). |
I suggest that to move this forwards, we change the PR to only change the phase factors and, optionally, improve the relevant doc-strings. |
Yes, agree on the definition of q. I have updated the documentation to reflect this. I have worked through the angular momentum algebra from scratch to derive the phase factors. I have also tested these changes with the test scripts and they all pass. I will change the PR to just deal with phase factors, and update tomorrow. |
thanks! Please also remove any unrelated changes for a separate PR. |
Will do. Shall I just rebase and force push the removed changes out? |
That would be great thanks! |
I have changed the qse factor for the 3j symbol to match the derivation in the added documentation. Here, q is defined as q:= Mu - Ml.
I have changed the way q is defined to match the definition of Wigner 3j
symbols used in both David Szwer's thesis and the physics manual
documentation. Also added missing conj() from vector multiplication.