DOI:
10.1039/C6SC05504D
(Minireview)
Chem. Sci., 2017,
8, 41594176
Quantum crystallography†
Received
16th December 2016
, Accepted 3rd March 2017
First published on 27th March 2017
Approximate wavefunctions can be improved by constraining them to reproduce observations derived from diffraction and scattering experiments. Conversely, charge density models, incorporating electrondensity distributions, atomic positions and atomic motion, can be improved by supplementing diffraction experiments with quantum chemically calculated, tailormade electron densities (form factors). In both cases quantum chemistry and diffraction/scattering experiments are combined into a single, integrated tool. The development of quantum crystallographic research is reviewed. Some results obtained by quantum crystallography illustrate the potential and limitations of this field.
Simon Grabowsky  Simon Grabowsky studied chemistry at Free University of Berlin and received his doctoral degree from the same institution in 2010 before he went to the University of Western Australia (UWA) in Perth for a postdoctoral stay. He became Assistant Professor at UWA in early 2014, but left later in the same year in order to take on an Emmy Noether fellowship of the German Research Foundation (DFG) which allows him to be head of a research group at the University of Bremen, Germany. In 2015 he received the title “Professor” from the University of Bremen for the duration of the fellowship. His group's major interests lie in the principles of chemical bonding in inorganic molecular chemistry related to method development in physical chemistry. The group applies spectroscopic, crystallographic and theoretical methods of structure determination and advances them, especially quantum crystallography. 
Alessandro Genoni  Alessandro Genoni has been CNRS Researcher at the Laboratory “Structure and Reactivity of Complex Molecular Systems” (SRSMC) of the University of Lorraine (France) since 2011. After earning his PhD in Chemical Sciences from the University of Milan (Italy) in 2006 (Maurizio Sironi's group), he worked as postdoctoral fellow in the group of Kenneth M. Merz Jr at the Quantum Theory Project of the University of Florida (USA) and in the group of Giorgio Colombo at the ICRM Institute of the Italian CNR (Milan, Italy). His current research mainly focuses on the extension of Jayatilaka's Xray constrained wavefunction fitting approach and in the development of novel quantum chemistrybased approaches to refine charge densities of macromolecules. 
HansBeat Bürgi  HansBeat Bürgi is Professor emeritus at the Department of Chemistry and Biochemistry of the University of Berne, Switzerland. He happily enjoys his retirement at the Universities of Zürich, Western Australia and Berkeley where he collaborates with his colleagues and friends in areas of common interest: structure determination of disordered materials from diffuse scattering, quantum crystallography, dynamics and thermodynamics of crystalline polymorphs. 
1. Introduction
Quantum chemistry methods and crystal structure determination are highly developed research tools, indispensable in today's organic, inorganic and physical chemistry. These tools are usually employed separately. Diffraction and scattering experiments provide structures at the atomic scale, while the techniques of quantum chemistry provide wavefunctions and properties derived from them. In this contribution we review different efforts towards combining tools of these two fields into integrated quantum crystallographic strategies.
The term quantum crystallography was first introduced by Massa, Huang and Karle in 1995 for methods that exploit “crystallographic information to enhance quantum mechanical calculations and the information derived from them”.^{1} The basic idea is to compensate shortcomings and limitations of quantum mechanical models, e.g. incomplete consideration of electron correlation, with experimental data that are not suffering from the same limitations (Fig. 1). In 1999 the same authors also suggested the converse possibility: “… quantum mechanics … can greatly enhance the information available from a crystallographic experiment” (Fig. 2).^{2}

 Fig. 1 Quantum crystallography, first aspect: crystallographic data are integrated into quantum chemical calculations to enhance the information content of the wavefunction. The resulting, socalled “experimental wavefunction” represents an improved approximation to the true wavefunction.  

 Fig. 2 Quantum crystallography, second aspect: quantum chemical calculations are integrated into crystal structure determination to improve the dynamic charge density, i.e. the thermally smeared electron and nuclear densities.  
Mutually subsidiary combinations of quantum chemistry and Xray structure determination suggest themselves.^{3} Quantum chemical models are usually based on some approximations of the true wavefunction. Xray structure determination aims at the true charge density, which is related to the square of the true wavefunction, but is affected to a smaller or larger extent by vibrational motion and experimental errors.
Here the topic of quantum crystallography is presented in two parts. The first part summarizes the development of increasingly sophisticated methods to combine information from quantum chemical calculations with diffraction and other experimental data (see Fig. 3 for a summarizing scheme). The second part describes ways of improving structural models obtained from diffraction experiments by combining them in a selfconsistent way with information from quantum chemical calculations.

 Fig. 3 Scheme summarizing the features (framed in red) of the main methods (framed in light blue) according to the first definition of quantum crystallography. The lower the position of the method is in the scheme, the lower is the quantum chemistry contribution in it. Each family of techniques is associated with the corresponding bibliographical references in the paper.  
2. Quantum crystallography, first definition: enhancing quantum chemical calculations with experimental information
2.1 Pioneering “experimental” wavefunction techniques
All modern quantum crystallography techniques according to the first definition originate from the pioneering “experimental” wavefunction strategies originally proposed in the 1960s by Mukherji and Karplus.^{4} They perturbed unconstrained Hartree–Fock molecular orbitals until they produced satisfactory agreement with experimental dipole moments or electric field gradients at a minimal increase in the energy of the system. Agreement improved not only for the constraining experimental values, but also for other properties, such as diamagnetic and paramagnetic susceptibilities. Rasiel and Whitman^{5} introduced experimental dipole moment constraints‡ into the variational minimization of the energy with Lagrange multipliers. Byers Brown and Chong^{6} proposed to implicitly introduce the experimental constraints by adding proper quantum mechanical operators Ô_{i} (multiplied by a Lagrange multiplier λ_{i}) to the starting and unconstrained Hamiltonian Ĥ: 
 (1) 
The modified Schrödinger equation can be solved variationally as shown by Fraga and Birss.^{7}
In 1969 Clinton et al. published a series of groundbreaking ideas that may be considered the direct precursors of today's quantum crystallography methods.^{8–11} Although Xray diffraction data were not considered explicitly, the proposed theoretical framework forms the basis for the methods developed in the 1970s and 1980s that combine quantum mechanical calculations with crystallographic data. In the first paper of the series,^{8} the authors presented a semiempirical strategy to determine oneelectron density matrices§ of small diatomic molecules. They had both theoretical and practical reasons for focusing on oneelectron density matrices rather than the more usual wavefunctions.^{8,9} To accomplish their task, they used theoretical constraints, such as the Hellmann–Feynman and virial theorems in combination with experimental constraints, e.g. potential energy curves obtained from spectroscopic and scattering measurements. However, the density matrices initially obtained by Clinton et al. did not conform with the essential quantum mechanical requirement that each density matrix must correspond to an antisymmetric wavefunction (Nrepresentability).^{12–14} For single Slater determinant wavefunctions, this drawback can be overcome by imposing the idempotency condition (i.e., P^{2} = P) and the normalization to the number of electrons (TrP = N) on the oneelectron density matrices.^{9} This goal was achieved by combining the original, iterative McWeeny density matrix purification formula^{13}

P_{n+1} = 3P_{n}^{2} − 2P_{n}^{3}  (2) 
with (i) the Hellmann–Feynman and virial theorems,
^{9} (ii) Parr's integrated Hellmann–Feynman theorem,
^{10} (iii) local energy constraints
^{11} and, later, (iv) cusp conditions.
^{15} This gave rise to another iterative procedure in which the density matrix at each iteration is obtained according to the following equation:

 (3) 
where
P_{n+1} and
P_{n} represent the oneelectron density matrix in the adopted finite set of basis functions at the
n + 1 and
n iterations;
O_{k} is the matrix representation of the operator
Ô_{k} associated with the property
k in the same finite basis set as the density matrix. The external multipliers {
λ_{k}^{(n)}} are determined in a separate calculation by solving an auxiliary set of linear inhomogeneous equations
¶ that constrain the density matrix to reproduce the values {
o_{k}} of the properties considered.
2.2 The first quantum crystallographic methods: the original Clinton & Massa approach and its later developments
An Xray diffraction experiment provides a large number of structure factor amplitudes, observables from which the electron density in the crystal can be determined (after recovering their phases). Recognizing this fact Clinton and Massa attempted for the first time to extract a oneelectron density matrix from Xray diffraction data.^{16} Their 1972 technique may be considered as the first quantum crystallography investigation. It differs from the strategy proposed by Clinton and coworkers in 1969 (ref. 9) only by using structure factors as external constraints and basically consists in iteratively solving the following matrix equation: 
 (4) 
where P_{n+1} and P_{n} have the same meaning as in eqn (3), I is the identity matrix, f_{h} is the matrix of the Fourier transforms of the basis functions products, h is a triad of Miller indices labeling the reflection considered, λ_{N}^{(n)} and λ_{h}^{(n)} are external multipliers determined at each iteration from the auxiliary set of equations that constrain the density matrix to be normalized to the correct number of electrons and to reproduce the given set of structure factors.
Initially Clinton, Massa and others studied very small model systems at rest (mainly atoms and the hydrogen molecule) with structure factors calculated from nearexact wavefunctions.^{16–21} In 1973 they generalized their algorithm to take into account real experimental data with their errors (but did not test it with actual data).^{17} Because of the experimental errors, the structure factor constraints cannot be satisfied exactly but only in a leastsquare sense.^{17} Frishberg^{22} compared in detail the values of some physical properties for the beryllium atom predicted by the near Hartree–Fock wavefunction of Clementi^{23} on one hand and by the Xray fitted^{19} and Best Density Matrix^{24,25} (BDM) wavefunctions on the other hand. In most cases the oneelectron properties obtained with the quantum crystallography strategy agreed best with the results calculated from the highly accurate and correlated wavefunction^{26} used as reference. As far as momentumrelated properties are concerned, the predictions based on the Xray fitted wavefunction were always superior to the near Hartree–Fock ones. However, the BDM technique made the best predictions.
The investigations summarized so far established the theoretical basis for combining quantum chemical calculations with experimental Xray diffraction data as external constraints, showed its potential and its limitations, but used only calculated Xray structure factors (usually for atoms at rest). The first density matrix determined from experimental Xray structure factors was that of beryllium in 1985.^{27} In a later study by Aleksandrov et al.^{28} oneelectron density matrices for silicon and diamond were successfully fitted to experimental structure factors. Electronic kinetic energies and Compton profiles derived from them were in good agreement with corresponding experiments.
Over the years several modifications and improvements of the Clinton & Massa “experimental” density matrix method were proposed. Massa and coworkers extended the original approach (i) to the case of openshell systems^{19} and (ii) to extended systems using Bloch and Wannier functions.^{29} The latter extension takes into account the interaction among unit cells and allows to study insulators, semiconductors and metals, at least in principle. The most important step forward for this family of techniques is probably the one proposed by Pecora.^{30} He devised a simplified steepestdescent algorithm to determine “experimental” idempotent density matrices. It is mainly based on the gradient of the average squared error between calculated and experimental structure factors amplitudes (i.e., the wellknown χ^{2} statistic). With his approach, he provided one of the earliest density matrices obtained from real experimental data, positron annihilation data for a Cu–Ge alloy in his case. Pecora's algorithm was further improved by Howard et al.^{31} The resulting powerful simulated annealing strategy allowed for the first time to study molecules as large as methylamine and formamide, for which theoretical and experimental Xray diffraction data were used as external constraints, respectively. In a followup investigation Snyder and Stevens^{32} determined the density matrix for the azide ion in potassium azide from experimental structure factors. They found that the electron density associated with the fitted density matrix shows some features that are common both to the multipole model (see Section 3.2) and to theoretical charge distributions used for comparison.
Among the pioneering quantum crystallography methods, the strategy proposed by Figgis and collaborators has to be mentioned.^{33} They extracted populations of valence atomic orbitals from Xray or polarized neutron diffraction data, e.g. in coordination complexes such as the transtetraamminedinitronickel(II) [Ni(ND_{3})_{4}(NO_{2})_{2}] compound and the CoCl_{4}^{2−} anion in Cs_{3}CoCl_{5}. The Xray Atomic Orbital (XAO) method developed by Tanaka and coworkers also belongs to this family of approaches.^{34–38} It determines atomic orbitals on transition metal ions by minimizing the usual statistical agreement between experimental and theoretical structure factors subject to orbital orthonormality and symmetry constraints. Although the strategy initially aimed at modeling the crystalfield influence on the d atomic orbitals,^{34,35} it was later extended to also treat s, p and f functions.^{36–38}
2.3 Beyond the single Slater determinant approximation
All the methods described so far suffer from an intrinsic limitation: since they require the oneelectron density matrices to be idempotent, these matrices are necessarily associated with single Slater determinant wavefunctions. The MOON (Molecular Orbitals Occupation Numbers) method^{39} tries to overcome this problem by redetermining the occupation numbers of precomputed occupied and virtual molecular orbitals, such that the agreement with the Xray diffraction data is maximized. The current version of the method offers two options. In the first the optimized occupation numbers of the molecular orbitals are constrained to be between 0 and 2, which implies that oneelectron density matrices are Nrepresentable. In the other option, the upper limit on the occupation numbers is dropped. This introduces more flexibility in the fitting process, but may lead to results violating the Pauli principle. In both options the coefficients of the predetermined molecular orbitals are not optimized during the fitting procedure; the technique thus scales linearly with the size of the basis set. However, the necessity to precompute the molecular orbitals renders the application of MOON to very large molecules quite difficult.
More advanced methods to overcome the singledeterminant limitation replace the basic idempotency constraint with a more general Nrepresentability condition that requires the eigenvalues for the oneelectron density matrix to lie between 0 and 1.^{14} Weyrich and collaborators^{40} introduced this condition into their pioneering methods for the reconstruction of the complete oneelectron density matrix (i.e. including diagonal and nondiagonal parts) from a combination of Xray diffraction and inelastic Compton scattering data. Gillet and coworkers followed the same philosophy in more recent studies.^{41} Weyrich's technique was extended by Nicholson et al.^{42} to obtain Dyson orbitals from electron momentum spectroscopic data. The strategy devised by CassamChenaï is included here in the same group of techniques;^{43} a small number of wavefunctions (obtained through preliminary ab initio calculations) are used to expand the ensemble Nrepresentable oneelectron density matrices of the systems investigated. The expansion coefficients are determined through a fit to the experimental measurements. Using this idea CassamChenaï et al.^{44} determined the spin density of the CoCl_{4}^{2−} anion in the Cs_{3}CoCl_{5} crystal from polarized neutron diffraction data.
2.4 Criteria to select the best wavefunction
The theoretical developments and practical strategies outlined above represent an important basis for combining quantum mechanical calculations with experimental data. However, as Gilbert has pointed out, they suffer from a further ambiguity.^{45} There is an infinite number of Nrepresentable oneelectron density matrices (differing only in their offdiagonal parts) and, consequently, an infinite number of wavefunctions that are compatible with a given electron distribution. Therefore, even under strict Nrepresentability constraints, simple fitting to density data may lead to an inappropriate density matrix or wavefunction. Henderson & Zimmermann^{46} proposed that, among all single Slater determinants that reproduce a given electron density, the best one is the one that minimizes the Hartree–Fock energy functional. They introduced this criterion into the 1972 approach of Clinton & Massa.^{16} Their algorithm modifies in a quasicontinuous way a starting Hartree–Fock wavefunction until the desired Xray constrained solution is obtained at a minimum penalty in energy.^{46} A similar philosophy was followed by Kryachko and coworkers.^{47} Their original method of localscaling transformations^{48} was exploited to modify an initial wavefunction (the promolecule wavefunction) until it reproduces the electron density given by the experimental Xray diffraction data. In this approach the energetic criterion of Henderson & Zimmermann was not considered explicitly.
Levy & Goldstein^{49} and later Gritsenko & Zhidomirov^{50} proposed an alternative to the Henderson & Zimmermann criterion. They select the single Slater determinant with minimal kinetic energy among the ones compatible with a given charge distribution. Zhao, Morrison and Parr^{51} used this idea in the early 1990s to extract Kohn–Sham orbitals from electron density data generated by ab initio computations. Orbitals obtained with this philosophy are almost identical with the corresponding Hartree–Fock ones. For this reason the authors proposed (i) that the Kohn–Sham single Slater determinants obtained by kineticenergy minimization could represent physically meaningful wavefunctions and (ii) that their strategies could provide an alternative way towards proper wavefunctions from experimental data. Other techniques to extract wavefunctions and crucial DFT quantities from the electron density have previously been introduced by Nyden & Parr^{52} and by March and coworkers.^{53} Unfortunately, their strategies have never been tested with real experimental data as external constraints.
2.5 Jayatilaka's Xray constrained wavefunction fitting: the original strategy and recent advances
Nowadays, the most reliable and practical implementation of the Henderson & Zimmerman idea is the Xray constrained wavefunction (XCW) fitting approach devised by Jayatilaka.^{54–60} The method is currently implemented for molecular crystals. It assumes identical, space groupsymmetry related, noninteracting molecules. The unitcell electron density of the molecular crystal is expressed in terms of the electronic wavefunction ψ of a reference molecule and its symmetry related copies. To guarantee that the unitcell electron density of the fictitious noninteracting molecular crystal is identical to the unitcell electron distribution of the corresponding real interacting system, the Jayatilaka method determines the wavefunction ψ of the reference molecular unit that minimizes a new functional given by the sum of the energy of the molecule and of an additional term measuring the statistical agreement between the experimental and the calculated structure factor amplitudes: 
J[ψ] = 〈ψĤψ〉 + λ(χ^{2}[ψ] − Δ)  (5) 
where λ is an external multiplier manually adjusted during the “fitting procedure” until achieving the desired statistical agreement Δ between the theoretical and the experimental structure factors (typically fixed to 1.0). χ^{2} is the statistical agreement between the calculated and the experimental structure factor amplitudes: 
 (6) 
with N_{r} the number of measured Xray diffraction data, N_{p} the number of adjustable parameters, h the triads of Miller indices labeling the reflections, σ_{h} the standard uncertainty of F_{obs}(h), and η a scale factor properly determined to minimize χ^{2}.
From a theoretical point of view, the XCW method is fully supported by the Levy–Lieb theorem,^{61} according to which the exact wavefunction of a system not only provides its electron density, but also minimizes the sum of the kinetic and the electron–electron repulsion energies. For the same reason, the Henderson & Zimmerman criterion introduced in the previous subsection is to be preferred to the one based on the minimization of only the kinetic energy.
The XCW fitting strategy was originally developed in the framework of the restricted Hartree–Fock approach, but was later extended to the unrestricted case,^{62} to the relativistic scalar secondorder Douglas–Kroll–Hess^{62} and InfiniteOrder Two Component (IOTC) methods.^{63} It is also available in conjunction with the Kohn–Sham formalism.^{60} Recently the Jayatilaka method was coupled with a technique developed by Stoll et al.^{64} to determine Extremely Localized Molecular Orbitals (ELMOs).^{65} The resulting Xray constrained ELMO method^{66–69} allows the extraction of Xray constrained molecular orbitals strictly localized on small molecular fragments, such as atoms, bonds or functional groups.
2.6 Applications of the XCW fitting technique
The XCW fitting method does not only provide reliable electron density distributions. From XCWs, physical properties of materials,^{70–73} such as nonlinear optical properties, can be determined. These properties cannot be obtained from experimental electron densities since the crucial manyelectron contributions would be missing.^{70} In 2013, Hickstein et al.^{72} exploited the Jayatilaka technique to compute dipole moments, molecular polarizabilities, hyperpolarizabilities and refractive indices for four compounds: coumarin (1benzopropan2one), DED ({4[bis(diethylamino)methylium]phenyl}dicyanomethanide), MBADNP (3,5dinitro2[1phenylethyl]aminopyridine) and ZTS (zinc [tris]thiourea sulphate), all of them displaying interesting nonlinear optical properties. The authors claim^{72} that the properties calculated from XCWs agree with those calculated at the Hartree–Fock level with an average statistical deviation of 20% from each other (see Fig. 4), which is comparable to the statistical deviation between Hartree–Fock and experimental values for molecular polarizabilities.

 Fig. 4 Comparison of optical properties calculated at the Hartree–Fock level with those calculated from XCWs. Two slightly different geometries and sets of atomic displacement parameters were used for the XCW fit, one based on a multipole refinement, the other on a Hirshfeld atom refinement model (see Section 3.3). Reprinted from ref. 72 with the permission of AIP Publishing.  
In a followup study, Cole and Hickstein^{73} analyzed ZTS in more detail. They observed that the refractive index derived from the static linear polarizability which in turn was calculated from the XCW (atomic positions and displacement parameters from the multipole model) agrees quite well with the experimental value unlike the corresponding gas phase value calculated ab initio. The authors concluded that XCW fitting implicitly accounts for the solidstate effects present in the condensed phase. The same investigation also highlighted the fact that values of optical properties obtained from a multipole model differ from the ones resulting from ab initio computations and XCW fitting by up to two orders of magnitudes. This confirms the inadequacy of computing properties depending on twoelectron contributions from traditional charge density models (see Section 3.2) and, consequently, the necessity of resorting to Xray constrained wavefunctions in all those cases.
Another advantage of the XCW approach is its capability to include chemically important effects (e.g., electron correlation and crystal effects) that can otherwise only be accounted for with a considerably larger computational effort. These can be studied by exploiting several functions and descriptors, such as the Electron Localization Function (ELF),^{74} the Electron Localizability Indicator (ELI)^{75} and bond indices,^{76} which were extracted from XCWs.^{77–80} The crystal structure of a vinyl sulfone (1cyano1phenylsulfonyl2methylthio2methylaminoethylene) serves as an example.^{80} An ELI isosurface plot of the sulfonyl moiety is shown in Fig. 5a, the most important Lewis resonance structures for the sulfonyl group are depicted in Fig. 5b. In closedshell systems the isosurfaces embrace regions of maximum localization of electron pairs and can hence be related to bonding and nonbonding valence effects. A topological analysis of the ELI provides basins for electron pairs with corresponding attractors (black spheres under the surface in Fig. 5a). Each attractor can be interpreted as representing a bonding or lone electron pair. For the oxygen atoms there are two and three attractors and thus two and three lone pairs corresponding to one double and one single bond, respectively. This points towards an asymmetric Lewis description with an increased contribution of resonance form 2 (top). The asymmetry is induced by a strong intramolecular resonance assisted hydrogen bond of one of the oxygen atoms with a neighboring amine group. Interestingly, this asymmetry in the topology is not reproduced in a Hartree–Fock calculation where two lone pairs per oxygen atom are found,^{80} but is reproduced in a highly correlated CCSD (coupledcluster with single and double excitations) calculation (unpublished results). It is known that ELI is particularly sensitive to electron correlation. The extraction of electron correlation from singledeterminant XCWs will be discussed below in more detail (Sections 2.7 and 2.8).

 Fig. 5 (a) Isosurface representation of the Xray constrained ELI for a sulfonyl group (ELI = 1.445 around the S–O bond attractors and ELI = 1.550 around the lonepair attractors) with ELI valence basin electron populations (in e, with associated standard deviations). Black spheres below the transparent ELI isosurfaces indicate the positions of the basin attractors. Each basin attractor shown can be interpreted as representing a lone pair. The oxygen atom on the right is involved in an intramolecular hydrogen bond which induces asymmetry into the electronic system of the sulfonyl group. Reproduced from ref. 80 with permission of John/Wiley & Sons, Inc. (b) Possible Lewis resonance structures of a sulfonyl group.  
2.7 Xray constrained wavefunction fitting: problems and outlooks
At present, XCW fitting appears to be the most promising and reliable method among the various “experimental” wavefunction strategies. However, the results of the XCW fitting depend on the quality of positional and thermal parameters and the model through which these are obtained (i.e., Independent Atom Model (IAM), multipole model, Hirshfeld Atom Refinement (HAR), etc., see Chapter 3). In the investigation discussed in Section 2.6, Hickstein and coworkers^{72} observed that the agreement between the results from XCW and fully ab initio computations improves somewhat when the XCW fitting is based on atomic positions and anisotropic displacement parameters (ADPs) resulting from a Hirshfeld atom refinement rather than from a multipole refinement (Fig. 4). In order to minimize the bias on the constrained wavefunction due to inadequate ADPs, the latter could be adapted periodically during the fitting process in an iterative version of the technique called Xray wavefunction refinement (see Chapter 4). For a given set of ADPs the XCW will also differ depending on the way the ADPs are used in order to smear the static electron density (Stewart,^{81} Coppens^{82} and Tanaka^{34}). The use of the latter three in the XCW fitting is compared in ref. 56.
There are other open questions: (i) the applications discussed in chapter 2.6 lead to the question to which extent the Jayatilakatype approaches capture crystal field effects, electron correlation and relativistic effects on the electron density? Two recent papers by Bučinský et al.^{63} and by Genoni et al.^{83} deal with relativistic and electron correlation problems, respectively. They present perspectives for the development of new effective core potentials and density functionals from experimental Xray diffraction data. (ii) Can the XCW approach, which is currently limited to a single determinant wavefunction ansatz, be extended to multideterminant wavefunctions? Such an extension has recently been proposed^{84} in an attempt to interpret the experimentally observed suppression of aromaticity in a biscarbonyl[14]annulene (BCA) at highpressure.^{85} The Xray constrained wavefunction of BCA is written as a linear combination of two precomputed ELMO Slater determinants, which correspond to the two resonance structures of BCA and are kept frozen during the XCW fitting. The relative weights of the two determinants are fitted to the experimental structure factors (XCELMO valence bond approach). Further developments of the technique are currently in progress, by allowing the optimization of the ELMO Slater determinants during the computations. (iii) What is the meaning of the multiplier λ (see eqn (5)) and is there a clear and reliable criterion for choosing its value and thus for stopping the “fitting” procedure? Although different ideas have been proposed,^{55,56,67,70,72} a satisfactory solution has yet to be presented.
2.8 Tampering with quantum chemistry?
From a quantum theoretical point of view, one might argue that the quantum crystallographic approaches described in this chapter tamper with clearly defined, albeit approximate, quantum mechanical models. The wavefunctions, oneelectron density matrices and energies resulting from quantum crystallographic procedures are no longer solutions of the model Hamiltonian operator chosen for the quantum calculations, but are modified by the experimental data. There seems to be no rigorous mathematical proof based on the principles of quantum theory showing that this modification also represents an improved description of the system. The improvement can only be tested by comparing the modified description with the results of the best possible calculations or with experimental results not used as constraints. This has been done for optical properties calculated from XCWs^{72,73} (see Section 2.6). The XCW single Slater determinant produces better agreement with experimental data than the simple Hartree–Fock single Slater determinant.^{73} In order to test whether the Jayatilaka approach captures effects of electron correlation on the electron density, an XCW has been fitted to structure factors obtained from (highly correlated) coupled cluster computations.^{83} The comparison between the resulting electron distribution and the (theoretical) correlated one showed that electron correlation effects are partially captured if large values of the external multiplier λ (see eqn (5)) are used and if mainly loworder reflections, which contain most of the information about electron correlation, are used as external constraints.^{83} These studies strongly indicate that XCW fitting strategies introduce information into the “experimental” wavefunction that is missing in the unconstrained wavefunction ansatz.
2.9 Towards enhancing models of nuclear motion with experimental information
A comprehensive model of a crystal's charge density encompasses not only a description of the electron density, but also of nuclear motion. With a good quantum mechanical model and assuming the Born–Oppenheimer approximation it is possible to calculate not only the static equilibrium electron density, but also the crystal vibrations, i.e. the phonon dispersion spectrum of the crystal, which can be computed by diagonalizing the dynamical matrix. From the crystal vibrations, the mean square atomic displacement parameters (ADPs) are obtained. Such calculations can become extremely intricate depending on the density of k points used to sample the Brillouin zone and to model the 3nN vibrations for a crystal containing N unit cells with n atoms each.
This not only creates a need for simplified, yet accurate models, but also raises the question to what extent experimental mean square vibrational amplitudes (ADPs) can compensate for the simplifications. Hoser and Madsen have initiated what they call dynamic quantum crystallography.^{86} In this method, crystal normal modes and corresponding vibrational frequencies are determined from periodic ab initio calculations.^{87} The sampling of these modes is usually severely limited, often to the origin of the Brillouin zone (Γpoint). In the latter case the dynamical model encompasses only a single unit cell with n atoms and is thus highly oversimplified. The frequencies of the lowest crystal vibrations, the acoustic and low optical phonons, are particularly poorly represented in this approximation. These frequencies are therefore refined against experimental data until the ADPs derived from them, from the unmodified higher frequency phonons and from the refined atomic positions produce model structure factors F_{model} in agreement with Xray or neutron diffraction data (Normal Mode Refinement, NoMoRe). Refined frequencies and calculated atomic displacement patterns compare well with results obtained independently from multitemperature Xray diffraction studies.^{88} Thermodynamic properties from NoMoRe and multitemperature Xray and neutron diffraction investigations^{89} agree – albeit not perfectly – with each other and with calorimetric data (Fig. 6).^{90} NoMoRe against Xray data produces hydrogen atom ADPs that compare well with those from neutron diffraction data.

 Fig. 6 (a) Heat capacity (C_{p}) for a molecular crystal of naphthalene: from thermodynamic measurements (blue curve), calculated from frequencies obtained after NoMoRe (red curve) and estimated by Aree and Bürgi from multitemperature diffraction data^{89} (green curve). (b) Difference between C_{p} measured calorimetrically and C_{p} estimated with NoMoRe (red curve) or from multitemperature data (green curve) (reprinted from ref. 90 under the general license agreement of IUCr journals).  
3. Quantum crystallography, second definition: enhancing experimental crystal structure models with information from quantum chemical calculations
3.1 Crystal structure determination by Xray and electron diffraction has always used quantummechanical information
It is often forgotten that the standard models of crystal structure determination incorporate the experimentally determined structure factor amplitudes on one hand and atomic form factors calculated independently by ab initio methods on the other. Such models depend to a variable extent on the calculated information introduced into them. To illustrate this point, it is recalled that the measured Xray diffraction intensities I_{obs}(h) with Miller indices h = (h,k,l) are proportional to the square moduli of the structure factors F_{obs}(h): 
I_{obs}(h) ∼ F_{obs}(h)^{2}  (7) 
The structure factors F(h), which are the Fourier transforms of the crystal unitcell electron density,

 (8) 
are modeled as a sum of atomic contributions

 (9) 
where
f_{j} is the scattering or form factor of atom
j at position
R_{j}, and
T_{j} is usually called ‘atomic temperature factor’, which depends on the mean square static and dynamic atomic displacements
U_{j} of atom
j from its average position
R_{j}.
U_{j} and
R_{j} are variables of
F_{model} and are refined against the experimental data by minimizing the meansquare difference between 
F_{obs}(
h) and 
F_{model}(
h). The atomic electron densities,
i.e. the scattering factors
f_{j} are not. From the beginning of Xray crystal structure determination they have been taken as the Fourier transforms of calculated spherical electron densities of isolated atoms. In this model the
f_{j} are assumed to always be the same, irrespective of an atom's chemical environment (Independent Atom Model, IAM).
^{91} Early on, the atomic densities have been computed with the classical laws of electrodynamics,
^{92} while later on they have been determined with increasingly sophisticated quantum mechanical models using, for example, Thomas–Fermi–Dirac
^{93} or Hartree–Fock–Slater
^{94} approximations.
^{95} Most current software for crystal structure determination contains libraries with quantummechanical form factors calculated in the 1960s using relativistic wavefunctions.
^{96} Reduced or increased scattering power of ions relative to the neutral atom is taken into consideration by Hartree–Fock calculations for lighter atoms,
^{97} or relativistic Dirac–Slater calculations for heavier atoms.
^{98}
In contrast to Xray diffraction, conventional electron diffraction experiments (for convergentbeam electron diffraction see Section 3.3) measure the interaction of the probing electrons with the electrostatic potential inside the crystal. Intensities I(h) are proportional to the square of the Fourier transform of the potential distribution φ(r). The latter can be modelled with isolatedatom scattering factors similar to eqn (9). Analytical Gaussian or polynomial fits to Xray scattering factors are used to obtain numerical values of the electrondiffraction scattering factors.^{96a,b,99} Note that the nuclear scattering lengths and cross sections needed in neutron diffraction are obtained experimentally.
3.2 Aspherical scattering factors and electrondensity research
The crystal field is never spherically symmetric, especially not if an atom forms strong directed bonds. Representing the crystal electron density as a sum of spherical atomic densities can thus be a severe approximation. Quantumchemical calculations on molecules and polyatomic ions can account for distortions from spherical symmetry, but require procedures for partitioning the crystal electron density into a sum of atomic ones. The improved scattering factors are referred to as generalized or polarizedatom scattering factors. Stewart et al. suggested such scattering factors obtained from SCF calculations on diatomic and simple organic molecules.^{100} The treatment of the hydrogen atom is especially problematic, since hydrogen has no core electrons. The distribution of its single 1svalence electron tends to be heavily deformed in covalent bonds. A scattering factor based on quantummechanical calculations of the H_{2} molecule has been especially successful for the treatment of such hydrogen atoms.^{101} A spherical approximation of the scattering factor of a hydrogen atom in the hydrogen molecule is still in use in most modern crystallographic software (Stewart–Davidson–Simpson, SDS, model).^{102}
A different way to represent the crystal electron density in terms of aspherical atomic electron densities and their scattering factors is to parameterize pseudoatom electron densities with analytical functions. The forms of the latter are based on quantumchemical considerations, whereas their parameters are refined against the observed structure factors. Hence, such scattering factors are partly based on quantum mechanical theory and partly on diffraction data. Models in this family are known as multipole models. An incomplete list of the approaches that have been introduced and tested over the past 50 years includes the seminal work by Dawson 1967,^{103} KurkiSuonio 1968,^{104} Stewart 1969,^{81} Hirshfeld 1971,^{105} Coppens 1971.^{82} The most widely used formalism is that of Hansen and Coppens from 1978.^{106} Its aspherical scattering factor expression is shown in eqn (10):

 (10) 
The core and valence spherical atomic scattering factors f_{j,core} and f_{j,val} are usually derived from Hartree–Fock wavefunctions expanded over Slatertype basis functions and tabulated in databases.^{107} Similarly the ϕ_{jl} functions are Fourier–Bessel transforms of radial density functions R_{jl} based on singlezeta Slatertype orbitals with energyoptimized exponents taken from valenceorbital wavefunction calculations.^{107,108}Y_{lm}^{j} are spherical harmonics. This means that the analytical form of the electron density is significantly influenced by quantumchemical concepts and results, whereas the multipole population parameters P_{jlm}, the expansion–contraction parameters κ and κ′ for the radial parts of the electron densities, positional parameters and ADPs are refined against the experimental diffraction data. In an effort to increase the flexibility of the multipole model, bondedatom radial functions have been introduced.^{109} In an extended version of the Hansen–Coppens formalism, aspherical f_{j,core} account for core deformation and can be refined against the experimental data in exceptional cases.^{110}
Atomic multipole descriptions derived from experiment and pertaining to different chemical environments have been collected in libraries of pseudoatoms (ELMAM).^{111} Multipole and expansion–contraction parameters have also been extracted from quantumchemically computed electron densities of model compounds and tabulated for many atoms in a large but limited number of different chemical environments (invariom database,^{112} UBDB^{113}). Using aspherical rather than spherical scattering factors in crystallographic refinements of positional parameters and ADPs improves the accuracy of the structural model.
3.3 Quantum crystallographic methods according to the second definition
As discussed above, crystal structure determination using the IAM or pseudoatom models always involves quantummechanical information. Certain aspects of the crystal electron density are not measured, but modeled with the help of theory. From this viewpoint, every Xray structure determined since the appearance of the Schrödinger equation in 1925 could be regarded as ‘quantum crystallography’. However, spherical atoms or pseudoatoms in a standard chemical environment never reflect the influence of the actual chemical environment and the crystal field exactly. The quantumchemical information introduced into the conventional structure modeling and refinement process is always approximate. The use of quantum chemistry in these methods may be considered as “indirect”, since it relies on tabulated information for model compounds.
In the spirit of Huang, Massa and Karle's definition of quantum crystallography in 1999,^{2} we consider quantum crystallography as an interdisciplinary approach that amalgamates numerical quantum chemical information into diffraction experiments within single, integrated tools. The use of the wavefunction is “direct” since it is an integral part of the refinement and modeling process, is tailormade for the very molecular or extended system under investigation and is continuously updated during structure refinement.
Quantitative convergentbeam electron diffraction (CBED) depends on such a dynamic model as it does not rely on tabulated atomic scattering factors. Each experiment requires its individual wavefunction to extract scattering amplitudes or Fourier potentials.^{114} To describe the multiple scattering between the incoming electron beam and the crystalline material a dynamical theory must be adopted. Dynamical Blochwave theory is often applied, which has some computational advantages for subsequent pattern matching procedures, and is similar to Pendellösung approaches for Xray diffraction.^{115} The Schrödinger equation is solved for the single highenergy electron as it passes through the crystal and the electrostatic potential matrix elements are computed. In structure refinements from quantitative CBED data, simulated intensities are compared with observed intensity variations within CBED disks of different incident beam orientation (see Fig. 7). During refinement, wavefunction parameters in the dynamical theoretical model have to be updated repeatedly by adjustment of structural parameters and Debye–Waller factors.^{116} This “direct” combination of a diffraction experiment with theory can hence be considered the first quantum crystallographic technique according to the second definition. Method development and early applications date back to the 1960s.^{117} First interpretations of CBED disks with quantum chemical calculations appeared in the mid 1980s^{118} and were followed in the early 1990s by improved methods that take advantage of supercomputer facilities.^{119}

 Fig. 7 (a) Sketch of the scattering process leading to CBED disks that can be attributed to individual structure factors with Miller indices hkl. Intensity of the real measured pattern for aluminium in the crystal orientation 20 is shown as an inlay. Reprinted from ref. 120 with permission from AAAS. (b) Final results of the fitting of the 20 Bragg pattern of silicon giving rise to several very accurate structure factors from which the electron density distribution could be modeled. Reprinted from ref. 121 under the general license agreement of IUCr journals.  
Quantitative CBED leads to very accurate electron density distributions, but only for simple materials with few independent atoms in the unit cell. They are much more accurate than those based on Xray diffraction because (i) scattering factors for electrons at low scattering angles are acutely sensitive to bonding, (ii) dynamic scattering effects are modelled, and (iii) the amount of data in a single CBED pattern provides orders of magnitude more data points than unknowns. Nakashima et al. demonstrated in 2011 that the bonding electrondensity distribution of aluminium from quantitative CBED is more reliable than that from Xray diffraction or theory (Fig. 8a) and that conclusions about anisotropic elastic constants can be drawn.^{120} Careful quantitative CBED experiments by Zuo et al. revealed bonding features between two copper atoms in Cu_{2}O.^{122} The deformation electron density around the copper atoms (Fig. 8b) was interpreted in terms of a shift of electron density from a 3d orbital into a 4s orbital at the Cu atom. Static difference density maps (deformation density maps) between models based on aspherical and spherical atomic scattering factors (as discussed above) are not unusual in Xray diffraction. However, the accuracy of the result from quantitative CBED is remarkable. Palatinus et al. have recently shown that hydrogen atoms can be located with precession electron diffraction tomography on nanocrystals if dynamical refinement is used.^{123} This finding complements the analogous capabilities of Hirshfeld atom refinement discussed below.

 Fig. 8 (a) Electron density of aluminium from quantitative CBED (left) and a periodic planewave calculation using the program Wien2k (right). Reprinted from ref. 120 with permission from AAAS. (b) Static deformation density map around a copper atom in Cu_{2}O. Reprinted by permission from Macmillan Publishers Ltd.: Nature, ref. 122, copyright 1999.  
The first quantum crystallographic method in smallunit cell Xray crystallography was introduced in 2008 by Jayatilaka and Dittrich.^{124} It is a twostep procedure called Hirshfeld Atom Refinement (HAR). In the first step, a molecular electron density is calculated from the atomic coordinates of an input geometry, typically at the Hartree–Fock or DFT level of approximation. The resulting electron density ρ_{mol} is partitioned into aspherical atomic electron densities ρ_{j} (Hirshfeld atoms) using the stockholder partitioning,^{125}

ρ_{j}(r) = w_{j}(r)ρ_{mol}(r)  (11) 
with

 (12) 
w_{j}(
r) is the weight function of atom
j which carves an aspherical electron density out of the molecular electron density. It is defined as the ratio between the spherically averaged atomic electron density
ρ^{0}_{j}(
r −
_{j}) of atom
j at position
_{j} and the sum of the spherical electron densities of all other atoms in the molecule. The spherically averaged atomic electron densities
ρ^{0}_{j}(
r −
_{j}) are not taken from tables but calculated with the same quantum chemical model and basisset as used for
ρ_{mol}. Optionally, atomic Hirshfeld charges and dipole moments can be obtained from the calculated molecular electron density and placed on atomic sites surrounding the central molecule in order to polarize the molecular electron density, thus simulating crystal field effects. In the field of these charges and dipoles a new molecular electron density and new charges and dipoles are calculated and the process iterated until selfconsistency is reached. In preparation for the second step, namely the structural leastsquares refinement, the static Hirshfeld atoms
ρ_{j}(
r) are Fourier transformed to get the static, aspherical Hirshfeld scattering factors
f_{j}. They are included together with the usual temperature factor
T_{j} for each atom
j in the structure factor
F_{model}(
k):

 (13) 
where
Ψ stresses the dependence of the static Hirshfeld scattering factors on the calculated wavefunction. After refinement of the atomic positions
_{j} and the atomic displacement parameters
U_{j}, a new electron density is calculated with the updated atomic coordinates. In an automated and iterative version from 2014,
^{126} the twostep process is repeated until the parameter shifts in
_{j} and
U_{j} divided by their standard uncertainty are less than 0.01. A somewhat simplified version of HAR has recently become available in the standard Olex2 crystallographic software.
^{127}
The HAR procedure has advantages and disadvantages. On the one hand it ensures tailormade aspherical atomic scattering factors. They optimally represent the unitcell electron density within the limits of the chosen quantum mechanical procedure. This leads to enhanced crystal structure information in the spirit of the second definition of quantum crystallography. On the other hand the computational cost (CPU time) for a HAR refinement is significantly higher than for an IAM or multipole model refinement. Since the original HAR procedure is based on a molecular wavefunction, the treatment of periodic network structures is difficult. A recent variant of HAR based on periodic wavefunctions renders possible the treatment of network structures,^{128} and is potentially more accurate, but even more timeconsuming.
First results obtained with HAR procedures are encouraging in two ways. Firstly, as Wall points out:^{128} “the results indicate that HAR can yield not only molecular geometries and ADPs that are similar to the neutron crystal structure, but also both 2Fo–Fc maps and static charge densities that are distinct from the multipole model, but that nevertheless agree comparably with the experimental data. Quantum crystallography therefore can yield accurate charge densities that are consistent simultaneously with theory and experiment”. Chęcińska et al.^{129} and Dittrich et al.^{130} have reached similar conclusions in earlier electrondensity research involving HAR. Secondly, several groups have shown that for data sets of good quality, hydrogen atomic positions and ADPs can be freely refined and are generally found in quantitative agreement with results from neutron diffraction,^{126,131,132} see Fig. 9 and Table 1. This holds for a large range of organic molecules and for data sets with resolutions as low as 0.8 Å, which can routinely be measured at inhouse diffractometers with conventional Xradiation sources.^{131} Studies in inorganic chemistry are currently ongoing.

 Fig. 9 150 K structures of the dipeptide GlyLAla with anisotropic displacement parameters (ADPs) at 50% probability from HAR based on Xray diffraction data (left) and from neutron diffraction data (right). The structures are virtually identical by visual inspection. Reprinted from ref. 126 under the general license agreement of IUCr journals.  
Table 1 Mean absolute differences and their population standard deviations for the dipeptide GlyLAla in terms of bond distances d involving hydrogen atoms and ADPs U_{ij} of hydrogen atoms between HAR (based on Xray diffraction) and neutron diffraction results for four different temperatures^{126}
T in K 
〈Δd〉 in Å 
〈ΔU_{ij}〉 in Å^{2} 
12 
0.0085(51) 
0.0047(42) 
50 
0.0093(52) 
0.0040(34) 
150 
0.0087(62) 
0.0037(31) 
295 
0.0125(84) 
0.0075(58) 
3.4 Quantum crystallography in protein structure determination
Macromolecular crystallographic refinement is another area in which quantum mechanical calculations can supplement the information provided by Xray diffraction measurements. As is well known, one of the main obstacles preventing atomiclevel resolutions of macromolecular crystallographic structures is the limited resolution and number of diffraction data compared to the number of parameters needed to model atomic positions and thermal motion. To overcome this drawback, constraints and restraints^{133} are usually introduced in the refinement. While the former reduce the number of structural parameters to be determined, the latter introduce stereochemical information into the analysis that complements the one provided by the Xray data. Restraints take the form of penalty terms dependent on the deviation from reference parameters – similar to energy penalties in molecularmechanics (MM) force fields, although with some differences: (i) the reference parameters are generally obtained from a statistical analysis of a large number of accurate protein and polynucleotide crystallographic structures, as done by Engh & Huber^{134} who exploited the Cambridge Structural Database (CSD); (ii) electrostatic interactions and van der Waals attractions are neglected.^{135} With such tailormade restraints, accurate structures of proteins have been determined. However, when a macromolecule harbours a small molecule, e.g. a ligand, an inhibitor, or a cofactor with or without a metal atom, accurate restraint parameters for the molecule are often not available and an accurate structural model is difficult to achieve.
To alleviate this problem, Ryde and coworkers developed the ComQumX method. It combines information from multiscale Quantum Mechanical/Molecular Mechanical (QM/MM) calculations with that from experimental structure factors.^{136} The following functional is minimized:

E_{ComQum−X} = E_{QM/MM} + ω_{X−ray}E_{X−ray}.  (14) 
E_{QM/MM} is the QM/MM energy of the investigated system;
E_{X−ray} is the crystallographic penalty function, which measures the agreement between the observed and the calculated structure factors;
ω_{X−ray} is a weight that balances the computational and the experimental information. The QM part encompasses the active site of proteins, their ligands and the nearby residues. The rest of the system is treated at the molecular mechanics level. The QM/MM calculation for the entire system is part of each step of the refinement, in agreement with the quantum crystallography idea. Crystallographic structures of several proteins containing ligands have been refined with the ComQumX technique.
^{136,137}
A similar QM/MM approach was implemented and applied by Merz and coworkers.^{138} They successfully assigned protonation states of key residues in βsecretase, crucial in the pathogenesis of Alzheimer's disease (see Fig. 10),^{138a} and reliably described the zinc coordination in zinc metalloenzymes.^{138c}

 Fig. 10 Crosseye stereo view of the 2F_{o} − F_{c} electron density map (2.7σ contour level) around the active site residues of the βsecretase enzyme after QM/MM refinement of the most favoured 32i state. Note the hydrogen bond formed between the hydroxyl group of the inhibitor and the carboxyl group of residue D32. Reprinted with permission from ref. 138a. Copyright 2006 American Chemical Society.  
The Merz group also proposed to replace the QM/MM computations of the ComQumX approach by semiempirical quantum mechanical calculations.^{139} In order to be able to treat large molecular systems, they exploited their linear scaling “Divide & Conquer” (D&C) semiempirical method^{140} implemented in the program DivCon. The functional to be minimized now reads:

E_{DivCon−X} = E_{D&C} + ω_{X−ray}E_{X−ray}  (15) 
E_{D&C} is the semiempirical quantum mechanical energy of the system from the “Divide & Conquer” approach. As in the QM/MM example, the D&C calculations are performed at each step of the refinement.
The method was tested by refining the crystallographic structure of the bovine pancreatic trypsin inhibitor. The QM refined structure and the one resulting from an Engh & Huber (EH) refinement were compared to the structure obtained from a conventional joint refinement of Xray and neutron diffraction data not applying any restraints (Protein Databank (PDB) code 5PTI).^{139} The “Divide & Conquer” strategy provided improvements, mainly for hydrogen atom coordinates compared to the approach based on the EH restraints (see Fig. 11). The main reason for this improvement is the direct inclusion in the fully quantum mechanical refinement of electrostatics which is completely missing in the EHbased technique. The D&C strategy is now included^{141} in the popular crystallographic package PHENIX.^{142} The new, slightly different, algorithm was tested against a set of fifty proteinligand structures obtained from the PDB.^{141} It always provided completely plausible ligand geometries and low ligand strains, also in cases in which the original, traditional refinement showed some difficulties.

 Fig. 11 Electron density maps of residues Ala40, Lys41 and Arg30 (and two water molecules) of the bovine pancreatic trypsin inhibitor (2.3σ contour level) after (A) a full QM refinement with ω_{X−ray} = 0.9 (cyan), (B) an EHrestrained refinement with ω_{X−ray} = 0.9 (magenta), (C) a full QM refinement with ω_{X−ray} = 0.2 (cyan), (D) an EHrestrained refinement with ω_{X−ray} = 0.2 (magenta). All the obtained structures are superimposed to the 5PTI structure (green). Note the differences in hydrogen atom positions (aliphatic hydrogen atoms omitted for clarity). Reprinted from ref. 139b with the permission of WILEY.  
4. Conclusion and outlook
Quantum crystallography encompasses two streams of research both of which rely on an integrated and selfconsistent combination of quantum chemistry and crystallographic information. One of them pertains to the enhancement of quantum chemical information by fitting wavefunction parameters against diffraction and scattering data in an integrated way. In the second stream, the information from crystallographic diffraction experiments is enhanced and its accuracy and precision improved by the integrated use of quantumchemical data in the modeling process. For the two streams, the use of the term ‘integrated’ implies (i) adjusting calculated wavefunction parameters to be consistent with experimentally determined diffraction and/or scattering data (first definition), or (ii) iteratively adjusting atomic positions and displacement parameters with the help of quantumchemically recalculated electron densities (second definition). The latter procedure does not rely on precalculated and tabulated spherical or aspherical scattering factors as have been used in traditional crystal structure determination and electrondensity research. Some of the new techniques are now part of standard crystallographic software packages such as Olex2 or PHENIX.
Quantum crystallography is an active research field, whose potential has not been fully exploited yet. New methods and results appear every year. Here we have presented examples for
• Modeling of accurate electrondensity distributions for bonding analysis in simple materials (quantitative convergent beam electron diffraction);
• Determination of hydrogen atom positions and hydrogen ADPs in small molecules from Xray diffraction experiments with an accuracy comparable to that obtainable from the more involved neutron diffraction experiments (Hirshfeld Atom Refinement, HAR);
• Improved structure determination in protein crystallography providing an extra level of insight into modes of action of biological macromolecules (QM/MM and Divide & Conquer approaches);
• Characterization of bonding and recovering traditional Lewis pictures of electronic structure (XCELMO valence bond and Xray constrained localization functions);
• Development of computational strategies aiming at quantum crystallographic wavefunctions, which account for electron correlation, polarization and relativistic effects, and may be viewed as complements to those calculated with ab initio and DFT methods;
• Xray wavefunction refinement (XWR), a sequential combination of HAR and Xray constrained wavefunction (XCW) fitting:^{80,143} HAR leads to improved structural parameters, and subsequent XCW fitting yields an improved and enhanced quantumchemical wavefunction. Hence, XWR is the only quantum crystallographic technique conforming to both aspects of the definition.
• Determination of physical properties of materials such as dipole moments, polarizabilities, hyperpolarizabilities, or refractive indices from XCWs;
• Determination of crystal vibrational frequencies from a combination of periodic lattice dynamical ab initio calculations and measured diffraction intensities (dynamic quantum crystallography).
We believe that in the near future quantum crystallographic methods will become available for
• Developing or at least improving DFT functionals with the help of experimentally determined electron correlation effects;
• Computing accurate cohesive energies from XCWs and specific heat curves from normal mode refinements with the aim of predicting polymorphs more reliably;
• Refining crystallographic structures and reconstructing electron densities of large macromolecules, especially if the novel libraries of (XC)ELMOs,^{144} which are alternatives to the widely used pseudoatoms databanks of the multipole models, will be combined with HAR;
• Dynamic updating of geometry, ADPs and wavefunction within a single procedure. This can be achieved through automated XWR, so that both quantum crystallographic structure refinement and wavefunction fitting are carried out iteratively or even simultaneously until convergence in changes of wavefunction and structural parameters are obtained.
We believe that the methods of quantum crystallography reviewed here represent – already today – a useful set of tools for research in chemical bonding, crystal dynamics and quantum chemistry.
Acknowledgements
The authors thank Joanne Etheridge, Dylan Jayatilaka, Birger Dittrich, Bo B. Iversen and Anders Ø. Madsen for helpful discussions, suggestions and material. S. Grabowsky thanks the German Research Foundation (Deutsche Forschungsgemeinschaft DFG) for funding within the Emmy Noether scheme GR 4451/11.
References
 L. Massa, L. Huang and J. Karle, Int. J. Quantum Chem., Quantum Chem. Symp., 1995, 29, 372–384 Search PubMed.
 L. Huang, L. Massa and J. Karle, Int. J. Quantum Chem., 1999, 73, 439–450 CrossRef CAS.
 P. Macchi, J.M. Gillet, F. Taulelle, J. Campo, N. Claiser and C. Lecomte, IUCrJ, 2015, 2, 441–451 CrossRef CAS PubMed.
 A. Mukherji and M. Karplus, J. Chem. Phys., 1963, 38, 44–48 CrossRef CAS.
 Y. Rasiel and D. R. Whitman, J. Chem. Phys., 1965, 42, 2124–2131 CrossRef CAS.

(a) W. Byers Brown, J. Chem. Phys., 1966, 44, 567–576 CrossRef;
(b) D. P. Chong and W. Byers Brown, J. Chem. Phys., 1966, 45, 392–395 CrossRef CAS.
 S. Fraga and F. W. Birss, Theor. Chim. Acta, 1966, 5, 398–400 CrossRef CAS.
 W. L. Clinton, J. Nakhleh and F. Wunderlich, Phys. Rev., 1969, 177, 1–6 CrossRef CAS.
 W. L. Clinton, A. J. Galli and L. J. Massa, Phys. Rev., 1969, 177, 7–13 CrossRef CAS.
 W. L. Clinton and G. B. Lamers, Phys. Rev., 1969, 177, 19–27 CrossRef CAS.
 W. L. Clinton, A. J. Galli, G. A. Henderson, G. B. Lamers, L. J. Massa and J. Zarur, Phys. Rev., 1969, 177, 27–33 CrossRef CAS.
 P. O. Löwdin, Phys. Rev., 1955, 97, 1474–1489 CrossRef.
 R. McWeeny, Rev. Mod. Phys., 1960, 32, 335–369 CrossRef.
 A. J. Coleman, Rev. Mod. Phys., 1963, 35, 668–687 CrossRef.
 W. L. Clinton and L. J. Massa, Int. J. Quantum Chem., 1972, 6, 519–523 CrossRef CAS.
 W. L. Clinton and L. J. Massa, Phys. Rev. Lett., 1972, 29, 1363–1366 CrossRef CAS.
 W. L. Clinton, C. A. Frishberg, L. J. Massa and P. A. Oldfield, Int. J. Quantum Chem., Quantum Chem. Symp., 1973, 7, 505–514 CrossRef.
 C. A. Frishberg and L. J. Massa, Int. J. Quantum Chem., 1978, 13, 801–810 CrossRef CAS.
 C. Frishberg and L. J. Massa, Phys. Rev. B: Condens. Matter Mater. Phys., 1981, 24, 7018–7024 CrossRef CAS.
 C. A. Frishberg and L. J. Massa, Acta Crystallogr., Sect. A: Cryst. Phys., Diffr., Theor. Gen. Crystallogr., 1982, 38, 93–98 CrossRef.
 R. F. Boehme and S. J. La Placa, Phys. Rev. Lett., 1987, 59, 985–987 CrossRef CAS PubMed.
 C. Frishberg, Int. J. Quantum Chem., 1986, 30, 1–5 CrossRef CAS.
 E. Clementi, IBM J. Res. Dev., 1965, 9, 2–19 CrossRef CAS.
 W. Kutzelnigg and V. H. Smith Jr, J. Chem. Phys., 1964, 41, 896–897 CrossRef CAS.
 R. Benesch and V. H. Smith Jr, Acta Crystallogr., Sect. A: Cryst. Phys., Diffr., Theor. Gen. Crystallogr., 1970, 26, 586–594 CrossRef CAS.
 G. Barnett, J. Linderberg and H. Shull, J. Chem. Phys., 1965, 43, S80–S88 CrossRef CAS.
 L. Massa, M. Goldberg, C. Frishberg, R. F. Boehme and S. J. La Placa, Phys. Rev. Lett., 1985, 55, 622–625 CrossRef CAS PubMed.
 Y. V. Aleksandrov, V. G. Tsirelson, I. M. Reznik and R. P. Ozerov, Phys. Status Solidi B, 1989, 155, 201–207 CrossRef CAS.
 M. J. Goldberg and L. J. Massa, Int. J. Quantum Chem., 1983, 24, 113–126 CrossRef CAS.
 L. M. Pecora, Phys. Rev. B: Condens. Matter Mater. Phys., 1986, 33, 5987–5993 CrossRef CAS.
 S. T. Howard, J. P. Huke, P. R. Mallinson and C. S. Frampton, Phys. Rev. B: Condens. Matter Mater. Phys., 1994, 49, 7124–7136 CrossRef CAS.
 J. A. Snyder and E. D. Stevens, Chem. Phys. Lett., 1999, 313, 293–298 CrossRef CAS.

(a) B. N. Figgis, E. S. Kucharski and G. A. Williams, J. Chem. Soc., Dalton Trans., 1980, 1515–1525 RSC;
(b) B. N. Figgis, P. A. Reynolds and G. A. Williams, J. Chem. Soc., Dalton Trans., 1980, 2339–2347 RSC;
(c) B. N. Figgis, P. A. Reynolds and S. Weight, J. Am. Chem. Soc., 1983, 105, 434–440 CrossRef CAS;
(d) B. N. Figgis and P. A. Reynolds, Inorg. Chem., 1985, 24, 1864–1873 CrossRef CAS;
(e) B. N. Figgis, P. A. Reynolds and A. H. White, Inorg. Chem., 1985, 24, 3762–3770 CrossRef CAS.
 K. Tanaka, Acta Crystallogr., Sect. A: Found. Crystallogr., 1988, 44, 1002–1008 CrossRef.
 K. Tanaka, Acta Crystallogr., Sect. B: Struct. Sci., 1993, 49, 1001–1010 CrossRef.
 K. Tanaka, Y. Kato and Y. Onuki, Acta Crystallogr., Sect. B: Struct. Sci., 1997, 53, 143–152 CrossRef.
 K. Tanaka and Y. Onuki, Acta Crystallogr., Sect. B: Struct. Sci., 2002, 58, 423–436 Search PubMed.
 K. Tanaka, R. Makita, S. Funahashi, T. Komori and Z. Win, Acta Crystallogr., Sect. A: Found. Crystallogr., 2008, 64, 437–449 CrossRef CAS PubMed.

(a) D. E. Hibbs, S. T. Howard, J. P. Huke and M. P. Waller, Phys. Chem. Chem. Phys., 2005, 7, 1772–1778 RSC;
(b) M. P. Waller, S. T. Howard, J. A. Platts, R. O. Piltz, D. J. Willock and D. E. Hibbs, Chem.–Eur. J., 2006, 12, 7603–7614 CrossRef CAS PubMed.

(a) H. Schmider, V. H. Smith Jr and W. Weyrich, Trans. Am. Crystallogr. Assoc., 1990, 26, 125–140 CAS;
(b) H. Schmider, V. H. Smith Jr and W. Weyrich, J. Chem. Phys., 1992, 96, 8986–8994 CrossRef CAS;
(c) W. Weyrich, Lect. Ser. Comput. Comput. Sci., 2006, 5, 1–3 Search PubMed.

(a) J.M. Gillet and P. J. Becker, J. Phys. Chem. Solids, 2004, 65, 2017–2023 CrossRef CAS;
(b) J.M. Gillet, Acta Crystallogr., Sect. A: Found. Crystallogr., 2007, 63, 234–238 CrossRef CAS PubMed;
(c) J.M. Gillet, P. J. Becker and P. Cortona, Phys. Rev. B: Condens. Matter Mater. Phys., 2001, 63, 235115 CrossRef.

(a) R. J. F. Nicholson, I. E. McCarthy and M. J. Brunger, Aust. J. Phys., 1998, 51, 691–706 CrossRef CAS;
(b) R. J. F. Nicholson, I. E. McCarthy and W. Weyrich, J. Phys. B.: At. Mol. Opt. Phys., 1999, 32, 3873–3886 CrossRef CAS.
 P. CassamChenaï, Int. J. Quantum Chem., 1995, 54, 201–210 CrossRef.
 P. CassamChenaï, S. Wolff, G. Chandler and B. Figgis, Int. J. Quantum Chem., 1996, 60, 667–680 CrossRef.
 T. L. Gilbert, Phys. Rev. B: Condens. Matter Mater. Phys., 1975, 12, 2111–2120 CrossRef.
 G. A. Henderson and R. K. Zimmermann, J. Chem. Phys., 1976, 65, 619–622 CrossRef CAS.
 E. S. Kryachko, I. Z. Petkov and M. Stoitsov, Int. J. Quantum Chem., 1987, 32, 467–472 CrossRef CAS.
 I. Z. Petkov, M. Stoitsov and E. S. Kryachko, Int. J. Quantum Chem., 1986, 29, 149–161 CrossRef CAS.
 M. Levy and J. A. Goldstein, Phys. Rev. B: Condens. Matter Mater. Phys., 1987, 35, 7887–7890 CrossRef.
 O. V. Gritsenko and G. M. Zhidomirov, Dokl. Akad. Nauk SSSR, 1987, 293, 1162–1166 CAS.

(a) Q. Zhao and R. G. Parr, Phys. Rev. A, 1992, 46, 2337–2343 CrossRef PubMed;
(b) Q. Zhao and R. G. Parr, J. Chem. Phys., 1993, 98, 543–548 CrossRef CAS;
(c) Q. Zhao, R. C. Morrison and R. G. Parr, Phys. Rev. A, 1994, 50, 2138–2142 CrossRef CAS PubMed.
 M. R. Nyden and R. G. Parr, J. Chem. Phys., 1983, 78, 4044–4047 CrossRef CAS.

(a) K. A. Dawson and N. H. March, J. Chem. Phys., 1984, 81, 5850–5854 CrossRef;
(b) N. H. March and R. F. Nalewajski, Phys. Rev. A, 1987, 35, 525–528 CrossRef CAS;
(c) A. Nagy and N. H. March, Phys. Rev. A, 1989, 39, 5512–5514 CrossRef CAS;
(d) A. Holas and N. H. March, Phys. Rev. A, 1991, 44, 5521–5536 CrossRef CAS PubMed.
 D. Jayatilaka, Phys. Rev. Lett., 1998, 80, 798–801 CrossRef CAS.
 D. Jayatilaka and D. J. Grimwood, Acta Crystallogr., Sect. A: Found. Crystallogr., 2001, 57, 76–86 CrossRef CAS.
 D. J. Grimwood and D. Jayatilaka, Acta Crystallogr., Sect. A: Found. Crystallogr., 2001, 57, 87–100 CrossRef CAS.
 I. Bytheway, D. J. Grimwood and D. Jayatilaka, Acta Crystallogr., Sect. A: Found. Crystallogr., 2002, 58, 232–243 Search PubMed.
 I. Bytheway, D. J. Grimwood, B. N. Figgis, G. S. Chandler and D. Jayatilaka, Acta Crystallogr., Sect. A: Found. Crystallogr., 2002, 58, 244–251 CrossRef.
 D. J. Grimwood, I. Bytheway and D. Jayatilaka, J. Comput. Chem., 2003, 24, 470–483 CrossRef CAS PubMed.

D. Jayatilaka, in Modern ChargeDensity Analysis, ed. C. Gatti and P. Macchi, Springer, Berlin, 2012, vol. 6, pp. 213–257 Search PubMed.

(a) M. Levy, Proc. Natl. Acad. Sci. U. S. A., 1979, 76, 6062–6065 CrossRef CAS PubMed;
(b) M. Levy, Phys. Rev. A, 1982, 26, 1200–1208 CrossRef CAS;
(c) E. Lieb, Int. J. Quantum Chem., 1983, 24, 243–277 CrossRef CAS.
 M. Hudák, D. Jayatilaka, L. Perašínova, S. Biskupic, J. Kozísek and L. Bučinský, Acta Crystallogr., Sect. A: Found. Crystallogr., 2010, 66, 78–92 CrossRef PubMed.
 L. Bučinský, D. Jayatilaka and S. Grabowsky, J. Phys. Chem. A, 2016, 120, 6650–6669 CrossRef PubMed.
 H. Stoll, G. Wagenblast and H. Preuss, Theor. Chim. Acta, 1980, 57, 169–178 CrossRef CAS.
 M. Sironi, A. Genoni, M. Civera, S. Pieraccini and M. Ghitti, Theor. Chem. Acc., 2007, 117, 685–698 CrossRef CAS.
 A. Genoni, J. Phys. Chem. Lett., 2013, 4, 1093–1099 CrossRef CAS PubMed.
 A. Genoni, J. Chem. Theory Comput., 2013, 9, 3004–3019 CrossRef CAS PubMed.
 L. H. R. Dos Santos, A. Genoni and P. Macchi, Acta Crystallogr., Sect. A: Found. Adv., 2014, 70, 532–551 CAS.
 A. Genoni and B. Meyer, Adv. Quantum Chem., 2016, 73, 333–362 CrossRef CAS.
 A. E. Whitten, D. Jayatilaka and M. Spackman, J. Chem. Phys., 2006, 125, 174505 CrossRef PubMed.
 D. Jayatilaka, P. Munshi, M. J. Turner, J. A. K. Howard and M. A. Spackman, Phys. Chem. Chem. Phys., 2009, 11, 7209–7218 RSC.
 D. D. Hickstein, J. M. Cole, M. J. Turner and D. Jayatilaka, J. Chem. Phys., 2013, 139, 064108 CrossRef PubMed.
 J. M. Cole and D. D. Hickstein, Phys. Rev. B: Condens. Matter Mater. Phys., 2013, 88, 184105 CrossRef.
 A. D. Becke and K. E. Edgecombe, J. Chem. Phys., 1990, 92, 5397–5403 CrossRef CAS.
 M. Kohout, Int. J. Quantum Chem., 2004, 97, 651–658 CrossRef CAS.

(a) R. F. W. Bader and M. E. Stephens, J. Am. Chem. Soc., 1975, 97, 7391–7399 CrossRef CAS;
(b) M. D. Gould, C. Taylor, S. K. Wolff, G. S. Chandler and D. Jayatilaka, Theor. Chem. Acc., 2008, 119, 275–290 CrossRef CAS.
 D. Jayatilaka and D. J. Grimwood, Acta Crystallogr., Sect. A: Found. Crystallogr., 2004, 60, 111–119 CrossRef PubMed.
 S. Grabowsky, D. Jayatilaka, S. Mebs and P. Luger, Chem.–Eur. J., 2010, 16, 12818–12821 CrossRef CAS PubMed.
 S. Grabowsky, M. Weber, D. Jayatilaka, Y. S. Chen, M. T. Grabowski, R. Brehme, M. Hesse, T. Schirmeister and P. Luger, J. Phys. Chem. A, 2011, 115, 12715–12732 CrossRef CAS PubMed.
 S. Grabowsky, P. Luger, J. Buschmann, T. Schneider, T. Schirmeister, A. N. Sobolev and D. Jayatilaka, Angew. Chem., Int. Ed., 2012, 51, 6776–6779 CrossRef CAS PubMed.
 R. F. Stewart, J. Chem. Phys., 1969, 51, 4569–4577 CrossRef CAS.
 P. Coppens, T. V. Willoughby and L. N. Csonka, Acta Crystallogr., Sect. A: Cryst. Phys., Diffr., Theor. Gen. Crystallogr., 1971, 27, 248–256 CrossRef CAS.
 A. Genoni, L. H. R. Dos Santos, B. Meyer and P. Macchi, IUCrJ, 2017, 4, 136–146 CAS.
 A. Genoni, Acta Crystallogr., Sect. A: Found. Adv., 2016, 72, s165 Search PubMed.
 N. Casati, A. Kleppe, A. P. Jephcoat and P. Macchi, Nat. Commun., 2016, 7, 10901 CrossRef PubMed.
 A. A. Hoser and A. Ø. Madsen, Acta Crystallogr., Sect. A: Found. Adv., 2016, 72, 206–214 CAS.
 A. Ø. Madsen, B. Civalleri, M. Ferrabone, F. Pascale and A. Erba, Acta Crystallogr., Sect. A: Found. Crystallogr., 2013, 69, 309–321 CrossRef CAS.

(a) H.B. Bürgi and S. C. Capelli, Acta Crystallogr., Sect. A: Found. Crystallogr., 1995, 56, 403–412 CrossRef;
(b) S. C. Capelli, M. Förtsch and H.B. Bürgi, Acta Crystallogr., Sect. A: Found. Crystallogr., 1995, 56, 413–424 Search PubMed.
 T. Aree and H.B. Bürgi, J. Phys. Chem. B, 2006, 110, 26129–26134 CrossRef CAS PubMed.
 A. A. Hoser and A. Ø. Madsen, Acta Crystallogr., Sect. A: Found. Adv., 2017, 73, 102–114 CAS.
 A. H. Compton, Nature, 1915, 95, 343–344 CrossRef CAS.
 R. W. James and G. W. Brindley, Philos. Mag., 1931, 12, 81–112 CrossRef CAS.
 A. A. Abrahamson, Phys. Rev., 1961, 123, 538 CrossRef CAS.
 H. P. Hanson, F. Herman, J. D. Lea and S. Skillman, Acta Crystallogr., 1964, 17, 1040–1044 CrossRef CAS.
 D. T. Cromer, Acta Crystallogr., 1965, 19, 224–227 CrossRef CAS.

(a) P. A. Doyle and P. S. Turner, Acta Crystallogr., Sect. A: Cryst. Phys., Diffr., Theor. Gen. Crystallogr., 1968, 24, 390–397 CrossRef CAS;
(b) A. G. Fox, M. A. O'Keefe and M. A. Tabbernor, Acta Crystallogr., Sect. A: Found. Crystallogr., 1989, 45, 786–793 CrossRef;
(c)
P. J. Brown, A. G. Fox, E. N. Maslen, M. A. O'Keefe and B. T. M. Willis, in International Tables For Crystallography, Volume C, ed. E. Prince, Wiley, Chichester, U.K., 3rd edn, 1999, vol. 6.1, pp. 554–595 Search PubMed.

D. T. Cromer and J. B. Mann, Los Alamos Scientific Laboratory Report LA3816, 1968.

D. T. Cromer and J. T. Waber, 1968, as reported in International Tables For Crystallography, Kynoch Press, 1974, vol. IV, p. 71 Search PubMed.
 D. Rez, P. Rez and I. Grant, Acta Crystallogr., Sect. A: Found. Crystallogr., 1994, 50, 481–497 CrossRef.

(a) J. Bentley and R. F. Stewart, J. Comput. Phys., 1973, 11, 127–145 CrossRef;
(b) R. F. Stewart, J. Bentley and B. Goodman, J. Chem. Phys., 1975, 63, 3786–3793 CrossRef CAS.

(a) R. Destro, R. E. Marsh and R. Bianchi, J. Phys. Chem., 1988, 92, 966–973 CrossRef CAS;
(b) C. Gatti, E. May, R. Destro and F. Cargnoni, J. Phys. Chem. A, 2002, 106, 2707–2720 CrossRef CAS.
 R. F. Stewart, E. R. Davidson and W. T. Simpson, J. Chem. Phys., 1965, 42, 3175–3187 CrossRef CAS.
 B. Dawson, Proc. R. Soc. London, Ser. A, 1967, 298, 255–263 CrossRef CAS.
 K. KurkiSuonio, Acta Crystallogr., Sect. A: Cryst. Phys., Diffr., Theor. Gen. Crystallogr., 1968, 24, 379–390 CrossRef CAS.
 F. L. Hirshfeld, Acta Crystallogr., Sect. B: Struct. Crystallogr. Cryst. Chem., 1971, 27, 769–781 CrossRef CAS.
 N. K. Hansen and P. Coppens, Acta Crystallogr., Sect. A: Cryst. Phys., Diffr., Theor. Gen. Crystallogr., 1978, 34, 909–921 CrossRef.

(a) E. Clementi and C. Roetti, At. Data Nucl. Data Tables, 1974, 14, 177–478 CrossRef CAS;
(b) Z. Su and P. Coppens, Acta Crystallogr., Sect. A: Found. Crystallogr., 1998, 54, 646–652 CrossRef;
(c) P. Macchi and P. Coppens, Acta Crystallogr., Sect. A: Found. Crystallogr., 2001, 57, 656–662 CAS.

(a) E. Clementi and D. L. Raimondi, J. Chem. Phys., 1963, 38, 2686–2689 CrossRef CAS;
(b) P. M. Dominiak and P. Coppens, Acta Crystallogr., Sect. A: Found. Crystallogr., 2006, 62, 224–227 CrossRef PubMed.

(a) T. Koritsanszky and A. Volkov, Chem. Phys. Lett., 2004, 385, 431–434 CrossRef CAS;
(b) T. Koritsanszky, A. Volkov and M. Chodkiewicz, Struct. Bonding, 2012, 147, 1–26 CrossRef CAS.

(a) A. Fischer, D. Tiana, W. Scherer, K. Batke, G. Eickerling, H. Svendsen, N. Bindzus and B. B. Iversen, J. Phys. Chem. A, 2011, 115, 13061–13071 CrossRef CAS PubMed;
(b) N. Bindzus, T. Straasø, N. Wahlberg, J. Becker, L. Bjerg, N. Lock, A.C. Dippel and B. B. Iversen, Acta Crystallogr., Sect. A: Found. Adv., 2014, 70, 39–48 CAS.
 S. Domagała, B. Fournier, D. Liebschner, B. Guillot and C. Jelsch, Acta Crystallogr., Sect. A: Found. Crystallogr., 2012, 68, 337–351 Search PubMed.
 B. Dittrich, C. B. Hübschle, K. Pröpper, F. Dietrich, T. Stolper and J. J. Holstein, Acta Crystallogr., Sect. B: Struct. Sci., Cryst. Eng. Mater., 2013, 69, 91–104 CAS.
 K. N. Jarzembska and P. M. Dominiak, Acta Crystallogr., Sect. A: Found. Crystallogr., 2012, 68, 139–147 CAS.

(a) J. C. H. Spence, Acta Crystallogr., Sect. A: Found. Crystallogr., 1993, 49, 231–260 CrossRef;
(b) M. Tanaka, Acta Crystallogr., Sect. A: Found. Crystallogr., 1994, 50, 261–286 CrossRef.

P. Hirsch, A. Howie, R. B. Nicholson, D. W. Pashley and M. J. Whelan, Electron Microscopy of Thin Crystals, Krieger, Florida, U.S.A., 1977 Search PubMed.

J. M. Zuo, in Electron Crystallography: Novel Approaches for Structure Determination of Nanosized Materials, Volume 211 of the NATO Science Series: II. Mathematics, Physics and Chemistry, ed. T. E. Weirich, J. L. Lábár and X. Zou, Springer, Dordrecht, The Netherlands, 2006, B.6, pp. 143–168 Search PubMed.

(a) D. J. H. Cockayne, P. Goodman, J. C. Mills and A. F. Moodie, Rev. Sci. Instrum., 1967, 38, 1093–1103 CrossRef;
(b) J. M. Cowley, Acta Crystallogr., Sect. A: Cryst. Phys., Diffr., Theor. Gen. Crystallogr., 1969, 25, 129–134 CrossRef CAS.

(a) T. Taftø and T. H. Metzger, J. Appl. Crystallogr., 1985, 18, 110–116 CrossRef;
(b) R. Vincent and D. M. Bird, Philos. Mag. A, 1986, 53, L35–L40 CrossRef CAS.

(a) D. M. Bird and M. Saunders, Acta Crystallogr., Sect. A: Found. Crystallogr., 1992, 48, 555–562 CrossRef CAS;
(b) J. M. Zuo and J. C. H. Spence, Ultramicroscopy, 1991, 35, 185–196 CrossRef CAS.
 P. N. H. Nakashima, A. E. Smith, J. Etheridge and B. C. Muddle, Science, 2011, 331, 1583–1586 CrossRef CAS PubMed.
 Y. Ogata, K. Tsuda and M. Tanaka, Acta Crystallogr., Sect. A: Found. Crystallogr., 2008, 64, 587–597 CrossRef CAS PubMed.
 J. M. Zuo, M. Kim, M. O'Keeffe and J. C. H. Spence, Nature, 1999, 401, 49–52 CrossRef CAS.
 L. Palatinus, P. Brázda, P. Boullay, O. Perez, M. Klementová, S. Petit, V. Eigner, M. Zaarour and S. Mintova, Science, 2017, 355, 166–169 CrossRef CAS PubMed.
 D. Jayatilaka and B. Dittrich, Acta Crystallogr., Sect. A: Found. Crystallogr., 2008, 64, 383–393 CrossRef CAS PubMed.

(a) F. L. Hirshfeld, Isr. J. Chem., 1977, 16, 198–201 CrossRef CAS;
(b) F. L. Hirshfeld, Theor. Chim. Acta, 1977, 44, 129–138 CrossRef CAS.
 S. C. Capelli, H.B. Bürgi, B. Dittrich, S. Grabowsky and D. Jayatilaka, IUCrJ, 2014, 1, 361–379 CAS.

(a) O. V. Dolomanov, L. J. Bourhis, R. J. Gildea, J. A. K. Howard and H. Puschmann, J. Appl. Crystallogr., 2009, 42, 339–341 CrossRef CAS;
(b)
M. Fugel, D. Jayatilaka, E. Hupf, M. J. Turner, J. Overgaard, V. R. Hathwar, B. B. Iversen, P. Macchi, H.B. Bürgi, J. A. K. Howard, O. V. Dolomanov, H. Puschmann and S. Grabowsky, manuscript in preparation.
 M. E. Wall, IUCrJ, 2016, 3, 237–246 CAS.
 L. Chęcińska, W. Morgenroth, C. Paulmann, D. Jayatilaka and B. Dittrich, CrystEngComm, 2013, 15, 2084–2090 RSC.
 B. Dittrich, E. Sze, J. J. Holstein, C. B. Hübschle and D. Jayatilaka, Acta Crystallogr., Sect. A: Found. Crystallogr., 2012, 68, 435–442 CAS.

(a) M. Woińska, D. Jayatilaka, M. A. Spackman, A. J. Edwards, P. M. Dominiak, K. Woźniak, E. Nishibori, K. Sugimoto and S. Grabowsky, Acta Crystallogr., Sect. A: Found. Adv., 2014, 70, 483–498 Search PubMed;
(b) M. Woińska, S. Grabowsky, P. M. Dominiak, K. Woźniak and D. Jayatilaka, Sci. Adv., 2016, 2, e1600192 Search PubMed.
 B. Dittrich, J. Lübben, S. Mebs, A. Wagner, P. Luger and R. Flaig, Chem.–Eur. J., 2017 DOI:10.1002/chem.201604705.

(a) A. Jack and M. Levitt, Acta Crystallogr., Sect. A: Cryst. Phys., Diffr., Theor. Gen. Crystallogr., 1978, 34, 931–935 CrossRef;
(b) A. T. Brünger, J. Kuriyan and M. Karplus, Science, 1987, 235, 458–460 Search PubMed;
(c) A. T. Brünger, M. Karplus and G. A. Petsko, Acta Crystallogr., Sect. A: Found. Crystallogr., 1989, 45, 50–61 CrossRef;
(d) W. I. Weiss, A. T. Brünger, J. J. Skehel and D. C. Wiley, J. Mol. Biol., 1990, 212, 737–761 CrossRef.
 R. A. Engh and R. Huber, Acta Crystallogr., Sect. A: Found. Crystallogr., 1991, 47, 392–400 CrossRef.
 A. T. Brünger and P. D. Adams, Acc. Chem. Res., 2002, 35, 404–412 CrossRef.

(a) U. Ryde, L. Olsen and K. Nilsson, J. Comput. Chem., 2002, 23, 1058–1070 CrossRef CAS PubMed;
(b) U. Ryde and K. Nilsson, J. Mol. Struct.: THEOCHEM, 2003, 632, 259–275 CrossRef CAS;
(c) U. Ryde, Dalton Trans., 2007, 607–625 RSC.

(a) U. Ryde and K. Nilsson, J. Am. Chem. Soc., 2003, 125, 14232–14233 CrossRef CAS PubMed;
(b) U. Ryde and K. Nilsson, J. Inorg. Biochem., 2003, 96, 39 CrossRef;
(c) K. Nilsson, H.P. Hersleth, T. H. Rod, K. K. Andersson and U. Ryde, Biophys. J., 2004, 87, 3437–3447 CrossRef CAS PubMed;
(d) K. Nilsson and U. Ryde, J. Inorg. Biochem., 2004, 98, 1539–1546 CrossRef CAS PubMed;
(e) M. G. G. Fuchs, F. Meyer and U. Ryde, J. Biol. Inorg Chem., 2010, 15, 203–212 CrossRef CAS PubMed.

(a) N. Yu, S. A. Hayik, B. Wang, N. Liao, C. H. Reynolds and K. M. Merz Jr, J. Chem. Theory Comput., 2006, 2, 1057–1069 CrossRef CAS PubMed;
(b) X. Li, X. He, B. Wang and K. M. Merz Jr, J. Am. Chem. Soc., 2009, 131, 7742–7754 CrossRef CAS PubMed;
(c) X. Li, S. A. Hayik and K. M. Merz Jr, J. Inorg. Biochem., 2010, 104, 512–522 CrossRef CAS PubMed;
(d) X. Li, Z. Fu and K. M. Merz Jr, J. Comput. Chem., 2012, 33, 301–310 CrossRef CAS PubMed;
(e) Z. Fu, X. Li, Y. Miao and K. M. Merz Jr, J. Chem. Theory Comput., 2013, 9, 1686–1693 CrossRef CAS PubMed.

(a) N. Yu, H. P. Yennawar and K. M. Merz Jr, Acta Crystallogr., Sect. D: Biol. Crystallogr., 2005, 61, 322–332 Search PubMed;
(b) N. Yu, X. Li, G. Cui, S. A. Hayik and K. M. Merz Jr, Protein Sci., 2006, 15, 2773–2784 CrossRef CAS PubMed.

(a) S. L. Dixon and K. M. Merz Jr, J. Chem. Phys., 1996, 104, 6643–6649 CrossRef CAS;
(b) S. L. Dixon and K. M. Merz Jr, J. Chem. Phys., 1997, 107, 879–893 CrossRef CAS.
 O. Y. Borbulevych, J. A. Plumley, R. I. Martin, K. M. Merz Jr and L. M. Westerhoff, Acta Crystallogr., Sect. D: Biol. Crystallogr., 2014, 70, 1233–1247 CAS.

(a) P. D. Adams, Acta Crystallogr., Sect. D: Biol. Crystallogr., 2010, 66, 213–221 CrossRef CAS PubMed;
(b) P. V. Afonine, R. W. FrosseKunstleve, N. Echols, J. J. Headd, N. W. Moriarty, M. Mustyakimov, T. C. Terwilliger, A. Urzhumtsey, P. H. Zwart and P. D. Adams, Acta Crystallogr., Sect. D: Biol. Crystallogr., 2012, 68, 352–367 CrossRef CAS PubMed.

(a) S. Grabowsky, D. Jayatilaka, R. F. Fink, T. Schirmeister and B. Engels, Z. Anorg. Allg. Chem., 2013, 639, 1905–1921 CrossRef CAS;
(b)
M. Woińska, D. Jayatilaka, B. Dittrich, R. Flaig, P. Luger, K. Wozniak, P. M. Dominiak and S. Grabowsky, manuscript in preparation.

(a) B. Meyer, B. Guillot, M. F. RuizLopez and A. Genoni, J. Chem. Theory Comput., 2016, 12, 1052–1067 CrossRef CAS PubMed;
(b) B. Meyer, B. Guillot, M. F. RuizLopez, C. Jelsch and A. Genoni, J. Chem. Theory Comput., 2016, 12, 1068–1081 CrossRef CAS PubMed.
Footnotes 
† Dedicated to Prof. Louis J. Massa on the occasion of his 75^{th} birthday and to Prof. Dylan Jayatilaka on the occasion of his 50^{th} birthday in recognition of their pioneering contributions to the field of Xray quantum crystallography. 
‡ In all reviewed methods according to the first definition, the authors refer to the use of external parameters as “constraints”. Hence, we will use this term throughout Chapter 2, although we believe that, in a crystallographic sense, the term “restraints” would be more appropriate. 
§ The oneelectron density matrix γ(x;x′) for a pure state of an Nelectron system is related to the global wavefunction ψ(x_{1},x_{2},…,x_{N}) for the same pure state of the system through the following relation: where x and x′ are two sets of independent space and spin coordinates (i.e., x = {r,s} and x′ = {r′,s′}). Since the numerical value of γ changes according to the value of x and x′, γ(x;x′) can be seen as a matrix of infinite dimensions. It intrinsically contains all the information about the oneelectron properties of a system and, if integrated over the continuous spin coordinates, reduces to the spinless oneelectron density matrix: whose diagonal part corresponds to the electron density (ρ(r;r) = ρ(r)). Working with a finite set of M basis functions {χ_{μ}} (i.e. the usual basissets of quantum chemistry), the spinless oneelectron density matrix can be expressed in terms of the finite matrix P: 
¶ . The unknowns for the resulting system of inhomogeneous equations are the external multipliers {λ_{k}^{(n)}}. 
 HAR operates in the Cartesian crystal coordinate system; it uses the scattering vector k = 2πBh (expressed in terms of the reciprocal cell matrix B) and the positional atomic coordinates _{j} rather than the dimensionless Miller indices h and the fractional coordinates R_{j}. 

This journal is © The Royal Society of Chemistry 2017 