In order to find the spectrum associated with the one-dimensional Schr\"oodinger equation, we discuss the Lagrange Mesh method (LMM) and its numerical implementation for bound states. After presenting a general overview of the theory behind the LMM, we introduce the LagrangeMesh package: the numerical implementation of the LMM in Mathematica. Using few lines of code, the package enables a quick home-computer computation of the spectrum and provides a practical tool to study a large class of systems in quantum mechanics. The main properties of the package are (i) the input is basically the potential function and the interval on which is defined; and (ii) the accuracy in calculations and final results is controllable by the user. As illustration, a highly accurate spectrum of some relevant quantum systems is obtained by employing the commands that the package offers. In fact, the present work can be regarded as a user guide based on worked examples.
翻译:为了找到与单维Schr\"oodinger 等式相关的频谱,我们讨论了Lagrange Mesh 方法(LMM)及其约束状态的数值执行。在对LMM背后的理论进行总体概述之后,我们引入了LagrangeMesh 软件包:在数学中执行LMM的数值。使用几行代码,该软件包可以快速进行光谱家庭计算机计算,并为研究量子力学方面的大量系统提供了一个实用工具。软件包的主要特性是:(一) 输入基本上是潜在功能和定义的间隔;以及(二) 计算和最终结果的准确性可以由用户控制。例如,通过使用软件包提供的指令可以获取一些非常精确的量子系统。事实上,目前的工作可以被视为基于工作实例的用户指南。