The invention discloses a
quantum circuit calculation method. The method comprises the steps that an original
quantum circuit is decomposed, a target
quantum circuit is generated, and the target
quantum circuit only comprises a single-bit gate and a double-bit gate. Then, based on the
quantum gate dependency relationship of the target
quantum circuit, splitting the target
quantum circuit to generate a first sub-circuit and a second sub-circuit; then, based on the quantum
simulation machine, the first sub-line is executed, and a first
density matrix is determined. Then, based on the quantum processor, the second sub-line is executed, and a second
density matrix is determined. And finally, according to the first
density matrix and the second density matrix, determining a target execution result corresponding to the original quantum circuit. Thus, through
decomposition processing and splitting
processing, the circuit structure of the original quantum circuit is simplified, and high
resource consumption of a traditional full-circuit single
processing mode is avoided.