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