Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Solving the Schrodinger Equation in SI untis. #32

Open
gratisnotas opened this issue Feb 16, 2024 · 1 comment
Open

Solving the Schrodinger Equation in SI untis. #32

gratisnotas opened this issue Feb 16, 2024 · 1 comment

Comments

@gratisnotas
Copy link

It is not clear from the examples how to solve the Schrodinger equation in SI units from the examples. Could you please clarify on this?

@rafael-fuente
Copy link
Member

rafael-fuente commented Feb 21, 2024

This solver uses Hartree atomic units by default, which are more convenient for atomic scale computations.

Common SI unit factor conversions are found here. If you have the constants of your system specified in SI units, let's say, for example, 0.05 Joules, for converting to atomic units, you need to import the J constant and multiply your SI specified energy by it and will be converted to qmsolve atomic energy units (hartrees).

from qmsolve import J
energy = 0.05*J

More commonly energy of quantum systems are specified in eV. In the quantum harmonic oscillator example the oscillator k constant is specified eV / Å**2. When multiplied by these two conversion factors, the k constant will be numerically expressed in atomics units, hartrees/bohr_radius **2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants