Skip to main content
11 events
when toggle format what by license comment
Dec 29, 2021 at 0:18 vote accept Slayer147
Dec 29, 2021 at 0:18 answer added Slayer147 timeline score: 0
Dec 28, 2021 at 2:20 comment added CA Trevillian OP, can you, please, put your working code as a self-answer with appropriate credit & accept your self-answer?
Dec 27, 2021 at 1:04 comment added Slayer147 @Domen Yes, I was implementing in my code. It worked, thanks
Dec 27, 2021 at 0:57 comment added Domen In that case, the code from my comment above should work. Have you tried it? Given your definitions of the operators, the prefactors you are looking for can be simply determined by the combination of the operator and the state.
Dec 27, 2021 at 0:52 comment added Slayer147 @Domen Yes, all states in list2 are eigenstates of the operators in list1 in my case
Dec 27, 2021 at 0:48 comment added Domen are you sure in advance that all the states in list2 are eigenstates? What should be the result of the code if it is not an eigenstate, for example, A[Ψ + Φ]?
Dec 27, 2021 at 0:31 comment added Slayer147 @Domen Sorry, It was a mistake and now I edited.
Dec 27, 2021 at 0:29 history edited Slayer147 CC BY-SA 4.0
added 60 characters in body
Dec 26, 2021 at 23:18 comment added Domen Can you please explain why 5\Phi + \Phi is not equal to 6\Phi? Also, I'm having troubles understanding the task ... Are you looking for something like: a[psi] = 1; b[psi] = 2; a[phi] = 3; b[phi] = 4; Table[f[First@Variables@j], {f, {a, b}}, {j, {10 psi, 6 phi}}]?
Dec 26, 2021 at 22:44 history asked Slayer147 CC BY-SA 4.0