Page 1 of 1

Toy code for np_conservervation

Posted: 13 Jun 2020, 06:10
by devendra
Is there any toy code (without tenpy) for charge conservation?

Re: Toy code for np_conservervation

Posted: 15 Jun 2020, 16:14
by Johannes
No, there is no toycode.

The idea is really just to keep track of the charges, which divides the tensor into smaller blocks, and multiply only the subblocks with compatible charges, re-implementing tensordot, eigh, ... to exploit the block structure.