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.0.1.tar.gz (493.9 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.0.1-cp312-abi3-win_amd64.whl (14.7 MB view details)

Uploaded CPython 3.12+Windows x86-64

pairinteraction-2.0.1-cp312-abi3-manylinux_2_28_x86_64.whl (64.5 MB view details)

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

pairinteraction-2.0.1-cp312-abi3-macosx_13_0_x86_64.whl (44.3 MB view details)

Uploaded CPython 3.12+macOS 13.0+ x86-64

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

Uploaded CPython 3.12+macOS 13.0+ ARM64

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

Uploaded CPython 3.11Windows x86-64

pairinteraction-2.0.1-cp311-cp311-manylinux_2_28_x86_64.whl (64.6 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

pairinteraction-2.0.1-cp311-cp311-macosx_13_0_x86_64.whl (44.3 MB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

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

Uploaded CPython 3.11macOS 13.0+ ARM64

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

Uploaded CPython 3.10Windows x86-64

pairinteraction-2.0.1-cp310-cp310-manylinux_2_28_x86_64.whl (64.6 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ x86-64

pairinteraction-2.0.1-cp310-cp310-macosx_13_0_x86_64.whl (44.3 MB view details)

Uploaded CPython 3.10macOS 13.0+ x86-64

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

Uploaded CPython 3.10macOS 13.0+ ARM64

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

Uploaded CPython 3.9Windows x86-64

pairinteraction-2.0.1-cp39-cp39-manylinux_2_28_x86_64.whl (64.6 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.28+ x86-64

pairinteraction-2.0.1-cp39-cp39-macosx_13_0_x86_64.whl (44.3 MB view details)

Uploaded CPython 3.9macOS 13.0+ x86-64

pairinteraction-2.0.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.0.1.tar.gz.

File metadata

  • Download URL: pairinteraction-2.0.1.tar.gz
  • Upload date:
  • Size: 493.9 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.1.tar.gz
Algorithm Hash digest
SHA256 cdc58db2ab4966bb147850e713ce5a43cf19aeab4d8d36bd9fbca9d73ccc8048
MD5 80574df808a0815b8c039524e9515c5f
BLAKE2b-256 6a2fbd680f6a56ead55a8186a9669ffb11dbb81e5c2f1de386ddbb51b336c97e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pairinteraction-2.0.1-cp312-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 98bd6befbb50613812ae7b8dc0dd2859ca61e04598f6bda6b28cdf922b895031
MD5 07af4141a2054b52335a6f95c9751bea
BLAKE2b-256 8b92d92df9fa43136b3ff0e57a78adf2d886b5c180808b6bae660d5e02db31e5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pairinteraction-2.0.1-cp312-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 a392faaec05ec9d73fd46243ff91ba6351a5632e89dda063551afeef35354fc2
MD5 9b931bba7db4364ebc18c201768f6651
BLAKE2b-256 5e9b73584e9d8daac79bb1afa7a122974bbdff648620e727b29b2ba3ec0ccadc

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pairinteraction-2.0.1-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 76397e1d7a86595bfe7f224b1a7c8cb6294c53d08150e03360e544029dc66857
MD5 6dc64eec5abd0b6c62e3687b5e6a489d
BLAKE2b-256 0ba8e31f812be19411c8662b59165ae827106346ffa9be767ebcdd1d53814e3f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pairinteraction-2.0.1-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 0a449f98f9a3874443918ba7f74f2dc89d7d796999098445fb2c968873f2946e
MD5 c2d28ddfd5f9907518b9c448caca8635
BLAKE2b-256 ca37771fc6d79623fe86859f8c8ad2bff28b53fe00186e55d23c5053b20eb2ae

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pairinteraction-2.0.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 97e1713de27c9d27983bb6f8adb4c0f0c1bc13d635b7a40bee1b5a3780e2c62a
MD5 95fb5233cb55d1e780e36bc61d3d9683
BLAKE2b-256 cb4a6c5e8db2f4d7eace7e4b7a46e7bab3d671ab94ee738501b61d13281222ae

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pairinteraction-2.0.1-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 1a2c9ac091da879c2fb27772a5f954ecb8b4f5a89997971cb40ed815486033af
MD5 f3e9c19aee515e66e6e34559dd07d3b1
BLAKE2b-256 2a484b72413ae5885b9627a6797647dbb436435b01e0bb9ad6044750931eec21

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pairinteraction-2.0.1-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 5115171b3dbf13cc9bcc0d894a5956d3a8ca4c8e0221c39045b5971854a36a9e
MD5 e4cf48d86494204fd864d1b4e370bade
BLAKE2b-256 c32506192b7c0f37023d588a25bfee7132ccc887ade2019ceacb2c23fb3ee66a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pairinteraction-2.0.1-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 099481a08c03b9e0e9f8bb09a41bebe13231cc38b0ec4ddb22d6f4aa4c45e99c
MD5 e1dad5d8e358383aa899f6e906664792
BLAKE2b-256 73504527a6eacbfcdfc0c382e10dddcfb96ea164b3edf136cb90687776768fd5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pairinteraction-2.0.1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 c6a6480f283a155a58b431a3f7fea7e9134c53f64025f17a0dd2841d603930d0
MD5 9c7b0e22807b3416afb5491731811d6d
BLAKE2b-256 a38950246dad4999edfe55f736771b79742f63b89f3e593b29558bc6f6228917

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pairinteraction-2.0.1-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 5149ea7056fe2222048e955136c7ce453b1a6c09a4a91e2122f19be22d3d38fe
MD5 7743948abb8c9ee9f5f18811df1196c3
BLAKE2b-256 0c088b93a12e591de62d4ba3fcfb1ee60a84c8598ea1e5282f5b1a3aaaa7e98b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pairinteraction-2.0.1-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 5a5ea55eb76088aee8723d9847ac59662977fa91ecec5c992a8dc98e6b17223a
MD5 4cbb51fcb07a71a81d85662bd653545b
BLAKE2b-256 0fa9dfffbff1df1c75d70ccdfbc0179257b8b680a740c20501577a57c4eb15f0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pairinteraction-2.0.1-cp310-cp310-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 e4dd2744fbda128e737bacbaafdcf0ede4b77eaa9940ea1ceb987f8252f10a93
MD5 06dc569e1570a1d9d0ad20e2fe4481cd
BLAKE2b-256 ea0d6887ea4116155cd48ede1c672e4ff072485aafded7962f53fbc5a372b36b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pairinteraction-2.0.1-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 96358176f05d7f4f4e316de26304928290a7c406bcdcdb031dcce22d27947729
MD5 7ecbcb63c424707658084394096bc1bd
BLAKE2b-256 2855313577027a09ff3dd802f1022caf4fb89ec6b699ae14544eceb96c55fbd5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pairinteraction-2.0.1-cp39-cp39-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 fd1d1d648b4bf08f0424272b54c3e11c121e7adeb49e0fa5da98c374775bfeb7
MD5 819db381940dd34c49efa7854431dc91
BLAKE2b-256 5c250abc0de2d905621532b1530e7cf7f4312d80db47c7e3e31d81cf218d1c23

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pairinteraction-2.0.1-cp39-cp39-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 18badd954c8b4e145d7f92e1070d11276f6a711c5411789c8c85c17150934fcc
MD5 d8b5a35b38cb6622506e43cb6de63447
BLAKE2b-256 8381ac0af4f3c91cac801d98c4b40e253a1f63fb5192c45ce3bda73e162eaf2f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pairinteraction-2.0.1-cp39-cp39-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 66000fd0a30d82e353c13a7d8f9c5f6e2fa4a0ad3686304cf578f3d5219ae336
MD5 1bd12e6b63c4463cf984b3712da69045
BLAKE2b-256 62373b51615136aef90bfb2329581e734215b3d7d3ce4418fd12a3f9fe5b4c0c

See more details on using hashes here.

Provenance

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