Mitigating controller noise in quantum gates using optimal control theory | Synapse