The invention discloses an
electron number conservation constrained
ground state energy calculation method and a related device, and belongs to the technical field of
quantum computing, and the method comprises the steps: converting an
electron Hamiltonian amount of a target molecular
system into a Fouli Hamiltonian amount in a Fouli operator form; constructing a hardware efficient
simulation line based on preset
simulation parameters, operating the hardware efficient
simulation line, calculating an expected value and an
electron number conservation probability of the Fourley Hamiltonian amount, and calculating a
loss function value based on the expected value and the
electron number conservation probability; when the
loss function value does not meet the preset convergence condition, updating the preset configuration parameter, and returning to execute the step of constructing the hardware efficient configuration line based on the preset configuration parameter; and when the
loss function value meets a preset convergence condition, taking the loss function value in the current iteration step as the
ground state energy value of the target molecular
system. Due to the fact that the loss function value is restrained by the electron conservation probability of each iteration step, energy optimization of the target molecular
system is more accurate, and therefore the
ground state energy value of the molecular system can be calculated on an existing
quantum chip through a hardware efficient simulation circuit.