Skip to main content

A Rydberg Interaction Calculator

Project description

Pairinteraction - A Rydberg Interaction Calculator

PyPI Package arXiv:1612.08053 License: LGPL v3 CI Workflow Quality Gate Status C++ Coverage - ctest C++ Coverage - pytest Python Coverage - pytest Documentation

Note: This is a completely new version of the pairinteraction software that is not backward compatible to versions below v1.0.

The pairinteraction software calculates properties of Rydberg atoms. The software consists of a Python library and a graphical user interface for obtaining single-atom properties and calculating pair potentials, making use of a high-performance C++ backend. For a more detailed description of the software that is written to be accessible also to non-specialists, see the About page of the project. The software can be installed via pip (requires Python >= 3.9, for tips see our extended installation instructions):

pip install pairinteraction

You can use the pairinteraction software as a Python library, see our quick start guide to get started in 5 minutes, or you can launch its graphical user interface from the command line:

pairinteraction gui

Highlights

  • For calculating Rydberg pair potentials, the software uses a similar approach as the old version of pairinteraction, the Alkali.ne Rydberg Calculator, and the rydcalc library. We optimized the construction and diagonalization of Hamiltonians, typically achieving a speedup of 5-20x compared to other implementations.

    benchmarking results

    Figure: Benchmarking the construction and diagonalization of a Hamiltonian of a pair of Rb 60S atoms for 100 different internuclear distances on an AMD Ryzen 7 5700G CPU using Windows 11. The Hilbert space comprises pair states that differ at most by 4 in n, l and 25GHz in energy. When supported, symmetries where used to reduce the Hilbert space size. See the benchmarking tool.

  • The software uses single-channel quantum defect theory (SQDT) and also multi-channel quantum defect theory (MQDT) for the accurate description of atoms.

    The construction of Hamiltonians is accelerated by using pre-calculated matrix elements, which are stored in database tables. These tables are automatically downloaded from GitHub [1,2] and cached locally when needed.

  • Electric and magnetic fields in arbitrary directions can be included in the calculations. Diamagnetism is supported.

How to Cite

If you use pairinteraction in your research, please cite our tutorial paper:

Sebastian Weber, Christoph Tresp, Henri Menke, Alban Urvoy, Ofer Firstenberg, Hans Peter Büchler, Sebastian Hofferberth, Tutorial: Calculation of Rydberg interaction potentials, J. Phys. B: At. Mol. Opt. Phys. 50, 133001 (2017), arXiv:1612.08053

Quantum Defects

Pairinteraction relies on quantum defects provided by the community. Consider citing relevant publications for your atomic species alongside pairinteraction.

Click to expand for quantum defect references
Element Model Identifier References
H SQDT H Schrödinger equation for hydrogen
Li SQDT Li 10.1017/CBO9780511524530 (1994)
10.1103/PhysRevA.34.2889 (1986)
Na SQDT Na 10.1088/0953-4075/30/10/009 (1997)
10.1070/QE1995v025n09ABEH000501 (1995)
10.1103/PhysRevA.45.4720 (1992)
K SQDT K 10.1088/0031-8949/27/4/012 (1983)
10.1016/0030-4018(81)90225-X (1981)
Rb SQDT Rb 10.1103/PhysRevA.83.052515 (2011)
10.1103/PhysRevA.74.054502 (2006)
10.1103/PhysRevA.74.062712 (2006)
10.1103/PhysRevA.67.052502 (2003)
Cs SQDT Cs 10.1103/PhysRevA.93.013424 (2016)
10.1103/PhysRevA.35.4650 (1987)
10.1103/PhysRevA.26.2733 (1982)
Sr88 SQDT, singlet sector Sr88_singlet 10.1103/PhysRevA.108.022815 (2023)
10.17169/refubium-34581 (2022)
Sr88 SQDT, triplet sector Sr88_triplet 10.1016/j.cpc.2020.107814 (2021)
Sr87 MQDT Sr87_mqdt 10.1088/1361-6455/ab4c22 (2019)
Sr88 MQDT Sr88_mqdt 10.1088/1361-6455/ab4c22 (2019)
Yb171 MQDT Yb171_mqdt 10.48550/arXiv.2406.01482 (2024)
Yb173 MQDT Yb173_mqdt MQDT model formulated by us
Yb174 MQDT Yb174_mqdt 10.48550/arXiv.2406.01482 (2024)

The identifier can be used to specify an atomic species in the pairinteraction software.

Documentation

User Guide

  • Installation - Whether you prefer an installation via pip or compiling from source, we've got all the information you need.

  • Tutorials - Covering both the graphical user interface and the Python library, these tutorials enable you to leverage pairinteraction for your projects.

  • API Reference - Documentation of classes and functions of pairinteraction's Python library.

  • Publications - Find out more about the theory behind pairinteraction and how to cite it and the quantum defects you use.

Contributor Guide

Utility Tools [External Links]

  • MQDT.jl - Learn how to calculate states and matrix elements using multi-channel quantum defect theory with our tool written in Julia.

  • ryd-numerov - Learn how to calculate states and matrix elements using single quantum defect theory with our tool written in Python.

Contributors

The software is maintained by:

In addition, the following people contributed significantly to the current and/or previous versions of the software:

  • Henri Menke
  • Frederic Hummel - Julia package for multi-channel quantum defect theory, matrix elements
  • Eduard J. Braun - Perturbative calculations, installation instructions for Windows
  • Johannes Block - Calculation of Rydberg pair potentials near surfaces (not yet in new version)
  • Nicolas Zuber - Tutorial on Rydberg-ion interaction
  • Simon Hollerith - Documentation of the graphical user interface (not yet in new version)

We warmly welcome new contributions! Please see our contributor guide for more information!

The development of the pairinteraction software has been supported by the Institute for Theoretical Physics III of the University of Stuttgart, the Federal Ministry of Education and Research under the Grants QRydDemo and MUNIQC-Atoms, and the company Atom Computing. The development of the original version of the software started at the 5th Institute of Physics of the University of Stuttgart.

University of Stuttgart Federal Ministry of Education and Research Atom Computing

License

The pairinteraction software is licensed under LGPL v3. For more information, see LICENSE.txt.

Project details


Download files

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

Source Distribution

pairinteraction-2.1.0.tar.gz (496.8 kB view details)

Uploaded Source

Built Distributions

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

pairinteraction-2.1.0-cp312-abi3-win_amd64.whl (14.7 MB view details)

Uploaded CPython 3.12+Windows x86-64

pairinteraction-2.1.0-cp312-abi3-manylinux_2_28_x86_64.whl (64.6 MB view details)

Uploaded CPython 3.12+manylinux: glibc 2.28+ x86-64

pairinteraction-2.1.0-cp312-abi3-macosx_13_0_x86_64.whl (44.4 MB view details)

Uploaded CPython 3.12+macOS 13.0+ x86-64

pairinteraction-2.1.0-cp312-abi3-macosx_13_0_arm64.whl (43.0 MB view details)

Uploaded CPython 3.12+macOS 13.0+ ARM64

pairinteraction-2.1.0-cp311-cp311-win_amd64.whl (14.7 MB view details)

Uploaded CPython 3.11Windows x86-64

pairinteraction-2.1.0-cp311-cp311-manylinux_2_28_x86_64.whl (64.7 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

pairinteraction-2.1.0-cp311-cp311-macosx_13_0_x86_64.whl (44.4 MB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

pairinteraction-2.1.0-cp311-cp311-macosx_13_0_arm64.whl (43.0 MB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

pairinteraction-2.1.0-cp310-cp310-win_amd64.whl (14.7 MB view details)

Uploaded CPython 3.10Windows x86-64

pairinteraction-2.1.0-cp310-cp310-manylinux_2_28_x86_64.whl (64.7 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ x86-64

pairinteraction-2.1.0-cp310-cp310-macosx_13_0_x86_64.whl (44.4 MB view details)

Uploaded CPython 3.10macOS 13.0+ x86-64

pairinteraction-2.1.0-cp310-cp310-macosx_13_0_arm64.whl (43.0 MB view details)

Uploaded CPython 3.10macOS 13.0+ ARM64

pairinteraction-2.1.0-cp39-cp39-win_amd64.whl (14.7 MB view details)

Uploaded CPython 3.9Windows x86-64

pairinteraction-2.1.0-cp39-cp39-manylinux_2_28_x86_64.whl (64.7 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.28+ x86-64

pairinteraction-2.1.0-cp39-cp39-macosx_13_0_x86_64.whl (44.4 MB view details)

Uploaded CPython 3.9macOS 13.0+ x86-64

pairinteraction-2.1.0-cp39-cp39-macosx_13_0_arm64.whl (43.0 MB view details)

Uploaded CPython 3.9macOS 13.0+ ARM64

File details

Details for the file pairinteraction-2.1.0.tar.gz.

File metadata

  • Download URL: pairinteraction-2.1.0.tar.gz
  • Upload date:
  • Size: 496.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for pairinteraction-2.1.0.tar.gz
Algorithm Hash digest
SHA256 4c96d7032be674bab91b1aa8e06c176f7dc1939404a138e2d95f2fb05aa7c1a8
MD5 516ce7f4a89e02701263fac3f9315060
BLAKE2b-256 8df24a7ecc9d0aee9d182c12e7400cc7884c51e920a7537d2c02ff4075f6b48d

See more details on using hashes here.

Provenance

The following attestation bundles were made for pairinteraction-2.1.0.tar.gz:

Publisher: publish-pypi.yml on pairinteraction/pairinteraction

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pairinteraction-2.1.0-cp312-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for pairinteraction-2.1.0-cp312-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 977c1e0da8e4a2cf23b6bcb70eab1bbfcc77568d687084cba23efaa03c5aeb64
MD5 227b67aa65e899184437dd617b7c5427
BLAKE2b-256 030eadde8e37b20c6c5d2943ac792aeb04764f96aa3f1d27d8ea7150977d1bfc

See more details on using hashes here.

Provenance

The following attestation bundles were made for pairinteraction-2.1.0-cp312-abi3-win_amd64.whl:

Publisher: publish-pypi.yml on pairinteraction/pairinteraction

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pairinteraction-2.1.0-cp312-abi3-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pairinteraction-2.1.0-cp312-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 a8d8263f2c046c374c6ed203655a9e80ca9513c6335a6703b074571bd21aaeb5
MD5 f1810b1aa5b0454e321a6dee7a5b999a
BLAKE2b-256 612d1c04b604c66f5581d1121230b9cbaa2c9141ad51bb04c6f141f163324e57

See more details on using hashes here.

Provenance

The following attestation bundles were made for pairinteraction-2.1.0-cp312-abi3-manylinux_2_28_x86_64.whl:

Publisher: publish-pypi.yml on pairinteraction/pairinteraction

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pairinteraction-2.1.0-cp312-abi3-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for pairinteraction-2.1.0-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 06b9eb7466b69d4ef11b39ee38ba5184886cf72feba5eea6555db9c8bd928010
MD5 0a6d1deeef1eef518776be6609232173
BLAKE2b-256 e5673411a10c4e994164d0b16cfb82f3ca7298d39a0511177516e4fcf6dfcb5a

See more details on using hashes here.

Provenance

The following attestation bundles were made for pairinteraction-2.1.0-cp312-abi3-macosx_13_0_x86_64.whl:

Publisher: publish-pypi.yml on pairinteraction/pairinteraction

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pairinteraction-2.1.0-cp312-abi3-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for pairinteraction-2.1.0-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 b3be662ee1751a624e3b8f1d656050778746f09479ec25a1a4b7979effb544b0
MD5 7668285df1385e36da57829a10bf9f39
BLAKE2b-256 3a8e489b3fba44113cdb2b5941c83b67106e98f3e403586cf6156c10aba15457

See more details on using hashes here.

Provenance

The following attestation bundles were made for pairinteraction-2.1.0-cp312-abi3-macosx_13_0_arm64.whl:

Publisher: publish-pypi.yml on pairinteraction/pairinteraction

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pairinteraction-2.1.0-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for pairinteraction-2.1.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 63dd847a21ff4574e76a3633c53b3d3e0ab895e4ffb9b0d82ebc197244fdf308
MD5 d2ce8acd548d1c351f8b4cb5d93cee08
BLAKE2b-256 c9d475b628a9caec3360d642acd29a4dc3641ce8a6646fadeb7965531de89747

See more details on using hashes here.

Provenance

The following attestation bundles were made for pairinteraction-2.1.0-cp311-cp311-win_amd64.whl:

Publisher: publish-pypi.yml on pairinteraction/pairinteraction

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pairinteraction-2.1.0-cp311-cp311-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pairinteraction-2.1.0-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 d04e4ef527a59d558d1967485e9585c9a96f544e06fc0cdc3691dff86608524e
MD5 2adf35a186bb0c1168031a8ebe3933eb
BLAKE2b-256 c36dba0bf62866fb903a4ade986419a007d7a99df95e8246b25095bb4b04f1cf

See more details on using hashes here.

Provenance

The following attestation bundles were made for pairinteraction-2.1.0-cp311-cp311-manylinux_2_28_x86_64.whl:

Publisher: publish-pypi.yml on pairinteraction/pairinteraction

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pairinteraction-2.1.0-cp311-cp311-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for pairinteraction-2.1.0-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 9c42117ed26a1f2d4facf58581a1dc32792748431f5db5111d4aa1be552c6891
MD5 a4d7b32b8997677c39ec3ab504d11ccc
BLAKE2b-256 64858907ee7491a7d0992b75e2f7bfa9ea70fb96ed0dd3f8b3190b5b7867c938

See more details on using hashes here.

Provenance

The following attestation bundles were made for pairinteraction-2.1.0-cp311-cp311-macosx_13_0_x86_64.whl:

Publisher: publish-pypi.yml on pairinteraction/pairinteraction

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pairinteraction-2.1.0-cp311-cp311-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for pairinteraction-2.1.0-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 afa8e51795f2b27f0eab1626b5cbb78d1493d62be238f64d82bbf5e2c44f2e06
MD5 0fab5904bd1ce2f49963db037e7d23cc
BLAKE2b-256 3f0fc658fa9cb02e46ce96e078b85fb5d24b4097f19ed94c1052192e2aab9324

See more details on using hashes here.

Provenance

The following attestation bundles were made for pairinteraction-2.1.0-cp311-cp311-macosx_13_0_arm64.whl:

Publisher: publish-pypi.yml on pairinteraction/pairinteraction

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pairinteraction-2.1.0-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for pairinteraction-2.1.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 cf4a42000513733f2eeec0391fac22e61af81c6c1231714e48a96bb2a48e12f6
MD5 16d8e760bd20599f90901d818fef96a0
BLAKE2b-256 c3e04d848db6158f56567dfe62cdc6d1fc4935700ffd47adf5ea8e2b7b25fa70

See more details on using hashes here.

Provenance

The following attestation bundles were made for pairinteraction-2.1.0-cp310-cp310-win_amd64.whl:

Publisher: publish-pypi.yml on pairinteraction/pairinteraction

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pairinteraction-2.1.0-cp310-cp310-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pairinteraction-2.1.0-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 92a8b0f618f0ee184a59639c91acddef44dc3d2d5257412b9a5807e8ce34985a
MD5 b665a36c4eb1efc7acc74fd71c611e95
BLAKE2b-256 243eb693257f15ce9eaa2a5dc148a6df4c29954c61742727fc61532cded978bf

See more details on using hashes here.

Provenance

The following attestation bundles were made for pairinteraction-2.1.0-cp310-cp310-manylinux_2_28_x86_64.whl:

Publisher: publish-pypi.yml on pairinteraction/pairinteraction

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pairinteraction-2.1.0-cp310-cp310-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for pairinteraction-2.1.0-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 cc9828fb84b985412a1c70f8adfb4b9bf8e3b724ed36b9c7d80132e56d967f15
MD5 0cf314b7ac2d13c39afebed67df0aacb
BLAKE2b-256 1d1c4e059cf14e57fd99b84760119f1a01210d82c8d64f2e617e58a76d34529e

See more details on using hashes here.

Provenance

The following attestation bundles were made for pairinteraction-2.1.0-cp310-cp310-macosx_13_0_x86_64.whl:

Publisher: publish-pypi.yml on pairinteraction/pairinteraction

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pairinteraction-2.1.0-cp310-cp310-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for pairinteraction-2.1.0-cp310-cp310-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 de0ff54686e426a9da68dbff38069c57ec4f45f45e3d1d9476ce82da1fcff4f1
MD5 2cebb8b7e957587add9bfc3f6ded43c8
BLAKE2b-256 754a4184f14863682b0f52c897cdc591fe4c1b2e071762bd303903bd0abd710d

See more details on using hashes here.

Provenance

The following attestation bundles were made for pairinteraction-2.1.0-cp310-cp310-macosx_13_0_arm64.whl:

Publisher: publish-pypi.yml on pairinteraction/pairinteraction

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pairinteraction-2.1.0-cp39-cp39-win_amd64.whl.

File metadata

File hashes

Hashes for pairinteraction-2.1.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 61e7feffe2f98d23e0a4917fbeeefd1335e22f4d08e1f5593ce4981fee03cbd6
MD5 c12db7db8f434e6ff20f2c7e721c13af
BLAKE2b-256 a4a20ecdf34a2bd25528893196b7d4e5b141e8c870a91a3048ed026e349b71c1

See more details on using hashes here.

Provenance

The following attestation bundles were made for pairinteraction-2.1.0-cp39-cp39-win_amd64.whl:

Publisher: publish-pypi.yml on pairinteraction/pairinteraction

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pairinteraction-2.1.0-cp39-cp39-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pairinteraction-2.1.0-cp39-cp39-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 9967682b26ff2bd2a470be6fb10922435f4a5044531ff793b9dfc0dfd5c8daef
MD5 b66067dfe91c1a8ceefc3939b936f320
BLAKE2b-256 8f9bd11d883beb03f6f1196875362e2b1492518c211c70c4ad8dd19edf421821

See more details on using hashes here.

Provenance

The following attestation bundles were made for pairinteraction-2.1.0-cp39-cp39-manylinux_2_28_x86_64.whl:

Publisher: publish-pypi.yml on pairinteraction/pairinteraction

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pairinteraction-2.1.0-cp39-cp39-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for pairinteraction-2.1.0-cp39-cp39-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 0538eb7d3087adaf519230d74bcbb6295fa11057bd52d3ef868e4c955ac030ad
MD5 e9123f7d4e57add989e3fd283fcba603
BLAKE2b-256 6ae5b53b35ec9234beb607e5567e3b59e5b217bbc2a6f3e731f286eb27cf78aa

See more details on using hashes here.

Provenance

The following attestation bundles were made for pairinteraction-2.1.0-cp39-cp39-macosx_13_0_x86_64.whl:

Publisher: publish-pypi.yml on pairinteraction/pairinteraction

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pairinteraction-2.1.0-cp39-cp39-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for pairinteraction-2.1.0-cp39-cp39-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 2f6f367e873d3e52a0298e408b8a9287f49f7441c9a19e0f0f26fdcff8cc1143
MD5 3c6aeeb63999f2b12b70f5be844787e3
BLAKE2b-256 99d257ffb94b9d981cc325629c3576c0890f77362fc0640519b38dfad99257fd

See more details on using hashes here.

Provenance

The following attestation bundles were made for pairinteraction-2.1.0-cp39-cp39-macosx_13_0_arm64.whl:

Publisher: publish-pypi.yml on pairinteraction/pairinteraction

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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