Evolutionary Algorithm for Adaptive Quantum-Channel Control