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

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:

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

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.4.tar.gz (71.0 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.4-py3-none-any.whl (80.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for qflux-0.0.4.tar.gz
Algorithm Hash digest
SHA256 10a955091045cfb1441b219dfced09cbc7861df084de17b636d0027332bd833a
MD5 9055eb83d80db8cc06dbbcbf4f2af9bf
BLAKE2b-256 a51e3bd468e96626a4cde6633353dd598e07cc6303287707209ba22de201f58e

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for qflux-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 2f509214bd3cfc2c8e460716ecfbb1f77068a22fd41184cb8deccfb61e1c396e
MD5 107ee6cb6d35f5f37dfbcec2c2654264
BLAKE2b-256 d247ea73c1c453d94c2149b9a2c7404247c78623b001f217ea7c538974a0bd77

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