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

Uploaded Python 3Windows ARM64

zinq-0.6.4-py3-none-win_amd64.whl (1.8 MB view details)

Uploaded Python 3Windows x86-64

zinq-0.6.4-py3-none-manylinux_2_5_x86_64.whl (1.8 MB view details)

Uploaded Python 3manylinux: glibc 2.5+ x86-64

zinq-0.6.4-py3-none-manylinux_2_5_aarch64.whl (1.8 MB view details)

Uploaded Python 3manylinux: glibc 2.5+ ARM64

zinq-0.6.4-py3-none-macosx_10_0_x86_64.whl (1.8 MB view details)

Uploaded Python 3macOS 10.0+ x86-64

zinq-0.6.4-py3-none-macosx_10_0_arm64.whl (1.8 MB view details)

Uploaded Python 3macOS 10.0+ ARM64

File details

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

File metadata

  • Download URL: zinq-0.6.4-py3-none-win_arm64.whl
  • Upload date:
  • Size: 1.8 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.4-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 9a094f30f5935f364968d0aff23235e0d36e954ef4b150249c897221fa53bb18
MD5 34ab1897a02655a2236d6d593d7665b2
BLAKE2b-256 39a4f1307cbaaa02ebb6aefb4c81fa5f6451b6d7652050077f5235eb1a0faa2a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: zinq-0.6.4-py3-none-win_amd64.whl
  • Upload date:
  • Size: 1.8 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.4-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 924f6179f5b1e0e10b1d6181f533f19b2fe458769a8707d59d1be5d54bc073bb
MD5 ce8440e64c942c104292910933e84aeb
BLAKE2b-256 7b3135e9f4c65e266a58fc9ac64fe55ffeae3d137fa297e0aa38a67b58f58725

See more details on using hashes here.

File details

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

File metadata

  • Download URL: zinq-0.6.4-py3-none-manylinux_2_5_x86_64.whl
  • Upload date:
  • Size: 1.8 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.4-py3-none-manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 fb328427568e334a5b113783d9ddc63a346fda8d4d513be6b0b297c17c594f7c
MD5 b93b66d2d986b506fda9880311916522
BLAKE2b-256 13710566b1d2ab49d9e41fedcc0f5380a3ea387ca6cba9ecad60c22f3ce3db50

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for zinq-0.6.4-py3-none-manylinux_2_5_aarch64.whl
Algorithm Hash digest
SHA256 ebae8226038ab128f22129a09d6e330099202ab91752d56fee982c47e61c613b
MD5 456b8eed159b5425d75ac6b0a06ad93f
BLAKE2b-256 33cfde16c38cb07762e5333a14c32d5c88bec6ba6ecf21cc3dc2d85f6087dbfd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: zinq-0.6.4-py3-none-macosx_10_0_x86_64.whl
  • Upload date:
  • Size: 1.8 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.4-py3-none-macosx_10_0_x86_64.whl
Algorithm Hash digest
SHA256 a10909853fccf818acf7c2bb295f07cee750bf442d51399e51527d7ca932fe06
MD5 837ea2e032270047659664d797a0d761
BLAKE2b-256 631960d58b5edfff22d0e3fc89966ae9ef2e6dcbcf55d3fa3be3f974e9752ea4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: zinq-0.6.4-py3-none-macosx_10_0_arm64.whl
  • Upload date:
  • Size: 1.8 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.4-py3-none-macosx_10_0_arm64.whl
Algorithm Hash digest
SHA256 2e7949fd9a0ea5267203ca106b66a4a6c6c3829cc58a46e13c82b508428c3a55
MD5 8273d12672e9f77dd7ec8586c5a2b3a1
BLAKE2b-256 62b1ca7c0ad9772cdf5b7848f21fb9964af2b0cce0340ffbc604d219542d4217

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