Fock State Preparation in a Gaussian Backend

Is it possible to prepare a Fock state in a gaussian backend and implement it in currently available real devices? For example, via photon number measurement?

Hey @Omar_Ibna_Nazim!

Since the Fock basis is non-Gaussian, it can only be used with Fock backends, not the Gaussian backend.

Depending on your application, and since StrawberryFields is in maintenance mode (crucial bugs will be fixed, but no new features added), I recommend that you check out Mr Mustard: Basic API Reference — Mr Mustard 0.5.0 documentation

It’s another photonic software offering from Xanadu that we’re active with :grin:. Let me know if you have any questions about it!