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.2.tar.gz (69.9 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.2-py3-none-any.whl (78.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for qflux-0.0.2.tar.gz
Algorithm Hash digest
SHA256 fe49a4e7af52ef53566f8dad1d6d1f1adbd82ca466aa32bea26942d7289950a5
MD5 7451b73513e2f899a9493db1bd89045d
BLAKE2b-256 0bf769d5f1bdc4df48b21967a1f16542a646e9d3f47bac26233fb547243e57ed

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for qflux-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2831589e32f66b2eddf90e7d92aa656511e92cef4e2ea40c13e6cbf6bb5ed6cb
MD5 85f604ee4b7a0c6c54c941cb77b07f0d
BLAKE2b-256 9666827e26f8a214fdfebc2dcb4c542488a7498af3751f5933568f40d1299b67

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