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 to 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 were 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.2.tar.gz (475.2 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.2-cp312-abi3-win_amd64.whl (14.8 MB view details)

Uploaded CPython 3.12+Windows x86-64

pairinteraction-2.2.2-cp312-abi3-manylinux_2_28_x86_64.whl (65.5 MB view details)

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

pairinteraction-2.2.2-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.2-cp312-abi3-macosx_13_0_arm64.whl (43.1 MB view details)

Uploaded CPython 3.12+macOS 13.0+ ARM64

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

Uploaded CPython 3.11Windows x86-64

pairinteraction-2.2.2-cp311-cp311-manylinux_2_28_x86_64.whl (65.7 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

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

Uploaded CPython 3.11macOS 13.0+ x86-64

pairinteraction-2.2.2-cp311-cp311-macosx_13_0_arm64.whl (43.1 MB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

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

Uploaded CPython 3.10Windows x86-64

pairinteraction-2.2.2-cp310-cp310-manylinux_2_28_x86_64.whl (65.6 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ x86-64

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

Uploaded CPython 3.10macOS 13.0+ x86-64

pairinteraction-2.2.2-cp310-cp310-macosx_13_0_arm64.whl (43.1 MB view details)

Uploaded CPython 3.10macOS 13.0+ ARM64

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

Uploaded CPython 3.9Windows x86-64

pairinteraction-2.2.2-cp39-cp39-manylinux_2_28_x86_64.whl (65.6 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.28+ x86-64

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

Uploaded CPython 3.9macOS 13.0+ x86-64

pairinteraction-2.2.2-cp39-cp39-macosx_13_0_arm64.whl (43.1 MB view details)

Uploaded CPython 3.9macOS 13.0+ ARM64

File details

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

File metadata

  • Download URL: pairinteraction-2.2.2.tar.gz
  • Upload date:
  • Size: 475.2 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.2.tar.gz
Algorithm Hash digest
SHA256 fe5a79221e56f8455a67962b724babf62b12630eeee81272ad138323610e3d63
MD5 246b22616339968e48ed22cb4f64c08e
BLAKE2b-256 54036eb7f450002ff25443fe8d79dbbe05bd5be50479038dd94055ac4e0172d6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pairinteraction-2.2.2-cp312-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 1e2fcfdf4aa01e154508ef7c895c43aa7dd675fe0f7f3b189075b5efc427a446
MD5 302b308cce075a65c5af92bc30c4a86d
BLAKE2b-256 b13022c1813c27ade8d7fff8f04a08de7a9f56ecb4de298cd5c691148e9c58d2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pairinteraction-2.2.2-cp312-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 f2869496d6cdd49a9448bfee8ebc5109b69d9143fd0247181153b4653366157b
MD5 b1eab44e15c59ffab1d916ef68ceba3d
BLAKE2b-256 ef7177f7ff2c15b5d3ecdf68848eaab311432bed294dccdecbfd905436375ca9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pairinteraction-2.2.2-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 7dfd9f75bab32492b92458cd8229ac2e56cb14af6666bf3118ab6ae2914f0eee
MD5 269da5da3551a272b3da4b8fea88e7a6
BLAKE2b-256 3928a3233120a6f992dabebde980dff993fe47c2fd521b01a54da1a93185eec6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pairinteraction-2.2.2-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 7e8a830c371b44ec63eb166aafdd392d396a2e6c3cc7c11fd23030aae9e2da94
MD5 fa335ffbac5a06f114db8d5cc8b0b9a2
BLAKE2b-256 e6d38389fd6377b7769c1490630e83accd780011909cf3f86b8c6a1804ac1ba6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pairinteraction-2.2.2-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 4f96a567200e9213f9b5af1574146f602325537a3430d19841bed396865ab7e3
MD5 805d5f1c68d17f2aed1f764badcc009f
BLAKE2b-256 78bae33682f77f69bddf6ca1f08d17b07be231796baa249ca22462abedf50aca

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pairinteraction-2.2.2-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 6023977aa0bafa742f1d206251263b0c1119a955361e06e54ffff56e178d5a42
MD5 2931d55869bd9a78bba16b00ed8bafa8
BLAKE2b-256 22785d20e856405e4b5804b5f9a0084a96f466fce5ac35d2cea1ae9648c6eaee

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pairinteraction-2.2.2-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 695c4f4917e394db27dd96a84cbe9cc876e1c4273fb28020bc7d52ac5df1815a
MD5 9ff80b44a206f600d46f33791bd84054
BLAKE2b-256 de3b06b2a7ad17330e9f1b9ac5d790b376b23822576d3c7076353a8108a177e7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pairinteraction-2.2.2-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 65c496304bd74d4968563f7da7f3d57bff564addf288365772674da06b5c1ba5
MD5 e3e5c792d6e7911a51092b78e3b27e45
BLAKE2b-256 6eff1278427dfab6f8c8b485498d79c269d7a068e75a1e3d020b40eb570d8615

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pairinteraction-2.2.2-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 7e326ed307da01e3eea6325466bf834f97431112b9795df3cfc28bb0f224f8eb
MD5 f84e8aa78fc658bf55e6aeb2b544db1b
BLAKE2b-256 acbe8cffa7128584f80c11aaeff7dc89b8ff3ed5510e7db89aafe49de54d9113

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pairinteraction-2.2.2-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 96eed65717cf2c17f711a24a4c8fa4e62591d52dd594105bfc29419c457e07d4
MD5 b05da19d430bc978cfb4f39ca70c5d79
BLAKE2b-256 920db9d6d1cf0ff878b6862170121c64fbbefe5d2e8575caf03edc205071bca9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pairinteraction-2.2.2-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 9181857a53dbccaf57330cdb2064157453199f85a72e5ef33f500e1352c14f93
MD5 0fc9efbaf9a3e8593e32f753bb6bb26d
BLAKE2b-256 68e03473d954fcb5b972e3741f46fdf1e1df037b93d9a59ea258741529bc0c56

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pairinteraction-2.2.2-cp310-cp310-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 8fc7a0506c1703dabad21ca19832a9a287fda9b30eea20f3ec5ce84900246f21
MD5 83778d728397d48806e561a07294e098
BLAKE2b-256 d25e9a74bf0294f7324cb984018e504ef99b6e19596129aee867526f163b72c1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pairinteraction-2.2.2-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 f4442ad550b6785655e427cbb12e1f6544e149f0fbbe60dcccc3921f51342351
MD5 02f83192ab866444a91f9eb07a415836
BLAKE2b-256 353c0068e950b243e5b3a1e9e4f47e14c4378740d5ec4b52a6835a57e2cb452b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pairinteraction-2.2.2-cp39-cp39-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 9461020c2db86c0f37a85d86ccfe96543768ce000c815ca3292ecf439b90157e
MD5 c12bffd346535e3edbc6debdae66938d
BLAKE2b-256 ba1d451419f4b3790ba308154f693e0f206e725c0795132c0c66032fba204d1c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pairinteraction-2.2.2-cp39-cp39-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 7cfa82772d36c1d11c25e2fe4da3e47709816183286f865823976d6742a20851
MD5 784af53864fe9afb8f81e77291b4a042
BLAKE2b-256 830df7f9203b2336895ecca7357a4a1fabed0c363e85d59e78e6b5509e5d16db

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pairinteraction-2.2.2-cp39-cp39-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 5ea386d8b8ca2e8fb9717b5bbe0b9608ba51551672be846062d3541d4005ed59
MD5 100ec825f0fc3c861ef338cde5a6e321
BLAKE2b-256 a78f8d3250d12bb3f7ff0f753e14dbdf2bddd65e66a85e9a383011ccb19e2e36

See more details on using hashes here.

Provenance

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