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

Uploaded Python 3Windows ARM64

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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3manylinux: glibc 2.5+ x86-64

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

Uploaded Python 3manylinux: glibc 2.5+ ARM64

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

Uploaded Python 3macOS 10.0+ x86-64

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

File metadata

  • Download URL: zinq-0.6.6-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.6-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 53bd5c35745e532850bc26b3060693ceaf50d68ca7c81a193ac5b2948573ddef
MD5 382473c8719eebd36692f73070a5bb38
BLAKE2b-256 201a96b90f781c0c25729629a86a417378cb8988240552101dac415cce1738d2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: zinq-0.6.6-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.6-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 819484dc21b89c04696148cc65135b85d6ee9c6a4b226ce8365fe1f11ddb5522
MD5 680be90ad913720750e9e2dd3fd3a591
BLAKE2b-256 9e80efa64af7368468a5e53ea64129787b80809a85a0c12459e7642bb643a5ad

See more details on using hashes here.

File details

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

File metadata

  • Download URL: zinq-0.6.6-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.6-py3-none-manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 985b14ea64089eb2fda3daa338d25d83b8abe2d2fc2f6452c4ae1988dd2162f2
MD5 c24cfebb8580daa23f751191b224ce94
BLAKE2b-256 4e8a2ce740f8476a8ebd09641a44127d12d73a98ec8e1a38f2a99ea0808979b8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for zinq-0.6.6-py3-none-manylinux_2_5_aarch64.whl
Algorithm Hash digest
SHA256 158dcb2ee0074c858e7380f0680209c0c093a8b7760471734abf6be5edd1dc8a
MD5 49ec38f3028bf77de8ded93f16de0f3f
BLAKE2b-256 47f2af0a6be548f2a118251003a0e3becbd351e965675ecde9bb804e60095d1e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: zinq-0.6.6-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.6-py3-none-macosx_10_0_x86_64.whl
Algorithm Hash digest
SHA256 6f280f75152f59a14dee40089a6d8b5c335f2a53b15865c82699238dedbce047
MD5 44553565a49b1a1a4d5940bdc412ff34
BLAKE2b-256 b42c23ce6b4e94777998be3cf189254bab86d443282d0b37341ba6495db33ae7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: zinq-0.6.6-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.6-py3-none-macosx_10_0_arm64.whl
Algorithm Hash digest
SHA256 7a85867c49fb97be0052bdc71741f8b0abcde82195d090a20131edb827d6b6f5
MD5 7909c26f6b5775a569f60659b55ff82c
BLAKE2b-256 02b7bec24c93c6787a28450cc69b794f3b9ebd3d0a0208db5e8787302e9aea93

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