A genetic algorithm was implemented to solve Wireless power transmission which is hard to analysis in this paper. This algorithm bases on quantum theory and calculation, individual codes is implemented by introducing quantum bit, then searches the optimal solution by using the quantum rotate gate. Finally, it takes a Wireless power transfer systems using near-field magnetic coupling as an example to validate effectiveness of this algorithm. It shows that this algorithm can get local optimal solution quickly and superiors to the optimal test set which other methods proposed; this proves that quantum genetic algorithm can solve problem of Wireless power transfer systems using near-field magnetic coupling and lays the foundation for the Wireless power transfer systems using near-field magnetic coupling.