Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Understanding the RustiQ workflow

A calculation starts with a fixed molecular geometry and a choice of electronic state, basis, and method. RustiQ uses these inputs to compute energies and orbitals. You decide which results to keep and whether to preserve data that can spare work in a later calculation.

flowchart TD
    G["Geometry and coordinate units"] --> P["Prepare molecule and basis"]
    S["Charge and spin multiplicity"] --> P
    B["Gaussian basis set"] --> P
    C["HF method and optional MP2"] --> P
    P --> I["Evaluate integrals"]
    I --> H["Solve Hartree–Fock by SCF"]
    H --> M["Optional MP2 from converged HF"]
    H --> R["Numerical report"]
    M --> R
    H --> A["Optional portable bundle requested for the run"]
    M --> A
    R --> V["Inspect convergence and energies"]
    A --> T["Inspect and verify bundle"]
    T --> D["Direct rerun: SCF runs again"]
    T --> U["Reuse compatible AO integrals: SCF runs again"]
    T --> Q["Post-SCF: restore compatible converged HF; no new SCF"]
    T --> E["Export saved orbitals to Molden"]

The geometry and charge determine the electron count. The multiplicity sets the spin populations. The basis must cover each element in the molecule. It defines the space in which RustiQ builds the one-electron and electron-repulsion integrals and solves HF. The self-consistent-field (SCF) procedure iterates the density and Fock matrix. If you request MP2, it uses the converged HF orbitals and orbital energies to compute a correlation correction. Inspect the resolved inputs, the convergence diagnostics, and the energies before using them.

Files you supply and files you keep

FormatPurpose
XYZPositions and element symbols for the fixed molecular geometry. Set the coordinate units in the calculation configuration.
TOMLConfiguration for one calculation, including the geometry path, molecular state, basis name, and methods.
NickelOptional configuration language for generating related calculations, for example a series with different bases.
Basis Set Exchange JSONGaussian basis data to download or import into the local basis store. The configuration refers to a basis by name.
Result JSONMachine-readable numerical results and diagnostics, requested with --format json.
.rustiqPortable calculation bundle with scientific inputs and reusable artifacts, such as integrals and converged HF data when available.
MoldenExchange file for viewing saved molecular orbitals in a compatible program.

Choose what to reuse

Reusable artifacts are saved numerical data such as integrals or a converged HF solution. Which data you need depends on the next operation.

Your goalWorkflow
Run a new calculationGive rustiq run a TOML configuration or a Nickel input. RustiQ reads the geometry, loads the basis, and runs HF and any requested MP2.
Rerun a saved calculationGive rustiq run the .rustiq bundle. RustiQ reconstructs the stored calculation, can use compatible saved integrals, and runs SCF again.
Change the calculation while reusing integralsRun the new configuration with --reuse and a bundle. RustiQ can reuse compatible atomic-orbital electron-repulsion integrals (AO ERIs). Geometry, basis and integral settings matter for compatibility. SCF still runs.
Compute MP2 from an existing HF solutionRun the bundle with --post-scf and a separate TOML file specifying the MP2 options. Post-SCF means starting from the saved converged HF reference, so there is no new SCF cycle.
View orbitalsUse rustiq artifact export to write a Molden file from a saved HF solution without repeating SCF.

Keep result JSON or the terminal report for the quantities you plan to analyze. A bundle preserves inputs and reusable data, and even a verified bundle may lack numerical results such as the energies from a Post-SCF MP2 run. See the portable bundle guide for the commands and compatibility rules.

Continue with the first H₂ calculation.