XanaduAI / quantum-learning

This repository contains the source code used to produce the results presented in the paper "Machine learning method for state preparation and gate synthesis on photonic quantum computers".
https://arxiv.org/abs/1807.10781
Apache License 2.0
113 stars 36 forks source link

New Tensorflow Version Difficulties #4

Open VHenrik007 opened 1 year ago

VHenrik007 commented 1 year ago

I know this project was developed quite a while ago, but it'd still be very interesting and useful to be able to run at least the notebooks. However, as of now there are plenty of error messages popping up right one after another when trying to run it with newer versions of packages, especially Tensorflow. Could it be possible to get at least an incomplete list of requirements of certain package versions with which it would be possible to run at least the notebooks? Until then I'll try to rewrite them so they perform the same thing but with new Tensorflow versions.

Thanks in advance!

josh146 commented 1 year ago

Hi @VHenrik007! Unfortunately due to the age of this repo and the unfortunately lacking requirements.txt, it's difficult to know the exact versions that were used.

However, I can make an educated guess based on the date of the notebooks:

strawberryfields==0.11
tensorflow==1.13.2