Skip to main content

Welcome to a Grasp lesson

Create a free account to keep studying and create your own study path.

Lesson 27

Variational Method for Ground States

Recommended resources

Welcome back. In our last lesson, we developed a diagnostic toolkit for identifying when perturbation theory breaks down, recognizing symptoms like infinite coefficients, secular terms, and factorial divergences. These breakdowns are not just mathematical failures; they are signals that our simple, perturbative picture is missing crucial physics.

This lesson introduces a powerful alternative that thrives where perturbation theory fails. We will explore the variational method, a robust technique for approximating quantum mechanical ground states that does not depend on the existence of a small parameter. You will learn the core principle that guarantees the method's results are always an upper bound to the true energy, and then apply it to both canonical and realistic physical systems. This method represents a shift in thinking from incremental corrections to a global search for the best possible approximate solution, a cornerstone of the theoretical physicist's craft.

1. The Rayleigh-Ritz Variational Principle

At its heart, the variational method is built on a simple yet profound theorem. For any quantum system with a Hamiltonian and a true, but unknown, ground state energy , the expectation value of the energy for any trial wavefunction will always be greater than or equal to .

[PDF] 2. Approximation Methods - DAMTP

This section from David Tong's lecture notes on Advanced Quantum Mechanics provides a clear statement and proof of the variational theorem.

Please read the subsection 2.1.1, starting from the beginning up to the part discussing the Rayleigh-Ritz quotient. Pay close attention to the short proof. The argument relies on expanding the arbitrary trial state |\psi\rangle in the basis of the true (but unknown) energy eigenstates |n\rangle. Then, continue reading about the Rayleigh-Ritz quotient, which formalizes the strategy.

As the reading shows, the proof is remarkably straightforward. Any trial state can be written as a superposition of the true energy eigenstates . Its energy expectation value is:

Since for all , we can replace each with to get the inequality:

Equality holds only if the trial state is exactly the ground state .

This theorem is powerful because it converts a difficult problem (solving the Schrödinger equation) into a more manageable one: an optimization problem. The strategy, known as the Rayleigh-Ritz method, is:

  1. Guess a trial wavefunction that depends on one or more parameters . This guess should be guided by physical intuition about the system's symmetries and expected behavior.
  2. Calculate the energy expectation value .
  3. Minimize the energy with respect to the parameters by solving .
  4. The resulting minimum energy, , is the best possible upper bound on for that family of trial functions.

A key reason for the method's effectiveness is that a "good" guess for the wavefunction yields a "very good" estimate for the energy. An error of order in the wavefunction leads to an error of only order in the energy. You can see the formal proof for this in the next section of the same notes ([PDF] 2. Approximation Methods - DAMTP, subsection "How Accurate is the Variational Method?").


2. A First Example: The Harmonic Oscillator

Let's see this strategy in action. We'll estimate the ground state energy for the one-dimensional quantum harmonic oscillator (QHO), whose Hamiltonian is:

Of course, we know the exact answer is , which makes this a perfect test case. For our trial function, we won't use the correct Gaussian form. Instead, let's use a function that has the right general shape—peaked at zero and decaying—but is functionally different, to see how well the method works with an imperfect guess.

(#5): Variational Method: simple example

The video "Variational Method: simple example" by Mark Van Raamsdonk provides an excellent, step-by-step application of the method to the harmonic oscillator. He uses a Lorentzian-like trial wavefunction.

Please watch the video from the beginning until the comparison with the exact result. Follow the three key stages of the calculation: Choosing and normalizing the trial function. Notice how one parameter (A) is fixed by the normalization condition, leaving a single variational parameter (B). Calculating the expectation value of H. This involves evaluating integrals for the kinetic and potential energy terms. Minimizing the energy. This is a standard calculus step to find the value of B that gives the tightest bound. The final result obtained, E_{\text{min}} = \frac{\sqrt{2}}{2}\hbar\omega \approx 0.707 \hbar\omega, is impressively close to the true value of 0.5 \hbar\omega, even with a trial function that is qualitatively different from the true ground state.


3. A Realistic Problem: The Helium Atom

The true power of the variational method is demonstrated on problems that cannot be solved exactly. A classic example is the ground state of the Helium atom, which consists of a nucleus with charge and two electrons. The Hamiltonian is:

The final term, representing the electron-electron repulsion, prevents an exact solution.

What is a good trial wavefunction? A simple first guess might be to ignore the repulsion term and just use two independent hydrogen ground state wavefunctions. This is precisely what we do in first-order perturbation theory. The variational method allows us to improve this guess. The physical insight is that one electron will screen the nuclear charge seen by the other electron. We can model this by using a trial wavefunction built from hydrogenic orbitals, but with an effective nuclear charge that we treat as a variational parameter instead of fixing it at .

[PDF] 2. Approximation Methods - DAMTP

This section from Tong's notes applies the variational method to the Helium atom using the screening concept.

Please read the subsection titled "The Variational Method" within section 2.1.2. Follow the argument starting from the choice of trial function. Notice the clever trick used to evaluate the energy: the full Hamiltonian is rewritten in terms of a simpler Hamiltonian H_\alpha for which the trial function is an eigenstate. Focus on the final result for the energy as a function of ↵ and the subsequent minimization.

The calculation yields an optimal effective charge of . This result is beautifully intuitive: the presence of the other electron reduces the effective nuclear charge from 2 to about 1.69. Plugging this back into the energy formula gives an estimate of . This is a significant improvement over the first-order perturbation theory result () and is remarkably close to the experimental value of .


4. Modern Application: The Variational Quantum Eigensolver

The variational principle is not just a historical tool from the annals of quantum mechanics; it is the engine behind some of the most promising algorithms for near-term quantum computers. One such algorithm is the Variational Quantum Eigensolver (VQE), which is used to find ground state energies of molecules and materials—a central problem in quantum chemistry and condensed matter physics.

This diagram illustrates the hybrid quantum-classical loop of the VQE algorithm. A quantum computer prepares and measures a parameterized trial state, while a classical computer optimizes the parameters.

The VQE algorithm is a direct analogue of the Rayleigh-Ritz method:

  1. Trial State: Instead of a mathematical function, the trial state is prepared on a quantum computer using a sequence of quantum gates with tunable parameters (e.g., rotation angles). This is called a "parametric ansatz".
  2. Energy Calculation: The quantum computer measures the expectation value of the Hamiltonian, , for the prepared state. This is typically done by measuring the expectation values of individual terms in (like Pauli strings) and summing them classically.
  3. Minimization: The measured energy is fed to a classical optimization algorithm (e.g., gradient descent) running on a classical computer. The optimizer's job is to suggest the next set of parameters that will lower the energy.

This loop is repeated until the energy converges to a minimum. This hybrid quantum-classical approach leverages the quantum computer's ability to efficiently represent complex quantum states while using robust classical methods for the optimization task. It's a powerful modern testament to the enduring relevance of the variational principle you've just learned.


Conclusion

Today, we've added a powerful non-perturbative tool to your methodology toolkit. Unlike perturbation theory, the variational method provides a rigorous upper bound for the ground state energy and relies on physical intuition and optimization rather than a small expansion parameter.

Key Takeaways:

  • The Variational Theorem: The expectation value of the energy for any trial state is always greater than or equal to the true ground state energy.
  • The Rayleigh-Ritz Strategy: A problem is solved by guessing a physically motivated, parameterized trial wavefunction, calculating its energy expectation value, and minimizing this energy with respect to the parameters.
  • Accuracy: The method is often highly accurate because an error of order in the trial wavefunction results in a much smaller error of order in the energy estimate.
  • Physical Insight: The optimal values of the variational parameters can provide direct physical insight, such as the concept of charge screening in the Helium atom.
  • Modern Relevance: The principle is the foundation for hybrid quantum-classical algorithms like VQE, which are at the forefront of quantum computation for chemistry and materials science.

The quality of a variational estimate depends entirely on how well the chosen family of trial functions can approximate the true ground state. This raises a crucial question: how do we assess the quality and reliability of our approximations? In our next lesson, we will delve into methods for assessing the domain of validity for any approximation, a critical skill for a practicing theorist.