GitXplorerGitXplorer
Y

Torch-Chemistry

public
3 stars
1 forks
2 issues

Commits

List of commits on branch master.
Unverified
a763b966e87a6416f1522896b49e9fc360bc60af

no need to remove old executable

YYifanShenSZ committed 2 years ago
Unverified
7fe79ad16916c8b5a1801f9be198b715aba099db

remove test log

YYifanShenSZ committed 3 years ago
Unverified
e04af38114089c315a01756d93c554eea0b2c3ac

support pxtorsion2 and pytorsion2

YYifanShenSZ committed 3 years ago
Unverified
bf4d29a75e2b2d1a881808ae03e53f5fc59fe594

correct Columbus7 format

YYifanShenSZ committed 3 years ago
Unverified
80669a2a1fd173049bba8248b25ffde32bf186c0

more thorough test

YYifanShenSZ committed 3 years ago
Unverified
29943dcfc50510e82e6a6d0650ea4fca610306a8

fully support torsion2

YYifanShenSZ committed 3 years ago

README

The README file for this repository.

Torch-Chemistry

Chemical routines based on libtorch

We develope this library based on the LTS pytorch build 1.8.2, so using Torch-Chemistry along with libtorch 1.8.2 is recommended

Featured utilities

Gaussian:

  • value of gaussian functions
  • product of gaussian functions
  • gaussian integrals
  • multivariate gaussian random number

Polynomial:

  • value of polynomials
  • Jacobian of polynomials
  • transformation of polynomials under coordinate rotation
  • transformation of polynomials under coordinate trasnlation
  • symmetry adaptation

Chemistry:

  • alternative representation near electronic degeneracy
  • phase fixing for quantum observable matrices
  • normal mode analysis

Internal coordinate:

  • Cartesian -> internal coordinate
  • Jacobian of internal coordinate over Cartesian coordinate
  • 2nd order Jacobian of internal coordinate over Cartesian coordinate
  • Cartesian coordinate gradient <-> internal coordinate gradient
  • Cartesian coordinate Hessian <-> internal coordinate Hessian
  • for more details see intcoord.md
  • for symmetry adaptation and scale see SASintcoord.md

Linear algebra:

  • outer product for general tensors
  • map a vector to a symmetric tensor
  • matrix dot multiplication between 3rd-order tensors
  • matrix dot multiplication between 4-th and 3rd-order tensors
  • matrix outer multiplication for general tensors
  • unitary transformation

FORTRAN:

  • generalized eigenvalue problem solver (dsygv)

Utility:

  • some general basic routines

Installation

  1. mkdir build lib
  2. cd build
  3. cmake ..
  4. cmake --build .
  5. mv lib* ../lib
  6. add include and lib to your path

Usage

#include <tchem/tchem.hpp>

Dependency

  1. libtorch
  2. Cpp-Library