The invention discloses a
quantum computing
simulation method and device, a storage medium and an electronic device, and the method comprises the steps: traversing a target
quantum program, and judging whether the target
quantum program meets a preset application condition or not; if yes, splitting a quantum line corresponding to the target quantum program, and constructing a sub-quantum line; foreach sub-quantum line, initializing a
quantum state amplitude value of a quantum bit corresponding to the sub-quantum line, and calculating the
quantum state amplitude value of the quantum bit executed by the corresponding sub-quantum line; and according to the amplitude value corresponding to each sub-quantum line, calculating the
quantum state amplitude value of the quantum bit corresponding tothe quantum line, and realizing quantum calculation
simulation. By utilizing the embodiment of the invention, the
simulation efficiency of quantum calculation can be improved.