About Pennylane to Strawberry Fields

I have designed a very simple quantum circuit with Pennylane. How can i convert this circuit to Strawberry Fields and then run it on Xanadu’s real hardware?2%20qubit%202

Hi @sassan_moradi, unfortunately it’s not so easy to convert the circuit.

As you can learn here, Continuous Variable Quantum Computing uses entirely different gates. There isn’t an exact way to map discrete gates to CV gates.

I encourage you to try out the examples here and here to see how you can use PennyLane and StrawberryFields together.

Please let me know if you have any further questions!

many thanks. this is very helpful.

I’m glad I could help!