Designing Quantum Channels Induced by Diagonal Gates