amilsted / evoMPS

An implementation of the time dependent variational principle for matrix product states
http://amilsted.github.io/evoMPS/
Other
69 stars 20 forks source link

Fix truncate with CUDA. #12

Closed mlewe closed 11 years ago

mlewe commented 11 years ago

Copy the new A matrices after truncate.

This is necessary to get contiguous memory, so pycuda's gpuarray works.