Toy code for np_conservervation

General discussions on the ideas behind the algorithm.
Post Reply
devendra
Posts: 1
Joined: 13 Jun 2020, 05:11

Toy code for np_conservervation

Post by devendra »

Is there any toy code (without tenpy) for charge conservation?

User avatar
Johannes
Site Admin
Posts: 179
Joined: 21 Jul 2018, 12:52
Location: UC Berkeley

Re: Toy code for np_conservervation

Post 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.

Post Reply