SpinVibe: Simulating spin-phonon coupling for molecular qubits
SpinVibe: Simulating spin-phonon coupling for molecular qubits - Published in JOSS (2026)
Science Score: 87.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
○codemeta.json file
-
○.zenodo.json file
-
✓DOI references
Found 4 DOI reference(s) in README and JOSS metadata -
✓Academic publication links
Links to: joss.theoj.org, zenodo.org -
○Academic email domains
-
○Institutional organization owner
-
✓JOSS paper metadata
Published in Journal of Open Source Software
Repository
Basic Info
- Host: GitHub
- Owner: victorchanglee
- License: mit
- Language: Jupyter Notebook
- Default Branch: main
- Homepage: https://victorchanglee.github.io/SpinVibe/
- Size: 49.5 MB
Statistics
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 2
Metadata Files
README.md
SpinVibe
SpinVibe is a Python package for simulating spin-phonon coupling and
calculating $T1$ of molecular qubits in a crystal lattice from
first-principles calculations. This is achieved by connecting periodic
lattice dynamics and molecular electronic structure calculations. In
addition, SpinVibe enables the parametric analysis of $T1$ under
different factors, including temperature, crystal/molecule orientation
and applied magnetic fields. The code is written in Python3 and is
MPI-parallelized over phonon modes and $q$-points using mpi4py.
Please take a look at the Documentation

Inputs
- Solid-state phonons and eigenvectors
- Molecular Spin-Hamiltonian parameters (e.g. g-factor, zero-field splitting tensor)
- Parameters: Temperature, Polarization, external magnetic field, etc.
Output
- Time evolution of the spin density and magnetization
- Spin-phonon relaxation time (T1)
Requirements
The code was written using the following Python Libraries:
- python 3.9.21
- numpy 1.26.4
- scipy 1.13.1
- h5py 3.12.1
- mpi4py 4.0.2 (optional for MPI parallelization)
SpinVibe Installation Guide
Step 1: Download Source Code
Download SpinVibe source code using the command:
bash
git clone https://github.com/victorchanglee/SpinVibe.git
Step 2: Navigate to Root Directory
bash
cd SpinVibe
Step 3: Installation
Install the code with the command:
bash
pip install -e .
Optionally, the code is parallelize over MPI using the mpi4py library. If MPI parallelization is available you can use
bash
pip install -e ".[mpi]"
Once the installation is succesful, you can test it using the files provided in the test directory.
Example
An example is included in the test directory. To run the example just run
bash
spinvibe input.json
The expected output for a serial run is in test.out.
Additionally, a Jupyter Notebook Ttutorial is included inside the test directory.
Contributing and Support
Please use the Issue Tracker to report bugs or request new features.
Contributions are also welcome! Please use the Pull Request and Fork workflow to contribute.
Contact
Feel free to reach out at victor.changlee@northwestern.edu or jrondinelli@northwestern.edu
Owner
- Name: Victor Chang Lee
- Login: victorchanglee
- Kind: user
- Repositories: 1
- Profile: https://github.com/victorchanglee
JOSS Publication
GitHub Events
Total
- Pull request event: 1
- Issues event: 3
- Issue comment event: 2
- Push event: 154
Last Year
- Pull request event: 1
- Issues event: 3
- Issue comment event: 2
- Push event: 154
Issues and Pull Requests
Last synced: about 2 months ago
All Time
- Total issues: 0
- Total pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Total issue authors: 0
- Total pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels
Dependencies
- actions/checkout v4 composite
- actions/upload-artifact v4 composite
- openjournals/openjournals-draft-action master composite
- h5py ==3.12.1
- numpy ==1.26.4
- scipy ==1.13.1
- h5py ==3.12.1
- numpy ==1.26.4
- scipy ==1.13.1
