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.2.1.tar.gz (508.4 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.2.1-cp312-abi3-win_amd64.whl (14.8 MB view details)

Uploaded CPython 3.12+Windows x86-64

pairinteraction-2.2.1-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.2.1-cp312-abi3-macosx_13_0_x86_64.whl (44.4 MB view details)

Uploaded CPython 3.12+macOS 13.0+ x86-64

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

Uploaded CPython 3.12+macOS 13.0+ ARM64

pairinteraction-2.2.1-cp311-cp311-win_amd64.whl (14.8 MB view details)

Uploaded CPython 3.11Windows x86-64

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

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

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

Uploaded CPython 3.11macOS 13.0+ x86-64

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

Uploaded CPython 3.11macOS 13.0+ ARM64

pairinteraction-2.2.1-cp310-cp310-win_amd64.whl (14.8 MB view details)

Uploaded CPython 3.10Windows x86-64

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

Uploaded CPython 3.10manylinux: glibc 2.28+ x86-64

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

Uploaded CPython 3.10macOS 13.0+ x86-64

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

Uploaded CPython 3.10macOS 13.0+ ARM64

pairinteraction-2.2.1-cp39-cp39-win_amd64.whl (14.8 MB view details)

Uploaded CPython 3.9Windows x86-64

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

Uploaded CPython 3.9manylinux: glibc 2.28+ x86-64

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

Uploaded CPython 3.9macOS 13.0+ x86-64

pairinteraction-2.2.1-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.2.1.tar.gz.

File metadata

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

File hashes

Hashes for pairinteraction-2.2.1.tar.gz
Algorithm Hash digest
SHA256 bafb1a45a0ca17ef8c5ec78a357fd64005002c2e2faee4759a1d8de7bc10b70f
MD5 961ce796e1ca8df69427489f84f71c07
BLAKE2b-256 1866db793b594707a582ef61e25bbc5834c6249169b4b04ef32a75999a555dbb

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pairinteraction-2.2.1-cp312-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 37549a56bb0cb3fdb93080dbf9c0024a005803fedef5ecac360638670fb7bf5d
MD5 84ca61ac7b9c30b79dd12ed57fb1b23b
BLAKE2b-256 bc1dcc2e9c02e55da896aa5d0dc83b2e08bdfb62facc2c3abdccfbc2313b84a9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pairinteraction-2.2.1-cp312-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e706f0de926890389c5c8ca89bec047c789d532641d73bfcdcf166cfb927c0b9
MD5 577738d236240c0294cff2f490f611d1
BLAKE2b-256 e4d8d97b1a80b33efdaa2213568643857426cb9086f2ce2dd025c725a8aab57a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pairinteraction-2.2.1-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 b940c4aa8c1a57ef0eb75fd47896e73de4e8f37b7863dd953a03745d91e441e8
MD5 194085919f012445ff4c0bba18d40d2a
BLAKE2b-256 0399a3c39c0f8eb065271c3c38eed8454364773f2475245e2a9793bd8669d878

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pairinteraction-2.2.1-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 c18c748fcee1e4b5433117fb1376adc59f59af57567c3bd682d00caa2e42b354
MD5 9ee807689cf61c2bfd94209d2ac5262f
BLAKE2b-256 e5829ef33bb58e4f9797e08788f0937c5f6886b0c71ef31060fa8d00f1a2c71b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pairinteraction-2.2.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 269b25c9a51a6e5f91039ae5281c29eefc4074c43b91bdc8c18d9caa40917708
MD5 9b3408dbf5070c7be75e789346f7757b
BLAKE2b-256 e5ee097aee5774a546ef1764b64425d0597b718ba66b723309b7f41e83d91f97

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pairinteraction-2.2.1-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 d69a84439049502ee2c84bf2519d97b960c7786e33bcc110a3bd18547dbbf769
MD5 30de886613baef3e7e30ebe6739d9da9
BLAKE2b-256 2bf958f8636dd2ceb6620e36e58980a2a2de161a825d4dd8f0bfefd1e374560f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pairinteraction-2.2.1-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 c9944ad6ec236590e756fa428906a1746a78ef0c3032fd1e9983c0ec3aadf4e3
MD5 61c7bea3c67b1b384615ba7640dec4ed
BLAKE2b-256 5f17416e529279be30cb5b45ebad5189f0f7161bdf401c8019323d1a7633c152

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pairinteraction-2.2.1-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 feee137e2b0a7cb5218fe60b1ca40dfefb7faefe6f555f8ad8350ca85cb00980
MD5 c132bf466cfd99ce650d106f03e04677
BLAKE2b-256 b5f2731e950312405a22cd8db4ae3ee41c3908fb2fd05a282d8b35eb79c55c09

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pairinteraction-2.2.1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 1a9d15c8c39b55c6931908542b509f848af5b90669953f571924a10b02c146e9
MD5 36257b4b1708e1dc756132bf463d1f5a
BLAKE2b-256 b15024944c5afc25c7e373e9f0c0f8a23b674496ecbad30e37a0f64b460dae21

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pairinteraction-2.2.1-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 f23fb6347f9317e5428d6d425ab0dc801ead82923ef9d2f8c0aee8f5dc9b2953
MD5 f10a7aab2b1886dc9ffd1a828ceed34b
BLAKE2b-256 29fb61ec437e738ec77d858090cf814895cd40660e99538328a61ecd2ed0fcb3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pairinteraction-2.2.1-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 df9beed7b180bfa0dd9bb6597b93214012c717cf1422bdb3844328a5de4d76dd
MD5 7ba5f98eaa8f2d20bc31b8e9057cc6df
BLAKE2b-256 2adfdff6f75495cb750d3aa1397896c3d2e134fe5c96942398dbca9b33cc6923

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pairinteraction-2.2.1-cp310-cp310-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 950691316a8fcefa061c8daa0150fd6b96978014fd78d176332d32604b6c2e94
MD5 5ae5503ce2193987ccd4354e7a24841c
BLAKE2b-256 7aa713053b1d92ecfb6bd4be8fe9993b2e86322c2873eeb51f4fd8a4279a355f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pairinteraction-2.2.1-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 628eb9c36dc5b7fcd6474afca5d5f98b8a6c7f106c6ab70b515846c11dbf221a
MD5 3c9cc03cb02b23facad2e263c720f6c8
BLAKE2b-256 b963a8cf3b517f5d07b4e7fa1e23bdb97af1d6c9cac7e63490b642279972310b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pairinteraction-2.2.1-cp39-cp39-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 10ee75c841a4c59ef7ff24c60d4839ec9b88e14f14bfe240009ed6c3988c84db
MD5 ba07dc29bcea86d2be5d6c07aefd086f
BLAKE2b-256 4ea537b6490b76a030d4d3bb6b8f18e55b6e2248b0766ff10aa251d53d979ca4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pairinteraction-2.2.1-cp39-cp39-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 df1adeaefecb0961c6cba8b01965de0ee9a18e2607e8ee36ddc2ab02b29d0d5c
MD5 c24c15949a26395d1dcc2acac8b5194f
BLAKE2b-256 94d4213c8a3dec3cf9581c2a4dbd174b18decd3374313202115ae6a09ee94b22

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pairinteraction-2.2.1-cp39-cp39-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 eeab61ad6e770c50a9153768742e60b2d5c008b4725aeb2c346626e37e984987
MD5 01788ae7dd7dd60159aae75ccb24614c
BLAKE2b-256 6b63e9b5767325fb43c51aa39b49930cc8b0f991e081aa3815cbaab717544d5a

See more details on using hashes here.

Provenance

The following attestation bundles were made for pairinteraction-2.2.1-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