Run the following command to build the docker for tensorcircuit at parent path:
sudo docker build . -f docker/Dockerfile -t tc-dev-jupyter
Run the docker container by the following command:
sudo docker run -it --network host --gpus all tc-dev-jupyter
To utilize tensorflow + cuda, we need to further run the following command within runtime docker:
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cuda-11.0/targets/x86_64-linux/lib