lewis-od / Quantum-Optics

A neural network to classify quantum states of light

Home Page:https://lewis-od.github.io/Quantum-Optics/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Quantum Optics

A neural network to classify quantum states of light.

Usage

The quoptics module contains the NeuralNetwork class for classifying states. It also contains helper functions for creating some more exotic states, i.e. cat states, using QuTiP.

To ensure the required packages are installed, run pip3 install -r requirements.txt

Running python3 test_network.py will load the pre-trained model from the model folder, and test it's accuracy against the data in data/test.npz.

The file interop.m gives an example of how to call the neural network from MATLAB.

A whitepaper describing the usage and training of the neural network in more detail, as well as it's integration into AdaQuantum can be found at arXiv:1812.03183

Documentation

Full documentation for the quoptics module is available to view here.

About

A neural network to classify quantum states of light

https://lewis-od.github.io/Quantum-Optics/


Languages

Language:Python 97.3%Language:MATLAB 1.9%Language:Shell 0.8%