Basis Choice and Representation
A useful computational basis resolves the states and observables of interest with affordable storage and controlled error. Equivalent complete representations can become very different approximations after truncation. The relevant question is therefore how accurately a particular finite subspace represents the physical calculation, not which basis is universally best.
Required background. Change of basis supplies the exact coordinate transformation; array representations distinguishes coefficients from weighted grid samples.
Finite subspaces and projection error
Section titled “Finite subspaces and projection error”Let project onto orthonormal trial functions and let . The normalized projection is , provided the denominator is nonzero. Orthogonality splits the norm into retained and omitted weights, . Consequently,
Thus omitted weight has a direct state interpretation. A small energy error need not imply equally small error in a sensitive observable or in an eigenvector near a degeneracy. Check the quantity actually needed and use basis-set convergence to vary the truncation.
A harmonic-oscillator basis resolves Gaussian bound states economically but can require many functions for a broad scattering state. Plane waves treat translations and kinetic energy efficiently but need high momentum cutoffs for cusps. Local finite elements adapt to spatial structure but introduce an overlap matrix. Site and occupation bases expose local interactions and symmetries. These choices change both approximation error and operator cost.
Nonorthogonal bases and the overlap matrix
Section titled “Nonorthogonal bases and the overlap matrix”For linearly independent trial functions , expand and form
The denominator is the physical norm squared: two overlapping basis functions contribute cross terms. Varying the energy quotient with respect to gives the generalized Hermitian eigenproblem
Here contains matrix elements, while represents the coefficient-space action. Confusing the two loses the physical metric. Explicitly forming also conceals Hermitian structure and usually worsens numerical behavior.
When is positive definite, factor and use triangular solves to construct
Then is an ordinary Hermitian problem. The residual bound uses these orthonormal coordinates and the inverse overlap metric. It controls the finite projected problem; a residual component outside the trial space requires separate assessment. In a large sparse calculation, use a solver that handles the generalized problem without forming dense transformations.
Near dependence: a two-function example
Section titled “Near dependence: a two-function example”Take normalized functions with real overlap , so . For , its eigenvalues are and , giving
At , the condition number is approximately . The difference of the two functions is a legitimate small-norm direction, but representing a normalized state along it requires large coefficients. Small matrix-element errors can then matter greatly. Extra basis functions have increased the nominal variational freedom while degrading arithmetic reliability.
One remedy is canonical orthogonalization: diagonalize , retain eigenvalues above a declared threshold, and use columns . This removes directions and therefore changes the approximation space. Report the threshold, repeat the calculation over a range of thresholds, and track the target observables. A threshold justified only by a successful factorization is not an accuracy argument.
Choosing and testing a representation
Section titled “Choosing and testing a representation”Begin with the physical length, momentum, energy, symmetry, and boundary scales. Choose a family whose resolution parameter can be increased systematically. A basis that contains the initial state exactly may still represent the evolved state poorly; a localized packet can spread or develop high-frequency structure.
Compare representations on at least one shared small problem. Transform a state and observable consistently and compare expectation values before introducing truncation. Once truncation is present, compare energies, projectors, and observables rather than demanding equality of basis coefficients. Eigenvectors carry arbitrary phase; degenerate eigenspaces also permit arbitrary unitary rotations.
For unbounded operators, small projection error alone does not guarantee accurate energy or derivatives. Trial functions must satisfy the appropriate boundary/form-domain conditions. The Rayleigh–Ritz method states the variational setting; boundary conditions addresses its numerical implementation.
Exercises
Section titled “Exercises”Let have norm for a normalized target. What is the fidelity of its normalized projection, and why is it not ?
Solution
The fidelity is the squared overlap, . The missing probability weight is . Norm and probability are different quantities.
For the two-function overlap matrix, what happens at ? Can an increased arithmetic precision repair the problem?
Solution
One eigenvalue is zero: the two functions are identical in the Hilbert-space norm. The coefficient representation is redundant. More precision cannot make an exactly singular overlap matrix positive definite; remove the redundant direction.
References
Section titled “References”- Anderson, E., et al., LAPACK Users’ Guide, 3rd ed., SIAM, 1999, Generalized Symmetric Definite Eigenproblems — structure-preserving reduction of generalized eigenproblems.
- Golub, G. H., and C. F. Van Loan, Matrix Computations, 4th ed., Johns Hopkins University Press, 2013 — conditioning, orthogonalization, and generalized spectral problems.
- Higham, N. J., Accuracy and Stability of Numerical Algorithms, 2nd ed., SIAM, 2002, publisher edition — error amplification by ill-conditioned representations.