Challenges
Datasets
Workspaces
Papers
Discussions
Leaderboard
Log inSign up
Challenges
Datasets
Workspaces
Papers
Discussions
Leaderboard
Blog
Job Board
Q3AS

© 2026 Aqora Quantum S.A.S.

TermsPrivacyLegal Notice

European Journal of Physics

The simple harmonic oscillator ground state using a variational Monte Carlo method

Shawn Pottorf, Aaron Pudzer, M. Y. Chou, Javier E. Hasbun

Published Jan 1, 1999• 20 citations
Publisher

Abstract

A Monte Carlo method is used to evaluate the ground-state energy of a quantum particle in a harmonic oscillator potential. The use of a trial wavefunction illustrates the process by means of which the Monte Carlo method approximates with great accuracy the well known ground-state energy of a quantum mechanical harmonic oscillator. A FORTRAN program incorporating the numerical approach that is suitable for a personal computer is available in the PDF version of this article.

DOI
10.1088/0143-0807/20/3/311

Related papers

A Computational Revisit of the Variational Principle: Estimating Ground State Energies of the 1D Harmonic Oscillator via Python

Bikash Kumar Naik

Purpose of the study:To estimate the ground state energy of the one-dimensional harmonic oscillator using the variational principle and Python-based numerical methods. Methodology:Python 3.11 was used with NumPy, SciPy, and Matplotlib libraries. The variational method was applied using multiple trial wavefunctions. Integrals were computed via Simpson’s rule, and optimization was done through parameter scanning. Main Findings:The Gaussian trial wavefunction produced a ground state energy of 0.5003 ℏω, showing 0.06% error. Other trial functions were less accurate. The results confirm that the choice of trial function critically affects the energy estimate, and Python effectively supports variational computations in quantum systems. Novelty/Originality of this study:This study integrates computational tools with the variational principle, presenting an accessible approach to energy estimation in quantum mechanics. It demonstrates how Python can facilitate variational analysis, making the method replicable and educationally useful for students and researchers.

Schrödinger Journal of Physics Education•Jun 5, 2025•0 citations

Quantum Monte Carlo Methods for Studying Quantum Dots

Alexander Fleischer

This thesis aims to give an understanding of quantum dots trapped in different potentials by computationally finding the ground state energies of the system.The potentials studied are the single and double harmonic oscillator wells and the finite square well.To achieve this, we have implemented a robust Variational Monte Carlo framework that allows for different single-particle wavefunctions.This allowed us to study the use of a linear expansion of the single harmonic oscillator basisfunctions as an approximation to the single-particle wavefunctions of the other potential wells.We investigated how many of these basisfunctions needed to achieve sufficiently good single-particle wavefunctions.The framework has several optimizations that drastically reduce the computational time of the Monte Carlo method.The framework has a rigorous testing regime that ensures the authenticity of the results.To verify the results, we have compared them to the results of other Variatonal Monte Carlo computations, as well as Diffusion Monte Carlo, the Coupled Cluster method, the Similarity Renormalization Group method and the Full Configuration Interaction method.In addition, we have verified the results of the finite square well by comparing with a general series solution.

•Jan 1, 2018•0 citations

Variational Calculation with Harmonic-Oscillator Eigenfunctions

Valdir C. Aguilera-Navarro, Rosa Ma. Méndez V.

Variational calculations play an important role in quantum mechanics, particularly in determining the ground-state energy of physical systems. Didactic examples in which one can see how the exact energy and wave function are approached by using a family of trial functions are not very numerous. An example was given in a recent book [M. Moshinsky, The Harmonic Oscillator in Modern Physics: From Atoms to Quarks (Gordon and Breach, New York, 1969)] which discusses the ground state of the hydrogen atom using as trial wave function a linear combination of harmonic-oscillator states. In the present paper we carry out a similar analysis for the ground state of a particle of mass m in a three-dimensional square-well potential. We discuss not only the approach to the exact energy when we vary the frequency and the number of oscillator states but also analyze the overlap of the exact and variational wave functions and compare the exact and approximate form factors.

American Journal of Physics•Feb 1, 1971•1 citation

Ground state energy of charged particles clusters by quantum Monte Carlo method

N. L. Moreira, J. N. Teixeira Rabelo, Ladir Cândido

Using variational and diffusion Monte Carlo methods, we have calculated the ground state energy of spinless charged particles (for N < 10) interacting through a repulsive Coulomb potential, moving in two-dimensions and kept together by an external parabolic potential. Using a very simple trial wave function, we obtain results comparable to those of a sophisticated model of a quantum dot.

Brazilian Journal of Physics•Sep 1, 2006•0 citations

Monte Carlo Approach to Generating the Probability-Distribution Function of a Classical Harmonic Oscillator

Robert A. Craig, Stephen W. Bigger

A comparison of the classical and quantum mechanical descriptions of a simple harmonic oscillator is made with particular regard to its probability distribution function. A simple BASIC computer program is presented which gives students a clear understanding of the probability distribution and serves as an introductory example of the Monte Carlo method of numerical modelling.

Journal of Chemical Education•Aug 1, 1996•0 citations

Investigation into the properties and application of the Diffusion Monte Carlo method

Ogheneovie Orieka

This paper shall be a discussion of the properties of the Diffusion Monte Carlo (DMC) method and its applications. The discussion shall cover the basic theory behind the algorithm and the class of problems it is designed to solve: quantum systems. The algorithm will prove to be adept in producing the ground state energy and ground state wave function for systems governed by the Schrodinger equation. In this paper, familiar problems like the ground state energy of the harmonic oscillator and the Morse oscillator shall be solved using the DMC method and compared to their well-known analytic results. This will support the argument that the DMC may be used to solve problems with which the ground state energy and ground state wave function are unknown. The program outlining its use in solving these problems may be found in the accompanying appendix.

•Jan 1, 2014•0 citations
A Monte Carlo method is used to evaluate the ground-state energy of a quantum particle in a harmonic oscillator potential. The use of a trial wavefunction illustrates the process by means of which the Monte Carlo method approximates with great accuracy the well known ground-state energy of a quantum mechanical harmonic oscillator. A FORTRAN program incorporating the numerical approach that is suitable for a personal computer is available in the PDF version of this article.
Purpose of the study:To estimate the ground state energy of the one-dimensional harmonic oscillator using the variational principle and Python-based numerical methods. Methodology:Python 3.11 was used with NumPy, SciPy, and Matplotlib libraries. The variational method was applied using multiple trial wavefunctions. Integrals were computed via Simpson’s rule, and optimization was done through parameter scanning. Main Findings:The Gaussian trial wavefunction produced a ground state energy of 0.5003 ℏω, showing 0.06% error. Other trial functions were less accurate. The results confirm that the choice of trial function critically affects the energy estimate, and Python effectively supports variational computations in quantum systems. Novelty/Originality of this study:This study integrates computational tools with the variational principle, presenting an accessible approach to energy estimation in quantum mechanics. It demonstrates how Python can facilitate variational analysis, making the method replicable and educationally useful for students and researchers.
This thesis aims to give an understanding of quantum dots trapped in different potentials by computationally finding the ground state energies of the system.The potentials studied are the single and double harmonic oscillator wells and the finite square well.To achieve this, we have implemented a robust Variational Monte Carlo framework that allows for different single-particle wavefunctions.This allowed us to study the use of a linear expansion of the single harmonic oscillator basisfunctions as an approximation to the single-particle wavefunctions of the other potential wells.We investigated how many of these basisfunctions needed to achieve sufficiently good single-particle wavefunctions.The framework has several optimizations that drastically reduce the computational time of the Monte Carlo method.The framework has a rigorous testing regime that ensures the authenticity of the results.To verify the results, we have compared them to the results of other Variatonal Monte Carlo computations, as well as Diffusion Monte Carlo, the Coupled Cluster method, the Similarity Renormalization Group method and the Full Configuration Interaction method.In addition, we have verified the results of the finite square well by comparing with a general series solution.
Variational calculations play an important role in quantum mechanics, particularly in determining the ground-state energy of physical systems. Didactic examples in which one can see how the exact energy and wave function are approached by using a family of trial functions are not very numerous. An example was given in a recent book [M. Moshinsky, The Harmonic Oscillator in Modern Physics: From Atoms to Quarks (Gordon and Breach, New York, 1969)] which discusses the ground state of the hydrogen atom using as trial wave function a linear combination of harmonic-oscillator states. In the present paper we carry out a similar analysis for the ground state of a particle of mass m in a three-dimensional square-well potential. We discuss not only the approach to the exact energy when we vary the frequency and the number of oscillator states but also analyze the overlap of the exact and variational wave functions and compare the exact and approximate form factors.
This paper shall be a discussion of the properties of the Diffusion Monte Carlo (DMC) method and its applications. The discussion shall cover the basic theory behind the algorithm and the class of problems it is designed to solve: quantum systems. The algorithm will prove to be adept in producing the ground state energy and ground state wave function for systems governed by the Schrodinger equation. In this paper, familiar problems like the ground state energy of the harmonic oscillator and the Morse oscillator shall be solved using the DMC method and compared to their well-known analytic results. This will support the argument that the DMC may be used to solve problems with which the ground state energy and ground state wave function are unknown. The program outlining its use in solving these problems may be found in the accompanying appendix.