Skip to main content

Electron Transfer, Diabatic Couplings and Vibronic Energy Gaps in a Phase Space Framework

Project description

PhaseSpaceChem

Python NumPy Pytest PyPI License Version Maintained zread

Electron Transfer, Diabatic Couplings, and Vibronic Energy Gaps in a Phase Space Framework

PhaseSpaceChem is a Python library designed to calculate electronic states and vibronic energy gaps using a novel Phase Space (PS) framework. By treating the electronic system as dependent on both the position ($R$) and momentum ($P$) of the nuclei, this method achieves significantly higher accuracy than standard Born-Oppenheimer or Born-Huang approximations, while naturally conserving momentum.

Features

  • Shin-Metiu Model Generator: Flexible 1D 1-electron, 3-ion Hamiltonian matrix generation.
  • Phase Space Hamiltonian: Construction of $\hat{H}_{W,el}^{PS}(R, P)$ directly in phase space.
  • Diabatization Engine: Generalized Mulliken-Hush (GMH) diabatization optimized for phase space adiabatic states ($U(R, P)$).
  • Inverse Weyl Transform: Re-quantization of phase space operators back into Hilbert space.
  • Momentum Conservation: Inherently respects conservation laws often violated by truncated ad-hoc corrections.

Installation

You can install phase_space_chem directly from source:

git clone https://github.com/username/phase_space_chem.git
cd phase_space_chem
pip install .

For development (editable install):

pip install -e .[dev]

Usage

Here is a basic example of how to initialize the grids and compute a Shin-Metiu potential:

import numpy as np
import matplotlib.pyplot as plt
from phase_space_chem import grids, potentials

# 1. Define Grid Parameters
n_r = 151  # Electronic points
n_R = 151  # Nuclear points
n_P = 151  # Momentum points

# 2. Generate Grids
R_grid, r_grid = grids.generate_position_grids(
    num_nuclear_points=n_R, 
    num_electronic_points=n_r
)
P_grid = grids.generate_momentum_grid(R_grid, n_P)

# 3. Compute Potential
# Parameters: Fixed Separation=20.0, Mobile Screening=5.0, Fixed Screening=4.0
V_rR = potentials.compute_shin_metiu_potential(
    electronic_position_grid=r_grid, 
    nuclear_position_grid=R_grid, 
    fixed_ion_separation=20.0, 
    mobile_ion_screening=5.0, 
    fixed_ion_screening=4.0
)

print(f"Potential Shape: {V_rR.shape}")

References

This project incorporates research from the following paper:

  • Electron Transfer, Diabatic Couplings and Vibronic Energy Gaps in a Phase Space Framework Zain Zaidi, Xuezhi Bian, Joseph E. Subotnik arXiv:2601.16209

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

phase_space_chem-0.1.0.tar.gz (14.5 kB view details)

Uploaded Source

Built Distribution

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

phase_space_chem-0.1.0-py3-none-any.whl (10.6 kB view details)

Uploaded Python 3

File details

Details for the file phase_space_chem-0.1.0.tar.gz.

File metadata

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

File hashes

Hashes for phase_space_chem-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c76b94baff4672e8e4436ea826981fc0c61fe1293bfd9b8e04f32471dfdbe717
MD5 321d1a57556cc7819e1b04d96c8b9988
BLAKE2b-256 ba193fc8e326e9f256962c6a578183225c512a2ac9b14f6a029aa707323117ed

See more details on using hashes here.

Provenance

The following attestation bundles were made for phase_space_chem-0.1.0.tar.gz:

Publisher: publish.yml on kuslavicek/phase_space_chem

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

File details

Details for the file phase_space_chem-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for phase_space_chem-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 402855ea9cd8dbc05e30e10ffb154885de4f0372bcb5d1e31993a3991f1dd2db
MD5 7ef065cd957c144696f72734f7ad984a
BLAKE2b-256 a13c632c5daed532c09c558fd4e69310156ccffc2bb31d0cfa74fd688798f44d

See more details on using hashes here.

Provenance

The following attestation bundles were made for phase_space_chem-0.1.0-py3-none-any.whl:

Publisher: publish.yml on kuslavicek/phase_space_chem

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