Toy code for np_conservervation
-
devendra
- Posts: 1
- Joined: 13 Jun 2020, 05:11
Toy code for np_conservervation
Is there any toy code (without tenpy) for charge conservation?
- Johannes
- Site Admin
- Posts: 474
- Joined: 21 Jul 2018, 12:52
- Location: TU Munich
Re: Toy code for np_conservervation
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.
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.