GitXplorerGitXplorer
Y

Torch-Chemistry

public
3 stars
1 forks
2 issues

Commits

List of commits on branch master.
Unverified
21dd5dbcfb613b300df6e60d78c2969360e43265

SASIC is moved to diabatz

YYifanShenSZ committed 3 years ago
Unverified
ce3e5bfa7e5aa151f46e65f9cf777d880dabcccc

tools are moved to Tool-Collection

YYifanShenSZ committed 3 years ago
Unverified
8f8ac245ff50a3644ab5c94cf09ac18a0e86adec

convert gradient as well

YYifanShenSZ committed 3 years ago
Unverified
9375e7ebd4939ae79479e3fa1a6d126c9be842ad

whoopse

YYifanShenSZ committed 3 years ago
Unverified
5785ade7415bd90b38b6b2f62990b34cae2b30bf

SA polynomial input no longer need an at the line biginning; SASIC can have multiple scalers

YYifanShenSZ committed 3 years ago
Unverified
a3cbda54ae53af296dea6ff1abd78c79ab50dc22

update SASIC understanding

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