Skip to content
/ qex Public

Quantum EXpressions lattice field theory framework

License

Notifications You must be signed in to change notification settings

jcosborn/qex

Folders and files

NameName
Last commit message
Last commit date
Feb 10, 2025
Dec 14, 2024
Jun 10, 2020
Feb 5, 2025
Jan 21, 2025
Jun 1, 2017
Jun 5, 2020
Apr 28, 2022
Sep 30, 2022
Mar 7, 2017
Apr 27, 2022
Jun 17, 2024
Nov 15, 2024
Jun 6, 2020
Dec 12, 2022
Sep 16, 2023

Repository files navigation

QEX: Quantum EXpressions lattice field theory framework

QEX is a high-level framework for lattice field operations written in the language Nim.

It provides optimized lattice field operations, including SIMD support, for CPU architectures (native GPU support is currently experimental). Since Nim compiles to native C/C++, directly calling any C/C++ lattice code or library from QEX is relatively easy to do.

Some simple code examples are here ex0.nim ex1.nim.

It currently supports

  • U(1), SU(2..4) gauge fields in any dimension
  • SciDAC I/O
  • Gauge fixing
  • Staggered solver and forces (Asqtad, HISQ, nHYP)
  • Wilson solver (no clover yet)
  • Interface for Chroma, Grid, QUDA interoperability

Installation guide: INSTALL.md

Build guide: BUILD.md

Further examples: