The quantum theory of atoms in molecules (QTAIM) is a model of molecular and condensed matter electronic systems (such as crystals) in which the principal objects of molecular structure - atoms and bonds - are natural expressions of a system's observable electron density distribution function. An electron density distribution of a molecule is a probability distribution that describes the average manner in which the electronic charge is distributed throughout real space in the attractive field exerted by the nuclei. According to QTAIM, molecular structure is revealed by the stationary points of the electron density together with the gradient paths of the electron density that originate and terminate at these points. QTAIM was primarily developed by Professor Richard Bader and his research group at McMaster University over the course of decades, beginning with analyses of theoretically calculated electron densities of simple molecules in the early 1960s and culminating with analyses of both theoretically and experimentally measured electron densities of crystals in the 90s. The development of QTAIM was driven by the assumption that, since the concepts of atoms and bonds have been and continue to be so ubiquitously useful in interpreting, classifying, predicting and communicating chemistry, they should have a well-defined physical basis.
QTAIM recovers the central operational concepts of the molecular structure hypothesis, that of a functional grouping of atoms with an additive and characteristic set of properties, together with a definition of the bonds that link the atoms and impart the structure. QTAIM defines chemical bonding and structure of a chemical system based on the topology of the electron density. In addition to bonding, AIM allows the calculation of certain physical properties on a per-atom basis, by dividing space up into atomic volumes containing exactly one nucleus, which acts as a local attractor of the electron density. In QTAIM an atom is defined as a proper open system, i.e. a system that can share energy and electron density which is localized in the 3D space. The mathematical study of these features is usually referred to in the literature as charge density topology.