In one life you're Thomas A. Anderson, program writer for a respectable software company. You have a social security number, you pay your taxes, and you (dramatic pause) help your landlady carry out her garbage.
MPS-DMRG(redirected from APCTPWorkshop.MPS-DMRG) This is a DMRG code for finite systems, using MPS and MPO representations for the wavefunction and Hamiltonian. As such it is very flexible - it is easy to change the Hamiltonian to do a different model. You can get the source code here This Python code follows closely how a 'serious' MPS code works, although it is not as fast as the C++ code in the Matrix Product Toolkit. The initial version of the code was very slow, and this was due to the inefficient implementation of the numpy.einsum() function that doesn’t optimize the tensor contractions. Breaking up the expression into pair-wise contractions speeds up the code by a factor 100x. Some other aspects that differ from a 'professional' MPS code:
|