The embodiment of the invention discloses a
linear system acceleration solving method, a
weather prediction method and a related device, and the method comprises the steps: carrying out the iterative calculation on a
quantum computer according to a first type of target vector and a second type of target vector of a to-be-solved
linear system, and obtaining a three-
diagonal matrix, the plurality of first-class target vectors form a first-class target matrix, the plurality of second-class target vectors form a second-class target matrix, and the product of the
transpose of the first first-class target vector in the first-class target matrix and the first second-class target vector in the second-class target matrix is 1; according to the unknown vector of the subspace
linear system obtained by solving the subspace linear
system of the linear
system to be solved, the unknown vector of the linear
system to be solved is determined, and the
coefficient matrix of the subspace linear system is a tridiagonal matrix. By adopting the embodiment of the invention, the solving speed of the linear system can be improved when a large-scale
sparse matrix is processed, and memory resources occupied by solving the linear system are saved.