Skip to content

Question on Evaluation of Long Expressions with FermionSpinSum #196

Answered by vsht
Pyretzinho asked this question in Q&A
Discussion options

You must be logged in to vote

Hi,

this looks like a quite complicated expression with lots of custom functions.

I don't see any immediate issues with it, but if it doesn't evaluate to what you expect, you'll have to disentangle it into small blocks (e.g. using DotSimplify and Collect2) and check them one by one until you find the error (or a bug).

I would also evaluate it directly (not inside a Module) to avoid possible variable shadowings.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Pyretzinho
Comment options

Answer selected by Pyretzinho
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants