PennyLaneAI / pennylane-sf

The PennyLane-SF plugin integrates Xanadu's Strawberry Fields photonic quantum simulators and hardware with PennyLane's quantum machine learning capabilities.
https://docs.pennylane.ai/projects/strawberryfields
Apache License 2.0
38 stars 19 forks source link

PL qml.state() not supported on a simulator #75

Closed sophchoe closed 3 years ago

sophchoe commented 3 years ago

In the PL documentation, qml.state() is listed as one of the measurement options. However, when you run a code, it does not produce state vectors. Could you look into that? (Edit the documentation as an up and coming functionality). Otherwise, the flexibility of converting qnn as a Tensorflow or PyTorch layer is great! Thank you!

CatalinaAlbornoz commented 3 years ago

Hi @sophchoe, thank you for posting this here! We will take a look into it. Don't hesitate to let us know in case you want to give it a try to fix it.

antalszava commented 3 years ago

Hi @sophchoe, thank you again for reporting this! We've added notes to the PennyLane-SF docs.