The application discloses a
quantum state preparation method and a related device, and the method comprises the following steps: determining each partial component of a target
quantum state to be prepared, each partial component comprising one
ground state of the target
quantum state and an amplitude of the
ground state; constructing a plurality of target matrices based on the amplitudes of the partial components, and performing SVD
decomposition on the target matrices to obtain a
unitary matrix, determining a disentanglement
quantum logic gate based on the
unitary matrix, and applying a plurality of disentanglement
quantum logic gates on a quantum bit with an initial state being the target
quantum state to obtain a disentanglement
quantum circuit; inversely deriving the target
quantum circuit from the disentanglement
quantum circuit, wherein the target quantum circuit has a target
quantum logic gate, and the target quantum
logic gate is determined based on a
conjugate transpose matrix of the
unitary matrix. (logn) The application discloses a
quantum state preparation method and a related device, and the method comprises the following steps: determining each partial component of a target
quantum state to be prepared, each partial component comprising one
ground state of the target quantum state and an amplitude of the ground state; constructing a plurality of target matrices based on the amplitudes of the partial components, and performing SVD
decomposition on the target matrices to obtain a unitary matrix, determining a disentanglement quantum
logic gate based on the unitary matrix, and applying a plurality of disentanglement quantum logic gates on a quantum bit with an initial state being the target quantum state to obtain a disentanglement quantum circuit; inversely deriving the target quantum circuit from the disentanglement quantum circuit, wherein the target quantum circuit has a target quantum
logic gate, and the target quantum logic gate is determined based on a
conjugate transpose matrix of the unitary matrix. (logn) The application discloses a quantum state preparation method and a related device, and the method comprises the following steps: determining each partial component of a target quantum state to be prepared, each partial component comprising one ground state of the target quantum state and an amplitude of the ground state; constructing a plurality of target matrices based on the amplitudes of the partial components, and performing SVD
decomposition on the target matrices to obtain a unitary matrix, determining a disentanglement quantum logic gate based on the unitary matrix, and applying a plurality of disentanglement quantum logic gates on a quantum bit with an initial state being the target quantum state to obtain a disentanglement quantum circuit