Optimal quantum circuits for general two-qubit gates | Synapse