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

Uploaded Python 3Windows ARM64

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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3manylinux: glibc 2.5+ x86-64

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

Uploaded Python 3manylinux: glibc 2.5+ ARM64

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

Uploaded Python 3macOS 10.0+ x86-64

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

File metadata

  • Download URL: zinq-0.6.2-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.2-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 57c3b74072ef3326204bfa905d77d04e0ae615c59d30cd61f407434f56ae19da
MD5 6c1006ab452a3386668a96f539c798b7
BLAKE2b-256 c69441f9977fdd5f292f0eff21679721d8db98adb280653d677c345cfa6e7062

See more details on using hashes here.

File details

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

File metadata

  • Download URL: zinq-0.6.2-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.2-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 37940a3e9eac6d7befa4a43d1d740d91749ba13f035831dfdcfb96aeaa26c916
MD5 229793bbe88da877c4fba7420299086e
BLAKE2b-256 108d9c14fc2014f7232e24ec8daffca253664589bb3aee7e0be75f1b1ab5bde4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: zinq-0.6.2-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.2-py3-none-manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 8ac669228ba747ae293ec05bdfd44dfcdde6c6909a3d44c233550950744f14a6
MD5 bffc750a4c65f914ac6a20095965efa1
BLAKE2b-256 4fd8859844507565278e92f9d0b73ca66fa5e11bc8af170f6fbf25248f223a10

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for zinq-0.6.2-py3-none-manylinux_2_5_aarch64.whl
Algorithm Hash digest
SHA256 d875f97181e03bd3d67359ee2216805f21ec235324d3fb266d7bd93731c3b100
MD5 6d1505ef0e5e80094dbb397534feb709
BLAKE2b-256 97cc6972c4a6ace1068981ea96302cc88e4b82e6ed1c52eaf71f780ff8ec69ae

See more details on using hashes here.

File details

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

File metadata

  • Download URL: zinq-0.6.2-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.2-py3-none-macosx_10_0_x86_64.whl
Algorithm Hash digest
SHA256 3093b8613d3d45177dc2fe816181c474a1962f0187baeb0e72190958e67473ed
MD5 c9b01023abc58157ae90d942ca86ab8d
BLAKE2b-256 24af3e5979b2077068f25c2e131622cf8abc59fb749f139a480e0c931a84fc78

See more details on using hashes here.

File details

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

File metadata

  • Download URL: zinq-0.6.2-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.2-py3-none-macosx_10_0_arm64.whl
Algorithm Hash digest
SHA256 f0180e29aeb035e9f8ce59361d46816b84097967fd3b30fb77cc0e5253683a70
MD5 fa731e3fb7bc27fae6da66a5370b0d2d
BLAKE2b-256 fecca53e692926b9e0bcab7563f4113ffa2795d6f3faf29bc02649708dd07ea4

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