Skip to content

Latest commit

 

History

History
40 lines (34 loc) · 1.1 KB

README.md

File metadata and controls

40 lines (34 loc) · 1.1 KB

Quantum Generative Adversial Networks

Requirements

The following is required to run this example:

  • python3.6 or newer
  • scipy
  • numpy
  • sympy
  • climin: Use python3 -m pip install git+https://github.com/BRML/climin.git --user to install

Usage

Use

python3 run.py

for running the project with default parameters. Use

python3 run.py -h

to see all configurable parameters.

To be able to run within reasonable time on a desktop (say 5 minutes), you may want to use

python3 run.py -dis 1 -ds 10 -dr 10 -pa -sf

This sets:

  • discriminator type to 1, which trains faster
  • discriminator amount of items in a dataset to 10 synthetic, 10 real
  • generator amount of items in a dataset to 10
  • discriminator max iterations in minimize function to 20
  • generator max iterations in minimize function to 20
  • printing of accuracies before and after each network update
  • plotting of test output figures

Stolen work

We found the tutorial's work was stolen from here