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.

  • RydState - Learn how to calculate Rydberg 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.1.tar.gz (476.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.3.1-cp312-abi3-win_amd64.whl (29.0 MB view details)

Uploaded CPython 3.12+Windows x86-64

pairinteraction-2.3.1-cp312-abi3-manylinux_2_28_x86_64.whl (64.1 MB view details)

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

pairinteraction-2.3.1-cp312-abi3-macosx_15_0_x86_64.whl (48.4 MB view details)

Uploaded CPython 3.12+macOS 15.0+ x86-64

pairinteraction-2.3.1-cp312-abi3-macosx_14_0_arm64.whl (47.1 MB view details)

Uploaded CPython 3.12+macOS 14.0+ ARM64

pairinteraction-2.3.1-cp311-cp311-win_amd64.whl (29.0 MB view details)

Uploaded CPython 3.11Windows x86-64

pairinteraction-2.3.1-cp311-cp311-manylinux_2_28_x86_64.whl (64.2 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

pairinteraction-2.3.1-cp311-cp311-macosx_15_0_x86_64.whl (48.4 MB view details)

Uploaded CPython 3.11macOS 15.0+ x86-64

pairinteraction-2.3.1-cp311-cp311-macosx_14_0_arm64.whl (47.1 MB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

pairinteraction-2.3.1-cp310-cp310-win_amd64.whl (29.0 MB view details)

Uploaded CPython 3.10Windows x86-64

pairinteraction-2.3.1-cp310-cp310-manylinux_2_28_x86_64.whl (64.2 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ x86-64

pairinteraction-2.3.1-cp310-cp310-macosx_15_0_x86_64.whl (48.4 MB view details)

Uploaded CPython 3.10macOS 15.0+ x86-64

pairinteraction-2.3.1-cp310-cp310-macosx_14_0_arm64.whl (47.1 MB view details)

Uploaded CPython 3.10macOS 14.0+ ARM64

pairinteraction-2.3.1-cp39-cp39-win_amd64.whl (29.0 MB view details)

Uploaded CPython 3.9Windows x86-64

pairinteraction-2.3.1-cp39-cp39-manylinux_2_28_x86_64.whl (64.2 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.28+ x86-64

pairinteraction-2.3.1-cp39-cp39-macosx_15_0_x86_64.whl (48.4 MB view details)

Uploaded CPython 3.9macOS 15.0+ x86-64

pairinteraction-2.3.1-cp39-cp39-macosx_14_0_arm64.whl (47.1 MB view details)

Uploaded CPython 3.9macOS 14.0+ ARM64

File details

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

File metadata

  • Download URL: pairinteraction-2.3.1.tar.gz
  • Upload date:
  • Size: 476.4 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.1.tar.gz
Algorithm Hash digest
SHA256 7646f41ddbc726757e870e48459d0afa19e1558048d6fbe74dced1a3f92eca48
MD5 c88f53e42ced0dcb1ca0594a79f0e5a5
BLAKE2b-256 9ae5561cd6d07e5a5b009fc3e8d4826ae7227176461035d6bee926f80944d4cf

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pairinteraction-2.3.1-cp312-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 81a972a2d60b2e6dada2815cda1fbb89060d273494796a81ed67c3cd9d0730c9
MD5 b5aad212de7e7b50f44a4fd3551e0d7e
BLAKE2b-256 cf19edfe55a4e7552242fa2013ff99be4ded2ceadbb31925d9c1d44829a6eb01

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pairinteraction-2.3.1-cp312-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 16bae0cdf1097fa4bb4b0184b766e50787e55baef76e8ca6286fe028c5ef50ed
MD5 c7eb75b28cdc97c5e2d1af427ad87e5d
BLAKE2b-256 404ab2ace72059370177058215eb94beaf31cd5d6eaa0dcf5e01e380447b551c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pairinteraction-2.3.1-cp312-abi3-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 d55a93f0228d517e5e54efb40f63ca29d5ecb96a7b0fe5218317a2654242394d
MD5 bdc40be28731b0040417110e5078e33d
BLAKE2b-256 e295ad90bca729b05f7044edfe174bb95390cdda476dd051611ed8820d54de34

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pairinteraction-2.3.1-cp312-abi3-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 257bdea1bc337c5c5bd789421cb1eb036d65c8bb8ad57360ee4329f98fdaabc1
MD5 32520d2d0a17f4756bf71079c6959c4a
BLAKE2b-256 804ed809142102472da728a9d4b4e5e13f3523e98ba8e4dfdb3079ec0b1d34f9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pairinteraction-2.3.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 8e44f5ee06d5f926b8eeb344882cb045194a031846f6c0c23b7b4ef762f02125
MD5 094c9520b50e5ea5f54aa91211cf8648
BLAKE2b-256 5f0842e375980d7f157cee989b4d220782b5a7c918e913b9c66773833e8c5320

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pairinteraction-2.3.1-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 db38db4b548efacfa6a54199314dff6d192c2ef2fb51df3036ef8fcb83d04707
MD5 869794fcd0929be84ef2eaf6a6526dff
BLAKE2b-256 21255c4eac855ce595b9c021a1e49336a5b09e0436171a85603e4d5350b8a3bc

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pairinteraction-2.3.1-cp311-cp311-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 030316ae5993d15aef69ee03d81f711e4831d047c34f61d6e4e51a4ad3047c5d
MD5 1cd6de41e1b0f618c5fcdecc87773886
BLAKE2b-256 e3867633d5859bb864ca1f52f2f0a3f406f3fcc9ffb644bdb38a26dde4d6af79

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pairinteraction-2.3.1-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 bbdb2eb8341bdc537a7b0b0a47cd450f758cb175a22bee12c25ac1bfde1aa345
MD5 7fc7fe9dd996fcbb3e0bd79c0fec586e
BLAKE2b-256 a356cd4795949cb4166070412ad117010c2a48f3b608003d30f75530afb33467

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pairinteraction-2.3.1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 3104259af210f76aa1c20339c6a106e439717936d9c11cf898263613b5055855
MD5 586c75065b97a865d2bbecb8e68142de
BLAKE2b-256 93591f4ba09a9953ae892dd11029c9f47f2cb523e4467503d02a67b1745b813e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pairinteraction-2.3.1-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 a427e9f4cd331ba02410425b01db63f7e146f3fa6a743f06f54ff0b34b65ab96
MD5 a2df4c2a6fb0a581e94c40a0fcab023f
BLAKE2b-256 67aeefd3b62e090481f21740c08b27724d20d705460ef5dddd9829d83ec2c775

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pairinteraction-2.3.1-cp310-cp310-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 320dd9421436ac15d858dcb83754de81f70e9e3d11229e4b1648a70789f3b918
MD5 b46ec432528007074683e9058220b0ce
BLAKE2b-256 2d83d37254b2f0883f16fd7a875399f887bdb836a05e1e264c3c02a56a55fc2d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pairinteraction-2.3.1-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 f27548805d8113f15d527fc446f69b2bfd52ea856aa4ec9a9e2bbc3eb0aa3cd4
MD5 e265cceb85d95d61598b5da323631f27
BLAKE2b-256 9f0066c29b03779dc46103bdb7c2748abb52676f3967f3a87a6a81f1ab251711

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pairinteraction-2.3.1-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 5fe2c60a7508b9dd855017027be56f182a6dc929208b29727d8005c53b7bd729
MD5 c1f76703a095d7fcae039502a9051360
BLAKE2b-256 18ab3304fbd1a461f22e5f6c872938433ddbddf0b21751ea1b58dd0e47b916de

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pairinteraction-2.3.1-cp39-cp39-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ea39bb97aef9327c0aa2c482fe03a486786ca0f5366da4e6ca6389eb0a49052f
MD5 bdff76b7f4dfab7400b508849e45cea7
BLAKE2b-256 a577c235d62b1e55cca6887a1bc1c7db0d1a83ea6cde4ee46a088292334e0059

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pairinteraction-2.3.1-cp39-cp39-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 d4cf123dd07462693be19621cae566dd60a7a75ef1849f718bb64d80c6d3ba7a
MD5 d7e24fcd0fb0c8ae04a53bd92bcb7ef5
BLAKE2b-256 88567708a8385e053ac962d5cfb8fa96787cc71b7709fd35e8fc453e1feeac9a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pairinteraction-2.3.1-cp39-cp39-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 a4549e382d27cd825651d11a26255eeab032e7a129f746fde286fdb73012e685
MD5 e12239de6f53f94000635f3560ee0852
BLAKE2b-256 28e43e20850e34688f004fbbfb26db181f32cbb30f81aa84fa4063462ca98d07

See more details on using hashes here.

Provenance

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

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