Fig. 2: CNOT optimization.
From: Deterministic entangling gates with nonlinear quantum photonic interferometers

Comparison of a the best cost function (see Eq. (12)) and b average gate fidelity (see Eq. (13)) for different values of the Kerr nonlinearity U (in hopping parameter Jmax units) after the optimization of the block structure. The free propagation and interaction times were both fixed to t = 1 in dimensionless units.