Mitigating Leakage and Noise in Superconducting Quantum Computing