Optimizing T and CNOT Gates in Quantum Ripple-Carry Adders and Comparators | Synapse