Example scripts and generated outputs¶
The repository keeps runnable example inputs under examples/. Local
runs still write .out, .system, .molden, .traj, .cube,
.png, .csv, or citation files next to the script that produced
them; those ad hoc files are local working products and should stay out
of commits.
For tutorials and reference pages, the docs also carry curated static
bundles under docs/_static/examples/; the root manifest is
artifact-index.json. Those
bundles are regenerated on vq with the current development build, then
copied into the docs site with the input, full stdout.txt, full
stderr.txt, matched output files, QVF archives where the example
produces them, and vibe-view PNG captures for QVF-backed runs.
Tip
Every text output starts with the runtime banner: a labelled box
recording vibe-qc version, codename, git revision, and linked
native-library versions. For manuscript or SI work, copy that banner
into your paper files alongside the .system manifest. Use the static
bundles below as the documented reference outputs; for new exploratory
runs, use a scratch directory outside the checkout and commit only the
input script or a small data table needed to reproduce the figure.
Source Locations¶
The canonical examples live in:
examples/molecular/, molecule-only HF / DFT / MP2, optimization, vibrations, and cubes.examples/periodic/, one-dimensional chains, bulk crystals, GPW/GAPW demos, and periodic output formats.examples/ase_workflows/, ASE-native BFGS, NEB, vibrations, and MD workflows.examples/ase_compare/, cross-code validation drivers that create comparison tables locally.
Static Reference Bundles¶
Most bundles below were regenerated with scripts/regenerate_doc_examples.py
through vq; curated validation fixtures note their own provenance in their
README. Each directory includes README.md, artifact-status.json, the copied
input script or scripts, and the full text logs available for that run. The
root index is artifact-index.json;
the vibe-view capture status is
screenshot-status.json.
Bundle |
Main downloads |
Notes |
|---|---|---|
|
Closed-shell H2O RHF / |
|
|
H2O RKS-PBE / |
|
|
ASE/BFGS H2O relaxation. |
|
|
Water-dimer relaxation. |
|
|
Cyclic water-trimer relaxation. |
|
|
Open-shell UHF OH doublet. |
|
|
Analytic Hessian and ORCA-format Hessian export. |
|
Cube writer example plus a vibe-view archive carrying the same RHF state. |
||
Diagnostic script prints its report to stdout and writes the default SCF archive. |
||
Legacy multi-k convergence scan; QVF is deliberately not expected. |
||
Legacy Peierls dimerisation scan; QVF is deliberately not expected. |
||
Legacy Hcore band/DOS figure; QVF is deliberately not expected. |
||
Legacy Ewald Madelung-constant table; QVF is deliberately not expected. |
||
Legacy symmetry-compression diagnostic; QVF is deliberately not expected. |
||
|
NH3 umbrella-inversion climbing-image NEB. |
|
Curated chi-CCM-B periodic QVF validation fixtures with full |
||
|
MgO primitive RHF/STO-3G |
Running Examples¶
From the checkout root, use the project virtual environment:
.venv/bin/python examples/molecular/input-h2o-rhf.py
Many examples intentionally write beside themselves because that is the most convenient pattern when the script is copied into a project directory. If you run from the repository, remove the generated files before committing:
find examples -type f \
\( -name '*.out' -o -name '*.system' -o -name '*.molden' \
-o -name '*.traj' -o -name '*.cube' -o -name '*.png' \
-o -name '*.csv' -o -name '*.references' -o -name '*.bibtex' \
-o -name '*.hess' -o -name '*.engrad' -o -name 'stdout.txt' \
-o -name 'stderr.txt' -o -name '*.population.txt' \
-o -name '*.population.json' \) -delete
Molecular Examples¶
Script |
Generates |
Expected result |
|---|---|---|
|
closed-shell H2O RHF / 6-31G* |
|
|
H2O RKS-PBE / 6-31G* |
|
|
open-shell UHF doublet with alpha/beta orbital blocks |
|
|
ASE/BFGS H2O relaxation |
|
|
water-dimer relaxation |
|
|
cyclic water-trimer relaxation |
|
|
QVF archive plus density, HOMO, LUMO, and multi-orbital cube files |
|
|
analytic Hessian and ORCA-format Hessian export |
Periodic Examples¶
Script |
Generates |
Expected result |
|---|---|---|
|
k-mesh convergence table for a 1D H2 chain |
|
|
Peierls dimerisation scan |
|
|
H-chain band structure and DOS figure |
|
|
Ewald Madelung-constant table |
|
|
debug-friendly NaCl RKS-LDA periodic run |
|
|
XSF/BXSF structure and band-grid export |
ASE Workflows¶
Script |
Generates |
Expected result |
|---|---|---|
trajectory, log, and convergence plot |
ASE BFGS relaxation driven by |
|
displacement cache and summary text |
finite-difference vibrational analysis |
|
MEP table, plot, and trajectory |
ammonia umbrella-inversion NEB |
|
time-series CSV, plot, and trajectory |
NVE energy-conservation diagnostic |
|
local Pt(111) + H2 XYZ fixture |
periodic ASE geometry setup without launching SCF |
Cross-Validation¶
The comparison examples in examples/ase_compare/ and
examples/regression/ are source drivers. They may create ORCA,
PySCF, CRYSTAL, GPAW, or CP2K logs when those programs are available,
but the generated logs are not committed. Keep the input decks and
small JSON/data summaries; regenerate bulky output locally when you
need to audit a number.
Output File Reference¶
For the meaning of each output family, see Input scripts and output files. For run-directory hygiene, including why examples should normally be copied outside the checkout before production work, see Good practices.