qshoot
Quantum mechanics eigenstate solver using the shooting method.
Solves the 1D time-independent Schrödinger equation for four textbook potentials:
| Potential | Equation |
|---|---|
| Infinite Square Well | ψ'' = −Ẽψ |
| Harmonic Oscillator | ψ'' = (ξ² − E)ψ |
| Finite Square Well | ψ'' = (V(ξ) − E)ψ |
| Double-Well | ψ'' = λ[(ξ²−1)² − E]ψ |
Uses outward + inward integration with Wronskian matching at the classical turning point, achieving ~10⁻¹² relative accuracy.
Install
pip install qshoot
Usage
GUI (tkinter)
qshoot
Select a potential, adjust parameters, click Solve.
As a library
from qshoot.solvers import make_harmonic_config, solve_problem
config = make_harmonic_config(n_levels=4)
states = solve_problem(config)
for s in states:
print(f"n={s.index} ({s.parity}): E = {s.energy:.8f}")
Requirements
- Python ≥ 3.10
- NumPy ≥ 1.22
- Matplotlib ≥ 3.5
License
MIT
Release files for qshoot 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| qshoot-0.1.2.tar.gz | 9.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| qshoot-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 19.1 kB
Release files / qshoot-0.1.2.tar.gz
| Download URL | qshoot-0.1.2.tar.gz |
|---|---|
| Size | 9.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
df063dff77a9d1217aa7ea043e16c7039a1be3be7119cee491d15299f71f7aaa
|
|
BLAKE2b-256 checksum How to use checksums |
85de079912fbb5e8ca8db7a79d48bc0def8c4bd338af59478ea2ae8c91c03ffb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.0
|
Release files / qshoot-0.1.2-py3-none-any.whl
| Download URL | qshoot-0.1.2-py3-none-any.whl |
|---|---|
| Size | 9.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0faf7f5cbf2ed17e289ea13e5aa4b8d03f44e7d78bf8f17a55b77c3ad37c4049
|
|
BLAKE2b-256 checksum How to use checksums |
200d67481415e40a77f44a60a718b25d1d278600f7ef91d9ee9c1b61f55f662a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.0
|