Hi Sympy-users, I'm trying to figure out if it's possible to evaluate an expression from the quantum physics module. I'm fairly new at Sympy but I have some python experience. I thought I would ask before I dived into the source code.
Say for example I have something like the code in examples/intermediate/coupled_cluster.py. It derives the energy and amplitude equations in second quantization, but it needs to be solved. The energy equation after cleanup is here: E = AntiSymmetricTensor(f, (_k,), (_c,))*AntiSymmetricTensor(t, (_c,), (_k,)) + AntiSymmetricTensor(t, (_c,), (_l,))*AntiSymmetricTensor(t, (_d,), (_k,))*AntiSymmetricTensor(v, (_k, _l), (_d, _c))/2 Can I provide some values for AntiSymmetricTensor(t, (_c,), (_k,)) to be substituted with evalf or lambdify? Thanks in advance for your help! Matt -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sympy. To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/8872393e-3387-4104-8eb2-afc67a131da7%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
