Towards Robust Optimization of Arbitrary Superconducting Qubits