Skip to main content

QMCert

CI PyPI version Python versions License: MIT DOI

Quality checks for quantum-chemical calculations: convergence, stationary points, spin contamination and quasi-RRHO free energies.


Overview

QMCert is an open-source Python package that reads the output of a quantum-chemistry calculation and checks what should be checked before its energies are used: convergence, the nature of the stationary point, spin contamination and the treatment of low-frequency modes in free energies. The ORCA parser was validated on 59 real ORCA 6.1 outputs against cclib, GoodVibes and ORCA's own printout (validation/); a Gaussian parser is included but has not been validated on real outputs.

  • Convergence: outcome of the last SCF in the file; the optimiser's convergence banner.
  • Stationary point: imaginary frequencies below -10 cm^-1 are counted; a minimum needs none, a transition state exactly one; two or more is a higher-order saddle point. A converged optimisation is not taken as evidence of a minimum.
  • Spin contamination: deviation of <S^2> from S(S+1), as a percentage of S(S+1) (warning above 5%, failure above 10%).
  • Thermochemistry: ZPE, H, G and S as printed by the program, and Grimme's quasi-RRHO vibrational entropy (omega_0 = 100 cm^-1). ORCA 6.1 applies quasi-RRHO by default (its output says so); QMCert reads that setting and reports the harmonic and quasi-RRHO free energies explicitly, so the correction is never applied twice.
  • IR spectrum: Lorentzian broadening of the computed intensities.

Version 1.2.0 fixes a reporting defect found by the validation: version 1.1.0 reported a separate quasi-RRHO correction on top of ORCA's free energy, which already contained it (up to 0.73 kcal/mol in the benchmark). See the CHANGELOG.

  • Verdicts: PASS / WARNING / FAIL for each check; the overall status is the worst of them.
  • 📑 Publication Deliverables: Interactive self-contained report.html, publication vector plots (SVG/PDF/PNG 300 DPI), LaTeX summary tables (.tex), and a draft computational-details paragraph that states the results found, including failures.
  Quantum Chemical Output (.out, .log)
                    │
                    ▼
  ┌───────────────────────────────────────────────────────────┐
  │                          QMCert                           │
  │  ├── Stationary Point Certification (0 or 1 Imag Freq)    │
  │  ├── Spin Contamination Audit (<S^2> vs S(S+1))           │
  │  ├── SCF & Geometry Optimization Convergence              │
  │  ├── Grimme Quasi-RRHO Thermochemistry Corrections        │
  │  └── Frontier Orbital Gap & Simulated IR Spectrum         │
  └───────────────────────────────────────────────────────────┘
                    │
                    ▼
  ┌───────────────────────────────────────────────────────────┐
  │                   Publication Deliverables                │
  │  ├── report.html (Interactive Dashboard & Badges)         │
  │  ├── qmcert_simulated_ir_spectrum.pdf/svg/png             │
  │  ├── qmcert_summary_table.tex / .csv                      │
  │  ├── methods_snippet.txt (Ready for Manuscript)           │
  │  └── citation.bib (BibTeX Reference)                      │
  └───────────────────────────────────────────────────────────┘

Installation

From PyPI

pip install qmcert

From Source

git clone https://github.com/sircalch/qmcert.git
cd qmcert
pip install -e .[dev]

Quickstart (CLI)

1. Run Demonstration Mode (Instant Benchmark DFT Calculation)

qmcert demo -o my_qm_validation/

Open my_qm_validation/report.html in any browser to inspect the report and simulated IR spectrum!

2. Assess an ORCA output file

qmcert assess -i calculation.out -o qm_quality_report/

3. Check a transition-state calculation

qmcert assess -i ts_optimization.out --ts -o ts_report/

Python API Usage

from qmcert import assess_qm_quality
from qmcert.parsers import parse_qm_output
from qmcert.reporters import generate_qm_figures, generate_qm_manuscript_assets, generate_qm_html_report

# 1. Parse quantum chemistry output (ORCA / Gaussian)
parsed_data = parse_qm_output("my_dft_calc.out")

# 2. Assess calculation quality
report = assess_qm_quality(
    metadata=parsed_data["metadata"],
    scf_converged=parsed_data["scf_converged"],
    frequencies=parsed_data["frequencies"],
    intensities=parsed_data["intensities"],
    expected_point_type="MINIMUM",
    s2_calculated=parsed_data["s2_calculated"],
    thermochemistry=parsed_data["thermochemistry"]
)

print(f"Overall status: {report.overall_status}")
print(f"Stationary Point: {report.frequency_result.point_type}")

# 3. Export all publication assets
generate_qm_figures(report, "output_dir/")
generate_qm_manuscript_assets(report, "output_dir/")
generate_qm_html_report(report, "output_dir/report.html")

Documentation and help


Citation

If you use QMCert to validate quantum-chemical calculations, certify stationary points, or calculate quasi-RRHO corrections, please cite:

@software{monreal2026qmcert,
  author = {Monreal-Hernández, Andrés},
  title = {{QMCert: Automated Quality-Control, Stationary Point Certification, and Reproducibility Assessment for Quantum-Chemical Calculations}},
  year = {2026},
  version = {1.3.1},
  publisher = {Zenodo},
  doi = {10.5281/zenodo.22217572},
  url = {https://github.com/sircalch/qmcert}
}

The DOI above always resolves to the latest archived version. The repository's CITATION.cff is the canonical citation record; GitHub's "Cite this repository" button uses it.

Project page

Release record and related tools: qmcert on the author's site · quality-control and reproducibility family.


License

This project is licensed under the MIT License - see the LICENSE file for details.

Metadata

Release files for qmcert 1.3.1

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

Source distribution (sdist)

Source distribution for qmcert 1.3.1
File Size Uploaded Provenance Actions
qmcert-1.3.1.tar.gz 34.3 kB With provenance Details for qmcert-1.3.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for qmcert 1.3.1
File Interpreter ABI Platform Actions
qmcert-1.3.1-py3-none-any.whl Python 3 none any Details for qmcert-1.3.1-py3-none-any.whl

Total release size: 69.2 kB

Release files / qmcert-1.3.1.tar.gz

Download URL qmcert-1.3.1.tar.gz
Size 34.3 kB
Tags Source
SHA-256 checksum
How to use checksums
51102afe851e4dd6098e1b3af4fd6666cf49c7ba0cd90c39c0c3390df27cdefd
BLAKE2b-256 checksum
How to use checksums
adb797a6e4a2b4f93174600f371459f1d576c50f3fdee022e4aaaac8271cba47
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.

Transparency log

Release files / qmcert-1.3.1-py3-none-any.whl

Download URL qmcert-1.3.1-py3-none-any.whl
Size 34.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0e7bfd6257024182cfa0b3bc10dfced6aa2f27811ee992bd414ad0770b6d9962
BLAKE2b-256 checksum
How to use checksums
1ab07a1d442f67854b8613806e35de15647e4ee1c34a312404cbd5da38b56090
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.

Transparency log

Security for qmcert 1.3.1

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for qmcert-1.3.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.

Transparency log

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.

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