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.

  • Density Functional Theory
    Use variety of exchange-correlation functionals for density functional theory calculations.

  • Time-Dependent Density Functional Theory
    Calculate excitation energies and transition properties with time-dependent density functional theory.

  • 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.7.1-py3-none-win_arm64.whl (3.3 MB view details)

Uploaded Python 3Windows ARM64

zinq-0.7.1-py3-none-win_amd64.whl (3.4 MB view details)

Uploaded Python 3Windows x86-64

zinq-0.7.1-py3-none-manylinux_2_5_x86_64.whl (3.3 MB view details)

Uploaded Python 3manylinux: glibc 2.5+ x86-64

zinq-0.7.1-py3-none-manylinux_2_5_aarch64.whl (3.3 MB view details)

Uploaded Python 3manylinux: glibc 2.5+ ARM64

zinq-0.7.1-py3-none-macosx_10_0_x86_64.whl (3.3 MB view details)

Uploaded Python 3macOS 10.0+ x86-64

zinq-0.7.1-py3-none-macosx_10_0_arm64.whl (3.3 MB view details)

Uploaded Python 3macOS 10.0+ ARM64

File details

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

File metadata

  • Download URL: zinq-0.7.1-py3-none-win_arm64.whl
  • Upload date:
  • Size: 3.3 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.7.1-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 27e79569bbbdb0b60d7ab5aae507c8df9f8db2c3b1038e26c23a15ae9ba5655a
MD5 570b99553912535074035ae2daf67c44
BLAKE2b-256 d32501a19bf8820962f6da50534ae7033287cecfd5b4fa00ed9288f9d86ac55f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: zinq-0.7.1-py3-none-win_amd64.whl
  • Upload date:
  • Size: 3.4 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.7.1-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 88e9190d47e3617deefa54d11690c0da4773e3ddcbe1afedc194ea47400cec22
MD5 d6da13e24a547e60731061e38571d6c5
BLAKE2b-256 bd41147b587f05ccc00f97902bfb355525be31b10c3b8326e22c7700407abf7f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: zinq-0.7.1-py3-none-manylinux_2_5_x86_64.whl
  • Upload date:
  • Size: 3.3 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.7.1-py3-none-manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 0695ab130c9eae764a7b7de6b83011e2ded8710b7659a140a7a907a95228961c
MD5 4bdcd6ffe4e2bf44f4e98380f5fe19e9
BLAKE2b-256 3e17f50e50a638e1436beff5b9b447f98625d5032eaa5650f8ca8542f4426c12

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for zinq-0.7.1-py3-none-manylinux_2_5_aarch64.whl
Algorithm Hash digest
SHA256 8400f527cfa423f5d814a3405a73a9e140951d7ad81fde2e8bba5b31c5f658e7
MD5 5c8f6215cc9ab1cefb73501406606d99
BLAKE2b-256 ed5c2c117621289cb7b9543f283eb6bb061764f828170e3164e868848f7fc4e5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: zinq-0.7.1-py3-none-macosx_10_0_x86_64.whl
  • Upload date:
  • Size: 3.3 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.7.1-py3-none-macosx_10_0_x86_64.whl
Algorithm Hash digest
SHA256 c03feb26c277021bafcb18256db6756891ead893208357074d902dfd1a60e8f4
MD5 80160743a28b1c8016b88fdb5c13e2e7
BLAKE2b-256 5d87f6f1bcfe1ba6fa853df349b66bd65b30abf8cd454bea9c507615cf24659c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: zinq-0.7.1-py3-none-macosx_10_0_arm64.whl
  • Upload date:
  • Size: 3.3 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.7.1-py3-none-macosx_10_0_arm64.whl
Algorithm Hash digest
SHA256 4c0cb8b61bdf5b566fe11847f92c942c0b6e6975a3a829d5da16f59716eab323
MD5 479000219f0eabd179dfc89282cda80d
BLAKE2b-256 88874ca1f3535e7c24e079151076a8262427111816ce6476db70bc9d16cdada9

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