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.3.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.3-py3-none-any.whl (78.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for qflux-0.0.3.tar.gz
Algorithm Hash digest
SHA256 8b93867a784cfded47f281ded3de6ba99e40485d83f0a35824accb2d6024a65e
MD5 b16dbdbe2b92eef2eb812be406236c53
BLAKE2b-256 3ee7ab6e76bdd50b4f8728933bce8966dc1a6d2cb48762903bb7f2443a0dcf0f

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for qflux-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 aec27def97614a9435331084da248352be71df0c11a772eefe63e593c6772517
MD5 963bacf10a9c4c551ebf03ec1856709e
BLAKE2b-256 0e61be8db4bfd679fdd15582cc7fd263419df70d659b5b47662b226d847922d2

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