Examples

The example Python scripts discussed in the tutorials are available for download here.

Numerical learner examples

  1. Simple optimization task: optimization_num.py
  2. Introducing custom logging as well as regularization and monitoring of circuit parameters: optimization_advanced_num.py
  3. Simple unsupervised learning task: unsupervised_num.py
  4. Introducing layered circuit architectures: unsupervised_advanced_num.py
  5. Simple supervised learning task: supervised_num.py
  6. Introducing adaptive learning rate, printing, warm start and batched training: supervised_advanced_num.py

TensorFlow learner examples

  1. Simple optimization task: optimization_tf.py
  2. Introducing custom logging as well as regularization and monitoring of circuit parameters: optimization_advanced_tf.py
  3. Simple unsupervised learning task: unsupervised_tf.py
  4. Introducing layered circuit architectures: unsupervised_advanced_tf.py
  5. Simple supervised learning task: supervised_tf.py
  6. Introducing adaptive learning rate, printing, warm start and batched training: supervised_advanced_tf.py