Skip to main content

Python bindings for the C++ version of 2D Matslise

Project description

Pyslise

Pyslise [1] is a collection of algorithms to solve one (and two, in development) dimensional time-independent Schrödinger equations. These algorithms are based upon constant perturbation methods to efficiently solve these eigenvalue problems.

The code (and name) is based on Matslise [2]. This is a feature-rich MATLAB library for solving the one dimensional time independent Schrödinger equation.

To solve the two dimensional problem an algorithm is developed on the basis of a method proposed by Ixaru [3].

This implementation is developed in C++ with a focus on efficiency. This code is precompiled and packaged in wheels for 64 bit Linux, Windows, and Mac.

Documentation

Full documentation can be found on matslise.ugent.be. This document contains some examples of how to use this library.

On the same page an interactive version is available.

Examples

One dimensional problems can be tackled with:

from pyslise import Pyslise
from math import pi, cos

problem = Pyslise(lambda x: 2*cos(2*x), 0, pi, tolerance=1e-6)
problem.eigenvaluesByIndex(0, 10, (0, 1), (0, 1))

Also two dimensional problems are possible:

from pyslise import Pyslise2D

def V(x, y):
    return (1 + x**2) * (1 + y**2)

problem = Pyslise2D(V, -5.5,5.5, -5.5,5.5, tolerance=1e-6)
problem.eigenvalues(0,13)

Bibliography

  • [1] Baeyens, Toon, and Marnix Van Daele. “The Fast and Accurate Computation of Eigenvalues and Eigenfunctions of Time-Independent One-Dimensional Schrödinger Equations.” Computer Physics Communications, August 26, 2020, 107568. https://doi.org/10.1016/j.cpc.2020.107568.
  • [2] Ledoux, Veerle, and Marnix Van Daele. “MATSLISE 2.0 : A Matlab Toolbox for Sturm-Liouville Computations.” ACM TRANSACTIONS ON MATHEMATICAL SOFTWARE 42, no. 4 (2016): 18.
  • [3] Ixaru, L. Gr. “New Numerical Method for the Eigenvalue Problem of the 2D Schrödinger Equation.” Computer Physics Communications 181 (October 1, 2010): 1738–42. https://doi.org/10.1016/j.cpc.2010.06.031.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

pyslise2d-0.0.1-cp310-cp310-win_amd64.whl (1.2 MB view details)

Uploaded CPython 3.10Windows x86-64

pyslise2d-0.0.1-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (940.8 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.12+ x86-64

pyslise2d-0.0.1-cp310-cp310-macosx_10_15_x86_64.whl (797.5 kB view details)

Uploaded CPython 3.10macOS 10.15+ x86-64

pyslise2d-0.0.1-cp39-cp39-win_amd64.whl (1.2 MB view details)

Uploaded CPython 3.9Windows x86-64

pyslise2d-0.0.1-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (941.0 kB view details)

Uploaded CPython 3.9manylinux: glibc 2.12+ x86-64

pyslise2d-0.0.1-cp39-cp39-macosx_10_15_x86_64.whl (797.7 kB view details)

Uploaded CPython 3.9macOS 10.15+ x86-64

pyslise2d-0.0.1-cp38-cp38-win_amd64.whl (1.2 MB view details)

Uploaded CPython 3.8Windows x86-64

pyslise2d-0.0.1-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (940.8 kB view details)

Uploaded CPython 3.8manylinux: glibc 2.12+ x86-64

pyslise2d-0.0.1-cp38-cp38-macosx_10_15_x86_64.whl (797.4 kB view details)

Uploaded CPython 3.8macOS 10.15+ x86-64

pyslise2d-0.0.1-cp37-cp37m-win_amd64.whl (1.2 MB view details)

Uploaded CPython 3.7mWindows x86-64

pyslise2d-0.0.1-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (940.8 kB view details)

Uploaded CPython 3.7mmanylinux: glibc 2.12+ x86-64

pyslise2d-0.0.1-cp37-cp37m-macosx_10_15_x86_64.whl (795.2 kB view details)

Uploaded CPython 3.7mmacOS 10.15+ x86-64

pyslise2d-0.0.1-cp36-cp36m-win_amd64.whl (1.2 MB view details)

Uploaded CPython 3.6mWindows x86-64

pyslise2d-0.0.1-cp36-cp36m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (940.7 kB view details)

Uploaded CPython 3.6mmanylinux: glibc 2.12+ x86-64

pyslise2d-0.0.1-cp36-cp36m-macosx_10_15_x86_64.whl (795.2 kB view details)

Uploaded CPython 3.6mmacOS 10.15+ x86-64

File details

Details for the file pyslise2d-0.0.1-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: pyslise2d-0.0.1-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 1.2 MB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for pyslise2d-0.0.1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 6604aa193c4c8376281b1192bd184324a0e8b0d92ab9220bf1f5ab69557829c5
MD5 a47fd0664a563bdea249901c895fc127
BLAKE2b-256 5f29850c31faed5dab85ab86d78410b4f51a345016cfa48503dc600e5f98d96d

See more details on using hashes here.

File details

Details for the file pyslise2d-0.0.1-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

  • Download URL: pyslise2d-0.0.1-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
  • Upload date:
  • Size: 940.8 kB
  • Tags: CPython 3.10, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for pyslise2d-0.0.1-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 9e5c73f852ce925edeaa1e4f2939858ebe8b95aecd42435337b4aac617b2b255
MD5 b0f8cd14870221ec4b08418454ff4806
BLAKE2b-256 090790d7455183973e126c3d60ac68eece92759b12c196329ffe6e8df212e7ec

See more details on using hashes here.

File details

Details for the file pyslise2d-0.0.1-cp310-cp310-macosx_10_15_x86_64.whl.

File metadata

  • Download URL: pyslise2d-0.0.1-cp310-cp310-macosx_10_15_x86_64.whl
  • Upload date:
  • Size: 797.5 kB
  • Tags: CPython 3.10, macOS 10.15+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for pyslise2d-0.0.1-cp310-cp310-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 c55061b3ac3427948d7b898fd90df32f9a68a654b95592909cf3274030383894
MD5 e7db402aecc62fa7e4c7fc636ac9aca9
BLAKE2b-256 5848c0c2781cbd2d1118bdc12902d1d3c237e73b5929f97bf03d85e5b96c2ac6

See more details on using hashes here.

File details

Details for the file pyslise2d-0.0.1-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: pyslise2d-0.0.1-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 1.2 MB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for pyslise2d-0.0.1-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 3a158b0a5182f9e068be0e9f30664739e10a2c1265f2f2e0026d709c261c407f
MD5 49cedd2d2f4a2fe6a95621808ef33068
BLAKE2b-256 a08667192d22fee47b99bc32561d3abed24f82abbb2adea0a128fe9b4a87278c

See more details on using hashes here.

File details

Details for the file pyslise2d-0.0.1-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

  • Download URL: pyslise2d-0.0.1-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
  • Upload date:
  • Size: 941.0 kB
  • Tags: CPython 3.9, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for pyslise2d-0.0.1-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 5b21f86c6c81d84f46cccb2e7d7af96b83d8ec15140a9dc4f89fd57380c94aea
MD5 bb435909e2902e42ebf5e56d98ed99e3
BLAKE2b-256 89151075da7d2a423c27294781cee0958b0fc85c3c1a84d624127e318e98f729

See more details on using hashes here.

File details

Details for the file pyslise2d-0.0.1-cp39-cp39-macosx_10_15_x86_64.whl.

File metadata

  • Download URL: pyslise2d-0.0.1-cp39-cp39-macosx_10_15_x86_64.whl
  • Upload date:
  • Size: 797.7 kB
  • Tags: CPython 3.9, macOS 10.15+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for pyslise2d-0.0.1-cp39-cp39-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 9c9de21fafe622e525c0c2f3e446bae1c1d3d4316ea30f4f262626112af1e022
MD5 56cfde53e7a8c8027465306efa4c19f8
BLAKE2b-256 c0f83c4574c3c676ebb63e3450ce1b8c8872d1b876cedfd6d41658626fd17be1

See more details on using hashes here.

File details

Details for the file pyslise2d-0.0.1-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: pyslise2d-0.0.1-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 1.2 MB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for pyslise2d-0.0.1-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 525caae6ad2d06a3de6bead241dbeccbac8c76d1dad3660b8b41b1c76cee6105
MD5 465c406209b549bf32f6d5054738376c
BLAKE2b-256 f8a05fff7ae3595126d5b5873b5fd9919c7b51259fac78792183b038e204075c

See more details on using hashes here.

File details

Details for the file pyslise2d-0.0.1-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

  • Download URL: pyslise2d-0.0.1-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
  • Upload date:
  • Size: 940.8 kB
  • Tags: CPython 3.8, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for pyslise2d-0.0.1-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 5e091c6d2108ac6ed6c135c2445a6a8e013b5ddb66d38dd3896bc70d2cda196b
MD5 fd010de0b22f350e5797c10569c8147d
BLAKE2b-256 94ca404610d803b15d7ba926608f8bc3ffe25bac50b0621968776c161f05e8d1

See more details on using hashes here.

File details

Details for the file pyslise2d-0.0.1-cp38-cp38-macosx_10_15_x86_64.whl.

File metadata

  • Download URL: pyslise2d-0.0.1-cp38-cp38-macosx_10_15_x86_64.whl
  • Upload date:
  • Size: 797.4 kB
  • Tags: CPython 3.8, macOS 10.15+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for pyslise2d-0.0.1-cp38-cp38-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 c96de698f421939bd606e563c9118659fcec3df9ebb8624004248064f44606f1
MD5 f3cfb65d7072c978f15585d138b87a1f
BLAKE2b-256 e7a54f61d00babd0f8c4fdcfbc89795af1c3c93fd9aae79bb72388e5cb0cae3b

See more details on using hashes here.

File details

Details for the file pyslise2d-0.0.1-cp37-cp37m-win_amd64.whl.

File metadata

  • Download URL: pyslise2d-0.0.1-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 1.2 MB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for pyslise2d-0.0.1-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 135d26c11dd5563a8266fa329585deca82cde748a02b18c255bb00a143b22e30
MD5 6cf6ec1605703ceb45a6a020b13b4320
BLAKE2b-256 1999176824cfb89bf70c9142c24f1e55883f0e05fe8b6081af377e83bb63fa4c

See more details on using hashes here.

File details

Details for the file pyslise2d-0.0.1-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

  • Download URL: pyslise2d-0.0.1-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
  • Upload date:
  • Size: 940.8 kB
  • Tags: CPython 3.7m, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for pyslise2d-0.0.1-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 cc3b90c1ac7029dafcd4c7b5513a20fc3408577fc82dccd03e1543bc02cd3d5a
MD5 ba99ab9fdbec1e27e91af73d63136b03
BLAKE2b-256 55a0489171541ffe2541efd0991b243b553530a375e5ce308e68b1bcf8568c5f

See more details on using hashes here.

File details

Details for the file pyslise2d-0.0.1-cp37-cp37m-macosx_10_15_x86_64.whl.

File metadata

  • Download URL: pyslise2d-0.0.1-cp37-cp37m-macosx_10_15_x86_64.whl
  • Upload date:
  • Size: 795.2 kB
  • Tags: CPython 3.7m, macOS 10.15+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for pyslise2d-0.0.1-cp37-cp37m-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 d99eb4a8ff88af2e1001c60dc3726a8ff56ef41addf5733f9acbaa54415e1d0e
MD5 e4dd0a51912bbe3e0473f6c526b70946
BLAKE2b-256 20bb27b51550d29080cd9132798c0dd6a6de5b41a98148bb7b908477fd921e7c

See more details on using hashes here.

File details

Details for the file pyslise2d-0.0.1-cp36-cp36m-win_amd64.whl.

File metadata

  • Download URL: pyslise2d-0.0.1-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 1.2 MB
  • Tags: CPython 3.6m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for pyslise2d-0.0.1-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 b12638a6b5070076b17e2869ba97883d20d260cfb9c9babf327a6978300cdfc4
MD5 b62f806fef67463909c5c03792e9be13
BLAKE2b-256 9f3ef6acdcb393b37f29f287c58949e4ee3283914b6f6a8b388e6303dd3d77ab

See more details on using hashes here.

File details

Details for the file pyslise2d-0.0.1-cp36-cp36m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

  • Download URL: pyslise2d-0.0.1-cp36-cp36m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
  • Upload date:
  • Size: 940.7 kB
  • Tags: CPython 3.6m, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for pyslise2d-0.0.1-cp36-cp36m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 c7dbc224a52ab0f8e3ca687b24208975ba2fe2999530c349ed22bf7187da5486
MD5 10ce7643735bfffeed342ace71fbbfbc
BLAKE2b-256 36111f92fd9b488958a03e0c87a8f1b0a9bf667fb2c5f193d909bc3d4fcc7b04

See more details on using hashes here.

File details

Details for the file pyslise2d-0.0.1-cp36-cp36m-macosx_10_15_x86_64.whl.

File metadata

  • Download URL: pyslise2d-0.0.1-cp36-cp36m-macosx_10_15_x86_64.whl
  • Upload date:
  • Size: 795.2 kB
  • Tags: CPython 3.6m, macOS 10.15+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for pyslise2d-0.0.1-cp36-cp36m-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 a75f59a31c93a4a7553e9f8e8a1456ff5136185adf02d1d789f395c9a039506f
MD5 b21115441363c07fdf603ad0b2f81ce8
BLAKE2b-256 c4deed1bed05c69c91496f1c2f72976f794d3edcd51be40c4da240b1b44e8b71

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page