A quantum circuit determining method for determining a quantum circuit according to a quantum circuit design task, performed by a computer device forming a hybrid device environment including a classical computer and a quantum computer, the method comprising: sampling, by the classical computer, an initial circuit unit pool according to an initial sampling manner to determine K groups of circuit units, K being a positive integer, and constructing and generating K candidate quantum circuits based on the K groups of circuit units, wherein each group of circuit units comprises a plurality of circuit units for constructing and generating a candidate quantum circuit, a candidate quantum circuit has a multi-layer structure, each layer includes a plurality of filling positions for filling a circuit unit, the plurality of filling positions in a same layer are connected to one another in a preset manner, and a gap in a candidate quantum circuit is filled with circuit units being single-bit quantum gates so that a set of the single-bit quantum gates filling the gap proves an identity matrix, determining, by the quantum computer, a performance evaluation index corresponding to the K candidate quantum circuits, wherein the performance evaluation index is an operation result of an objective function, wherein the objective function is specified according to the quantum circuit design task; updating, by the classical computer, the sampling manner and a circuit unit in the initial circuit unit pool based on the performance evaluation index, to determine an updated sampling manner and an updated circuit unit pool; sampling (104, 208), by the classical computer, the updated circuit unit pool according to the updated sampling manner to determine updated K groups of circuit units, and 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, by the classical computer, a target quantum circuit from the updated K candidate quantum circuits. sampling, by the classical computer, an initial circuit unit pool according to an initial sampling manner to determine K groups of circuit units, K being a positive integer, and constructing and generating K candidate quantum circuits based on the K groups of circuit units, wherein each group of circuit units comprises a plurality of circuit units for constructing and generating a candidate quantum circuit, a candidate quantum circuit has a multi-layer structure, each layer includes a plurality of filling positions for filling a circuit unit, the plurality of filling positions in a same layer are connected to one another in a preset manner, and a gap in a candidate quantum circuit is filled with circuit units being single-bit quantum gates so that a set of the single-bit quantum gates filling the gap proves an identity matrix, determining, by the quantum computer, a performance evaluation index corresponding to the K candidate quantum circuits, wherein the performance evaluation index is an operation result of an objective function, wherein the objective function is specified according to the quantum circuit design task; updating, by the classical computer, the sampling manner and a circuit unit in the initial circuit unit pool based on the performance evaluation index, to determine an updated sampling manner and an updated circuit unit pool; sampling (104, 208), by the classical computer, the updated circuit unit pool according to the updated sampling manner to determine updated K groups of circuit units, and 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, by the classical computer, a target quantum circuit from the updated K candidate quantum circuits.