Skip to main content

Implementations of electronic structure methods and mathematical algorithms in Zig, focusing on clarity, simplicity, and modern system programming.

Project description

Zinq

Features · Compilation · Docs



A lightweight Zig framework for electronic structure theory, quantum chemistry, and mathematical algorithms. Written from scratch, it favors simple design and transparent implementation while relying on efficient algorithms.

Features

Zinq provides tools for both time-independent and time-dependent quantum mechanical simulations.

Time-Independent Quantum Mechanics

  • Integrals over Gaussian Basis Functions
    Compute integrals over Gaussian basis functions from .xyz geometries and basis files.

  • Hartree–Fock Methods
    Perform restricted or generalized Hartree-Fock calculation with DIIS accelerator.

  • Post-Hartree–Fock Methods
    Use variety of selected perturbative or variational post-Hartree–Fock methods.

  • Density Functional Theory
    Use variety of exchange-correlation functionals for density functional theory calculations.

  • Time-Dependent Density Functional Theory
    Calculate excitation energies and transition properties with time-dependent density functional theory.

  • Electronic Structure Analysis
    Compute energy derivatives and harmonic vibrational frequencies across supported methods.

Time-Dependent Quantum Mechanics

  • Quantum Dynamics
    Simulate wavepacket dynamics in arbitrary dimensions and across multiple electronic states.

  • Dirac–Frenkel Variational Principle
    Propagate a parametrized wavefunction using the Dirac–Frenkel variational principle.

  • Surface Hopping
    Run nonadiabatic dynamics with various surface hopping algorithms.

Getting Zinq

Prebuilt Releases

You can download the latest binaries from the releases page. The releases are provided for Linux, Windows and MacOS with the common CPU architectures. All binaries are statically linked with no external runtime dependencies. For less common platforms, see the compilation section. The binaries can also be installed using pip from PyPI.

Compilation

Compiling Zinq is easy. Running make detects if a Zig compiler is available. If not, it automatically downloads the compiler to the project root and builds the binaries. The resulting executables are placed in the zig-out/bin directory. To verify the build, execute

./zig-out/bin/zinq

and check that the missing input message is displayed. If the message appears, the program is compiled correctly.

Citation

If you use Zinq in your research, please cite the project on Zenodo using the following general BibTeX entry. If you are referring to a specific version, please visit the Zenodo page and download the corresponding citation there.

@software{ZinqJira2026,
    author    = {Tomáš Jíra},
    title     = {tjira/zinq},
    year      = 2026,
    publisher = {Zenodo},
    doi       = {10.5281/zenodo.18386143},
    url       = {https://doi.org/10.5281/zenodo.18386143},
}

License

This project is licensed under the MIT License. See LICENSE for details.


Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

zinq-0.7.0-py3-none-win_arm64.whl (3.3 MB view details)

Uploaded Python 3Windows ARM64

zinq-0.7.0-py3-none-win_amd64.whl (3.4 MB view details)

Uploaded Python 3Windows x86-64

zinq-0.7.0-py3-none-manylinux_2_5_x86_64.whl (3.3 MB view details)

Uploaded Python 3manylinux: glibc 2.5+ x86-64

zinq-0.7.0-py3-none-manylinux_2_5_aarch64.whl (3.3 MB view details)

Uploaded Python 3manylinux: glibc 2.5+ ARM64

zinq-0.7.0-py3-none-macosx_10_0_x86_64.whl (3.3 MB view details)

Uploaded Python 3macOS 10.0+ x86-64

zinq-0.7.0-py3-none-macosx_10_0_arm64.whl (3.3 MB view details)

Uploaded Python 3macOS 10.0+ ARM64

File details

Details for the file zinq-0.7.0-py3-none-win_arm64.whl.

File metadata

  • Download URL: zinq-0.7.0-py3-none-win_arm64.whl
  • Upload date:
  • Size: 3.3 MB
  • Tags: Python 3, Windows ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.3

File hashes

Hashes for zinq-0.7.0-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 e678f985b662a635d1d49a92a919587e19565540ca80d43706d9ff45dfabe9e8
MD5 0408b1949ff25498356c952499bf9d73
BLAKE2b-256 6503dc12bf633548a266b859b96b56587a60df847a180538f112564b39879cfc

See more details on using hashes here.

File details

Details for the file zinq-0.7.0-py3-none-win_amd64.whl.

File metadata

  • Download URL: zinq-0.7.0-py3-none-win_amd64.whl
  • Upload date:
  • Size: 3.4 MB
  • Tags: Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.3

File hashes

Hashes for zinq-0.7.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 cf270570f87f4f0bc9d2a7fe0aeb7b2f276ca840baa88fcb877a07fb52f7f0e5
MD5 85b83522d6a27459542f368dfb259272
BLAKE2b-256 305d3319bbf203d1999a39c29e381d4f65c2475baeebf00aaf7fefad70c0c82f

See more details on using hashes here.

File details

Details for the file zinq-0.7.0-py3-none-manylinux_2_5_x86_64.whl.

File metadata

  • Download URL: zinq-0.7.0-py3-none-manylinux_2_5_x86_64.whl
  • Upload date:
  • Size: 3.3 MB
  • Tags: Python 3, manylinux: glibc 2.5+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.3

File hashes

Hashes for zinq-0.7.0-py3-none-manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 541761ce615f7dd21c53ce24e163ca9539113823b3930454250d523c5ece69ee
MD5 3e971318d495e66d97e6e5c6599bda13
BLAKE2b-256 e4d0df69d32f91be6cd70bd82cfc871932912d768f02127870ca27542a913407

See more details on using hashes here.

File details

Details for the file zinq-0.7.0-py3-none-manylinux_2_5_aarch64.whl.

File metadata

File hashes

Hashes for zinq-0.7.0-py3-none-manylinux_2_5_aarch64.whl
Algorithm Hash digest
SHA256 6f7a56a0b5050d211c8922590e4628980ccaf40064ed08c48ccc2e64ede515d3
MD5 d40618c69536658a094e587d866e06d1
BLAKE2b-256 81e8a5eb489b2ee87fbeaed8e5b7f9de93a448001a14459dcbd891c608ca6ff7

See more details on using hashes here.

File details

Details for the file zinq-0.7.0-py3-none-macosx_10_0_x86_64.whl.

File metadata

  • Download URL: zinq-0.7.0-py3-none-macosx_10_0_x86_64.whl
  • Upload date:
  • Size: 3.3 MB
  • Tags: Python 3, macOS 10.0+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.3

File hashes

Hashes for zinq-0.7.0-py3-none-macosx_10_0_x86_64.whl
Algorithm Hash digest
SHA256 2bb13fce6ff54fa7f1d61bc819fd5125b5c205c8520ab2b67aa37e2e0a82411b
MD5 4e616ea5a52ef191a35bb9834bcbfa54
BLAKE2b-256 45da76f320cd98e1f60b789ff6f63d3c2cb32f705b20c044885fa9bc7e478daf

See more details on using hashes here.

File details

Details for the file zinq-0.7.0-py3-none-macosx_10_0_arm64.whl.

File metadata

  • Download URL: zinq-0.7.0-py3-none-macosx_10_0_arm64.whl
  • Upload date:
  • Size: 3.3 MB
  • Tags: Python 3, macOS 10.0+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.3

File hashes

Hashes for zinq-0.7.0-py3-none-macosx_10_0_arm64.whl
Algorithm Hash digest
SHA256 c95f0e9a26a6bf1cfc2cde1670fe79e3a9135a8190e74219af23e736f3b2e2dc
MD5 837058b4539819114155cda698d69853
BLAKE2b-256 8b4c092f13b7d91f4583c45840fd37f2c5e5c8124ce982acb6aebaab83d097fe

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page