Let $a, b$ and $c$ be independent modes in a system $S$ and in environments $E_1$, $E_2$ respectively. Suppose $a$ goes through a beam-splitter characterized by a parameter $\theta$ coupling it to mode $b$, so that first this first interaction we may write the unitary $$U_\theta = \exp(i\theta(a^\dagger b + b^\dagger a)) $$ (I'm forgetting about relative phases, global signs and what-not; this should work for any kind of beam splitter, polarizing or otherwise).
Now suppose that immediately after the action $U_\theta$, the system modes (which evolved as $a'=U_\theta^\dagger aU_\theta$) go into another beam splitter with parameter $\eta$, this time coupling $S$ to the mode $c$ in $E_2$: this time, the interaction may be described by another unitary of the form $$U_\eta= \exp(i\eta(a'^\dagger c + c^\dagger a')). $$ Intuitively, if we compose the two transformation we should get a single unitary $U_{f(\theta, \eta)}=U_\eta$ parametrized by some function $f$ of the original parameters, acting on the mode $a$ and the tensor product $b\otimes c$. However, since the exponents of $U_\theta$ and $U_\eta$ do not commute, I'm not finding a straightforward way to derive the explicit expression for $U_{f(\theta, \eta)}$. Can someone provide an answer?
I've looked into applying the BCH formula to this problem, and I think I might be onto something. The first few terms of the expansion (I'm following the boxed identity at Wikipedia's page) other than the one proportional to $1/24$ are nonzero and give for the exponent $Z$ the sum \begin{equation}\tag{*} Z:=i\left(f(\theta, \eta)(a^\dagger b + b^\dagger a) + f(\eta, \theta)(a^\dagger c + c^\dagger a)\right) -i\frac{\theta\eta}{2}(b^\dagger c - c^\dagger b) \end{equation} where $f(x,y):=x-\frac{1}{12}xy^2-\frac{1}{720}xy^4-\frac{1}{360}x^3y^2$. I am not sure about my calculations (those pesky signs!), but it seems to me that most higher terms involve at some point the commutator between $a^\dagger b + b^\dagger a$ (or $a^\dagger c + c^\dagger a$) and itself, and thus do not contribute to $(*)$, so there may be hope to simplify the whole thing.