Skip to content

Computational chemistry

Computational chemistry results — method, basis set, and computed properties — in a structured syntax.

calc(method/basis){
property: value [units]
}
  • method — computational method (e.g. b3lyp, mp2, hf)
  • basis — basis set (e.g. 6-31G*, cc-pVTZ)
  • Each property line: title: value [units]
Source Rendered
calc(b3lyp/6-31G*){ energy: -234.5 Hartree dipole: [0.1, 0.2, 0.3] Debye }
calc [ b3lyp/6-31G* ] energy -234.5 Hartree dipole [0.1, 0.2,
Source Rendered
calc(hf/sto-3g){ energy: -76.0 Hartree HOMO: -0.5 Hartree LUMO: 0.2 Hartree }
calc [ hf/sto-3g ] energy -76.0 Hartree HOMO -0.5 Hartree LUMO 0.2 Hartree
FieldRequiredExample
titleyesenergy, dipole, HOMO
valueyes-234.5
unitsnoHartree, Debye, eV

Each property line must have a : separator. Malformed entries raise ParseError at parse time.

Emits as <molecule> with <propertyList> of <property> children:

<molecule title="b3lyp/6-31G*">
<propertyList>
<property title="energy">
<scalar units="Hartree">-234.5</scalar>
</property>
</propertyList>
</molecule>
Play