Code optimization for quantum computing | AbS