1 vote
Accepted

Implementing a simple 3 mode gate using Strawberry Fields

Let the 3-mode operator be $\mathcal{O}_{123}(s)$. Dropping the tensor products and hat symbols here for convenience, one can apply the Fourier gate on the $2^{nd}$ and $3^{rd}$ mode, which I denote ...
Song of Physics's user avatar
1 vote
Accepted

I was solving matrix of beam splitter in python but got stuck in understanding the library

A beamsplitter gates takes two parameters, and acts on two modes. The matrix that represents the gate is a 2x2 unitary. In this line you're calculating the unitary for the second 'column' in the ...
Catalina's user avatar
  • 131
1 vote

Design NISQ Circuit with StrawberryFields

Ok It is done and it is correct. I just forgat to give an initial state to the program like Ket(initial_state) | q And after that I also added a BSGate for 1 and ...
quest's user avatar
  • 582

Only top scored, non community-wiki answers of a minimum length are eligible