Hi @abignu, this sounds like a nice task and also shouldn’t be too hard to do.
The best tutorial to follow in PennyLane is this one: https://pennylane.ai/qml/app/quantum_neural_net.html
This tutorial constructs a single mode photonic quantum neural network. You’d need to extend this to the two mode QNN used in the fraud detection model.
One thing to be aware of is that the fraud detection code is designed for TensorFlow version 1.3 but the TF interface in PennyLane requires a newer TF version of at least 1.12.
Let me know how it goes and I’ll be happy to help if you get stuck!
Thanks
Tom
@abignu, did you succeed with your implementation?
We have tried implementing it using a Numpy interface. @Tom_Bromley, there seems to be some issues with using autograd and the Strawberry fields back end. Shouldn’t it be possible to implement Fraud Detection without using Tensorflow?
We have been working a lot lately on speeding up the underlying operations in Strawberry Fields as much as possible. I am cautiously optimistic that by the next results you should hopefully see some nice speedups versus previous versions.