The invention relates to the technical field of
quantum computing and
combinatorial optimization, and discloses an iterative
bias field hierarchy QAOA solving method and device based on a
quantum processor and a medium. In order to solve the problem that a parameterized
quantum circuit is difficult to directly solve due to the fact that the graph scale is far larger than the number of available quantum bits, the method comprises the steps that S1, a core block set, a halo
extension set and node affiliation mapping are obtained, and
bias field parameters are initialized; s2, executing an inner layer quantum step, and calculating a first statistical magnitude and a second statistical magnitude by executing a
quantum circuit on the QPU; s3, executing an outer layer interaction step, constructing an outer layer
block diagram based on a cross-block edge, and obtaining outer layer soft variable
estimation and outer layer soft orientation; s4, executing
bias field recharge updating, calculating a next round of inner layer bias field candidate value, and updating the next round of inner layer bias field candidate value; and S5, judging a termination condition, and carrying out loop iteration or outputting a discrete solution. Through hierarchical iteration and bias field recharge,
information loss caused by blocking is effectively reduced, and the solution stability on limited quantum hardware is improved.