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 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.6.8-py3-none-win_arm64.whl (1.7 MB view details)

Uploaded Python 3Windows ARM64

zinq-0.6.8-py3-none-win_amd64.whl (1.7 MB view details)

Uploaded Python 3Windows x86-64

zinq-0.6.8-py3-none-manylinux_2_5_x86_64.whl (1.7 MB view details)

Uploaded Python 3manylinux: glibc 2.5+ x86-64

zinq-0.6.8-py3-none-manylinux_2_5_aarch64.whl (1.7 MB view details)

Uploaded Python 3manylinux: glibc 2.5+ ARM64

zinq-0.6.8-py3-none-macosx_10_0_x86_64.whl (1.7 MB view details)

Uploaded Python 3macOS 10.0+ x86-64

zinq-0.6.8-py3-none-macosx_10_0_arm64.whl (1.7 MB view details)

Uploaded Python 3macOS 10.0+ ARM64

File details

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

File metadata

  • Download URL: zinq-0.6.8-py3-none-win_arm64.whl
  • Upload date:
  • Size: 1.7 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.8-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 77b19347e798e61c7be0ad1b81a930788d7a06b6a775bb51e769674c924d885a
MD5 c4ea6bec7b21cf3bf521eaf5e622e91a
BLAKE2b-256 323a01191ecae612c7e9b2410c9718c09b1356ea8576d9e6ded88bb432f66d7c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: zinq-0.6.8-py3-none-win_amd64.whl
  • Upload date:
  • Size: 1.7 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.8-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 583874fe93ac87c6b9975310bf27734a3fb705d2e8707a440dbb15aa29b8b2d2
MD5 4d9b63be8b8511e0c0f6a716ac31665f
BLAKE2b-256 b1c6fea0583c43b48c05c88d5e2007fa88c6f3b9f1667c821996d528b7463205

See more details on using hashes here.

File details

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

File metadata

  • Download URL: zinq-0.6.8-py3-none-manylinux_2_5_x86_64.whl
  • Upload date:
  • Size: 1.7 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.8-py3-none-manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 8bd49121410a0e4d6837b1d53b1128adaddfacde4280938c0554c755988e0d9d
MD5 37d84e2658c5fb19d21460b6d84e2402
BLAKE2b-256 4e841eaf194e37b81d0d9251d8c106133a3f97d93bb1ff73a42d88f2c87e8aff

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for zinq-0.6.8-py3-none-manylinux_2_5_aarch64.whl
Algorithm Hash digest
SHA256 669a29c22846eafae25b2d53c829e4b1059353a0c98464b4e8ec0d6582f705b4
MD5 41c8f0e27531d42fcd04ff350319cfdb
BLAKE2b-256 e10786c530e2e9d10409dee373b992e2aaace551f1f14724b5c70ba159d6fee1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: zinq-0.6.8-py3-none-macosx_10_0_x86_64.whl
  • Upload date:
  • Size: 1.7 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.8-py3-none-macosx_10_0_x86_64.whl
Algorithm Hash digest
SHA256 76a0eb82727c47bb35741862cf3bd5bc493172152630b1060b1068f3639b2e73
MD5 ed51e22c22d450286ce951564136eb19
BLAKE2b-256 c3a6e66f0f77084345d850fc046c046d99d4d12cc63d0cb7424fd579022ea4cc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: zinq-0.6.8-py3-none-macosx_10_0_arm64.whl
  • Upload date:
  • Size: 1.7 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.8-py3-none-macosx_10_0_arm64.whl
Algorithm Hash digest
SHA256 c437061b00f5c339b892f7b1abef68fc5dc10cbe704553bab3aeb50a349c7786
MD5 7aa498d43c6f0692d0ee9309f3b7d812
BLAKE2b-256 f859d263643a75398ce478605cae123d7ee763613da0795a82301cf683fa9138

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