Optimizing entanglement in two-qubit systems | Synapse