Automatic differentiation of dominant eigensolver and its applications in quantum physics

Hao Xie, Jin-Guo Liu, Lei Wang
1/13/2020
cond-mat.str-elcond-mat.stat-mechphysics.comp-ph

Official code: buwantaiji/DominantSparseEigenAD (41 stars, Python, Apache-2.0, last commit 2020-07-06).

Abstract

We investigate the automatic differentiation of dominant eigensolver where only a small proportion of eigenvalues and corresponding eigenvectors are obtained. Backpropagation through the dominant eigensolver involves solving certain low-rank linear systems without direct access to the full spectrum of the problem.

Show full abstract

Furthermore, the backward pass can be conveniently differentiated again, which implies that in principle one can obtain arbitrarily higher order derivatives of the dominant eigen-decomposition process. These results allow for the construction of an efficient dominant eigensolver primitive, which has wide applications in quantum physics. As a demonstration, we compute second order derivative of the ground state energy and fidelity susceptibility of 1D transverse field Ising model through the exact diagonalization approach. We also calculate the ground state energy of the same model in the thermodynamic limit by performing gradient-based optimization of uniform matrix product states. By programming these computation tasks in a fully differentiable way, one can efficiently handle the dominant eigen-decomposition of very large matrices while still sharing various advantages of differentiable programming paradigm, notably the generic nature of the implementation and free of tedious human efforts of deriving gradients analytically.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Reverse-mode AD of dominant sparse eigensolver using Pytorch.

418PythonOct 28, 20196 years agoApache-2.0

Similar Papers

Cite this paper

@article{xie2020automatic,
  title  = {Automatic differentiation of dominant eigensolver and its applications in quantum physics},
  author = {Hao Xie and Jin-Guo Liu and Lei Wang},
  year   = {2020},
  eprint = {2001.04121},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2001.04121}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2001.04121.svg)](https://codeofpaper.com/paper/2001.04121)

Discussion