Skip to main content

qflux is a package for running quantum dynamics calculations on quantum devices.

Project description

License: GNU AGPL v3 Static Badge

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

  1. Getting Started
  2. Contribution Guidelines
  3. Citation
  4. License
  5. Acknowledgements

Getting Started

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:

https://qflux.batistalab.com/

Notebooks For Tutorial Manuscript

Open In Colab | Part I - Closed Quantum Dynamics and Simulation Protocols

Open In Colab | Part I - Appendix A: Variational Methods

Open In Colab | Part I - Appendix B: Bosonic Simulation

Open In Colab | Part II - Open Quantum Dynamics

Open In Colab | Part III - Variational Quantum Trajectory Dynamics for FMO

Open In Colab | Part III - Variational Quantum Dynamics for Amplitude Damping

Open In Colab | Part IV - Generalized Quantum Master Equation Dynamics

Contribution Guidelines

To contribute to the repository, clone the qflux repository and create a new branch:

git clone git@github.com:batistagroup/qflux.git
git pull
git checkout -b part_II_docs_spinchain

For example to contribute to the documentation, written in markdown (.md), edit the markdown in some form and make it complete (vim spin_chain.md for example). Once complete, commit changes to file:

git add spin_chain.md
git commit -m 'DOCS: Added docs on the spin chain example with Lindblad'
git push

Generate a new pull request through github and assign to a tentative reviewer.

Additional Repositories

Static Badge | Spin Chain Tutorial Repository

Static Badge | QMultiAdapt Repository

Static Badge | GQME Tutorial Repository

Citation

Please cite the preprint of our work when using this code until the journal version becomes available.

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).

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

qflux-0.0.1.tar.gz (65.5 kB view details)

Uploaded Source

Built Distribution

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

qflux-0.0.1-py3-none-any.whl (72.0 kB view details)

Uploaded Python 3

File details

Details for the file qflux-0.0.1.tar.gz.

File metadata

  • Download URL: qflux-0.0.1.tar.gz
  • Upload date:
  • Size: 65.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.7

File hashes

Hashes for qflux-0.0.1.tar.gz
Algorithm Hash digest
SHA256 95f550b5983e021fa14b942d943b9da95e8275c3fabb3e616e3f5565827aed65
MD5 908b2f1d037211203a8c651534187f18
BLAKE2b-256 d48afbe3e9d74d9363657396288d54b6e3f26a9b595a1b93466d4bc6718d99f5

See more details on using hashes here.

File details

Details for the file qflux-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: qflux-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 72.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.7

File hashes

Hashes for qflux-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 02738a738cedf03b189355954450d7eaab82a14469c0d8e5c817cea59806092c
MD5 d2df9bcecfece0c9426f0c613c047021
BLAKE2b-256 e548de777f3fc4b3e0fe4e4f3f7159895713ceba554270ac091571a8f097de61

See more details on using hashes here.

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