tensorflow / quantum

An open-source Python framework for hybrid quantum-classical machine learning.
https://www.tensorflow.org/quantum
Apache License 2.0
1.81k stars 580 forks source link

MNIST Notebook is slow #142

Closed MichaelBroughton closed 4 years ago

MichaelBroughton commented 4 years ago

We are running a LOT of quantum circuits in the MNIST tutorial. Maybe we should find a way to trim it down a little bit ? so CI can run faster. Right now it takes as much as 30+ mins on all the notebooks.

aleksander-lukashou commented 4 years ago

Is it possible to reproduce this tutorial on actual quantum hardware? My guess is that despite of a numerous number of, it might be caused by using simulator.

btw, I really enjoyed this tutorial.

MichaelBroughton commented 4 years ago

It's possible that if we had a big(ger) quantum computer the differences between the quantum computer and the classical computer could get smaller and it would do better.

Glad you enjoyed the tutorial :).

We dialed back the runtime of this notebook on CI with: #155 so we can close this now.