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

Uploaded Python 3Windows ARM64

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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3manylinux: glibc 2.5+ x86-64

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

Uploaded Python 3manylinux: glibc 2.5+ ARM64

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

Uploaded Python 3macOS 10.0+ x86-64

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

File metadata

  • Download URL: zinq-0.7.2-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.2-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 653ed66950d94e69c9612b0389578166d807d462957cf0416d68ac029d2f6afa
MD5 2693877b9976714d750a969da6e4e7c5
BLAKE2b-256 c75587e08585225c94337169a483e80dcdd8e09e4b7ea67cc729375269cfb1ad

See more details on using hashes here.

File details

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

File metadata

  • Download URL: zinq-0.7.2-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.2-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 1cd07f34ea3fddf2b08cfda9413e062569ce2d8670293b60b61d06f65506efd3
MD5 6d03d6ced3d98a9edeba01f28df5f1f1
BLAKE2b-256 f60f1e0b0c038b12b74c133f6589469b718daecd69672614af84174f0e23a9c1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: zinq-0.7.2-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.2-py3-none-manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 a3b1f916060a2fd781b73affb8727eeec1dd09002cca6ad8b2db30d21695ac05
MD5 0111a54069eb58c9d909070dd7ea81b9
BLAKE2b-256 b30bb11b3a619ef7f2a72bb4846e987161feca9a26235f1b26ac511802d7e6c3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for zinq-0.7.2-py3-none-manylinux_2_5_aarch64.whl
Algorithm Hash digest
SHA256 b144cdf4ced8fcf6fd9f010ba121094c0efafe2cf89bef1643171a141ef197d1
MD5 10812c4664b4e930f89e99f2512186d4
BLAKE2b-256 1292c8b5c7e65f132688bf7b6a8b898c6b3fa8752b1298b4f257ef61cd0bae5e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: zinq-0.7.2-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.2-py3-none-macosx_10_0_x86_64.whl
Algorithm Hash digest
SHA256 2fc4bf22986c09682ac11134f2489c90dd04b7118a41f85fbfb8a46d40652270
MD5 bc5ad9fd83f388471d1b76411f692729
BLAKE2b-256 bbe53b51021adb8a846911cd2d8abb23cc1eebe0f85e5772d36868b6f7e4eaaa

See more details on using hashes here.

File details

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

File metadata

  • Download URL: zinq-0.7.2-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.2-py3-none-macosx_10_0_arm64.whl
Algorithm Hash digest
SHA256 353b6ef8771e2bc63a2ad3342d9598433f2f1da9d79f86acc092dc5db9ca9acd
MD5 00875d5bd710f02c1ad730bf76903ff1
BLAKE2b-256 3f1a71a935b39bd43973eab1e67b7434fb30bdd213101902c2b6b091ba574d2b

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