A contraction is a decision made once
Worth reading first: A Gaussian is the wrong shape · Hybrids are a basis.
The word contraction means two different things in the description of an orbital, and both of them appear in this collection. One is what a molecule does: an orbital shrinks when a bond forms, because the electron is now attracted by two nuclei rather than one, and the exponent the hydrogen molecule ion chooses comes out at 1.238 rather than the free atom’s 1. The other is a piece of bookkeeping in every electronic-structure program written since 1969: a contracted basis set is a collection of primitive Gaussian functions which have been frozen into fixed linear combinations, once, and will only ever appear in those combinations again.
The two meet, and the meeting is the whole of what follows. A contraction fixed on the free atom cannot represent the contraction the molecule wants, because the ratio it froze was the free atom’s answer.
What is actually frozen
A primitive Gaussian is , and a sum of them is the wrong shape at both ends — no cusp at the nucleus, too fast a decay far out — for reasons that no number of them repairs. What they buy is that every integral has a closed form, and that is enough to have carried the whole subject for sixty years.
Optimising six of them for a hydrogen atom gives exponents spanning three orders of magnitude, from 0.0900 to 82.9, and a set of coefficients that ties them together.
A calculation using them uncontracted has six linear coefficients to choose. A calculation using them contracted into a single function has one, and the other five have already been decided. The primitives are the same primitives; the integrals are the same integrals — a contracted matrix element is a double sum over the primitives of the two shells, so contraction saves nothing at all at the integral stage. What it saves is everything after it: the matrix to be diagonalised, the number of two-electron integrals to be transformed, the size of the correlation problem. That is why it exists.
What a contraction actually buys
It is worth being exact about the saving, because the usual summary — a contracted basis is smaller — gets it wrong in a way that matters for reading the cost.
The integrals are unchanged. A matrix element between two contracted shells is
so every primitive integral still has to be computed, and there are exactly as many of them as there would be with no contraction at all. What falls is the number of basis functions the rest of the calculation sees. The matrix to diagonalise is smaller; the transformation of two-electron integrals from the primitive index to the orbital index — which scales as the fifth power of the number of functions — is smaller by that power; and any correlated method built on top of the orbitals is smaller again.
For a molecule of any size that is the entire cost of the calculation, and the contraction is buying it with a variational freedom whose value is what this essay measures. The trade is real. The question is only whether anybody knows what they paid.
The atom it was fitted to is the one place it costs nothing
At the atom the contraction was built for, freezing the ratio costs nothing: the excess energy is hartree, which is the arithmetic and not a quantity. That has to be so, and it is worth saying why rather than merely observing it. The contraction coefficients are the answer to the atom’s own variational problem. Handing a calculation an answer it was going to arrive at anyway takes nothing away from it.
This is the reason the defect is invisible to anybody testing a basis set on atoms, and it is not a small class of people. A basis set is published with atomic total energies, and those energies are exactly the quantity a contraction is free in.
The other end of the knob
A one-electron problem has one knob for a different environment, and it is the nuclear charge. That is a cruder change than forming a bond, and it is also the same change measured in the other sense of the word: an exponent carries a length, so an orbital that has contracted by a factor is an atomic orbital at an effective charge larger by that factor. The hydrogen molecule ion settles at at its own bond length, so 1.238 is a computed estimate of what bonding does to a basis, computed rather than assumed.
Every basis in the comparison holds exactly the same six primitives. The only difference between them is how many of the linear coefficients the calculation may choose for itself, and the whole of the cost reported is the cost of having chosen them somewhere else.
Seventy-four kilojoules a mole is the number worth carrying away. It is not an error in a small correction; it is the size of the quantity a chemist wants the calculation for. And it arises on an atom that has not changed, in a basis containing exactly the same functions, purely because a linear coefficient was fixed on somebody else’s problem.
Which end to unfreeze, and a reason that was wrong twice
A split-valence basis set leaves the outermost primitive — or two — free, and contracts the rest. The convention is universal and the justification usually given is chemical: the valence region is where bonding happens, so the valence functions need freedom.
Two natural expectations both fail. One is that freeing a single primitive recovers more than half of what the contraction lost; it recovers 29.5 per cent. The other is that the diffuse end must be the wrong one to free — a larger nuclear charge pulls the orbital inward, so surely the tight coefficients are the ones needing to move — and freeing the tight end recovers 1.1 per cent against the diffuse end’s 29.5.
The convention is right and both readings of it were wrong.
What a frozen ratio gets wrong is how much tail it carries. A contracted function fitted at one charge and used at a larger one is too diffuse, and one free coefficient on the most diffuse primitive can subtract that excess directly — the five primitives held together are then already close to the right shape. Freeing the tight end instead leaves five diffuse primitives locked in one badly wrong combination, and no amount of the sixth repairs it.
So the convention frees the end that can be corrected, not the end that has changed. Those are different criteria, and only one of them is the reason. The chemical story happens to name the same functions.
The comparison a chemist actually makes
An energy on its own is not a chemical statement. What matters is whether the error cancels between two situations being compared, and the shape of the curve above says that it does not.
A frozen ratio costs nothing at charge one, five thousandths of a hartree at 1.1, and twenty-eight thousandths at 1.238. So a calculation comparing a free atom with the same atom in a bond is comparing one number that is exact for its own problem with another that is seventy-four kilojoules a mole too high. The error does not cancel; it is entirely on one side. That is the worst arrangement a systematic error can have, and it is the arrangement a contracted basis produces for exactly the quantity — a bond energy — that the calculation was run for.
The repair the field settled on is not a better contraction but more freedom, and the numbers above say how much freedom buys what. It is the same shape of answer as the convergence of the energy with basis size: each added function lowers the energy from above, none overshoots, and the returns fall off. Freedom in the linear coefficients behaves the same way, because it is the same variational principle acting on the same space.
The ratio is the same for every atom
A result worth stating because it says what the loss is not. The one-electron problem scales exactly: solving it at charge gives the charge-one answer with every exponent multiplied by and every energy by . So the optimised contraction coefficients at charge three are the optimised coefficients at charge one, to two parts in a hundred. Only the exponents move.
The loss measured above is therefore not the loss of a ratio that should have been different. It is the loss of exponents that should have been different, with a ratio holding them together. A contraction cannot scale its own exponents, and that is the whole of its rigidity.
The check that the fitted ratio is nevertheless doing work is a refusal: two other ratios over the same six primitives — a flat one, and the fitted one reversed — are both worse at the atom the fit was made for, by amounts far outside any numerical tolerance. So the coefficients carry the fit, and the fit is worth something; it is just worth it in one place.
Where the numbers came from
Nothing here is quoted from a table of basis sets, and that is deliberate: quoting the exponents would put the one thing this essay is about — that they were fitted, once, by somebody, to one problem — behind a reference. So the six exponents are found by a deterministic descent on their logarithms, the coefficients fall out of the generalised eigenvalue problem , and the non-orthogonality of Gaussians on one centre is removed by symmetric orthogonalisation — the same that the localisation transformation uses on four bond orbitals, where what is being removed is the overlap between hybrids rather than between primitives.
The eigenvalues then come from a Jacobi eigensolver checked against closed forms. Two internal checks make the comparison meaningful rather than merely consistent: an uncontracted basis solved as one-primitive shells reproduces the primitive solver’s own answer to twelve decimals, so the two routes are solving the same problem; and no contracted basis anywhere in the scan beats the uncontracted one it was built from, which is a theorem rather than a measurement — its functions span a subspace of theirs — and is therefore the check that would catch an error in the arithmetic rather than in the physics.
An error that varies along a bond is a force
Seventy-four kilojoules a mole is quoted above as a cost, and a cost is a number a chemist immediately wants to see cancel. Most errors of this kind do: a defect present in the same amount on both sides of a comparison subtracts out, which is the whole of why absolute energies are never quoted and differences always are.
This one does not cancel, and the reason is contained in how it was measured. The contraction was frozen at the free atom’s nuclear charge and evaluated at the charge a bond gives an orbital. At the first it costs nothing whatever — it is exact there, by construction. At the second it costs seventy-four. So the error is zero at large separation and of chemical size at bonding separation, which is to say it is a function of the internuclear distance rather than a constant.
An energy error that varies along a coordinate is not an offset. It is a contribution to the shape of the curve, and its derivative is a contribution to the force. This one rises as the atoms approach, so it opposes their approach: a contracted basis under-binds at the bond length and does not under-bind at infinity, which pushes the computed minimum outward and flattens the well around it. A calculation in such a basis therefore returns a bond that is slightly too long and a force constant slightly too small, and neither error is visible in any single number the calculation reports.
The direction is worth keeping because it is the direction the errors actually run. Bond lengths from small contracted basis sets are systematically long and their harmonic frequencies systematically low, and the usual explanation offered is basis incompleteness in general. Part of it is specifically this: a ratio decided on an isolated atom, applied to an orbital that is no longer on an isolated atom, and applied more wrongly the closer the atoms come.
It also identifies which comparisons are protected and which are not. Two molecules of similar bonding, computed in the same basis, have similar contraction errors and the difference between them is safe. A single molecule at two geometries does not, because the contraction error is one of the things that changes between them — and a potential energy surface is nothing but one molecule at many geometries.
What this cannot say
Three limits, and they matter for reading the number.
The environment is a nuclear charge, not a molecule. A real basis set is used in a field with more than one centre in it, and the redistribution a bond causes is not a uniform contraction. Modelling it as one is a caricature that gets the sign and the rough size right and nothing else.
There is one electron. No repulsion, no self-consistency, no correlation. A self-consistent mean field exists and is not used here, because bringing it in would replace a number that can be checked against an exact answer with one that cannot.
Only s functions. A real molecular basis carries p and d primitives whose contraction raises the same question with more indices, and the polarisation functions that make a basis usable for anything anisotropic are usually left uncontracted precisely because there is no atomic answer to freeze them at.
None of the three changes the shape of the result, which is that a fixed linear coefficient is a decision, that the decision is invisible on the problem it was taken for, and that its cost elsewhere is of chemical size.
Where the argument goes next
The next thing to ask of a basis is what it does to a property rather than to an energy, and the answer is uncomfortable: an energy can be excellent while the function is the wrong shape, and it is properties that depend on the tail — polarisabilities, long-range interactions, anything that has to reach — which converge slowest. A contracted tail is a fixed tail. The measurement above says how much energy that costs; it says nothing about how much shape it costs, and shape is the thing the cusp and the tail were already wrong about before anything was frozen.
The other direction is still open: two electrons, self-consistently, in a Gaussian basis. Every other ingredient is in hand — the primitive integrals in closed form, the symmetric orthogonalisation, the eigensolver, the mean field with a checked sign. What is missing is a two-electron integral over Gaussians on different centres, which is the one ingredient that turns all of this into quantum chemistry rather than a very careful account of one atom.
There is also a question this raises about pictures rather than about energies. A contracted orbital has a fixed shape by construction, so a contour drawn at a stated enclosed fraction is a contour of a function whose outer form was decided on an atom. The picture will be perfectly self-consistent and the fraction it encloses will be exactly what is claimed; what it will not be is a picture of the orbital in the molecule. That is a different kind of error from the ones the isovalue essay is about, and it is invisible in the same way — every number is right, and it is a number about the wrong object.
The claim to hold on to meanwhile is small and firm. A published basis set is a table of numbers, half of which are answers somebody else computed to a question about an isolated atom. Using it is agreeing to those answers. On the atom they are free; at a bond length they are worth seventy-four kilojoules a mole; and the one coefficient it is worth unfreezing is at the end of the basis that can absorb the error, rather than the end where the error came from.
What links here
Computed from the collection rather than written here: the essays that point at this one.
Reads more easily once this is understood
Essays that name this one as worth reading first.
Shares its objects with
Essays naming at least two of the same things, that neither author linked.
- A filled shell is not an empty statement — both name basis, eigenvalue, model limit, one-electron models
- A symmetry holds or it does not — both name approximation, eigenvalue, model limit, one-electron models
- An anomaly that is not the first of a series — both name approximation, bond length, eigenvalue, model limit
- Fifty descriptions of one molecule — both name approximation, basis, convergence, model limit
- The bond length that depends on the isotope — both name approximation, bond length, eigenvalue, model limit
- The correction that was computed somewhere else — both name approximation, convergence, model limit, variational
Named objects
A dashed tag is an object no other essay names yet.
ApproximationBasisBond lengthConvergenceEffective nuclear chargeEigenvalueModel limitOne-electron modelsOrthogonalityVariational