Skip to main content

Electronic structure, quantum dynamics, and spectroscopy in Python

Project description

PyPI release Documentation status MIT license

PyQED is open-source research software for light–matter interactions, quantum dynamics, spectroscopy, open quantum systems, and electronic-structure workflows. The project combines reusable Python APIs with executable research examples and validation paths.

Project status

PyQED is active research software. Interfaces and numerical workflows have different maturity levels, and some are experimental. Consult the capability status before selecting a method for production work. A passing example or benchmark is evidence for the documented case, not a guarantee for every model or parameter regime.

Installation

Install a published release from PyPI:

python -m pip install pyqed

For the current development tree:

git clone https://github.com/binggu56/pyqed.git
cd pyqed
python -m pip install -e .

Standard installations use the tested pure-Python fallbacks. To compile the optional native accelerators from a source checkout, use a supported C/C++ toolchain and opt in explicitly:

PYQED_BUILD_EXTENSIONS=1 python -m pip install .

Use documentation from the same release or commit as the installed code. See the installation guide for verification and optional-dependency guidance.

Five-minute calculation

This native, small-basis RHF calculation does not require PySCF:

from pyqed.qchem import Molecule

mol = Molecule(
    atom="H 0 0 0; H 0 0 0.74",
    unit="angstrom",
    basis="sto-3g",
)
mol.build(driver="builtin", eri="auto")
mf = mol.RHF().run()

print("converged:", mf.converged)
print("RHF energy:", mf.e_tot)

Continue with the quickstart and the examples gallery.

Development

Run focused tests from the repository root:

PYTHONPATH=. python -m pytest tests/test_rhf.py -q

Build the documentation with warnings treated as errors:

python -m pip install -r docs/requirements.txt
python -m sphinx -W --keep-going -b html docs/source /tmp/pyqed-docs

Read CONTRIBUTING.md before proposing changes. Scientific changes should include a focused test or reproducible benchmark and document units, conventions, dependencies, and references.

Citing PyQED

Use the metadata in CITATION.cff and record the exact PyQED release or Git commit used. No project DOI is asserted until one appears in an archived release. See the citation guide for a reproducibility checklist.

License

PyQED is distributed under the MIT License. See LICENSE.

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

pyqed-0.2.0.tar.gz (26.6 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyqed-0.2.0-py3-none-any.whl (27.4 MB view details)

Uploaded Python 3

File details

Details for the file pyqed-0.2.0.tar.gz.

File metadata

  • Download URL: pyqed-0.2.0.tar.gz
  • Upload date:
  • Size: 26.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for pyqed-0.2.0.tar.gz
Algorithm Hash digest
SHA256 e55155c0b0e24f859570c23802e24068502d3e9532eee2c16cac2c9ce81f25da
MD5 bffafd517d7d06ca1fbc8620b1751b81
BLAKE2b-256 32086e9790ae9b42933178a71058960c38994fcd23481f3bda121c334605d2d1

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyqed-0.2.0.tar.gz:

Publisher: release.yml on binggu56/pyqed

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyqed-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: pyqed-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 27.4 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for pyqed-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 21d2c880fef673c6fdc7909f7e12bdde005355c6112ed7792d864d3c6e2f456d
MD5 bb2dede92a4bb861af0919ba891344d2
BLAKE2b-256 ff53277592b9258feb97a01a9e93c209cb44e8ce2397901d5276d08beffd1dd2

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyqed-0.2.0-py3-none-any.whl:

Publisher: release.yml on binggu56/pyqed

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