Simulation on strawberry field.fock


#1

Hi,

I’d like to know something. when I use the decorator

@qml.qnode(dev)

does that mean that it uses the backend I chose when i called the device as its simulator?

another thing does pennylane sf plugin need a token like ibm does? is it real hardware?


#2

Hi kareem_essafty,

yes, the quantum node gets executed on dev, which in turn is the device you define with a certain backend. For example,

dev = qml.device('default.gaussian', wires=2)

would run the quantum node on the built-in gaussian simulator.


#3

The Strawberry Fields backend is an open-source simulator platform and you do not need tokens or access rights to use it.