针对复杂系统中冗余优化设计难度大、可靠度和系统成本难以达到既定要求的问题,提出了一种量子萤火虫算法。该算法将量子理论与萤火虫算法有效融合,通过采用量子位实数编码和量子旋转门的方式,扩展了萤火虫的寻优空间,使算法的全局搜索能力和搜索效率得到提高,利用量子旋转门使量子态|0〉和量子态|1〉进行有效转换,避免了萤火虫在领域半径内大面积聚集的现象,防止了算法过早陷入局部最优值。通过基准函数和典型算例对该算法进行仿真测试和对比分析,实验结果验证了该算法的有效性和可行性。
Aiming at the difficult in optimal redundant design and control of reliability and system cost in the complex systems,aquantum firefly algorithm is presented,which effectively integrates the quantum theory and firefly algorithm,by using quantum bits real-coding and quantum revolving door way.The algorithm expands firefly optimization space thus improves the global search capability and search efficiency.It uses the quantum revolving door to effectively convert the quantum states|0〉and|1〉,and avoids the large-scale aggregation of fireflies in the field,and prevents the algorithm from the local optimal value.By simulation,the algorithm is tested and compared using benchmark functions and typical examples,and the results demonstrate the effectiveness and feasibility of the algorithm.