Using DMRG with GPU #190
Replies: 3 comments
-
Hi @elias. To answer your question, there is not a plug and play way to do DMRG on the GPU using quimb currently. While almost all of the constituent parts should work, I wrote it before I'd note:
|
Beta Was this translation helpful? Give feedback.
-
Hi @elias. To answer your question, there is not a plug and play way to do DMRG on the GPU using quimb currently. While almost all of the constituent parts should work, I wrote it before I'd note:
|
Beta Was this translation helpful? Give feedback.
-
Thanks so much for the detailed answer. I will try to follow your suggestions! |
Beta Was this translation helpful? Give feedback.
-
Hi!
I'm trying to use the DMRG algorithm with jax as the backend in order to try to speedup the computation with a GPU.
My code is really, really simple, just the following (adapted from one of the examples in the documentation):
H = qtn.tensor_builder.MPO_ham_heis(L=100)
dmrg = qtn.tensor_dmrg.DMRG2(H, bond_dims=[10, 20, 100, 100, 200], cutoffs=1e-10)
dmrg.solve(tol=1e-6, verbosity=1)
When I print H, I can see that the backend being used is numpy, but I do not know how to change it to jax to use the GPU.
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions