Skip to content

libqtaim 1.6.0

Choose a tag to compare

@ecbrown ecbrown released this 04 Dec 18:35
· 236 commits to master since this release
v1.6.0
11083e4

Warnings added after release (corrected 4 and 5 December 2026)

  • A symmetry check that samples only two points can give wrong atoms and report success (found after the release
    of 1.7.0, which has it too). The density is tested for symmetry at two points near the centre of the nuclei. For a
    symmetric nuclear frame with a less symmetric density, qtaim_integrate_basins and _flat can copy one atom onto
    another (two protons 20 bohr apart with the electron on one: 1 electron on each, with QTAIM_OK). The same check
    also sets mirror planes that the basin calls use, so QTAIM_SYM_C1 and the single-atom calls do not fully avoid
    the fault
    (correction of the workaround given earlier). There is no reliable workaround in 1.6.0 (1.7.1 turns the
    shortcuts off): do not rely on basin results when the density may be less symmetric than the nuclei (fields, core
    holes, broken-symmetry or charge-localised states).
  • qtaim_hermitian_eig and qtaim_quat_eig can lose an eigenvalue of a matrix with a repeated or nearly repeated
    eigenvalue and return QTAIM_OK
    (found after the release of 1.7.0, which has it too). In the BCC lithium crystal
    model this gives wrong cell populations with QTAIM_OK at some lattice constants and k grids (a = 5.74 bohr at nk 7:
    3.337 electrons per cell instead of 2.997, gcc). Fixed in 1.7.1.
  • The crystal constructors build the default cell (a = 6.597 or 7.716 bohr) in place of a lattice constant of at
    most 2 bohr (BCC Li) or 3 bohr (rock-salt LiH)
    , and qtaim_crystal_from_caveman does the same for cells of up to
    4 bohr³ (one atom) or 6.75 bohr³ (more atoms), a lattice of zero volume included. Above that they cut the lattice
    sums short up to a = 5.185449 bohr (BCC) and 6.350852 bohr (rock salt)
    , with QTAIM_OK: BCC a = 3.5 bohr at nk 3
    gives 4.1 to 4.5 electrons per cell instead of 3 and a torus Euler characteristic of -24. Also in 1.7.0; 1.7.1 refuses
    these constants and cells.
  • Rock-salt LiH above a = 22/√3 = 12.70 bohr: the 22-bohr lattice sums miss hydrogen images that the density needs,
    and basin populations are wrong with QTAIM_OK (a = 13, automatic grid: N(H) 1.23 with QTAIM_SYM_MAXIMAL and 1.91
    with QTAIM_SYM_C1, against 1.998 with the sums taken to 36 bohr). Also in 1.7.0, and still open in 1.7.1.

libqtaim 1.6.0. All 10 tests passed on the released library tree.

Changes

  • Basin integration follows every in-basin segment of each ray and places the surface accurately.
  • Corrected H2+/HD+ summit model; several quantities that were never derived are now reported as not-a-number.
  • Integrals: repairs (including a stack overflow and large-argument Boys function) and extensions; an optional libcint
    provider plugin, off by default.

Known issues

  • Do not load a four-component (spinor) .wfn or .wfx file: it is accepted and only the large component is returned,
    without an error.
  • The critical-point search can miss points (for example all four ring points of tetrahedrane); certified is a local
    sampled test, not a proof; rank decisions can depend on units.
  • Basin integration is slow and may not converge for some atoms (ethane carbon); error estimates are not bounds.
  • Density maxima away from nuclei get no basin from the standard entry points.
  • Localization and delocalization indices are not computed (placeholder fields).
  • Interaction energies (IQA) of open-shell wavefunctions reloaded from a .wfn or .wfx file are wrong: a
    closed-shell exchange formula is applied (reproduced: helium triplet off by 0.67 hartree, lithium doublet by 0.087).
  • Open-shell interaction energies from the geometry-only constructor (qtaim_wfn_from_caveman) are also wrong: no
    exchange is applied (helium triplet off by 1.35 hartree).
  • Basin populations of well-separated fragments can be badly wrong without any error (without IQA): two helium atoms
    34 bohr apart each integrate to 4 electrons, 8 in place of 4 in all; in a 6-31G test it begins between 10 and 12 bohr.
  • Truncated or incomplete .wfx files can load without an error: a file cut off inside its state density matrices
    loads as a molecule with fewer electrons, and an empty, garbled or cut-off two-electron density block is accepted as
    exact (HeH+: an empty block drops about 1 hartree of repulsion). Check the loaded electron count against the file.
  • Loading a truncated .wfn file can read out of bounds: a file cut off inside a centre or type-assignment line makes
    the loader read past the end of its buffer. Load only complete files.
  • qtaim_crystal_from_caveman ignores the atoms you give it: with one atom it returns the built-in lithium model and
    otherwise the built-in lithium hydride model, using only the cell volume. Do not use it for any other crystal.
  • Localization and delocalization indices are not computed: lambda_loc returns the atom's electron population (zero
    for a one-electron system) and delta_pair_out is returned as all zeros. Do not read either as a result.
  • qtaim_wfn_create_raw_prims overflows the stack for an occupied primitive with angular momentum above 6. Do not
    pass it such input.
  • qtaim_find_critical_points can miss critical points, including a maximum away from the nuclei, while
    n − b + r − c still equals 1. Do not treat the list as complete.
  • Interaction energies of a .wfn file with fractional occupations are wrong, without an error, because a
    closed-shell determinant formula is applied. For a correlated wavefunction attach its pair density; otherwise do not
    use them.
  • Basin populations can miss the requested tolerance although the report says converged. Check the sum of the
    populations and each atom's L, and tighten tol_N.
  • dV_surf is returned as zero and is not a result.
  • QTAIM_OK from qtaim_refine_and_certify_cp does not mean it converged. Check the gradient relative to the
    density.
  • qtaim_spacetime_sylvester_4d depends on the scale of its matrix. Rescale it to entries of order one first.

Fixes for several of these are in progress.