Optimal creation of entanglement using a two-qubit gate | Synapse