Skip to content

lewis-od/Quantum-Optics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.