XanaduAI / quantum-neural-networks

This repository contains the source code used to produce the results presented in the paper "Continuous-variable quantum neural networks". Due to subsequent interface upgrades, these scripts will work only with Strawberry Fields version <= 0.10.0.
https://arxiv.org/abs/1806.06871
Apache License 2.0
297 stars 86 forks source link

AttributeError: module 'strawberryfields' has no attribute 'Program' #8

Closed narcissisti1 closed 4 years ago

narcissisti1 commented 4 years ago

my strawberryfields version is 0.10

josh146 commented 4 years ago

Hi @narcissisti1, can you try upgrading to Strawberry Fields v0.11.1:

pip install strawberryfields==0.11.1
narcissisti1 commented 4 years ago

@josh146 yes,it works ,thank you very much