tensorflow / quantum

Hybrid Quantum-Classical Machine Learning in TensorFlow
https://www.tensorflow.org/quantum
Apache License 2.0
1.77k stars 560 forks source link

Force old version of numpy in `noise.ipynb` #740

Closed markmcd closed 1 year ago

markmcd commented 1 year ago

This currently works in colab, but will break when it's updated, and breaks in the TF docs publishing infra.

The TFQ code is referencing NumPy's np.float, which is removed in v1.24. Details here. This is quick hack to get the docs working again.

review-notebook-app[bot] commented 1 year ago

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

jaeyoo commented 1 year ago

https://github.com/tensorflow/quantum/pull/749 solves this PR together. closed.