QuantumCumulants.jl
QuantumCumulants.jl copied to clipboard
Sums with IndexedVariable simplifies incorrectly
Related to #188 when using IndexedVariables some resulting sums get simplified incorrectly
Example:
@cnumbers N
ha = NLevelSpace(:atoms, 2)
i = Index(ha,:i,N,ha)
gi = IndexedVariable(:g, i)
s=∑(gi,i)+∑(gi,i)
SymbolicUtils.simplify(s)
outputs
2N*gi
which is not correct. Is the missing of an operator an issue?
Thanks for this issue and sorry for the very late reply. I solved this in version 0.2.27.