CPC G06F 30/337 (2020.01) [G06N 10/00 (2019.01)] | 20 Claims |
1. A method for determining a quantum circuit, comprising:
sampling an initial circuit unit pool according to an initial sampling manner to obtain initial K groups of circuit units;
constructing and generating initial K candidate quantum circuits based on the initial K groups of circuit units, each group of the circuit units comprising at least one circuit unit for constructing and generating a candidate quantum circuit, and K being a positive integer;
determining a performance evaluation index corresponding to the initial K candidate quantum circuits;
updating the initial sampling manner and a circuit unit in the initial circuit unit pool based on the performance evaluation index, to obtain an updated sampling manner and an updated circuit unit pool;
sampling the updated circuit unit pool according to the updated sampling manner to obtain updated K groups of circuit units;
constructing and generating updated K candidate quantum circuits based on the updated K groups of circuit units; and
in response to a cycle termination condition being satisfied, determining a target quantum circuit from the updated K candidate quantum circuits.
|