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.

  • 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 simple, running make will automatically download the Zig compiler to the project root and compile the Zinq binaries. The resulting executables are placed in the zig-out directory, organized by operating system and architecture. On Linux and Windows, most users will want the x86_64 binary, while on MacOS the aarch64 binary is usually appropriate. To verify the build, execute

./zig-out/<arch-os>/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.6.5-py3-none-win_arm64.whl (1.6 MB view details)

Uploaded Python 3Windows ARM64

zinq-0.6.5-py3-none-win_amd64.whl (1.6 MB view details)

Uploaded Python 3Windows x86-64

zinq-0.6.5-py3-none-manylinux_2_5_x86_64.whl (1.6 MB view details)

Uploaded Python 3manylinux: glibc 2.5+ x86-64

zinq-0.6.5-py3-none-manylinux_2_5_aarch64.whl (1.6 MB view details)

Uploaded Python 3manylinux: glibc 2.5+ ARM64

zinq-0.6.5-py3-none-macosx_10_0_x86_64.whl (1.6 MB view details)

Uploaded Python 3macOS 10.0+ x86-64

zinq-0.6.5-py3-none-macosx_10_0_arm64.whl (1.6 MB view details)

Uploaded Python 3macOS 10.0+ ARM64

File details

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

File metadata

  • Download URL: zinq-0.6.5-py3-none-win_arm64.whl
  • Upload date:
  • Size: 1.6 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.6.5-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 5263a85563d47870841216c8a345c079e62d961c19eb7488121f6354b83e453c
MD5 a2ddff07afff8342339997ec417a05d5
BLAKE2b-256 9d9d5a52762dc2d2a1bb186329a189b76d1a8966752d9b2b6f4a2871509b2fa8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: zinq-0.6.5-py3-none-win_amd64.whl
  • Upload date:
  • Size: 1.6 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.6.5-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 d68ba504e995baa1930b70beaf1b50823d817db48631365a92af0d29348f6b30
MD5 9e76bd1a11cd809dc97cf5973b4b6b29
BLAKE2b-256 675865f71318732f1fe2c79d9c3ec0ce23d4c67ef964f194ed1ec974143347d4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: zinq-0.6.5-py3-none-manylinux_2_5_x86_64.whl
  • Upload date:
  • Size: 1.6 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.6.5-py3-none-manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 ea8408cda1cfc90f2145ef50072ba4de99de2daafc3c513d5f572297d2341041
MD5 2588eb335a71be781fa1553648906dd2
BLAKE2b-256 51b5f096ecd8e4f4aabdd74407e4230ad26989586a89cc68202de5eecf6815e1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for zinq-0.6.5-py3-none-manylinux_2_5_aarch64.whl
Algorithm Hash digest
SHA256 7e6161074dd24d68ae836881407116754f2d7289e867be04bb095e8034e8be34
MD5 6748ee6313639fe56cd1774e3973fb37
BLAKE2b-256 66d05e63bcae27efd8e0e109731bf0107ba18cab5572fe7c8257f278b2db0dcf

See more details on using hashes here.

File details

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

File metadata

  • Download URL: zinq-0.6.5-py3-none-macosx_10_0_x86_64.whl
  • Upload date:
  • Size: 1.6 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.6.5-py3-none-macosx_10_0_x86_64.whl
Algorithm Hash digest
SHA256 78c396aedd2988ef4735f21b56e8244f29cb68597ec01c47d48dcfc49c38d3c4
MD5 e2edce5e333fc1151fb0b04ab32ff963
BLAKE2b-256 29e059735ea5d0e4bbc38e19a78bf009269c69e8bfec5333e1bd437871989c45

See more details on using hashes here.

File details

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

File metadata

  • Download URL: zinq-0.6.5-py3-none-macosx_10_0_arm64.whl
  • Upload date:
  • Size: 1.6 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.6.5-py3-none-macosx_10_0_arm64.whl
Algorithm Hash digest
SHA256 3cae26bb99a54417cea0bb89cf71f3a04ad79d81fa3d6e25e29dfdaf0d6b4fe7
MD5 07b308ee49d8dd5c2c1703ef1cbb8f75
BLAKE2b-256 1ced56d397e576577642d627e0eff990888346da8dc6de67aea1b12c74017859

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