Git Product home page Git Product logo

vae-light-characterization's Introduction

VAE-for-light-source-characterization

This is official repository for the paper "Deep learning-based variational autoencoder for classification of quantum and classical states of light" by Mahesh Bhupati, Abhishek Mall, Anshuman Kumar, and Pankaj K. Jha Paper

Setup

  1. Clone the repository
  2. Install the required packages using the following command:
pip install -r requirements.txt
  1. Run the following command to train the model:
cd src
./train.sh # To train the model for SPAC & SPAT dataset
./train_spac_spat_coherent_thermal.sh # To train the model for mixSPAC, mixSPAT coherent and thermal states 
./train_moe_spac_spat_coherent_thermal.sh # To train the model for mixSPAC, mixSPAT coherent and thermal states using Mixture of Experts an upgraded model which performes better in some cases (not included in the paper)
  1. Run the following command to generate tentative plots of the paper:
cd src
python fig_4.py # To generate the plot for Fig. 4
python fig_5.py # To generate the plot for Fig. 5
python fig_6.py # To generate the plot for Fig. 6
python fig_7.py # To generate the plot for Fig. 7

Citation

If you find this code useful in your research, please consider citing the paper:

@misc{bhupati2024deep,
      title={Deep learning-based variational autoencoder for classification of quantum and classical states of light}, 
      author={Mahesh Bhupati and Abhishek Mall and Anshuman Kumar and Pankaj K. Jha},
      year={2024},
      eprint={2405.05243},
      archivePrefix={arXiv},
      primaryClass={quant-ph}
}

vae-light-characterization's People

Contributors

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