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 - 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.

  • FAQs - Frequently asked questions.

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

Uploaded CPython 3.12+Windows x86-64

pairinteraction-2.3.0-cp312-abi3-manylinux_2_28_x86_64.whl (65.8 MB view details)

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

pairinteraction-2.3.0-cp312-abi3-macosx_14_0_arm64.whl (43.3 MB view details)

Uploaded CPython 3.12+macOS 14.0+ ARM64

pairinteraction-2.3.0-cp312-abi3-macosx_13_0_x86_64.whl (44.6 MB view details)

Uploaded CPython 3.12+macOS 13.0+ x86-64

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

Uploaded CPython 3.11Windows x86-64

pairinteraction-2.3.0-cp311-cp311-manylinux_2_28_x86_64.whl (65.9 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

pairinteraction-2.3.0-cp311-cp311-macosx_14_0_arm64.whl (43.3 MB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

pairinteraction-2.3.0-cp311-cp311-macosx_13_0_x86_64.whl (44.6 MB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

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

Uploaded CPython 3.10Windows x86-64

pairinteraction-2.3.0-cp310-cp310-manylinux_2_28_x86_64.whl (65.9 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ x86-64

pairinteraction-2.3.0-cp310-cp310-macosx_14_0_arm64.whl (43.3 MB view details)

Uploaded CPython 3.10macOS 14.0+ ARM64

pairinteraction-2.3.0-cp310-cp310-macosx_13_0_x86_64.whl (44.6 MB view details)

Uploaded CPython 3.10macOS 13.0+ x86-64

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

Uploaded CPython 3.9Windows x86-64

pairinteraction-2.3.0-cp39-cp39-manylinux_2_28_x86_64.whl (65.9 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.28+ x86-64

pairinteraction-2.3.0-cp39-cp39-macosx_14_0_arm64.whl (43.3 MB view details)

Uploaded CPython 3.9macOS 14.0+ ARM64

pairinteraction-2.3.0-cp39-cp39-macosx_13_0_x86_64.whl (44.6 MB view details)

Uploaded CPython 3.9macOS 13.0+ x86-64

File details

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

File metadata

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

File hashes

Hashes for pairinteraction-2.3.0.tar.gz
Algorithm Hash digest
SHA256 48400f95007b8e277617330d4368af7520a6b0d30b9b50ee0c335fc3a90bf864
MD5 6464cea8ff67ac5e49a4931933b2fd82
BLAKE2b-256 2fda8e2467d430b8eac1380fd2f88f6734dfd404a8ae04aa60ec9ca66eef05eb

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pairinteraction-2.3.0-cp312-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 5568ed72db4dcead8eb35d60f30fa08489a4575ef93ca0c919dd167bc01cdfe2
MD5 bdc2a725b4f8d7457c8028ff16e98409
BLAKE2b-256 63ceeb2fbfcd8808368577d28ce36475b8a1712522a3227ea829070412993d6c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pairinteraction-2.3.0-cp312-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 3287a044979327b77a7094c0d993db2478b5eac3b33a0e2f3eac82812e6a1f4d
MD5 26b45db472e22adc9cc94df5e491f624
BLAKE2b-256 5912c9ffec6f2d56708ebe9d67e4d43132b0ad7943c02ca967d7ec4343df7f60

See more details on using hashes here.

Provenance

The following attestation bundles were made for pairinteraction-2.3.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.3.0-cp312-abi3-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for pairinteraction-2.3.0-cp312-abi3-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 78806992399328c6ef0421f12128dcd1091e0ae22603826a7932e27ee4cd9274
MD5 597369c889f8f81fdcc5df0fbd0d1530
BLAKE2b-256 5b43d9eea6af3e616b5d2c2cd3d06390ac0e209f95e5275b66974dbe491accbf

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pairinteraction-2.3.0-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 493eda371381390932615c58af30ae03e49b0255c9fca42d9129c99d325df8ce
MD5 50bf01fac806f08d1251aaddfbb542e5
BLAKE2b-256 f0c66287bfdffbafd8b50378cc13181f16aed7c3adebed7ae3d9bd159244db74

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pairinteraction-2.3.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 0ea60748849ffee25fce3f25431d07d025082ec36ed470533327ce8e3acc9b2b
MD5 05ecf1699404f02ec71bc2d5510544e3
BLAKE2b-256 e13865bcafda47b88fb62edfc2e9eb554635806b8e17fc70d33296b3ff153433

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pairinteraction-2.3.0-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 3ac95af7a86c36e1bb4361ca5a9772f1e3b4da261754852cd48f51b1ca7204cc
MD5 fe77b10d3d2dd2bf859cff13ffe1828d
BLAKE2b-256 7aca67db7c78ac7b4fddb092e88455f61612abca25a788fe033c8b813bf87b18

See more details on using hashes here.

Provenance

The following attestation bundles were made for pairinteraction-2.3.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.3.0-cp311-cp311-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for pairinteraction-2.3.0-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 10a1221b9741e9045330afaaea4ba19bc51add6a886982ca4ed0e1edc5c4a0de
MD5 3746ad8587c909406b518b72ce50ced9
BLAKE2b-256 7288355efc2cc248371ac162d819be528a5f4e4223463e563e414dc2862660ad

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pairinteraction-2.3.0-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 4661aaeabe615077c08c2f8576df01727cc7b77716c1101ea4ca5c3b3280e6a3
MD5 4704a488da9a66a051f10f142ce91af2
BLAKE2b-256 22196aa90926d3b167112aafad74441d0245508abd7ff46a217575c6ee1b504a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pairinteraction-2.3.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 67d0275252ca8035de9583df41162cca279b1e56b7e548c9115473c0bf2082ed
MD5 b757138db5a6c1ceea46166f04161141
BLAKE2b-256 e33b4e3b1b6fdf8ef9b80784bd5a9fedb7863d3bd92ad1bfc8a53ee9d385f6d1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pairinteraction-2.3.0-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 4bf24cc3b0c2ebb49ae5f4d461d589272c1b9bb782b9b34a019f9c8a68a28255
MD5 b83ffc398b04b3c1aa46b8f4ef80a137
BLAKE2b-256 14282942dd9d058f184171026f7d6e020b80e21d5ec3824b44fa90102134367d

See more details on using hashes here.

Provenance

The following attestation bundles were made for pairinteraction-2.3.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.3.0-cp310-cp310-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for pairinteraction-2.3.0-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 094dc2ca0f4de75f2d43e8bad61b5007ccac1fb1cea26370ef6ffccb6d118cdd
MD5 dd17d2445cbd1518d60d3b0dbd2d3845
BLAKE2b-256 8cfc3281e3baf54ec02135bc1ae5b597cc80f4925bc5f86492b4ec3c46042dd2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pairinteraction-2.3.0-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 04d8fe0a5a168e912b96e9ba539a1d5eea9a5171f1b6e1f981d85034dd28f8b7
MD5 26a419b99aa418c0f9c54a620ceda401
BLAKE2b-256 7f86dfbe0d5cc4276a2e16b4e114ef4fec1836f2a44e7115c46a6f37fd6d4525

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pairinteraction-2.3.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 22719691dc5ec5e9d83e54b59b9bcf9d1478ed8feb19be8df6726d85a89bc49b
MD5 f46cc2385562f4b01101752b25b85cd5
BLAKE2b-256 dcedabf6b9baaf7c9261cf8f6ff995b297b699859c805f5c5021df0eadd8edc4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pairinteraction-2.3.0-cp39-cp39-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 d2ced03a678ba06375c50462cef26a527f5d6be6649841f0c2f9e4c2c3c870c3
MD5 0bb17d794ccbe799c3952ce0dc23dec2
BLAKE2b-256 d8b6b29a6b62bd94aab8e8c9817eb83f25f59facbbaddf3e67e7bffa6226258f

See more details on using hashes here.

Provenance

The following attestation bundles were made for pairinteraction-2.3.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.3.0-cp39-cp39-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for pairinteraction-2.3.0-cp39-cp39-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 63285cda6a0a126dc9b4fcdd74714ac15e16ce607fbf8d3996d85df4f3a6e30e
MD5 2053b371d57b5209e24577f8a82e25f8
BLAKE2b-256 4eb0197cad6607a78c3b48fcf2a432939d9917c19ffaa026a74e9f8b70f955bd

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pairinteraction-2.3.0-cp39-cp39-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 1acfc4baa6634b3f957fdeec69fe800ed867fed3138294ba5fdfb0d0f9ace973
MD5 b4e9eca747816d16487e1f787659a1a2
BLAKE2b-256 5a38f5d1d66f2d05680c3eb4eab6ca93c03b9081d1ccd264d4d74d1511370836

See more details on using hashes here.

Provenance

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

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