Application-Aware Quantum Error Correction