Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

aiida-jqmc

aiida-jqmc is an AiiDA plugin for jQMC, the real-space ab initio quantum Monte Carlo code (variational Monte Carlo and lattice-regularized diffusion Monte Carlo). It runs jqmc and jqmc-tool as AiiDA processes and records the full provenance. The documentation is available from GitHub Pages.

license tag fork stars Public distribution check Lint Docs Full Python coverage DL python_version aiida_version pypi_version

Full Python coverage measures aiida_jqmc over all tests, including the ones that run jqmc, in the latest forge snapshot promoted to this repository. Click the badge for the tested commit and update date. The badge becomes available after the first promotion; until then no coverage value is published.

Features

  • Runs jqmc (mcmc, vmc, lrdmc-bra, lrdmc-tau) and jqmc-tool (TREXIO/QE conversions, energies, forces, extrapolation) as AiiDA calculations.
  • Converts QE and PySCF/TREXIO primitive sources into jQMC orbital-tiled Gamma, single-supertwist and weighted-ensemble supercells, retaining the physical structure and sector metadata in provenance.
  • Splits long runs over scheduler jobs from checkpoints, resubmits interrupted jobs, and extends finished calculations; twist-averaged runs included.
  • Reports every number jqmc prints as structured output_parameters, described by JSON Schemas, so that an AI agent or a script can take the scientific decisions (run lengths, error bars, convergence) itself.

The plugin takes no scientific decision: every physical or statistical parameter is passed to jqmc as given.

Requirements

  • Python 3.11 or later
  • aiida-core 2.8 or later, with a configured profile
  • jqmc, installed by pip with the plugin (the supported versions are given by the jqmc dependency in pyproject.toml), both where AiiDA runs and on every computer that runs the calculations

Install

pip install aiida-jqmc
verdi plugin list aiida.calculations   # jqmc.jqmc, jqmc.tool

The latest version can be installed from a clone of this repository:

git clone https://github.com/jqmc-project/aiida-jQMC.git
cd aiida-jQMC
pip install -e .

Quick start

verdi presto        # a profile and the `localhost` computer
verdi code create core.code.installed -L jqmc -Y localhost \
    --filepath-executable "$(which jqmc)" --default-calc-job-plugin jqmc.jqmc
verdi code create core.code.installed -L jqmc-tool -Y localhost \
    --filepath-executable "$(which jqmc-tool)" --default-calc-job-plugin jqmc.tool

Then convert a TREXIO file into a jQMC Hamiltonian, run an MCMC calculation and read its energy, as the quickstart shows.

Documentation

https://jqmc-project.github.io/aiida-jQMC/: getting started (overview, installation, quickstart), the user guide (submit, read, decide, extend; examples), the reference (calculations, jqmc-tool, the work chain, the output schema, the API), development and the changelog.

Examples

examples/ runs the jQMC tutorials (examples/ of jqmc-project/jQMC, matching your installed jqmc version) through AiiDA: every step, mean-field calculations included, is an AiiDA process.

Development and contributing

Active development of aiida-jqmc, including the addition of new features, takes place in a private repository. External code contributions are not merged directly through pull requests in this public repository. We nevertheless welcome and appreciate pull requests as proposals: a reproducer or suggested fix can help us understand a problem more clearly.

Such pull requests are not merged as submitted. Instead, the developers investigate the problem, implement and test the changes in the private repository, and then integrate the reviewed and validated changes into this public repository.

If you would like to take part in development, please contact the developers directly. Bug reports, feature requests, and suggestions are also welcome as GitHub Issues on this public repository.

The CI of this public repository checks the lint, the distributions and the documentation; it runs no test. The complete tests, which run jqmc, run in the private development repository aiida-jQMC-forge and pass there for the commit that is published here. Running the tests, building the documentation and the branches are described in Development.

Citation

If you used aiida-jqmc in your research project, please cite jQMC:

  • "jQMC: A JAX-based ab initio quantum Monte Carlo package designed for GPU-accelerated computing",

    K. Nakano and M. Casula, arXiv:2607.13781 (2026)

    @article{nakano-jqmc,
        author  = {Nakano, Kousuke and Casula, Michele},
        title   = {jQMC: A JAX-based ab initio quantum Monte Carlo package designed for GPU-accelerated computing},
        journal = {arXiv preprint},
        eprint  = {2607.13781},
        archivePrefix = {arXiv},
        primaryClass  = {physics.chem-ph},
        year    = {2026},
        url     = {https://arxiv.org/abs/2607.13781}
    }
    
  • "Load-Balanced Diffusion Monte Carlo Method with Lattice Regularization",

    K. Nakano, S. Sorella, and M. Casula, J. Chem. Phys. 163, 194117 (2025)

    @article{10.1063/5.0296986,
        author = {Nakano, Kousuke and Sorella, Sandro and Casula, Michele},
        title = {Load-balanced diffusion Monte Carlo method with lattice regularization},
        journal = {J. Chem. Phys.},
        volume = {163},
        number = {19},
        pages = {194117},
        year = {2025},
        month = {11},
        doi = {10.1063/5.0296986}
    }
    

and AiiDA:

  • S. P. Huber et al., "AiiDA 1.0, a scalable computational infrastructure for automated reproducible workflows and data provenance", Sci. Data 7, 300 (2020)
  • M. Uhrin et al., "Workflows in AiiDA: Engineering a high-throughput, event-based engine for robust and modular computational workflows", Comput. Mater. Sci. 187, 110086 (2021)

Developer(s)

Kosuke Nakano (National Institute for Materials Science (NIMS), Japan)

License

BSD-3-Clause.

Metadata

Release files for aiida-jqmc 0.1.0a1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aiida-jqmc 0.1.0a1
File Size Uploaded Provenance Actions
aiida_jqmc-0.1.0a1.tar.gz 3.3 MB Without provenance Details for aiida_jqmc-0.1.0a1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for aiida-jqmc 0.1.0a1
File Interpreter ABI Platform Actions
aiida_jqmc-0.1.0a1-py3-none-any.whl Python 3 none any Details for aiida_jqmc-0.1.0a1-py3-none-any.whl

Total release size: 3.3 MB

Release files / aiida_jqmc-0.1.0a1.tar.gz

Download URL aiida_jqmc-0.1.0a1.tar.gz
Size 3.3 MB
Tags Source
SHA-256 checksum
How to use checksums
bdddc81e1ed9c3a02cef2d2571ffe486e8c7d5fbb7fee3ba255e6d3404588501
BLAKE2b-256 checksum
How to use checksums
06db8846ca2ca4f1f6a8ce03f51d06602ff54bec7107d11e92f8c379c66e5207
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / aiida_jqmc-0.1.0a1-py3-none-any.whl

Download URL aiida_jqmc-0.1.0a1-py3-none-any.whl
Size 56.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cf6807e53fd04bc5eb47e842c6e82a9974c19cf9453568313fe32c63b7c59b13
BLAKE2b-256 checksum
How to use checksums
ef32ff278bda1c12238755333df44676f8adf0c34de29ad8a304e85c907cb27a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for aiida-jqmc 0.1.0a1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page