Skip to main content

QMsolve: A module for solving and visualizing the Schrödinger equation

QMsolve seeks to provide easy solid and easy to use solver, capable of solving the Schrödinger equation for one and two particles, and creating descriptive and stunning visualizations of its solutions both in 1D, 2D, and 3D.

Installation

pip install qmsolve

How it works

The way this simulator works is by discretizing and Hamiltonian of an arbitrary potential, specified as a function of the particle observables. This is achieved with the Hamiltonianconstructor. Then, the Hamiltonian.solve method efficiently diagonalizes the Hamiltonian and outputs the energies and the eigenstates of the system. Finally, the eigenstates can be plotted with the visualization class.

The visualization.superpositions method features the possibility of interactively visualizing a superposition of the computed eigenstates and studying the time dependence of the resulting wavefunction.

For efficiently solving the time dependent Schrödinger equation, TimeSimulation class must be used. It takes as an argument the Hamiltonian you have previously defined, and the method you desire to use.

For a quick start, take a look to the examples found in the examples subdirectory.

Metadata

Release files for qmsolve 2.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for qmsolve 2.0.0
File Size Uploaded
qmsolve-2.0.0.tar.gz 27.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for qmsolve 2.0.0
File Interpreter ABI Platform
qmsolve-2.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 62.2 kB

Release files / qmsolve-2.0.0.tar.gz

Download URL qmsolve-2.0.0.tar.gz
Size 27.0 kB
Tags Source
SHA-256 checksum
How to use checksums
2dd60cd6b086f7b301141666666d3f3b99c66f76bb35b74cdd84b08ddd6a3423
BLAKE2b-256 checksum
How to use checksums
d1e6f1a02305d4b34fda9186a2161d6678d508368dd8a7a94bb2ae9618462019
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/3.10.0 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.11

Release files / qmsolve-2.0.0-py3-none-any.whl

Download URL qmsolve-2.0.0-py3-none-any.whl
Size 35.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9e2e0b9532e1935af0d76667d34ba187be66d0c6a2ca4f367a5557728f2cc441
BLAKE2b-256 checksum
How to use checksums
07941eedc7a9a1dba46317925e6424823194659f7d9af1fa89a4b913f3dd373c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/3.10.0 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.11

Release history Release notifications | RSS feed

This release

2.0.0 This release

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page