The rise of quantum computing technology has brought new prospects and opportunities for optimal power flow calculation and optimal scheduling of power systems. In the face of complex network topology, variable load demand, and changing energy supply, traditional power systems often rely on algorithms based on classical computing for power flow calculation and optimal scheduling. However, as power systems continue to grow in size and complexity, traditional approaches have shown limitations in computing power when dealing with large-scale data and multi-constraint problems. Quantum computing, with its parallel computing power and the potential for efficient algorithms, offers new possibilities for solving these complex problems. The advantage of quantum computing is its ability to simultaneously handle multiple power flow paths and multivariate interactions, which make it a significant advantage in optimizing energy distribution, reducing energy consumption, and improving grid stability and responsiveness in power systems.