Giter VIP home page Giter VIP logo

frankwswang / quiqbox.jl Goto Github PK

View Code? Open in Web Editor NEW
31.0 3.0 2.0 11.17 MB

Exploring the computational power of fermionic quantum systems. Ab initio computation and basis set optimization for electronic structure problems.

Home Page: https://frankwswang.github.io/Quiqbox.jl/stable

License: MIT License

Julia 100.00%
quantum quantum-chemistry molecule electronic-structure julia automatic-differentiation computational-chemistry many-body-physics molecular-integrals basis-set

quiqbox.jl's Introduction

Quiqbox.jl

Quiqbox is a quantum chemistry and quantum physics software package that starts around Gaussian basis set optimization for electronic structure problems. Quiqbox is written in pure Julia. This work is supported by the U.S. Department of Energy under Award No. DESC0019374.

Documentation Digital Object Identifier Publication License
License: MIT
Development Status
codecov CI CI-JN

Features

  • Native 1-electron and 2-electron integral functions.
  • Floating and fixed-position contracted Gaussian-type orbital (CGTO).
  • Mixed-contracted GTO (linear combination of GTOs with mixed centers or orbital angular momentum) as a basis function.
  • Restricted (closed-shell) and unrestricted (open-shell) Hartree–Fock methods (RHF & UHF).
  • Variational optimization of basis set parameters based on a hybrid analytical differentiation design combining automatic differentiation (AD) and symbolic differentiation (SD).

Setup

OS (64-bit) support

  • Generic Linux
  • macOS
  • Windows

NOTE: Each operating system (OS) platform is only tested on the x86-64 architecture. The support of those systems on different architectures (such as macOS on ARM architecture) is not guaranteed.

Julia (64-bit) compatibility

Quiqbox will always try to support the latest stable release of 64-bit Julia as soon as possible. On the other hand, backward compatibility with previous versions is not guaranteed but can be checked here.

Installation in Julia REPL

Type ] in the default Julian mode to switch to the Pkg mode:

(@v1.x) pkg>

Type the following command and hit Enter key to install Quiqbox:

(@v1.x) pkg> add Quiqbox

After the installation completes, hit the Backspace key to go back to the Julian mode and use using to load Quiqbox:

julia> using Quiqbox

Showcase

Combine atomic orbitals

points = GridBox((1,0,0), 1.4).point

bsH₂ = vcat(genBasisFunc.(points, "STO-3G")...)

Build a customized basis set

gf = GaussFunc(1.0, 0.75)

bs = genBasisFunc.(points, Ref(gf)) .+ bsH₂

Run the Hartree–Fock method

nuc = ["H", "H"]

coords = coordOf.(points)

runHF(bs, nuc, coords)

Optimize the basis set

pars = markParams!(bs, true)

optimizeParams!(pars, bs, nuc, coords)

Documentation

Objects defined by Quiqbox that are directly exported to the user have the corresponding docstring, which can be accessed through the Help mode in Julia REPL. The latest release's documentation contains all the docstrings and additional tutorials of the package. For unreleased/experimental features, please refer to the developer documentation.

Citation

If you use Quiqbox in your research, please cite the following paper:

  • Wang, W., & Whitfield, J. D. (2023). Basis set generation and optimization in the NISQ era with Quiqbox.jl. Journal of Chemical Theory and Computation, 19(22), 8032-8052.


Whitfield Group


Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.