Git Product home page Git Product logo

quantum-hybrid-diffusion-models's Introduction

Quantum-Hybrid-Diffusion-Models

Overview

This repository contains the implementation of our Quantum Hybrid Diffusion Models paper, leveraging both quantum computing principles and classical diffusion models based on U-Net for advanced synthetic data generation tasks. The codebase is structured to facilitate experimentation with hybrid approaches, combining the strengths of quantum variational circuits and classical machine learning techniques.

Features

  • Quantum Variational Circuits: Integration of quantum circuits to enhance model expressiveness.
  • Hybrid Architecture: Combines quantum and classical methodologies.
  • Efficient Encoding: Techniques for embedding classical data into quantum states.
  • Model Training and Evaluation: Scripts for training models and evaluating performance on synthetic and real-world datasets.

Repository Structure

  • configs/: Configuration files for various experimental setups.
  • main.py: Main script to run the models.
  • sampling.py: Functions for data sampling and preprocessing.
  • train.py: Training routines for the hybrid models.
  • unet.py: Implementation of the U-Net architecture.
  • utils.py: Utility functions.

Getting Started

Prerequisites

  • Python 3.x

Installation

Clone the repository and install the required packages:

git clone https://github.com/NesyaLab/Quantum-Hybrid-Diffusion-Models.git
cd Quantum-Hybrid-Diffusion-Models
pip install -r requirements.txt

Usage

Run the main script with a specified configuration:

python main.py --config configs/config.yaml

Reference

If you use this code in your research, please cite the following reference:

@article{de2024towards,
  title={Towards Efficient Quantum Hybrid Diffusion Models},
  author={De Falco, Francesca and Ceschini, Andrea and Sebastianelli, Alessandro and Saux, Bertrand Le and Panella, Massimo},
  journal={arXiv preprint arXiv:2402.16147},
  year={2024}
}

Acknowledgments

We acknowledge the code from denoising-diffusion-flax by Yiyi Xu, which inspired our implementation of the U-Net and Denoising Diffusion parts. Special thanks to all contributors and the open-source community for their invaluable support.

Contributing

We welcome contributions to enhance the functionality and performance of the models. Please submit pull requests or open issues for any improvements or bug fixes.

License

This project is licensed under the MIT License.

Paper

For detailed information on the theory and implementation of our models, please refer to our Quantum Hybrid Diffusion Models paper.

quantum-hybrid-diffusion-models's People

Contributors

francesca1-1 avatar andrewcesc avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.