Abstract
We consider the construction of a Hamiltonian system performing a preassigned unitary transformation on optical modes. We indicate how to derive microscopically the effective interactions leading to linear networks. Simple examples are presented as illustrations of the theory.