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

Uploaded Python 3Windows ARM64

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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3manylinux: glibc 2.5+ x86-64

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

Uploaded Python 3manylinux: glibc 2.5+ ARM64

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

Uploaded Python 3macOS 10.0+ x86-64

zinq-0.6.7-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.7-py3-none-win_arm64.whl.

File metadata

  • Download URL: zinq-0.6.7-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.7-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 3043697f3c0cf2bf1aa356efc64c1fe99629f3f2669b311abf18fadf397eb80a
MD5 eaf0e542083ad631d4a1088a26c62770
BLAKE2b-256 85aeba6abd40d17d0ae5d9701bd52b385ba3126c8ece000e3d78245f10757e4e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: zinq-0.6.7-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.7-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 eecfbdca50ed1ac6658bfd80a7c52e84ab5c0a31ff38090a21d11a8aa3b5e42f
MD5 761fe64b9dbb407818a52bcd611580b3
BLAKE2b-256 5d5d463e82268216ede795fbb6f77625742d49c7963a015bbae19eed77467a58

See more details on using hashes here.

File details

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

File metadata

  • Download URL: zinq-0.6.7-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.7-py3-none-manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 fb90abb6725567c65e80ac6ae798751477b7206d09a878eac63c92348b04051f
MD5 0578e8d029957cc9f9b40ef026972a73
BLAKE2b-256 6b94440d38866c8703273dafe08cf3c31993bfca4718d08bdb70b1d665f7a07b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for zinq-0.6.7-py3-none-manylinux_2_5_aarch64.whl
Algorithm Hash digest
SHA256 df7f845bb008fcfd27b4a3d3ab98fbbed796ceeab1f1075920c98aeaec8102bb
MD5 618f4f16e0cdcbe133ba1f4040c74665
BLAKE2b-256 c54641aec0c4b387fc623cbe3eae579bcf0204a4b62d1b537cbde68d16e6962a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: zinq-0.6.7-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.7-py3-none-macosx_10_0_x86_64.whl
Algorithm Hash digest
SHA256 afab2d822e36ccc3acbcd3bb7d8b9df1e6e7f253202893076f3efdfe0f84592f
MD5 1cfcb3db9785a01c52627e77316e745d
BLAKE2b-256 002894bcacd1d19d1cf71b8598994a70084a21d1267b7c8e7b6d349f8a4cd57e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: zinq-0.6.7-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.7-py3-none-macosx_10_0_arm64.whl
Algorithm Hash digest
SHA256 17b012edae928c3dfa20c0305af207087436f390b2e54b7fb0103ad29917b45e
MD5 c3f06836a8361cfcf746703a8bd39249
BLAKE2b-256 1e9ea4a61f9b5dcd0e8a9155e39f834181464b3de80432720422374f3d106564

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