Skip to content

Complete Supported API and Algorithm Reference ​

This document is the consolidated source for the currently supported API surface of sci-form across Rust, Python, WASM/TypeScript, and CLI, plus the algorithmic foundations and the existing SVG assets that explain those algorithms.

It is intentionally aligned to the current repository state instead of older aspirational docs. When a function is listed here, it is because it is exposed today in source. When a capability is experimental or feature-gated, that status is called out explicitly.


Scope and Source of Truth ​

Primary source files used to build this reference:

  • src/lib.rs for the top-level Rust API
  • crates/python/src/*.rs for Python bindings
  • crates/wasm/src/*.rs for WASM/TypeScript exports
  • crates/cli/src/args.rs for CLI commands
  • docs/algorithm/*.md for theory pages
  • docs/public/svg/*.svg and docs/public/*.svg for diagrams

If any future API change diverges from this document, the source files above win.


Shared Conventions ​

Coordinates ​

  • coords are flat arrays: [x0, y0, z0, x1, y1, z1, ...]
  • When Rust APIs require &[[f64; 3]], convert from the flat array with chunks(3)
  • Units for coordinates are Å

Elements ​

  • elements are atomic numbers (u8 in Rust, integer lists in Python and WASM JSON)

Naming ​

  • The canonical name of a capability is the Rust root function name, and it is identical on all four surfaces.
  • The old Python spellings (bare nouns such as charges, sasa, population, dipole, dos, esp, rmsd, sssr, ecfp, tanimoto, orbital_mesh, unit_cell, and the *_calculate forms such as pm3_calculate, xtb_calculate, gfn1_calculate, gfn2_calculate, hf3c_calculate, ani_calculate) are deprecated aliases: they still work but emit a DeprecationWarning and will be removed in sci-form 2.0.
  • The CLI keeps its own kebab-case command names (charges, sasa, population, dipole, dos, esp, rmsd, sssr, ecfp, tanimoto); the CLI naming was not part of the canonicalisation.

Units ​

Units are not uniform across the library.

QuantityUnit
Geometry (coordinates, bond lengths, cell parameters)Å (cell angles in degrees)
UFF / MMFF94 energieskcal/mol
UFF / MMFF94 gradientskcal/mol/Å
EHT, PM3, xTB orbital energies and HOMO–LUMO gapseV
PM3 / xTB total, electronic, repulsive, dispersion energieseV
PM3 heat of formationkcal/mol
HF-3c energy, HF energy, nuclear repulsion, D3/gCP/SRB correctionsHartree
HF-3c orbital energies, HOMO/LUMO, gapHartree
ANI energy and per-atom energiesHartree (forces Hartree/Å)
CISD excitation energy, correlation_energyHartree (energy_ev is eV)
EHT gradients, optimize_geometry_eht energyeV, eV/Å
optimize_framework energy and forceseV, eV/Å
Vibrational frequencies, IR wavenumberscm⁻¹
NMR chemical shifts and shieldingsppm
NMR J-couplingsHz
Dipole momentDebye
Partial chargeselementary charge (e)
Electrostatic potentialHartree/e
DOS / PDOS1/eV
Surface areaŲ
MD energieskcal/mol; times in fs; temperatures in K
Pressurebar

Energies are always total system energies unless the field name says otherwise.

Surface rules ​

  • Rust returns native structs and Result<_, SciFormError> from the root API; module-level legacy helpers may still return String and convert at the boundary
  • Python returns PyO3 wrapper classes with attribute access, and exposes __all__ and __version__
  • WASM uses JSON strings for structured inputs/outputs, with typed-array fast paths for selected operations; a failure is always the JSON payload {"error": "<message>"}
  • CLI exposes a subset of stable workflows as commands

Stability model ​

  • Stable/default: part of the ordinary build and intended for production usage
  • Feature-gated experimental: only available when the corresponding feature is enabled
  • Surface-limited: exposed only on one or more surfaces, not necessarily on all four

Support Summary by Surface ​

SurfaceStatusNotes
Rust coreFullest public surfaceIncludes advanced functions not mirrored everywhere else
PythonBroad high-level surfaceClosely mirrors stable Rust workflows with Pythonic wrappers
WASM / TypeScriptBroad browser-friendly surfaceJSON-based API plus typed arrays for performance-critical paths
CLICurated operational subsetFocused on common workflows, not the full scientific surface

Function Catalog by Domain ​

The tables below are organized function-by-function by domain. A dash means the function is not directly exposed on that surface.

The canonical name of a capability is the Rust root function name, and it is the same on all four surfaces. The Deprecated Python alias column lists the old Python spelling, which still works but emits a DeprecationWarning and will be removed in sci-form 2.0.

1. Geometry, Parsing, and Canonicalization ​

RustPythonDeprecated Python aliasWASMCLIPurposeAlgorithmic basis
versionversion–versioninfoLibrary/build version and platform infoMetadata only
embedembed–embed / embed_seed64embedSingle conformer generation from SMILESETKDGv2 distance geometry + refinement
embed_batchembed_batch–embed_batch / embed_batch_seed64batchBatch conformer generationETKDGv2 + rayon parallelization
embed_diverseembed_diverse–embed_diverseembed-diverseMultiple embeddings filtered by diversityETKDGv2 + Butina RMSD clustering
–embed_coords_into–embed_coords / embed_coords_typed (+ _seed64)–Coordinates without copying into a caller-owned bufferZero-copy transfer path
parseparse–parse_smilesparseParse SMILES into graph/topology without 3DSMILES parsing + graph construction
to_canonical_smilesto_canonical_smiles–to_canonical_smilescanonical-smilesCanonicalize a SMILES representationCanonical graph traversal / ordering
compute_rmsdcompute_rmsdrmsdcompute_rmsdrmsdRMSD after optimal superpositionKabsch alignment

Practical note:

  • embed always returns a result object in Rust/Python/WASM. Failure is expressed in the error field rather than by panicking.
  • The WASM seed-taking entry points come in pairs: the 32-bit form and a *_seed64 form that takes a JavaScript BigInt for the full 64-bit range.

2. Support Planning and Method Routing ​

RustPythonDeprecated Python aliasWASMCLIPurposeAlgorithmic basis
eht_supporteht_support–eht_support / get_eht_support–Check EHT applicability for a given element setElement support table + confidence model
system_capabilitiessystem_capabilities–system_capabilities / get_system_capabilities–Report what core workflows are usable for an element setCapability aggregation
system_method_plansystem_method_plan–system_method_plan / get_system_method_plan–Recommend method/fallback by property domainHeuristic planner
compute_eht_or_uff_fallbackcompute_eht_or_uff_fallbackeht_or_uff_fallbackcompute_eht_or_uff_fallback / eht_or_uff_fallback–Use EHT when supported, else UFF fallbackSupport-aware workflow routing
compare_methodscompare_methods–compare_methods–Compare method availability/resultsStructured multi-method comparison

3. Charges, Surface, Population, Electrostatics, and DOS ​

RustPythonDeprecated Python aliasWASMCLIPurposeAlgorithmic basis
compute_chargescompute_chargeschargescompute_chargeschargesGasteiger-Marsili partial chargesElectronegativity equalization
compute_charges_configuredcompute_charges_configured–compute_charges_configuredcharges-configuredTunable Gasteiger-Marsili calculationSame model, configurable damping/iterations
compute_sasacompute_sasasasacompute_sasasasaSolvent-accessible surface areaShrake-Rupley + Fibonacci sphere
compute_populationcompute_populationpopulationcompute_populationpopulationMulliken/Löwdin population analysisEHT + overlap-based charge partitioning
compute_dipolecompute_dipoledipolecompute_dipoledipoleMolecular dipole momentEHT-derived electronic distribution
compute_esp_gridcompute_esp_gridcompute_esp / espcompute_esp_gridespElectrostatic potential on a 3D gridCoulomb grid from atomic charges
–compute_esp_grid_into–compute_esp_grid_typed / compute_esp_grid_info–ESP grid without copying into a caller-owned bufferZero-copy transfer path
compute_doscompute_dosdoscompute_dosdosDensity of states curveGaussian broadening over orbital energies
compute_dos_multimethodcompute_dos_multimethod–compute_dos_multimethoddos-multimethodDOS from the orbital energies of a chosen methodGaussian broadening over method-specific orbital energies
compute_bond_orderscompute_bond_ordersbond_orderscompute_bond_orders–Wiberg-like and Mayer-like bond ordersEHT density/overlap analysis
compute_frontier_descriptorscompute_frontier_descriptorsfrontier_descriptorscompute_frontier_descriptors–Atom-resolved HOMO/LUMO descriptorsEHT MO contributions
compute_fukui_descriptorscompute_fukui_descriptorsfukui_descriptorscompute_fukui_descriptors–Condensed Fukui descriptorsFrontier orbital-based reactivity workflow
compute_reactivity_rankingcompute_reactivity_rankingreactivity_rankingcompute_reactivity_ranking–Rank reactive sitesFukui + Mulliken hybrid heuristic
compute_uv_vis_spectrumcompute_uv_vis_spectrumuvvis_spectrumcompute_uv_vis_spectrum–Low-cost exploratory UV-Vis-like spectrumEHT transition approximation

4. Force Fields and Heuristic Energy Models ​

RustPythonDeprecated Python aliasWASMCLIPurposeAlgorithmic basis
compute_uff_energycompute_uff_energyuff_energycompute_uff_energyuffUFF energy evaluationUniversal Force Field
compute_uff_energy_with_aromatic_heuristicscompute_uff_energy_with_aromatic_heuristicsuff_energy_with_aromatic_heuristicscompute_uff_energy_with_aromatic_heuristics–UFF with aromaticity-informed correctionUFF + aromatic post-correction
compute_mmff94_energycompute_mmff94_energymmff94_energycompute_mmff94_energy–Complete MMFF94 energy evaluationHalgren MMFF94: stretch, bend, stretch-bend, OOP, torsion, vdW, Coulomb
compute_empirical_pkacompute_empirical_pkaempirical_pkacompute_empirical_pka–Estimate acidic/basic pKa sitesGraph environment + charge heuristics
compute_uff_energy_breakdowncompute_uff_energy_breakdown–compute_uff_energy_breakdownuff-breakdownUFF energy split by term typeBond/angle/torsion/vdw decomposition
compute_mmff94_energy_breakdowncompute_mmff94_energy_breakdown–compute_mmff94_energy_breakdownmmff94-breakdownMMFF94 energy split by term typebond/angle/stretch_bend/oop/torsion/vdw/electrostatic

5. Semiempirical, Tight-Binding, Ab Initio, and Neural Potentials ​

RustPythonDeprecated Python aliasWASMCLIPurposeAlgorithmic basis
compute_pm3compute_pm3pm3_calculatecompute_pm3pm3PM3 semiempirical SCFNDDO PM3
compute_pm3_gradientcompute_pm3_gradient–compute_pm3_gradientpm3-gradientPM3 gradientsStationary-density (Pulay-free): fixed-density integral rebuilds, no SCF per displacement
compute_xtbcompute_xtbxtb_calculatecompute_xtbxtbGFN2-xTB tight-binding (identical to compute_gfn2)SCC tight-binding with multipole electrostatics and D4
compute_gfn1compute_gfn1gfn1_calculatecompute_gfn1gfn1GFN1-xTB workflow with shell charges and D3-style dispersionShell-resolved SCC tight-binding
compute_gfn2compute_gfn2gfn2_calculatecompute_gfn2gfn2GFN2-xTB workflow with multipoles, D4-style dispersion, and XB correctionMultipole SCC tight-binding
compute_xtb_gradientcompute_xtb_gradient–compute_xtb_gradientxtb-gradientxTB gradientsWarm-started central differences of the GFN2-xTB energy (consistent with compute_xtb)
compute_hf3ccompute_hf3chf3c_calculatecompute_hf3c / compute_hf3c_customhf3cHF-3c quantum workflowHF + D3 + gCP + SRB
compute_anicompute_aniani_calculatecompute_anianiANI neural potential using available test/default modelsAtomic environment vectors + feed-forward NN
compute_ani_with_models––––ANI with explicit models/config (Rust only: the ANI networks are Rust objects)Same ANI formalism with custom weights
hf::cisd::compute_cisdcompute_cisd–compute_cisdcisdCISD excited states from an internal STO-3G RHFConfiguration interaction with singles and doubles
compute_uhfcompute_uhf–compute_uhfuhfUnrestricted Hartree-Fock for open-shell systemsUHF SCF with alpha/beta orbitals
compute_rohfcompute_rohf–compute_rohfrohfRestricted open-shell Hartree-FockROHF SCF with canonical projection
eht::compute_eht_gradientcompute_eht_gradient–compute_eht_gradienteht-gradientEHT energy-surface gradientsCentral finite differences on the EHT surface
eht::optimize_geometry_ehtoptimize_geometry_eht–optimize_geometry_ehtoptimize-geometry-ehtGeometry optimization on the EHT surfaceShared BFGS engine
ani::compute_aevs_tmcompute_aevs_tm–compute_aevs_tmaevs-tmANI-TM atomic environment vectors (extended element set)ANI-TM symmetry functions
eht::solve_ehtsolve_ehteht_calculatesolve_eht / eht_calculateehtExtended-Hückel single pointWolfsberg-Helmholtz Hamiltonian + Löwdin

6. Spectroscopy and Orbital Visualization ​

RustPythonDeprecated Python aliasWASMCLIPurposeAlgorithmic basis
compute_stda_uvviscompute_stda_uvvisstda_uvviscompute_stda_uvvis–UV-Vis spectrum with oscillator strengthssTDA-style transition workflow
compute_fluorescencecompute_fluorescencefluorescence_spectrumcompute_fluorescence–Fluorescence band, radiative rate and lifetimeSame sTDA singlets as absorption
compute_vibrational_analysiscompute_vibrational_analysisvibrational_analysiscompute_vibrational_analysis–Vibrational frequencies, modes, IR intensitiesNumerical Hessian
compute_vibrational_analysis_uff––compute_vibrational_analysis_uff–UFF-based vibrational workflowGradient-difference Hessian
compute_ir_spectrumcompute_ir_spectrumir_spectrumcompute_ir_spectrum–Broadened IR spectrum from a vibrational analysisLorentzian broadening
compute_ir_spectrum_broadenedcompute_ir_spectrum_broadened–compute_ir_spectrum_broadenedir-spectrum-broadenedIR with selectable broadening typeGaussian or Lorentzian broadening
ir::assign_peaksassign_peaks–assign_peaksassign-peaksAssign IR peaks to functional groupsGroup-frequency tables
predict_nmr_shiftspredict_nmr_shiftsnmr_shiftspredict_nmr_shifts–Chemical shift predictionHOSE/environment heuristics
predict_nmr_shifts_for_nucleuspredict_nmr_shifts_for_nucleusnmr_shifts_for_nucleuspredict_nmr_shifts_for_nucleus–Shifts for one requested nucleusHOSE/environment heuristics
predict_nmr_shifts_with_hose_database––––Shifts with an external NMRShiftDB2/SDBS HOSE databaseLongest-prefix HOSE lookup overrides 1H/13C
predict_nmr_couplingspredict_nmr_couplingsnmr_couplingspredict_nmr_couplings–J-coupling predictionKarplus + topological heuristics
compute_ensemble_j_couplingscompute_ensemble_j_couplings–compute_ensemble_j_couplingsensemble-j-couplingsBoltzmann-averaged J-couplings across conformersEnsemble averaging
compute_nmr_spectrumcompute_nmr_spectrumnmr_spectrumcompute_nmr_spectrum / compute_nmr_spectrum_with_coords–Full synthetic NMR spectrumShift prediction + coupling model + line broadening
compute_giao_nmrcompute_giao_nmrgiao_nmrcompute_giao_nmr–SCF-backed GIAO chemical shiftsRHF/GIAO on STO-3G
compute_hose_codescompute_hose_codeshose_codescompute_hose_codes–Generate HOSE codes per atomSphere-of-environment graph encoding
compute_orbital_meshcompute_orbital_meshorbital_meshcompute_orbital_mesh–Isosurface mesh for orbitalsGrid evaluation + marching cubes
mesh::eht_orbital_mesheht_orbital_mesh–eht_orbital_mesh–EHT-specific orbital isosurfaceSame marching-cubes family
–––eht_orbital_grid_typed–EHT orbital grid as typed array3D volumetric evaluation
–––eht_orbital_grid_from_coefficients_typed–Orbital grid from supplied MO coefficients3D volumetric evaluation
–––eht_volumetric_grid_info–Metadata for EHT volumetric gridsGrid bookkeeping

7. Topology, Graph Analysis, and ML Properties ​

RustPythonDeprecated Python aliasWASMCLIPurposeAlgorithmic basis
compute_topologycompute_topologytopology_analysiscompute_topology–Coordination/topology analysis for structuresGeometric coordination heuristics
analyze_graph_featuresanalyze_graph_featuresgraph_featuresanalyze_graph_features–Aromaticity and stereotag graph analysisGraph traversal and aromatic bond tagging
compute_ml_descriptorscompute_ml_descriptorsml_descriptorscompute_ml_descriptors / compute_molecular_descriptors–Molecular descriptor generationTopological descriptor extraction
predict_ml_propertiespredict_ml_propertiesml_predictpredict_ml_properties / compute_ml_properties–Property prediction from descriptorsProxy ML models
predict_ensemblepredict_ensemble–predict_ensembleensembleEnsemble property prediction with confidenceMulti-model aggregation
ml::compute_whimcompute_whim–compute_whimwhimWHIM 3D molecular descriptorsWHIM projection + weighting
ml::compute_rdfcompute_rdf–compute_rdfrdfRadial distribution function descriptorsCharge-weighted radial histograms
ml::compute_getawaycompute_getaway–compute_getawaygetawayGETAWAY 3D molecular descriptorsAtom-distance autocorrelations
ml::train_random_foresttrain_random_forest–train_random_foresttrain-random-forestTrain a Random Forest regressorBootstrap bagging on decision trees
ml::train_gradient_boostingtrain_gradient_boosting–train_gradient_boostingtrain-gradient-boostingTrain a Gradient Boosting regressorAdditive boosting on shallow trees
compute_tpsacompute_tpsa–compute_tpsatpsaTopological polar surface areaFragment-based TPSA heuristic

8. Dynamics, Conformer Search, and Path Sampling ​

RustPythonDeprecated Python aliasWASMCLIPurposeAlgorithmic basis
compute_md_trajectorycompute_md_trajectorymd_trajectorycompute_md_trajectory / compute_md_trajectory_seed64–Short exploratory MDVelocity Verlet
compute_md_trajectory_nvtcompute_md_trajectory_nvtmd_trajectory_nvtcompute_md_trajectory_nvt / compute_md_trajectory_nvt_seed64–MD with thermostatVelocity Verlet + Berendsen NVT
compute_simplified_neb_pathcompute_simplified_neb_pathsimplified_neb_pathcompute_simplified_neb_path / compute_neb_path_with_methodsimplified-neb-pathApproximate reaction path between geometriesSimplified NEB
neb_backend_energy_kcal / neb_backend_energy_and_gradient––neb_single_point_energy / neb_energy_and_gradientneb-energy / neb-gradientSingle-point energy and gradient for any NEB backendBackend dispatch over UFF/PM3/xTB/HF-3c
search_conformers_with_uffsearch_conformers_with_uffsearch_conformerssearch_conformers_with_uff / search_conformers_with_uff_seed64–UFF-ranked conformer explorationMulti-seed embedding + UFF scoring + clustering
compute_reaction_dynamics––compute_reaction_dynamics–2D reaction-coordinate energy profileNEB along a 1D coordinate
alpha::reaction_dynamics::compute_reaction_dynamics_3d––––3D reaction path (Rust core only, not bound)Fragment embedding + IDPP + climbing-image NEB
alpha::reaction_dynamics::compute_approach_dynamics––––Approach frames of a 3D reaction path (Rust core only)Fragment embedding + orbital-guided approach

9. Materials, Periodic Systems, and Framework Construction ​

RustPythonDeprecated Python aliasWASMCLIPurposeAlgorithmic basis
create_unit_cellcreate_unit_cellunit_cellcreate_unit_cellcellBuild a unit cell from lattice parametersCrystallographic cell tensor construction
assemble_frameworkassemble_framework–assemble_frameworkassembleAssemble framework structures from topology/SBUsTopology-guided framework assembly
assemble_framework_with_linkers––––Assemble with one linker per inequivalent edge typeTopology::edge_types dispatch
materials::Topology::from_net––––Convert an RCSR NetData into a symmetry-expanded assembly graphpormake .cgd expansion
kmesh::kpath_standardcompute_kpoint_path_chart–alpha_periodic_kpath_standardkpoint-path-chartSample the default Γ→X→M→Γ k-pathLinear interpolation + cumulative distance
kmesh::fermi_surface_from_bandscompute_fermi_surface_chart–alpha_periodic_fermi_surface_from_bandsfermi-surface-chartTrace the Fermi contour in the kz = 0 planeBloch Hamiltonian + bisection
materials::space_groups::space_group_by_numberspace_group_by_number–space_group_by_numberspace-group --numberLook up a space group by ITC numberCrystallographic space-group table
materials::space_groups::space_group_by_symbolspace_group_by_symbol–space_group_by_symbolspace-group --symbolLook up a space group by Hermann-Mauguin symbolCrystallographic space-group table
materials::space_groups::all_space_groupsall_space_groups–all_space_groupsall-space-groupsList all 230 space groupsCrystallographic space-group table
periodic::build_periodic_moleculebuild_periodic_molecule–build_periodic_moleculeperiodic-moleculeBuild a periodic molecular graphFractional-coordinate periodic bonding
periodic::detect_hapticitydetect_hapticity–detect_hapticityhapticityDetect haptic metal-ring interactionsRing-membership eta counting
materials::geometry_opt::optimize_frameworkoptimize_framework–optimize_frameworkoptimize-frameworkOptimize a geometry with the shared BFGS engineBFGS on the UFF surface
parse_cifparse_cif–parse_cifparse-cifRead a CIF file into a crystal structureCIF 1.1 tag parser
write_cifwrite_cif–write_cifwrite-cifWrite a crystal structure as a CIF fileCIF 1.1 writer

10. Stereochemistry, Solvation, Rings, Fingerprints, and Clustering ​

RustPythonDeprecated Python aliasWASMCLIPurposeAlgorithmic basis
analyze_stereoanalyze_stereostereo_analysisanalyze_stereostereoR/S and E/Z assignmentCIP priority workflow + geometry checks
compute_nonpolar_solvationcompute_nonpolar_solvationnonpolar_solvationcompute_nonpolar_solvationsolvationNon-polar solvation energySASA + atomic solvation parameters
compute_gb_solvationcompute_gb_solvationgb_solvationcompute_gb_solvationsolvation --charges ...Electrostatic + nonpolar solvationHCT-style Generalized Born
compute_sssrcompute_sssrsssrcompute_sssrsssrSmallest set of smallest ringsHorton-style ring perception
compute_ecfpcompute_ecfpecfpcompute_ecfpecfpMorgan/ECFP fingerprintCircular neighborhood hashing
compute_ecfp_batchcompute_ecfp_batch–compute_ecfp_batchecfp-batchBatch ECFP generationSame Morgan/ECFP workflow
compute_tanimotocompute_tanimototanimotocompute_tanimototanimotoSimilarity between fingerprintsTanimoto coefficient
butina_clusterbutina_cluster–butina_cluster–Conformer clusteringTaylor-Butina clustering
compute_rmsd_matrixcompute_rmsd_matrixrmsd_matrixcompute_rmsd_matrix–Pairwise RMSD matrixRepeated alignment metric
clustering::filter_diverse_conformersfilter_diverse–filter_diversefilter-diverseKeep only diverse conformersDiversity filtering over Butina clusters

11. Transport and Batch-Oriented Helpers ​

RustPythonDeprecated Python aliasWASMCLIPurposeAlgorithmic basis
transport::pack_conformerspack_conformers–pack_conformers / pack_batch_arrow–Columnar transport of conformer resultsArrow-like packing
transport::split_worker_taskssplit_worker_tasks–split_worker_tasks / split_worker_tasks_seed64–Split work for worker poolsChunked task partitioning
transport::estimate_workersestimate_workers–estimate_workers–Estimate worker count for batch sizeHeuristic load balancing

12. SMIRKS ​

RustPythonDeprecated Python aliasWASMCLIPurposeAlgorithmic basis
smirks::parse_smirksparse_smirks–parse_smirks–Parse a SMIRKS reaction stringSMIRKS grammar
smirks::apply_smirksapply_smirks–apply_smirks–Apply a SMIRKS transform to a moleculeSubstructure matching + transform

CLI Coverage ​

The CLI is a curated subset intended for common user workflows rather than total feature parity.

Stable CLI commands ​

The CLI exposes 102 subcommands in total; 69 are always built and 33 are feature-gated. The exhaustive reference is docs/api/cli.md.

  • embed, batch, parse, info
  • eht, eht-gradient, optimize-geometry-eht
  • charges, charges-configured, sasa, solvation, eeq
  • population, dipole, esp, dos, dos-multimethod
  • pm3, xtb, gfn1, gfn2, hf3c, cisd, ani, aevs-tm
  • uff, optimize-framework
  • stereo, sssr, ecfp, ecfp-batch, tanimoto, rmsd
  • canonical-smiles, embed-diverse, filter-diverse
  • ir-spectrum-broadened, assign-peaks, ensemble-j-couplings
  • whim, rdf, getaway, train-random-forest, train-gradient-boosting
  • cell, assemble, space-group, all-space-groups, periodic-molecule, hapticity
  • simplified-neb-path, neb-energy, neb-gradient
  • chart-to-json, chart-from-json, validate-chart-schema
  • uhf, rohf, pm3-gradient, xtb-gradient
  • uff-breakdown, mmff94-breakdown, tpsa, ensemble
  • parse-cif, write-cif

CLI commands with historical feature labels ​

The Rust modules behind these wrappers are core (CGA, SDR, EDL, GSM, KPM, CPM, RandNLA, Riemannian, kinetics, periodic adapters, render bridge). The CLI wrapper still needs the historical flag; MBH, DFT, MLFF and reaction dynamics remain genuinely gated.

  • alpb behind experimental-alpb
  • d4 behind experimental-d4
  • cpm behind experimental-cpm
  • gsm-backend-plan, gsm-compare-backends behind alpha-gsm
  • edl-profile, edl-capacitance-scan, edl-helmholtz, edl-gouy-chapman, edl-gcs behind alpha-edl
  • htst-rate, extract-kinetics-diagnostics, solve-microkinetic-network, solve-microkinetic-steady-state, analyze-gsm-mbh-htst-step behind alpha-kinetics
  • kmesh, compute-periodic-dos, solve-periodic-randnla, bloch-phase, build-bloch-hamiltonian, assemble-periodic-operators, validate-electron-count behind alpha-periodic-linear
  • edl-chart, capacitance-chart, arrhenius-chart, thermal-prop-chart, phase-portrait-chart, band-structure-chart, dos-chart, kpoint-path-chart, fermi-surface-chart, trajectory-chart, reaction-coordinate-chart behind alpha-render-bridge (each also needs the matching domain feature)

Algorithm-by-Algorithm Guide ​

This section explains the supported algorithms at a practical and theoretical level and connects each one to the exposed API.

SMILES Parsing and Molecular Graph Construction ​

Core idea:

  • Parse SMILES into a graph with atoms, bonds, formal charges, aromaticity, and stereotags.

Main API entries:

  • Rust: parse, to_canonical_smiles, analyze_graph_features
  • Python: parse, analyze_graph_features
  • WASM: parse_smiles, analyze_graph_features
  • CLI: parse

Related theory docs:

  • /algorithm/smiles-parsing
  • /algorithm/smarts-matching

Related SVGs:

  • /svg/smiles-pipeline.svg
  • /svg/smiles-phenol.svg
  • /svg/smarts-pattern.svg

ETKDGv2 Conformer Generation ​

Core idea:

  • Build a bounds matrix from graph topology, smooth it, sample distances, embed coordinates, then refine with ETKDG/UFF-like corrections and validation.

Main API entries:

  • Rust: embed, embed_batch, embed_diverse
  • Python: embed, embed_batch
  • WASM: embed, embed_coords, embed_coords_typed, embed_batch
  • CLI: embed, batch

Key sub-algorithms:

  1. SMILES-to-graph parsing
  2. Bounds-matrix construction for 1-2, 1-3, 1-4, and nonbonded pairs
  3. Floyd-Warshall-style triangle smoothing
  4. Distance geometry via metric matrix and eigendecomposition
  5. BFGS-style bounds violation minimization
  6. ETKDG torsion refinement and stereochemical validation
  7. Retry loop with fallback placement when needed

Related theory docs:

  • /algorithm/overview
  • /algorithm/bounds-matrix
  • /algorithm/distance-geometry
  • /algorithm/embedding
  • /algorithm/etkdg-refinement
  • /algorithm/validation

Related SVGs:

  • /svg/pipeline-overview.svg
  • /svg/etkdg-pipeline.svg
  • /svg/bounds-matrix-overview.svg
  • /svg/bounds-matrix-1-4.svg
  • /svg/bounds-matrix-triangle.svg
  • /svg/distance-geometry-pipeline.svg
  • /svg/distance-geometry-matrix.svg
  • /svg/embedding-eigendecomp.svg
  • /svg/etkdg-torsion.svg
  • /svg/validation-pipeline.svg
  • /svg/validation-tetrahedral.svg
  • /svg/validation-double-bond.svg

Gasteiger-Marsili Charges ​

Core idea:

  • Iteratively equalize electronegativities across the graph using topology and formal charges, without a quantum calculation.

Main API entries:

  • Rust: compute_charges, compute_charges_configured
  • Python: compute_charges
  • WASM: compute_charges
  • CLI: charges

Related theory docs:

  • /algorithm/population-analysis

Related SVGs:

  • /svg/population-mulliken.svg
  • /svg/population-lowdin.svg

Extended Hückel Theory (EHT) ​

Core idea:

  • Build a minimal STO-3G-like basis, compute overlap, assemble a Wolfsberg-Helmholtz Hamiltonian, apply Löwdin orthogonalization, diagonalize, and populate orbitals.

Main API entries:

  • Rust: eht_support, compute_population, compute_dipole, compute_frontier_descriptors, compute_fukui_descriptors, compute_reactivity_ranking, compute_uv_vis_spectrum, compute_bond_orders, compute_esp, compute_dos
  • Python: solve_eht, eht_support, compute_eht_or_uff_fallback, compute_population, compute_dipole, compute_bond_orders, compute_frontier_descriptors
  • WASM: solve_eht, eht_support, compute_eht_or_uff_fallback, compute_population, compute_dipole, compute_bond_orders, compute_dos
  • CLI: eht, population, dipole, dos, esp

Why it matters in sci-form:

  • EHT is the gateway calculation behind multiple “derived” properties.

Related theory docs:

  • /algorithm/extended-huckel-theory
  • /algorithm/population-analysis
  • /algorithm/dipole-moments
  • /algorithm/density-of-states
  • /algorithm/electrostatic-potential

Related SVGs:

  • /svg/eht-pipeline.svg
  • /svg/population-mulliken.svg
  • /svg/population-lowdin.svg
  • /svg/dipole-vector.svg
  • /svg/esp-grid.svg
  • /svg/dos-smearing.svg

Orbital Grids and Isosurfaces ​

Core idea:

  • Evaluate orbital amplitudes on a 3D grid and convert scalar fields to a mesh with marching cubes.

Main API entries:

  • Rust: compute_orbital_mesh
  • Python: eht_orbital_mesh, compute_orbital_mesh
  • WASM: eht_orbital_mesh, eht_orbital_grid_typed, eht_orbital_grid_from_coefficients_typed, compute_orbital_mesh

Related theory docs:

  • /algorithm/extended-huckel-theory

Related SVGs:

  • /svg/eht-pipeline.svg
  • /svg/embedding-eigendecomp.svg

Force Fields: UFF and MMFF94 ​

Core idea:

  • Model molecular strain energy using bonded and nonbonded terms; UFF emphasizes broad element coverage, MMFF94 emphasizes medicinal-chemistry fidelity.

Main API entries:

  • Rust: compute_uff_energy, compute_uff_energy_with_aromatic_heuristics, compute_mmff94_energy
  • Python: compute_uff_energy, compute_uff_energy_with_aromatic_heuristics, compute_mmff94_energy
  • WASM: same names with compute_...
  • CLI: uff

Related theory docs:

  • /algorithm/force-fields
  • /algorithm/strain-energy

Related SVGs:

  • /svg/force-fields-overview.svg
  • /svg/force-fields-torsion.svg
  • /svg/uff-energy-terms.svg
  • /svg/mmff94-energy-terms.svg

PM3 and xTB ​

Core idea:

  • PM3 uses NDDO semiempirical SCF; xTB uses self-consistent charge tight binding for faster approximate electronic structure.

Main API entries:

  • Rust: compute_pm3, compute_pm3_gradient, compute_xtb, xtb::solve_gfn1, xtb::solve_gfn2, compute_xtb_gradient
  • Python: compute_pm3, compute_xtb, compute_gfn1, compute_gfn2
  • WASM: compute_pm3, compute_xtb, compute_gfn1, compute_gfn2
  • CLI: pm3, xtb, gfn1, gfn2, hf3c

Related theory docs:

  • currently summarized from source and repo-level docs; no dedicated standalone algorithm page yet in docs/algorithm/

Related SVGs:

  • /svg/spectroscopy-overview.svg

HF-3c ​

Core idea:

  • Minimal-basis Hartree-Fock corrected by D3, gCP, and short-range basis corrections for an efficient ab initio-like workflow.

Main API entries:

  • Rust: compute_hf3c
  • Python: compute_hf3c
  • WASM: compute_hf3c, compute_hf3c_custom
  • CLI: hf3c

Related theory docs:

  • /algorithm/hf3c-quantum-engine

Related SVGs:

  • /svg/hf3c-architecture.svg

ANI Neural Potentials ​

Core idea:

  • Convert local atomic environments into AEV features and predict energies and forces with neural networks.

Main API entries:

  • Rust: compute_ani, compute_ani_with_models
  • Python: compute_ani
  • WASM: compute_ani
  • CLI: ani

Related theory docs:

  • /algorithm/machine-learning-potentials

Related SVGs:

  • /svg/ani-architecture.svg

UV-Vis, IR, and NMR Spectroscopy ​

Core idea:

  • UV-Vis: electronic transitions with broadening
  • IR: vibrational frequencies and intensities from Hessian workflows
  • NMR: chemically informed shift predictions, J-coupling estimation, and synthetic line broadening

Main API entries:

  • UV-Vis: compute_uv_vis_spectrum, compute_stda_uvvis, compute_uv_vis_spectrum, compute_stda_uvvis, compute_uv_vis_spectrum, compute_stda_uvvis
  • IR: compute_vibrational_analysis, compute_vibrational_analysis_uff, compute_ir_spectrum, compute_ir_spectrum_broadened, compute_vibrational_analysis, compute_ir_spectrum, compute_vibrational_analysis, compute_ir_spectrum
  • NMR: predict_nmr_shifts, predict_nmr_couplings, compute_nmr_spectrum, compute_hose_codes, compute_ensemble_j_couplings, predict_nmr_shifts, predict_nmr_couplings, compute_nmr_spectrum, compute_hose_codes, predict_nmr_shifts, predict_nmr_couplings, compute_nmr_spectrum, compute_hose_codes

Related theory docs:

  • /algorithm/uvvis-spectroscopy
  • /algorithm/ir-spectroscopy
  • /algorithm/nmr-spectroscopy

Related SVGs:

  • /svg/uvvis-stda-pipeline.svg
  • /svg/ir-hessian-pipeline.svg
  • /svg/nmr-pipeline.svg
  • /svg/nmr-karplus.svg
  • /svg/broadening-functions.svg
  • /svg/spectroscopy-overview.svg

Reactivity, pKa, and Site Ranking ​

Core idea:

  • Build practical reactivity heuristics by combining frontier orbital content, Fukui-style condensed descriptors, and charge-based empirical rules.

Main API entries:

  • Rust: compute_frontier_descriptors, compute_fukui_descriptors, compute_reactivity_ranking, compute_empirical_pka
  • Python: compute_frontier_descriptors, compute_fukui_descriptors, compute_reactivity_ranking, compute_empirical_pka
  • WASM: same compute_... names

Related theory docs:

  • /algorithm/population-analysis
  • /algorithm/uvvis-spectroscopy for transition-oriented electronic descriptors where relevant

Related SVGs:

  • /svg/population-mulliken.svg
  • /svg/population-lowdin.svg

Alignment, RMSD, and Clustering ​

Core idea:

  • Align structures optimally in Cartesian space, quantify RMSD, then cluster ensembles by geometric similarity.

Main API entries:

  • Rust: compute_rmsd, butina_cluster, compute_rmsd_matrix, embed_diverse
  • Python: compute_rmsd, butina_cluster, compute_rmsd_matrix, filter_diverse
  • WASM: compute_rmsd, butina_cluster, compute_rmsd_matrix
  • CLI: rmsd

Related theory docs:

  • /algorithm/molecular-alignment

Related SVGs:

  • /svg/kabsch-alignment.svg
  • /svg/benchmarks-rmsd.svg

Solvation ​

Core idea:

  • Non-polar solvation uses SASA and atomic solvation parameters; GB adds an electrostatic implicit-solvent approximation.

Main API entries:

  • Rust: compute_nonpolar_solvation, compute_gb_solvation
  • Python: compute_nonpolar_solvation, compute_gb_solvation
  • WASM: compute_nonpolar_solvation, compute_gb_solvation
  • CLI: solvation

Related theory docs:

  • /algorithm/electrostatic-potential

Related SVGs:

  • /svg/experimental-alpb.svg

Rings, Fingerprints, and Similarity ​

Core idea:

  • Detect rings from graph structure, build circular fingerprints from local environments, and compare them by Tanimoto overlap.

Main API entries:

  • Rust: compute_sssr, compute_ecfp, compute_ecfp_batch, compute_tanimoto
  • Python: compute_sssr, compute_ecfp, compute_tanimoto
  • WASM: compute_sssr, compute_ecfp, compute_tanimoto
  • CLI: sssr, ecfp, tanimoto

Related theory docs:

  • ring and fingerprint behavior is currently summarized through API docs and examples more than a dedicated algorithm page

Related SVGs:

  • /svg/smarts-pattern.svg

Materials, Crystallography, and Framework Assembly ​

Core idea:

  • Map cell parameters to lattice tensors and place node/linker building units on topology templates to assemble periodic frameworks.
  • Topology::from_name accepts both the built-in homogeneous nets and the data-driven RCSR nets; nets with inequivalent edges select a linker per edge_types entry.

Main API entries:

  • Rust: create_unit_cell, assemble_framework, assemble_framework_with_linkers
  • Python: create_unit_cell, assemble_framework
  • WASM: create_unit_cell, assemble_framework, alpha_periodic_kpath_standard, alpha_periodic_fermi_surface_from_bands
  • CLI: cell, assemble, kpoint-path-chart, fermi-surface-chart

Related theory docs:

  • /algorithm/materials-assembly

Related SVGs:

  • /svg/materials-unit-cell.svg
  • /svg/materials-assembly.svg

Dynamics, NEB, and Worker Transport ​

Core idea:

  • Provide exploratory simulation and scalable transport helpers for long or distributed workflows.

Main API entries:

  • Dynamics: compute_md_trajectory, compute_md_trajectory_nvt, compute_simplified_neb_path, search_conformers_with_uff
  • Transport: pack_conformers, pack_batch_arrow, split_worker_tasks, estimate_workers

Related theory docs:

  • /algorithm/web-transport

Related SVGs:

  • /svg/transport-arrow.svg
  • /svg/transport-chunked.svg

Experimental APIs ​

State note (2.0.0). The Rust implementations of CGA, SDR, EDL, GSM, KPM, CPM, RandNLA, Riemannian, kinetics, the periodic adapters and the render bridge are core. Some Python/WASM/CLI wrappers still carry the historical experimental-*, alpha-* or beta-* feature flag; the flag is a build choice, not a stability claim. MBH, DFT, MLFF and reaction dynamics remain gated.

The table records the binding or CLI feature that still exposes each entry point.

Experimental tracks and surfaces ​

CapabilityRust featurePythonWASMCLISVG
EEQ chargescore (alias experimental-eeq)compute_eeq_charges, compute_eeq_energy (aliases eeq_charges, eeq_energy)compute_eeq_charges, compute_eeq_energyeeq/svg/experimental-eeq.svg
ALPB solvationcore (alias experimental-alpb)compute_alpb_solvation, compute_alpb_born_radii (aliases alpb_solvation, alpb_born_radii)compute_alpb_solvation, compute_alpb_born_radiialpb/svg/experimental-alpb.svg
D4 dispersioncore (alias experimental-d4)compute_d4_energy (alias d4_energy)compute_d4_energyd4/svg/experimental-d4.svg
CPM electrochemistrycore (alias experimental-cpm)compute_cpm_charges, compute_cpm_surface (aliases cpm_charges, cpm_surface)compute_cpm_charges, compute_cpm_surfacecpm/svg/experimental-cpm.svg
CGAcore (alias experimental-cga)---/svg/experimental-cga.svg
RandNLAcore (alias experimental-randnla)---/svg/experimental-randnla.svg
Riemanniancore (alias experimental-riemannian)---/svg/experimental-riemannian.svg
KPMcore (alias experimental-kpm)---/svg/experimental-kpm.svg
SDRcore (alias experimental-sdr)---/svg/experimental-sdr.svg
MBHbeta-mbh (gated)---/svg/experimental-mbh.svg
GSMcore (alias experimental-gsm)---/svg/experimental-gsm.svg

Related theory docs:

  • /experimental/overview
  • /experimental/eeq
  • /experimental/alpb
  • /experimental/d4
  • /experimental/cpm
  • /experimental/cga
  • /experimental/randnla
  • /experimental/riemannian
  • /experimental/kpm
  • /experimental/sdr
  • /experimental/mbh
  • /experimental/gsm

SVG Inventory, Diagram by Diagram ​

This inventory is intended to support the “SVG by SVG” documentation pass. Every listed asset exists today in docs/public/svg/ unless otherwise noted.

Conformer generation and validation ​

SVGMeaning
pipeline-overview.svgGlobal end-to-end conformer pipeline
etkdg-pipeline.svgETKDG-specific stage breakdown
bounds-matrix-overview.svgBounds matrix concept and inputs
bounds-matrix-1-4.svg1-4 torsional distance constraints
bounds-matrix-triangle.svgTriangle inequality smoothing intuition
distance-geometry-pipeline.svgDistance geometry workflow
distance-geometry-matrix.svgMetric matrix / embedding matrix intuition
embedding-eigendecomp.svgCoordinate recovery from eigendecomposition
etkdg-torsion.svgTorsion preference refinement
validation-pipeline.svgPost-embedding validation stages
validation-tetrahedral.svgTetrahedral stereochemistry validation
validation-double-bond.svgE/Z and double-bond geometry validation

Graphs, SMARTS, and rings ​

SVGMeaning
smiles-pipeline.svgSMILES parsing workflow
smiles-phenol.svgExample parsed structure
smarts-pattern.svgSMARTS substructure pattern logic

EHT, population, dipole, ESP, DOS ​

SVGMeaning
eht-pipeline.svgEHT computational pipeline
population-mulliken.svgMulliken partitioning concept
population-lowdin.svgLöwdin orthogonalization / partitioning concept
dipole-vector.svgMolecular dipole vector interpretation
esp-grid.svgESP grid construction and interpretation
dos-smearing.svgGaussian smearing for DOS

Force fields and alignment ​

SVGMeaning
force-fields-overview.svgUFF/MMFF94 energy family overview
force-fields-torsion.svgTorsional term behavior
uff-energy-terms.svgUFF term decomposition
mmff94-energy-terms.svgMMFF94 term decomposition
kabsch-alignment.svgOptimal rigid alignment geometry

Spectroscopy ​

SVGMeaning
spectroscopy-overview.svgHigh-level spectroscopy stack overview
uvvis-stda-pipeline.svgUV-Vis / sTDA pipeline
ir-hessian-pipeline.svgIR and vibrational Hessian workflow
nmr-pipeline.svgNMR shift/spectrum workflow
nmr-karplus.svgKarplus relation for J-couplings
broadening-functions.svgGaussian vs Lorentzian broadening

Materials and transport ​

SVGMeaning
materials-unit-cell.svgUnit-cell geometry
materials-assembly.svgFramework assembly logic
transport-arrow.svgArrow-style columnar transport
transport-chunked.svgWorker/task chunking strategy

Benchmarks ​

SVGMeaning
benchmarks-rmsd.svgRMSD distribution versus RDKit
benchmarks-success.svgPer-category embed success (diverse set)
benchmarks-timing.svgMeasured embed time vs. molecule size

Experimental SVGs ​

SVGMeaning
experimental-eeq.svgEEQ model overview
experimental-alpb.svgALPB implicit solvation overview
experimental-d4.svgD4 dispersion workflow
experimental-cpm.svgConstant-potential method workflow
experimental-cga.svgCGA geometric algebra track
experimental-kpm.svgKernel Polynomial Method track
experimental-mbh.svgMobile Block Hessian track
experimental-randnla.svgRandomized linear algebra track
experimental-riemannian.svgRiemannian optimization track
experimental-sdr.svgSemidefinite relaxation track
experimental-gsm.svgGrowing String Method track

Root-level public SVGs ​

SVGMeaning
svg/ani-architecture.svgANI stack architecture
svg/hf3c-architecture.svgHF-3c stack architecture
logo.svgProject/site branding

Practical Usage Patterns ​

  1. embed a structure from SMILES
  2. Reuse elements and coords for all geometry-dependent workflows
  3. Choose the cheapest method that matches the property needed:
    • topology only: descriptors, ML properties, fingerprints, empirical pKa
    • fast electronic proxy: EHT-derived population/dipole/DOS/ESP
    • semiempirical SCF: PM3 or xTB
    • ab initio-like compact workflow: HF-3c
  4. Move to spectroscopy, solvation, or materials only after geometry is validated

Common mapping from user goal to API ​

GoalRecommended functions
Generate 3D coordinatesembed, embed_batch, embed_diverse
Get partial charges fastcompute_charges
Obtain quantum-like orbital descriptors cheaplycompute_population, compute_dipole, compute_dos, compute_esp
Estimate higher-fidelity electronic energiescompute_pm3, compute_xtb, compute_gfn1, compute_gfn2, compute_hf3c
Visualize orbitalscompute_orbital_mesh, eht_orbital_mesh, eht_orbital_grid_typed
Score conformers or geometry straincompute_uff_energy, compute_mmff94_energy
Analyze stereochemistryanalyze_stereo (Python) / analyze_stereo (WASM) / stereo (CLI)
Compare molecular similaritycompute_ecfp, compute_tanimoto
Cluster conformersbutina_cluster, compute_rmsd_matrix, filter_diverse

Documentation Gaps Still Visible After This Consolidation ​

This file is comprehensive for the exposed surface, but the repo still has some areas that would benefit from dedicated deep-dive pages:

  • PM3 theory and implementation notes
  • xTB theory and implementation notes
  • dedicated ring perception and fingerprint theory page
  • dedicated dynamics / NEB theory page
  • dedicated topology-analysis page for coordination environments
  • dedicated orbital-mesh page for cross-method visualization

Those gaps are now easier to fill because the public surface and the diagram inventory are consolidated here.

Released under the MIT License.