QFlux - A Quantum Computer Dynamics Package
This repository contains various protocols for performing quantum dynamics simulations with quantum devices. Each submodule contains object implementations for these protocols as demonstrated in a publication, as well as comprehensive tutorial notebooks designed to help users understand, implement and build upon various simulation techniques for studying quantum dynamics using quantum computer frameworks. Each tutorial is provided in Python, using Jupyter Notebooks to offer detailed explanations in both markdown and code comments.
Table of Contents
Getting Started
qflux can be installed via pip:
pip install qflux
To get started, one can simply select a notebook and execute them locally or in google collab. Necessary dependencies will be installed using pip.
If using uv through the commandline, use the following syntax to create and activate a virtual environment:
uv venv
source .venv/bin/activate
The necessary packages, including development, can be installed as follows:
uv pip install -e ".[dev]"
Documentation
Documentation for QFlux, illustrating its features and representative examples, is available at the following page:
Notebooks For Tutorial Manuscript
Contribution Guidelines
To contribute to the repository, follow the procedure outlined in the Contribution Guidelines markdown file.
Additional Repositories
This section includes additional repositories with functionality that has been integrated within QFlux.
| Spin Chain Tutorial Repository
Citation
Please cite the ChemRxiv preprints of our work when using this code until the journal versions become available.
@article{qflux.2026_1,
year = {2026},
title = {{QFlux}: Classical Foundations for Quantum Dynamics Simulation. Part I - Building Intuition and Computational Workflows},
author = {Allen, Brandon C and Dan, Xiaohan and Cabral, Delmar G A and Vu, Nam P and Cianci, Cameron and Soudackov, Alexander V and Dutta, Rishab and Kais, Sabre and Geva, Eitan and Batista, Victor S},
journal = {{ChemRxiv}},
doi = {10.26434/chemrxiv.10001765/v1}
}
@article{qflux.2026_2,
year = {2026},
title = {{QFlux}: Quantum Circuit Implementations of Molecular Dynamics. Part {II} - Closed Quantum Systems},
author = {Cabral, Delmar G A and Allen, Brandon C and Cianci, Cameron and Soudackov, Alexander V and Dan, Xiaohan and Vu, Nam P and Dutta, Rishab and Kais, Sabre and Geva, Eitan and Batista, Victor S},
journal = {{ChemRxiv}},
doi = {10.26434/chemrxiv.10001766/v1}
}
@article{qflux.2026_3,
year = {2026},
title = {{QFlux}: Quantum Circuit Implementations of Molecular Dynamics. Part {III} - State Initialization and Unitary Decomposition},
author = {Soudackov, Alexander V and Cabral, Delmar G A and Allen, Brandon C and Dan, Xiaohan and Vu, Nam P and Cianci, Cameron and Dutta, Rishab and Kais, Sabre and Geva, Eitan and Batista, Victor S},
journal = {{ChemRxiv}},
doi = {10.26434/chemrxiv.10001767/v1}
}
@article{qflux.2026_4,
year = {2026},
title = {{QFlux}: An Open-Source Toolkit for Quantum Dynamics Simulations on Quantum Computers. Part {IV} - Dilation Method for Open Quantum Systems},
author = {Dan, Xiaohan and Shivpuje, Saurabh and Wang, Yuchen and Cabral, Delmar G A and Allen, Brandon C and Khazaei, Pouya and Soudackov, Alexander V and Hu, Zixuan and Lyu, Ningyi and Geva, Eitan and Kais, Sabre and Batista, Victor S},
journal = {{ChemRxiv}},
doi = {10.26434/chemrxiv.10001768/v1}
}
@article{qflux.2026_5,
year = {2026},
title = {{QFlux}: An Open-Source Toolkit for Quantum Dynamics Simulations on Quantum Computers. Part V - Adaptive Variational Quantum Algorithms for Open Quantum Systems},
author = {Shivpuje, Saurabh and Soudackov, Alexander V and Dan, Xiaohan and Wang, Yuchen and Allen, Brandon C and Cabral, Delmar G A and Hu, Zixuan and Lyu, Ningyi and Geva, Eitan and Batista, Victor S and Kais, Sabre},
journal = {{ChemRxiv}},
doi = {10.26434/chemrxiv.10001769/v2}
}
@article{qflux.2026_6,
year = {2026},
title = {{QFlux}: An Open-Source Toolkit for Quantum Dynamics Simulations on Quantum Computers. Part {VI} - The Generalized Quantum Master Equation},
author = {Dan, Xiaohan and Khazaei, Pouya and Allen, Brandon C and Lyu, Ningyi and Wilson, Callie and Mulvihill, Ellen and Wang, Yuchen and Shivpuje, Saurabh and Kais, Sabre and Batista, Victor S and Geva, Eitan},
journal = {{ChemRxiv}},
doi = {10.26434/chemrxiv.10001770/v1}
}
Licensing
Each notebook or repository might have its own licensing. Please refer to the individual README files and notebooks within each directory for specific licensing information.
Acknowledgement
We acknowledge the financial support of the National Science Foundation under award number 2124511, CCI Phase I: NSF Center for Quantum Dynamics on Modular Quantum Devices (CQD-MQD).
Metadata
Release files for qflux 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| qflux-0.1.4.tar.gz | 80.1 kB | Without provenance | Details for qflux-0.1.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| qflux-0.1.4-py3-none-any.whl | Python 3 | none | any | Details for qflux-0.1.4-py3-none-any.whl |
Total release size: 168.3 kB
Release files / qflux-0.1.4.tar.gz
| Download URL | qflux-0.1.4.tar.gz |
|---|---|
| Size | 80.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7456c01f0e3182bfaf60e2a650034b69eeae3d38946b5a63ed774d08438a09f4
|
|
BLAKE2b-256 checksum How to use checksums |
d5b8d1ac1ac862c95f021252f844bf4dda9cd7e4b9e65848cc291d7cef9c81b3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.8.23
|
Release files / qflux-0.1.4-py3-none-any.whl
| Download URL | qflux-0.1.4-py3-none-any.whl |
|---|---|
| Size | 88.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
350f9bfc592183375b39774bc760f890eac82cb44b652cb00edfe6663b116f51
|
|
BLAKE2b-256 checksum How to use checksums |
9a32d3cf3e7383885ba11d30dd0e518b46c0d88da81e21a060fd457ce3ed609d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.8.23
|
Security for qflux 0.1.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.