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. The software can be installed via pip (requires Python >= 3.9):

pip install pairinteraction

You can use the pairinteraction software as a Python library, 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

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.0.0.tar.gz (485.5 kB view details)

Uploaded Source

Built Distributions

pairinteraction-2.0.0-cp312-abi3-win_amd64.whl (14.4 MB view details)

Uploaded CPython 3.12+ Windows x86-64

pairinteraction-2.0.0-cp312-abi3-manylinux_2_28_x86_64.whl (63.4 MB view details)

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

pairinteraction-2.0.0-cp312-abi3-macosx_13_0_x86_64.whl (44.1 MB view details)

Uploaded CPython 3.12+ macOS 13.0+ x86-64

pairinteraction-2.0.0-cp312-abi3-macosx_13_0_arm64.whl (42.8 MB view details)

Uploaded CPython 3.12+ macOS 13.0+ ARM64

pairinteraction-2.0.0-cp311-cp311-win_amd64.whl (14.4 MB view details)

Uploaded CPython 3.11 Windows x86-64

pairinteraction-2.0.0-cp311-cp311-manylinux_2_28_x86_64.whl (63.5 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.28+ x86-64

pairinteraction-2.0.0-cp311-cp311-macosx_13_0_x86_64.whl (44.1 MB view details)

Uploaded CPython 3.11 macOS 13.0+ x86-64

pairinteraction-2.0.0-cp311-cp311-macosx_13_0_arm64.whl (42.8 MB view details)

Uploaded CPython 3.11 macOS 13.0+ ARM64

pairinteraction-2.0.0-cp310-cp310-win_amd64.whl (14.4 MB view details)

Uploaded CPython 3.10 Windows x86-64

pairinteraction-2.0.0-cp310-cp310-manylinux_2_28_x86_64.whl (63.5 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.28+ x86-64

pairinteraction-2.0.0-cp310-cp310-macosx_13_0_x86_64.whl (44.1 MB view details)

Uploaded CPython 3.10 macOS 13.0+ x86-64

pairinteraction-2.0.0-cp310-cp310-macosx_13_0_arm64.whl (42.8 MB view details)

Uploaded CPython 3.10 macOS 13.0+ ARM64

pairinteraction-2.0.0-cp39-cp39-win_amd64.whl (14.4 MB view details)

Uploaded CPython 3.9 Windows x86-64

pairinteraction-2.0.0-cp39-cp39-manylinux_2_28_x86_64.whl (63.5 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.28+ x86-64

pairinteraction-2.0.0-cp39-cp39-macosx_13_0_x86_64.whl (44.1 MB view details)

Uploaded CPython 3.9 macOS 13.0+ x86-64

pairinteraction-2.0.0-cp39-cp39-macosx_13_0_arm64.whl (42.8 MB view details)

Uploaded CPython 3.9 macOS 13.0+ ARM64

File details

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

File metadata

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

File hashes

Hashes for pairinteraction-2.0.0.tar.gz
Algorithm Hash digest
SHA256 36c6cbc51aeb69c3b6ee02650da985779f0119c2e25aa18d05c334de468ecaad
MD5 650e42974e23c9bfaae5704ccb63e023
BLAKE2b-256 31fd56fc1335c8d7ce6293278ef36534da3bb0b408bbae7e540ef4da1822e45d

See more details on using hashes here.

Provenance

The following attestation bundles were made for pairinteraction-2.0.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.0.0-cp312-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for pairinteraction-2.0.0-cp312-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 b4de684cfc74ca0fcd25bf990aafdbf30aafb5c27b1e5df0192295bbcbf8ea58
MD5 e374a2c141441052e67789ec8a437277
BLAKE2b-256 7042354175553e71861fd378c2515f9a2fc363caad32af62f433787a5b862d93

See more details on using hashes here.

Provenance

The following attestation bundles were made for pairinteraction-2.0.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.0.0-cp312-abi3-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pairinteraction-2.0.0-cp312-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 050f16d506372f5934034b550ae47f0e7ac714775376a82df75780e150a411df
MD5 70e6429749463a00e5605ed5cd6fd8db
BLAKE2b-256 a558da6d2a4823b79152c7be63dd0867bbbca577b11d37718e2186dc6851175e

See more details on using hashes here.

Provenance

The following attestation bundles were made for pairinteraction-2.0.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.0.0-cp312-abi3-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for pairinteraction-2.0.0-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 54845f77f9f751badf9acaa4f051b97f0f8feb392a50eb1c8ca48eabeb70dc1a
MD5 484becc0015b985b1b2a776617320c8b
BLAKE2b-256 f0d4a72f8863ca5e4e8981e6119f6c31bc7ed0724154e161184900b33a8282e1

See more details on using hashes here.

Provenance

The following attestation bundles were made for pairinteraction-2.0.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.0.0-cp312-abi3-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for pairinteraction-2.0.0-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 9507cccd4da61dd7bda4f6d26040ee1c4dba59ab66131ab68e33730733558b3c
MD5 322e98a500d18cd13b8fe5ca9c53f192
BLAKE2b-256 65c9dbbdf1b9df362e31cddacaa64615a6523dabdff91b3b4b64749f56d6e8e5

See more details on using hashes here.

Provenance

The following attestation bundles were made for pairinteraction-2.0.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.0.0-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for pairinteraction-2.0.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 fa9aa4c4ec3bca0b15b33219b9a6d4cf456d20b652b00ddfe21205463048aed0
MD5 787b1e6bb8c5e42c12da1d22262737fe
BLAKE2b-256 4b08eb2f4f6b51e48dbf05b02529cd0a54c2c9ce8d6fb34d8592496cc1015adf

See more details on using hashes here.

Provenance

The following attestation bundles were made for pairinteraction-2.0.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.0.0-cp311-cp311-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pairinteraction-2.0.0-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 149ea71eaf342db1516b03183773444cd57e3d56f4c45d511ef02b8f8e7c9931
MD5 61905191eaf39e56fa7dc3b9564de16d
BLAKE2b-256 188cdc87c66e0dc86823ce70ce0292ddba2c5747cacb2e59d2f3921b54fdc4c7

See more details on using hashes here.

Provenance

The following attestation bundles were made for pairinteraction-2.0.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.0.0-cp311-cp311-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for pairinteraction-2.0.0-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 c25aaa5c98284f8f13293867323729368025dee880795be750a333c222f37094
MD5 b3afe3473d420f7eb090f81a2994b14b
BLAKE2b-256 51c419efc86d934d021581548ce26ef02249aef072ecd7c5dec3671511f7918d

See more details on using hashes here.

Provenance

The following attestation bundles were made for pairinteraction-2.0.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.0.0-cp311-cp311-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for pairinteraction-2.0.0-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 d008c91e6d8281c9d91d15e1dbd55b35953dd3b617a93f2d1930c415fe67336d
MD5 b5995ca6e7225068b4253751d085a35c
BLAKE2b-256 88a7c2cfaaae3a25231c695abafd945ab209f837a69e23020a815bd33fe8b0a1

See more details on using hashes here.

Provenance

The following attestation bundles were made for pairinteraction-2.0.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.0.0-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for pairinteraction-2.0.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 7689468067af5263c0954c38a80593be3e9b6b432a50e936ff7ce0a5e2c45c7d
MD5 2af40fdca83390fa445a3c5df9789321
BLAKE2b-256 0845f0f576bf0d749248a8e43de4813f5a526cab6fb1825b23b0f5e6c47c96de

See more details on using hashes here.

Provenance

The following attestation bundles were made for pairinteraction-2.0.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.0.0-cp310-cp310-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pairinteraction-2.0.0-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 7989b07d19d3879901187c588776635200f8c05cef1338810dea8ed6776b1922
MD5 dc65421b821c80a4da172b4b924433d0
BLAKE2b-256 9e192e085e36eeece141d0eb9fa5bc9540483229030360b21e69dc96fc152bbc

See more details on using hashes here.

Provenance

The following attestation bundles were made for pairinteraction-2.0.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.0.0-cp310-cp310-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for pairinteraction-2.0.0-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 361bfe1c176ec1b1473cfecddf37c82114e15e1f547cc071a48c901ce6f30841
MD5 c363159fbce6404dcc9c135d146414e1
BLAKE2b-256 a11f15dca931c1fce58f14e0d17d543e68c05bf661203167df731573ce8928f3

See more details on using hashes here.

Provenance

The following attestation bundles were made for pairinteraction-2.0.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.0.0-cp310-cp310-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for pairinteraction-2.0.0-cp310-cp310-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 78534359796d39c551771e2f062c8517a1495c44f7c42af646f1ac77268012e3
MD5 32957e901a19af19f35209a9e6469488
BLAKE2b-256 0544347290872fd138fc9ed2624ca75ba40486b9db3dbaf9bc8497130c80e76a

See more details on using hashes here.

Provenance

The following attestation bundles were made for pairinteraction-2.0.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.0.0-cp39-cp39-win_amd64.whl.

File metadata

File hashes

Hashes for pairinteraction-2.0.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 dafc01d23cae455bb82d54130dd515fb54f19886c8bc451b06ca64dd9def828b
MD5 05cd8471e4dbf0076802831485dc31b1
BLAKE2b-256 a18e6c68b1c30e98c7a542ff931955bd9fca1f23a1c92bea593ad29d8bee634d

See more details on using hashes here.

Provenance

The following attestation bundles were made for pairinteraction-2.0.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.0.0-cp39-cp39-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pairinteraction-2.0.0-cp39-cp39-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 83e9a46ec4f584fc3b8131fe1427f2f30b61f9967caf5a81db4c7442a29bdd30
MD5 9d32e58d3b58f6408ab1649403ac4239
BLAKE2b-256 c9dbe63be26ec5f1892077f4c2f804ba41314bd1dfc6f1fa05695cbfe3a06357

See more details on using hashes here.

Provenance

The following attestation bundles were made for pairinteraction-2.0.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.0.0-cp39-cp39-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for pairinteraction-2.0.0-cp39-cp39-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 e7647a6491b8526fa40ba546c8b4e0f306d8424ea1f3a822e8a7560002e1eac4
MD5 4645a5d46166625807e3c708486e0995
BLAKE2b-256 716b77a19e947ab181a4f109680fbffee104772e35d9a63b4a6da75da4fe7386

See more details on using hashes here.

Provenance

The following attestation bundles were made for pairinteraction-2.0.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.0.0-cp39-cp39-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for pairinteraction-2.0.0-cp39-cp39-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 7726c300cd2478eb3f6c0dc33c35878bbe4222fb11f8967692a5078ff8f7e282
MD5 66467cd2606fe08a9aeb255f32fba699
BLAKE2b-256 0f58c8e892d78077e5a2ab20edb9711e0495ac45e1b20799852eac8fb633828f

See more details on using hashes here.

Provenance

The following attestation bundles were made for pairinteraction-2.0.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 Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page