Abstract
In this thesis, the Finite-Difference Time Domain (FDTD) method is used to implement the Schrödinger equation in Python. This method is used to find the ground eigenstate and to simulate an electron within a three-dimensional torus. The magnetic dipole moment operator is developed, both with and without an applied magnetic field, and the equations describing a magnetic field applied to the torus are developed using the FDTD method. The magnetic dipole moment operator and implementation of a magnetic field are verified using a classical method. The magnetic dipole moment operator is used to calculate the magnetic susceptibility of a grated torus.